How to build a Custom Agent
Based on Notion's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
Start by identifying repetitive, manual work that consumes time each week and can be standardized for the whole team.
Briefing
Custom Agents in Notion are built to take over repetitive, low-impact-but-time-consuming work—so teams can stop routing the same questions and start using their time on higher-value tasks. The core move is identifying a recurring workflow (often weekly) that’s manual, routine, and easy to standardize, then deciding whether setting it up once would benefit the whole team.
A practical example centers on a Q&A agent for a customer support Slack channel. The weekly problem is familiar: the same billing and process questions keep coming up—like where to log billing-related issues or how to handle edge cases. Instead of answering from scratch each time, the agent is configured to search the team’s help center and internal knowledge base, then respond with answers drawn from those sources. The setup begins in the workspace sidebar under the Agents section, where a user can build from scratch, start with a template, or—recommended for first-timers—chat with a Custom Agent to describe the desired outcome.
Once the goal is clear, the build process focuses on three pillars: triggers, instructions, and connected sources. Triggers determine when the agent runs, either event-driven (such as when the agent is @mentioned in Notion or when a Slack message arrives) or scheduled (like running every Monday morning or at the end of the day). Instructions define what “good” looks like—using clear outcomes, example responses, and the right references. The agent can be guided with simple if-then logic, such as: if the answer exists in the help center, reply with a short summary and link; if not, say it doesn’t know and route the question to the appropriate team.
The agent also needs access to the right tools and pages. Even when pages and tools are pre-populated, permissions must be reviewed. In most cases, view access is enough; edit access should be granted only when necessary. For Slack specifically, the configuration controls which channels the agent can read from or post to—private DMs and unconfigured channels remain off-limits.
Before wider rollout, testing matters. A quick check in the target Slack channel helps confirm the tone and verify that the agent is pulling from the correct pages. If something feels off—like wording that’s too cold—the instructions can be adjusted and the agent iterated on. Operational visibility comes through the Activity tab, which logs each run and whether it behaved as expected. Notion also provides Version History so changes can be rolled back.
Finally, model behavior can be left on “auto” or set to a specific model for more control. After the agent works in Slack, the Sharing panel can extend access to teammates with permissions ranging from “can view and interact” to “can edit” or “full,” depending on whether they need to update settings. The result is a system that continuously handles small repetitive requests in the background, freeing people for work that actually requires human judgment.
Cornell Notes
Notion Custom Agents are designed to automate repetitive, low-impact tasks—especially recurring Q&A—so teams can spend time on higher-value work. The process starts by spotting a workflow that’s routine and manual, then defining a clear outcome for the agent. Triggers decide when the agent runs (event-driven like Slack messages or scheduled runs), while instructions specify how to answer using the right sources and if-then rules. Connected tools and pages require careful permission checks, typically granting view access and limiting edit access. After testing in the target channel, teams can iterate using the Activity tab and Version History, then share the agent with teammates using appropriate permissions.
How do Custom Agents decide when to run, and what are the main trigger types mentioned?
What makes “instructions” effective when building a Q&A agent?
Why do permissions matter even if the agent already has pages and tools populated?
What’s the recommended approach for testing and improving an agent before broad rollout?
How can teams control the agent’s model behavior and who can use it?
Review Questions
- What trigger types are available for Custom Agents, and how would you choose between event-driven and scheduled triggers for a support workflow?
- Describe an if-then instruction pattern you could use to ensure a Q&A agent responds with citations when it finds an answer and routes questions when it doesn’t.
- What permission checks should be performed for connected tools like Slack, and why is view access often preferred over edit access?
Key Points
- 1
Start by identifying repetitive, manual work that consumes time each week and can be standardized for the whole team.
- 2
Define a clear outcome for the agent in chat, then rely on well-written instructions rather than spelling out every step.
- 3
Use triggers to control when the agent runs, including event-driven triggers (e.g., Slack messages) and scheduled triggers (e.g., weekly runs).
- 4
Guide the agent’s decision-making with simple if-then rules and by pointing it to the correct knowledge sources.
- 5
Review tool and page permissions carefully—typically grant view access and restrict edit access to what’s necessary.
- 6
Test the agent in the target Slack channel to validate both answer quality and tone before expanding access.
- 7
Iterate using the Activity tab and Version History, and share the agent with teammates using the right permission level.