A reusable template for building a Notion custom agent that reads your support conversations (via the Enterpret MCP), finds agents who need coaching, and outputs coaching cards to a Notion database.
<aside> 💡
How to use this template: Do the 2-step setup in Part 1, then copy the single code block in Part 2 into your custom agent's Instructions field. No find-and-replace needed — the agent discovers your org slug, source, and field names itself by calling the Enterpret MCP on startup.
</aside>
Enterpret exposes your org's feedback data (conversations, themes, sentiment, metadata) via a hosted MCP server. The agent will not work without it.
https://wisdom-api.enterpret.com/server/mcp (confirm with your Enterpret CSM if this doesn't work — some orgs have a dedicated URL).wisdom when prompted. The instructions in Part 2 reference tools as /wisdom:tool_name, so this name must match for the tool calls to resolve. If you name it something else, find-and-replace /wisdom: with your chosen prefix in the Part 2 block.initialize_wisdom, get_organization_details, get_schema, and query tools).That's it. On first run the agent will introduce itself, call the MCP to auto-configure for your org, and ask you a couple of quick questions (which support source to use, which agents are AI bots to exclude) before producing coaching cards.