Skip to content
HelpTwenty

Twenty

Connect an agent to Twenty, on Twenty Cloud or your own server: what it does with your people, companies and opportunities, what it reacts to, the access it asks for, how your approvals apply, and how to disconnect.

What it is

An agent connected to Twenty works in your CRM the way a teammate does. It finds and reads people, companies, opportunities and the objects your team made, keeps them up to date, moves opportunities through their stages, writes notes and tasks on their timelines, picks up the tasks you assign it, and answers questions about your pipeline.

In Twenty, the agent works as the user who signs in when you connect. That user’s role decides what the agent can see and change, and the records, notes and tasks it makes carry that user’s name. A user of its own, with the agent’s name and picture, is the cleanest choice: teammates can then assign it tasks like anyone else.

Before you start

  • A Twenty user in the workspace the agent should work in. To give the agent a user of its own, invite it in Twenty under Settings, Members, and give it a role that can see and change the records it works on.
  • Twenty Cloud or your own server. Twenty Cloud needs nothing else. For a Twenty your company runs itself, have its address ready (for example crm.example.com). The server must be reachable over https from the internet: one that only answers inside your company’s network can’t be connected.

Connecting Twenty

  1. Open the agent, go to the Tools tab and choose Twenty.
  2. Choose whose account the agent uses, and where your Twenty runs: Twenty Cloud, or Our own server with its address.
  3. Click Sign in with Twenty, sign in with that user and allow AgentTeams.
  4. The wizard checks the connection and shows the workspace and the user the agent works as. You’re done.

A server without the sign-in. Older Twenty versions don’t offer the sign-in for apps. Choose Use an API key instead, then in Twenty open Settings, APIs & Webhooks, create a key and choose the role the agent should have. The key is shown once: paste it in the wizard.

What the agent can do

  • Find and read. Search the whole workspace by name, email address, domain or phone number, find records with filters (which opportunities close this month, which companies have no owner), and read a record with what it’s linked to.
  • Keep records up to date. Create and update people, companies, opportunities and your own objects, and move opportunities through their stages. It reads your fields first, so it writes records the way your team does.
  • Notes and tasks. Write notes on the records they’re about and create tasks with a due date for itself or a teammate, so they show on the records’ timelines.
  • Bigger jobs, with your approval. Create several records at once, find duplicates, merge them and restore a deleted record.

What it reacts to

The agent can start work by itself when something changes in Twenty:

  • A task assigned to it (on by default): it reads the task and the records it’s attached to, does the work, adds a note with what it did and sets the task to done.
  • A new person, company or opportunity, once it has a name.
  • An opportunity moving stage, for the stages you name.
  • A new record in your own objects.

Switch each one on or off, and say what the agent should do, under the agent’s Twenty tool. It hears only the records its Twenty user may see, and never its own changes. To react, the agent’s Twenty user (or the API key’s role) needs the API keys and webhooks and Roles permissions in Twenty’s Settings, Roles; without them it still works when asked, and the connection check says what to change. A Twenty on your own server must be able to send to agentteams.com.

What the app asks for

  • Your workspace’s data, by the signed-in user’s role: people, companies, opportunities, notes, tasks and your own objects, and deleting a single record when you approve it.
  • Your data model and members, read only, to write records the way your team does and to assign tasks.
  • Your profile, to name the connection.

The agent can’t change your objects, fields or members, never changes or deletes many records at once, and anything it deletes goes to Twenty’s deleted records, where you can restore it.

Staying in control

Every change the agent wants to make in Twenty goes through a review step first, and your company’s rules decide which changes need a person to approve them. Your own workflows in Twenty run for its changes as they do for anyone’s. Approval gates explains how.

What we receive, and what we keep

  • What the agent reads and writes while working, and the changes Twenty sends it, stay with that agent in your own AgentTeams workspace, the same way its chats and emails do.
  • Nothing from your CRM is used to train any model. For the full picture, see our privacy policy.

Disconnecting

There are two places, and doing both is the clean way round:

  1. In AgentTeams. Open the agent’s Tools tab, open the Twenty card and click Disconnect. The agent stops working in Twenty at once, we remove its webhook there, and we end the sign-in at Twenty.
  2. In Twenty. Open Settings and remove AgentTeams from your Connected apps. If you connected with an API key, revoke the key under Settings, APIs & Webhooks: we can’t revoke a key from our side.

Disconnecting leaves everything the agent already wrote in Twenty in place.

If something is off

  • It can’t see or change something. The user it signed in as may not: give that user a role in Twenty that allows it.
  • It doesn’t react to changes. Its Twenty user (or the key’s role) needs the API keys and webhooks and the Roles permissions; once it has them, reactions start within the hour. On your own server, check that it can reach agentteams.com.
  • It can’t reach your server. Check the address, and that the server answers over https from outside your network.
  • Its Tools tab asks you to reconnect. AgentTeams was removed in Twenty, the user lost access to the workspace, or the API key was revoked or expired. Connect again.

Still stuck? Email support@agentteams.com and a human will write back.