Skip to content

Workflows

Steps across your APIs that run together: make one from a sentence or by hand, run it now or on a schedule, and see how each run went.

What a workflow is

A workflow is a list of steps, each one a call to one of your APIs. The steps run in order, when you press Run or on a schedule.

Your AI can list your workflows, read one's steps and plan a new one, under its key's rules. The MCP tools reference lists the workflow tools.

To make one from a sentence

  1. Open Workflows. Under New from a sentence, say what should happen and when, for example "every weekday at 9 list my new Stripe customers". Press Plan it.
  2. If it needs one more detail, it asks one question. Pick an answer or type one.
  3. Check the plan: when it runs, and each step, marked reads or changes data. Nothing is saved or run yet.
  4. Give it a name. If a step changes data, tick the box that says those steps may change data each time it runs, without asking you again.
  5. Press Save and turn on.

Planning uses your APIs' grammars, not an AI model, and runs nothing. A time in a sentence is read as UTC. The plan names the time in UTC. For a simple schedule (every day, weekdays or one day of the week, at a set time) it shows your own time beside it when that differs.

To build one by hand

  1. Open Workflows and press Build one by hand. You need at least one API added first.
  2. Give it a name.
  3. A new workflow opens with one empty step. In it, pick an API, then pick the endpoint the step calls.
  4. Fill the step's parameters. For each one choose Type a value, Ask when it runs, or, from the second step on, a field of an earlier step's result.
  5. If a run should carry on when this step fails, tick Keep going if this step fails. Tries again sets how many times it retries. It tries again only when the error looks temporary, such as a timeout.
  6. For each further step, press Add a step and do the same.
  7. Press Save workflow.

Steps use the keys you saved for each API. To change a workflow you built by hand, open it, press Edit steps, then Save changes. A workflow planned from a sentence can only be renamed there: to change its steps, plan it again from Workflows.

To run one

  1. Open the workflow from Workflows.
  2. Under Run it now, fill in any inputs it asks for.
  3. Press Check to see what a run would do now. Nothing runs.
  4. Press Run.

When a step changes data, the run waits for your yes before it runs: you see every step, then press Approve and run or Deny. It doesn't wait if you said it needn't, by ticking the box when you saved it from a sentence, or by ticking Don't ask again for these exact steps when you approved a run.

Runs lists each run with when it started, its status and how long it took. Open a run to see what it was given and each step's result.

To put one on a schedule

  1. Open the workflow.
  2. Under Schedule, pick how often under Every: from every 15 minutes to once a day.
  3. Press Schedule.

Every 15 minutes is the most often a workflow can run. A workflow made from a sentence that names a time gets its schedule when you save it.

To stop a schedule, press Stop beside it, on the workflow's page or on Workflows. The workflow stays, and you can schedule it again.

In a shared workspace, only its owners and admins can add or stop a schedule.

To limit how often one runs

Under Run limit on the workflow's page, type the most runs, pick every minute, hour or day, and press Set limit. A run over the limit is refused before its first step, and scheduled runs count too.

To start one from another service

A trigger is a URL that another service, or one of your Programmable apps, sends to, to start the workflow. Triggers are on the workflow's page. Only the workspace's owners and admins can add or change them.

  1. Under Triggers, type a name if you want one and press Add webhook.
  2. Copy the URL and the secret, and give both to the sending service. The secret isn't shown again.
  3. Have the service sign each delivery. How to sign a delivery, on the same panel, gives the two headers and the signature.

To start the workflow from one of your Programmable apps instead, pick the app under Listen for one of your Programmable apps and press the Listen for button. The panel then says what to do in that app. A trigger that is Waiting for its secret turns deliveries away until you paste the secret the app shows.

What the workflow gets from each event sets where each of the workflow's inputs comes from: a part of the event, or a value that is always the same. On a trigger for one of your Programmable apps, Only for these events limits the trigger to the event types you list. A plain webhook has no such list.

A step that changes data and uses a value from the event waits for your yes each time, as it does when you press Run.

Pause turns deliveries away without running anything. They aren't kept for later, and the URL and secret stay the same. Change secret makes the old secret stop working at once. Remove stops the trigger at once, and the workflow stays.

To copy or download one

On a workflow of your own, Duplicate makes a copy and Download as JSON saves it as a file. One kind can't be duplicated: a workflow planned from a sentence that has steps that change data. Plan it again from the sentence instead.

If something goes wrong

  • "That didn't make a plan. Try saying it another way.": say it more simply and name the API, or build the workflow by hand.
  • "Add an API first": a workflow's steps call your APIs. Add one, save its key, then come back.
  • A run says Failed: open it under Runs to see which step failed and why.
  • A run says A call was turned down: it finished, but a step's call was turned down. Open the run to see which step.
  • A run over its run limit is refused before its first step. Wait, or change or remove the limit under Run limit.
  • "It's still running": a long run isn't shown as failed. The page shows the result when it ends, and the run is under Runs.
  • A workflow "waits for you": press Look and approve on Workflows, or open Approvals.
  • A trigger doesn't start the workflow: check it isn't Paused or Waiting for its secret, that the sender signs with the current secret, and that the timestamp it sends is within 5 minutes of now. Each signature works once, so a retry has to sign again.