AgentMeshLog inStart free

Automation

Automate: schedules & webhook triggers

Put Your AI Agents on Autopilot · Watch on YouTube

A workflow you have to click is a demo. Automation is what makes it a system, and there are two ways to start one without you: on a clock, or on an event. Both live on the Schedules page.

I built this scheduler and later found it had been running two-week-old code on my own production server, so the failure modes at the bottom of this page are not hypothetical ones I thought up for a help article.

Which one you want

ScheduleWebhook trigger
Starts whenA cron time you setSomething POSTs to your URL
Input to the runFixed, set onceThe JSON body of the request
Good forDigests, sweeps, nightly reportsReacting to a form, a ticket, a payment
Fails quietly whenThe condition inside never matchesThe caller stops calling

Schedules

  1. Open the Schedules page and pick the workflow.
  2. Add a cron schedule — for example every day at 9am.
  3. Save. It now runs on its own, and every run appears in Executions like any other.

Cron is as fine-grained as you need, but be realistic about volume: a five-minute schedule is about 288 runs a day, and each one costs tokens. A support-ticket-sized worked example comes to $0.0144 at our real rates, so 288 of those is roughly $4 a day of usage. Start daily and tighten it once you have seen what a run actually costs you.

Webhook triggers

  1. On the Schedules page, add a Webhook trigger to the workflow.
  2. Copy the generated URL — it contains an unguessable token, so treat it like a password.
  3. Have the external system POST JSON to it. The body becomes the workflow’s input and the run starts immediately.
  4. Check Executions to confirm the first real call arrived with the shape you expected.

Anyone holding that URL can start your workflow, which is the point and also the risk. If it leaks, delete the trigger and add a new one — the old token stops working.

The limits worth knowing before you rely on it

LimitValueWhat happens at it
Workflow run timeabout 61 minutesThe run is stopped
Stuck-run reaper90 minutesA run still not finished is marked TIMEOUT, so nothing stays “running” forever
http_request calls1,000 per user per dayFurther calls are refused
send_email100 per user per dayFurther sends are refused

How an automation fails without telling you

It runs and does nothing

This is the common one and it does not look like an error. A scheduled workflow whose condition never matches will finish as COMPLETED every single time while doing no work. Source: I shipped exactly this and wrote it up — a cleanup job of mine ran hourly for weeks, logged “removed 0 expired results”, returned success, and had never deleted anything.

The check that catches it is a count, not a status: have the run report how many items it processed, and compare that against what the source says it handed over.

Nothing runs at all

Workflows and agents are inactive by default, so nothing fires by accident. Open it and set it to Active. If a schedule exists and is Active and still nothing appears in Executions, the schedule is attached to a different workflow than the one you are looking at.

It ran before you were ready

A schedule starts at its next matching time, not when you finish editing. Add the schedule last, after the workflow does what you want by hand.

Next

  1. Give the workflow real tools so the scheduled run can act — see Give agents tools & integrations.
  2. Read what a failed or empty run is telling you — see How to troubleshoot a failed run.