Build a custom agent that works in your docs. Choose what starts it, give it access to Superhuman Docs, and share docs with it.
With Go (Superhuman's AI assistant) and Docs, you can build custom agents that work right inside your docs. This article focuses on how to set up your custom agents to work in Docs - including how to set up Docs-specific triggers and how to grant the necessary access to Superhuman Docs.
Feature availability
Included in:
Superhuman Pro & Business (paid seats)
Docs-only Pro & Team (paid seats)
Enterprise plans do not have access to custom agents at this time.
Before you begin
Custom agents are built with Go. You start by chatting with Go in the Go chat right within your doc, and Go helps you build the agent. You can iterate on the agent by continuing the chat or by opening the agent settings and making manual adjustments.
This article covers only the agent settings that are specific to Docs, including how to set up triggers in Docs and how to grant necessary access to Docs. If you haven’t built an agent yet, start with Create and configure agents with the agent builder, then return here to set up your agent for Docs.
Choose what starts your agent
Triggers decide what starts your agent. An agent can have more than one trigger, and you can turn each one on or off at any time. Docs triggers start your agent when something happens in a doc. Your agent can also start from other triggers, such as a Slack mention or an email, and then perform work in Docs (see Give your agent access to Superhuman Docs).
Available Docs triggers
| Trigger | Explanation |
|---|---|
| Agent mentioned |
Runs the agent when someone calls it in a doc. Someone calls an agent by @-mentioning it in a comment or in the body of the doc, or by pressing a button with the “Trigger agent” action. You choose which docs the agent listens for and who can mention the agent. |
| Row added or updated |
Runs the agent when a row is added to a table or an existing row is updated. You choose the doc and the table, and you can add optional filters so the agent runs only under certain conditions, such as when a status column is updated. |
| Table changed | Listens to structural changes in the designated table, such as columns added or removed, formulas changed, etc. |
| Page changed | Monitors for changes to a page. You pick the doc and page that the agent should watch. |
| Form submitted | Runs the agent when someone submits a form into a table in a doc. |
| Comment added |
Agent runs when a comment is added to the indicated page. You pick the page or narrow it down to a table. You can also add filters so the agent only runs when certain conditions are met. |
Add a routine with a Docs trigger
To add a Docs trigger to your agent, one option is to chat with Go right within your doc and ask it to add the trigger. Describe how you want the agent to be triggered, and answer any follow-up questions that Go might have.
Alternatively, you can add the trigger manually in the agent settings:
In your doc, open Go chat.
At the top of the chat panel, click the three-line menu to open the sidebar.
In the Agents section, hover over your agent, click the three-dot menu, and select Settings.
In the Routines section, click + Add routine.
Under Trigger, click on Select trigger
Choose the Docs trigger from the dropdown (under the Docs options)
-
Configure the trigger’s settings. These settings will vary depending on the trigger type.
Learn more about configuring routines and triggers in Create and configure agents.
In the upper-right corner of the agent settings page, click Save.
Note: You can also create an agent that proactively checks your writing for you in Docs. To do so, either tell Go chat that you want to create a proactive writing agent, or choose While writing as the trigger type in the agent builder.
Give your agent access to Superhuman Docs
Regardless of what triggers your agent, you can give your agent access to Superhuman docs. Once doc access has been granted, the agent can review content, leave comments, and make changes to the content. This section explains how to configure which docs your agent can reach and whose identity it uses in them.
Tip: The quickest and easiest way to give your agent access to Docs is to simply chat with Go. Describe what you want the agent to do in Docs, explain which docs it should have access to, and answer any follow-up questions. Go will take care of the rest. But if you’re curious how to configure these settings manually within the agent builder, check out the subsections below.
Choose who the agent acts as
When you give your agent access to Superhuman Docs, you will decide whose identity the agent uses in Docs. You can choose between two options:
Acts as itself: The agent can access only the docs you’ve granted it access to, and every action it takes in a doc is attributed to the agent. You can think of it as a collaborator who can edit only the docs it’s been invited to.
Acts as you: The agent can access all the docs you have access to, across all workspaces. You choose between Can view, Can comment, Can edit, and Full access permission levels for these docs. Everything it does is recorded under your identity. For a refresher on doc permission levels, see Share your doc.
To set how your agent accesses Docs:
In your doc, open Go chat.
At the top of the chat panel, click the three-line menu to open the sidebar.
In the Agents section, hover over your agent, click the three-dot menu, and select Settings.
In the Tools and Access section of your agent’s settings, turn on Superhuman Docs.
Under Acts as, choose who the agent acts as: itself or you.
If you choose Acts as itself, use the dropdowns to determine which docs the agent has access to. See Configure which docs your agent can access for more info.
If you chose Acts as you, choose the doc access level: Can view, Can comment, Can edit, or Full access.
In the upper-right corner of the agent settings page, click Save.
Tip: You can also ask Go chat to edit your agent’s “Acts as” setting, without ever having to open the settings yourself.
Configure which docs your agent can access
If your agent acts as itself, you decide which docs it can reach, one workspace at a time. The access level you choose also determines whether you need to share docs with the agent individually.
Choose one of these access levels for each workspace:
Selected docs: The agent can access only the docs that have been shared with it directly. You need to share each doc you want it to work in.
Can view: The agent can view any doc in the workspace that has workspace-wide access. You don’t need to share these docs with the agent.
Can edit: The agent can edit any doc in the workspace that has workspace-wide access. You don’t need to share these docs with the agent.
Important: Can view and Can edit apply only to docs that anyone in the workspace can view or edit. To give your agent access to a doc that’s limited to specific people, share that doc with the agent.
To set the access level:
In your doc, open Go chat.
At the top of the chat panel, click the three-line menu to open the sidebar.
In the Agents section, hover over your agent, click the three-dot menu, and select Settings.
In the Tools and Access section of your agent’s settings, find Superhuman Docs.
Under Acts as, make sure the agent acts as itself.
You’ll see a list of all the workspaces you belong to. For each workspace, click the dropdown and choose the access level: Selected docs, Can view, or Can edit.
In the upper-right corner of the agent settings page, click Save.
If you chose Selected docs, click View all docs to see which docs are shared with the agent. To add more, see Share docs with your agent.
Tip: To save time, simply ask Go chat to edit your agent’s Docs access settings. For instance, you could say “Grant the Thread Summarizer agent edit access to docs in the Acme workspace.”
Share docs with your agent
If you need to invite an agent to a doc, you can do so by following these steps:
Within your doc, click Share in the upper-right corner
Type in the name of your agent and select it from the options
-
Select the access level that the agent should have (Can view, Can comment, Can edit and share, or Full access)
For more on the different access levels, see Share your doc.
Then click Invite.
Share your agent with teammates
You can share a custom agent with teammates. To do so:
Hover over your agent in the left panel, click the three-dot menu, and select Settings
Click the three-dot menu towards the top of the page (next to the Save button)
Select Share agent
Add the person or people you want to share with, and choose the access level they should have (more on this below).
Here’s what each access level lets someone do in Docs:
Copy your agent: They can make their own copy of the agent.
Use your agent: They can run the agent, for example by mentioning it in a doc. They can’t add the agent to a doc if it doesn’t already have access.
Full access: They can change the agent’s settings, including its access to Superhuman Docs. They can also add the agent to docs and share it with others.
To learn more about sharing and publishing custom agents, see Share and publish your agent.
FAQs
Can I build an agent just by chatting with Go?
Yes. Open Go chat in your doc, describe what you want the agent to do, and answer Go’s follow-up questions. Go builds the agent for you, and you can keep refining it by chatting or by editing its settings. To learn more, see Create and configure agents with the agent builder.
Do I need to invite my agent to every doc that I want it to work in?
It depends on your agent’s access settings. If the agent has Can view or Can edit access to your workspace, you don’t need to share docs that anyone in the workspace can access. You do need to share docs that are limited to specific people, and every doc if you chose Selected docs. If you @mention an agent in a doc it can’t access yet, Docs prompts you to share the doc with it. See Configure which docs your agent can access.
Who can build custom agents in Docs?
Doc Makers on paid seats can build custom agents: Superhuman Pro and Business, or Docs-only Pro and Team. Editors and Free users can’t create agents, but they can @mention an agent that’s already in a doc. Custom agents aren’t available on Enterprise plans at this time.
How do I share a custom agent?
Open the agent builder, click the three-dot menu, and select Share agent. Choose an access level for each person: Copy your agent, Use your agent, or Full access. Only Full access lets someone add the agent to a doc. For more, see Share and publish your agent.
Who can edit my custom Docs agent?
The creator and anyone granted Full access to the agent can edit the original custom agent, including its instructions, connectors, and sharing settings. The same goes for all custom Go agents. Learn more at Share and publish your agent.
Can I trigger an agent by pressing a button?
Yes, with the launch of Go in Docs, we’ve added the Trigger agent button action. Within the button settings, just select Trigger agent in the On click field. To learn more about buttons, see Buttons in Superhuman Docs.