Automation

Automations and approvals

Agents can run without anyone starting a chat: on a schedule, when an external system calls a webhook, or when a member fills in a form. Whatever starts a run, yeos sends or changes nothing outside yeos before a person approves it, unless you decide otherwise. The same approval rules apply to normal chats.

Triggers

Every automation belongs to one agent. Organization admins set automations up on the agent's page under Agents.

TriggerStarts a run whenRuns asExternal actions
Schedulethe time plan is due, or someone clicks Run nowthe automation's ownerfollow the approval setting
Webhookan external system sends JSON to the webhook URLthe automation's owneralways need approval
Forma member submits the formthe member who submitted italways need approval

"Runs as" decides whose connected accounts and permissions a run uses. If you edit an automation that belongs to another member, yeos asks "Run this automation as you?" first. If you continue, the automation becomes yours and runs with your accounts from then on.

Schedules

Use a schedule when an agent should do the same work regularly, such as a daily summary, a weekly report or a monthly compliance check.

  1. Open Agents and select the agent.

  2. Go to the Schedules tab and click Create schedule.

  3. Enter a Name and the Question the agent should answer each time.

  4. Choose Daily, Weekly, Monthly or Custom cron, then the time and time zone.

  5. Choose the Approval setting and whether runs should Only report findings.

  6. Choose Active to run automatically or Paused to save without running, and save.

Run now starts one run immediately without changing the time plan.

Webhooks

Use a webhook when an event in another system should start the agent, for example a new ticket, a CRM change or a deployment.

  1. Open Agents, select the agent and go to the Webhook Triggers tab.

  2. Click Create webhook, enter a Name, choose Active or Paused, and save.

  3. Copy the secret right away. It is shown only once.

  4. Copy the URL into the external system.

The external system sends JSON (Content-Type: application/json) to the URL, with the secret in the X-Yeos-Webhook-Secret header. Systems that cannot set headers can append it as a ?secret= query parameter instead. yeos passes the JSON to the agent as information for the run, never as instructions. Requests without the right secret and oversized requests are rejected before a run starts.

Because the content comes from outside, webhook runs always ask before external actions, whatever the approval setting says.

Forms

Use a form when members should hand work to an agent with structured input, for example an IT access request or a purchase request.

  1. Open Agents, select the agent and go to the Forms tab.

  2. Click Create form and enter a Form title, an optional description and the Instruction for the agent. The agent receives the instruction together with the submitted values.

  3. Add up to 10 fields. Each field has a label, a key (lowercase letters, digits and underscores, starting with a letter), a type and whether it is required. Types are Short text, Long text, Number, Date, Choice (up to 20 options) and Checkbox.

  4. Save, then use Copy link to share the form.

Members open the form from the link or from the list of all forms at /<organization>/forms, which shows the forms of the workspaces they belong to. After submitting, they can follow the agent’s work in the conversation.

  • The run acts as the member who submitted the form and uses their permissions.
  • The agent treats the submitted values as information, not as instructions, and always asks before acting outside yeos.
  • A member can submit the same form only a few times per minute.
  • The run history shows the submitted values and who submitted them.
  • Notifications about a form run go to the member who submitted it.

Admins can edit, pause and delete forms. Deleting a form stops its link; runs it started stay in the run history.

Run history

The Run History tab lists every run of the agent's automations with trigger, status, start time, linked conversation and errors. Timeline shows what happened in a run step by step: when it started, which tools it called, approvals and the result.

Statuses

Queued
waiting to start
Running
working
Waiting
paused until something it waits for arrives
Approval required
waiting for a person to approve an action
Completed
finished
Failed
stopped with an error
Skipped
not carried out
Cancelled
stopped before it finished

Run again

Run again starts a completed, failed or cancelled run again. The automation's owner and organization admins can use it.

  • The new run gets the same input as the original, such as the webhook JSON or the submitted form values.
  • It uses the automation as it is configured now: its current instruction, agent and approval setting.
  • A repeated webhook or form run stays a webhook or form run, so its external actions still need approval. Repeated scheduled runs count as manual runs.
  • Both runs show the link to each other.

