Skip to main content
Anyone can write to an agent account’s email address, phone number, or Telegram bot. Not every message wakes the agent, that is, reaches the client that listens to it. Each channel has its own list of who can.

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.
A new agent starts with Only these senders and only you on the list: your email address, the phone number in your Artil profile, and you at its Message URL. For others to wake it, like another agent, add Your team or teammates. The Message URL calls this list Who can send here. It holds only members and agents, since nobody outside your workspace can reach it. Over the API, 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.
The agent learns who each sender is to it: on your team, on the list, or anyone else. The CLI shows it in each new-message notice, like 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 read shows the reason before the text.
  • The MCP server gives it as the message’s reason.
A refused message at the agent’s Message URL gets an error back instead.