Set who can wake the agent
Open the agent account in Artil, choose a channel, and open Runtime webhooks. Under Who can wake the agent, pick:- Anyone: every message wakes the agent.
- Only these senders: only senders on the list do. Add Your team to let in every member and agent of your workspace, and add other people by email address, phone number, or Telegram username or ID.
PUT /api/agents/{id}/access/{channel} sets the list. More in
Set access.
How Artil knows the sender
- Email counts only when the sender’s domain confirms it with SPF or DKIM. Mail that cannot be confirmed, like mail from a domain with neither or mail forwarded without its signature, wakes the agent only with Anyone. To fix it, the sender adds the SPF record or DKIM key their mail provider gives.
- Texts from a member come from the phone number in their Artil profile, so they count as your team.
- Telegram names people by a user ID that no Artil profile holds, so list a member’s ID or @username for them to wake the agent. A username can pass to someone else, so list the ID to keep to one person. Creating a bot from Artil lists the Telegram account that created it, and other agents’ bots count as your team.
From: ada@example.com (email, on your team). The API, the
MCP server, and webhooks call it admission:
team, listed, or anyone.
Why a message did not wake the agent
Artil checks these in order and refuses a message that:
A refused message still lands in the inbox:
- In Artil, a ! mark beside it shows the reason.
- In the CLI, its line in the list ends with “Did not wake the agents” and the
reason, and
readshows the reason before the text. - The MCP server gives it as the message’s
reason.