Runs that are still queued, running, waiting or waiting for approval can't be repeated.

Approvals

An approval stops an action before it happens and shows a person what would be sent. Nothing runs until that person approves it.

Approval levels

Schedules, webhooks and chat each have an approval level:

  • None: actions run without asking.
  • External actions (default): actions that send, change or delete something outside yeos ask first.
  • All actions: every action that writes something asks first, also inside yeos.

Webhook and form runs never go below External actions. The None option is not available for them.

What counts as an external action

KindExamplesNeeds approval under External actions
Readsearching documents, reading mail, GET requests, MCP tools the server marks as read-onlyno
Write inside yeoscreating or updating mail draftsno
External writesending mail; moving, deleting, flagging, categorizing or marking mail as read; creating mail folders; POST, PUT, PATCH and DELETE requests; MCP tools that are not marked read-onlyyes

Tools yeos does not know count as external writes.

Approval in chat

When yeos would send, change or delete something outside yeos during a chat, it asks first. Admins choose the level under Organization Settings → General → Approval in chat; the default is External actions. The action then waits in the conversation, and yeos says so in its answer.

Approval per tool

Admins can override the classification for single tools with Requires approval:

  • Automatic: the rules above.
  • Always: always asks, even for a tool that only reads.
  • Never: never asks. Use this for an endpoint that only reads data even though it needs POST.

For MCP tools, set it per tool on the MCP server's tool list, or for all its tools at once with All tools. For HTTP tools, set it in the tool's settings, or for several tools at once with Edit approval in a collection.

After untrusted content

Web pages, emails, webhook payloads, form values and the output of MCP or HTTP tools can contain hidden instructions. Once a chat turn or a run has read such content, its external actions ask for approval even when the level is None. Tools set to Never are the only exception.

Deciding an approval

A pending action appears as "Approval needed" in the conversation, with the tool, the agent or automation, and "What would be sent". Values that look like secrets (tokens, passwords, API keys) are hidden, and long values are shortened.

  • Click Approve or Reject, optionally with a note.
  • An approved action runs exactly once, with the connected accounts of the person the run acts as. Its result is posted in the conversation.
  • After a rejection the agent continues without the action.
  • A pending approval expires after 7 days. A rejected or expired action never runs.

The automation's owner and organization admins can decide approvals of automations. In chat, the member who asked and organization admins can decide.

Admins find all pending approvals at the top of the Agents page under "Waiting for your OK", and on the Approvals page at /<organization>/approvals. Members see the approvals of conversations they can open.

Notifications

Each automation has its own Run notifications, which you can switch on and off separately:

  • Notify when a run completes (schedules, webhooks, forms)
  • Notify when a run fails (schedules, webhooks, forms)
  • Notify about findings (schedules)

Notifications go to the automation's owner; for forms, to the member who submitted the form. With Only report findings, scheduled runs stay quiet unless they find something worth your attention, which they report with sources.

Common questions

Can an agent send an email without asking me?

Not under the default settings. Sending mail is an external action, which asks for approval under External actions. An admin would have to set the level to None, or the tool to Never, and even with None yeos asks after the run has read a web page, an email or tool output.

Who can set up automations?

Organization admins create and change schedules, webhooks and forms. Members can submit forms of workspaces they belong to.

Why does a webhook run ask for approval although I chose None?

Webhook and form content comes from outside your organization's control, so external actions of these runs always need approval.

What happens to an approval nobody decides?

It expires after 7 days and the action never runs.

Are schedules and webhooks part of an agent export?

No. An export contains the agent's configuration only. Schedules, webhooks and forms stay with the original agent.

Copying an agent to another organization?

Duplicate, export and import are described on the Agents page.

Duplicate, export and import