Integrations · Knock
A Guild agent can drive your Knock notification system: triggering and cancelling workflows, tracking delivery, and updating message states on behalf of your users. Guild stores your Knock API key server-side and injects it as a bearer token, so agent code never sees the credential. Credential policies let you restrict which operations each agent may call, and every request is audited through Guild’s credential proxy.
Book a demo
See how teams govern agents that use Knock.
Talk to sales
Get access to Guild, then connect Knock to your first agent.
What the Knock integration exposes
The integration packages Knock’s notification and management APIs as agent-callable tools. Tools cover workflow triggering and cancellation, user and tenant identification, object and preference management, schedule creation and deletion, subscription and audience management, and message state updates across channels. Tools follow the knock_ prefix and are selectable individually with pick().How it works
1
Open credentials in Guild
Go to Access & setup > Credentials in your Guild account or organization. Click Connect, search for knock, and select it.
2
Paste your Knock API key
Enter your key in the API Key field and save. Guild sends it as a bearer token in the Authorization header on every request the agent makes.
3
Add KnockTools to your agent
Import KnockTools from the
guildai~knock package and spread it into your agent’s tools object. Use pick() to include only the tools your agent needs.Why Knock access needs governing
Knock tools can trigger workflows for any recipient, delete users and tenants in bulk, and update message states across channels. Guild stores the API key server-side and injects it only after the credential proxy checks the credential policies you define. You can write ALLOW and DENY rules scoped to specific agents or workspaces, limiting one agent to read-only delivery queries while another can trigger workflows. Credentials can be scoped to an account, a single workspace, a member, or one dedicated agent, so the key never travels further than intended. See Credentials and Credential policies for setup. Without scoped rules, every agent that resolves the credential can call any Knock tool; adding a deny-by-default policy removes that exposure.About the Knock integration
Agents can trigger and cancel notification workflows, manage users, tenants, objects, and their preferences, and query message delivery status. They can also create and delete schedules, manage subscriptions and audiences, and update message read or archive states across channels. The integration isguildai~knock.
Authentication
- Type: API key
- Header: Guild sends the key as a bearer token in the
Authorizationheader
Setup
1
Connect Knock
In Guild, go to Access & setup > Credentials, click Connect, select knock, and paste the key into API Key.
Usage
Selecting specific tools
Tools are named with theknock_ prefix. Use pick() to include only what your agent needs.
Tools
Tools in the latest published version ofguildai~knock:
All 118 tools
All 118 tools
Frequently asked questions
Can an agent cancel a workflow that has already been queued?
Can an agent cancel a workflow that has already been queued?
Yes. The knock_cancel_workflow tool cancels a previously triggered workflow using its cancellation key, and knock_cancel_workflow_by_key cancels any queued runs matching a workflow key and cancellation key pair.
Does Guild expose Knock webhook events to agents?
Does Guild expose Knock webhook events to agents?
No. The catalog entry lists no webhook events for this integration, so agents cannot react to inbound Knock events through Guild.
Can I limit an agent to only reading message delivery status?
Can I limit an agent to only reading message delivery status?
Yes. Write a credential policy that ALLOW-lists only the knock_get_message, knock_list_message_delivery_logs, and knock_list_messages tools, scoped to that agent. The credential proxy blocks all other Knock operations for that agent. See Credential policies for rule syntax.
How many schedules can an agent create in one call?
How many schedules can an agent create in one call?
The knock_bulk_create_schedules tool creates up to 1,000 schedules in a single operation.
Put a governed agent on Knock this week
Book a demo
See how teams govern agents that use Knock.
Talk to sales
Get access to Guild, then connect Knock to your first agent.