Contents

Workflows

Automations that run steps for you when something happens, in your workspace or in the services you connect.

A workflow carries out a series of steps for you when something happens. For example, when an invoice arrives in Gmail, a workflow can add its amount to your Invoices table and make a task due that day. It can start on a schedule, a new email or Telegram message, a webhook, or a change to your tasks or calendar, and you build it on a canvas or ask an agent to build it for you.

How workflows fit in your workspace#

Many workflows pull data in from email, feeds and other services, read it with an AI step, and write the result into your workspace.

Workflows and agents start each other. Routines wake an agent on a schedule, and a workflow sends a message into an agent's session with the Agent step when the agent should react at once, to a Discord message, a task coming due or an email from your accountant. On Agent Message starts a run when a session answers or a run fails, so an answer can be passed on to Telegram or saved to a table. Agents can build, run and fix workflows, and can call one as a tool (Workflows as agent tools).

A workflow suits steps that must run the same way every time, output that tables, charts or other workflows depend on, and items that arrive too often for an AI to read each one. Work that needs judgement or conversation goes to an agent: "Every weekday morning, go through my email and make tasks for anything I need to do."

Ways to create a workflow#

  • In the app, open Workflows in the sidebar, select New Workflow, give it a name, choose Empty workflow and select Create. The new workflow starts Disabled; switch it on when it's ready (Enabled and disabled).
  • Ask an agent, for example "Build a workflow that adds every new Hacker News post about Rust to my Reading list table." For bigger automations an agent hands the work to a Workflow Builder session, one of the ready-made roles under New agent in Agents settings. A workflow an agent creates starts Enabled.
  • From another AI app: turn on the MCP in Settings → MCP, and Claude, Cursor or any other MCP client can build, edit, run, pin and group workflows in your workspace and create webhooks for them. See MCP.
  • To import a workflow exported as JSON, open ⚙ Workflow settings in the editor and select Import. It replaces the canvas until you save.

Workflows an agent builds#

Each change an agent makes to a workflow is saved in a version you can restore. An agent that keeps a workflow as a file, such as Claude Code working in your repository, pulls the whole graph, edits it there and pushes it back as one new version, named after what it changed.

Organize workflows into groups#

Groups are the sections of the Workflows list, such as Finance, Email triage or Home, and a workflow is in at most one. To make a group, select + (Create group) beside the sort buttons, give it a name and select Create. Its colour is Automatic unless you pick one: Automatic gives it the next colour in turn, and the colour picker offers the same named colours as table options, such as Forest or Sapphire, or a custom hex code. Two groups in a workspace can't share a name, whatever the capitals; groups that already shared a name keep it.

To move a workflow, open the ⋯ menu on its card and choose a group, or Ungrouped, under Move to group. Right-click a group's name to Move up, Move down, Rename, change its Color or Delete it. Deleting a group moves its workflows to Ungrouped.

Agents and other AI apps over the MCP create, rename, recolour and delete groups and move workflows between them: "Put my invoice workflows in a Finance group", or "Sort my workflows into groups". Under the default Ask before, an agent asks before deleting a group.

What starts a workflow#

Every workflow begins at a trigger. A workflow can have several triggers, and each run starts from the one that fired.

A trigger that waits for something to happen, such as an email, a message, a webhook call or a change to a task, starts one run per event, in the order the events came in. An event that arrives while earlier runs are still going starts its run as well.

A schedule#

  • Cron Trigger: runs on a schedule. Choose Simple (Every few minutes, Every few hours, Once per day, Weekdays, Once per week or Once per month) or Advanced for a cron expression such as 0 9 * * 1-5. The step shows the next run time. Its timezone is UTC until you set your own.
  • Schedule Event and On Scheduled Event: one workflow sets a one-off reminder for a later moment, such as three days after an invoice arrives, and On Scheduled Event starts a run when it comes due.

Your tasks, calendar, inbox and timers#

  • Task Event Trigger: a task is created, updated, completed or discarded, whoever did it: you, an agent, a workflow or another AI app. The run receives the task before and after, and which fields changed. A workflow that updates the task that started it runs again, so choose only the event kinds you need, or check which fields changed before acting.
  • Task Due Trigger: a task's scheduled time or deadline arrives.
  • Calendar Block Trigger: a calendar block's reminder, start or end.
  • GTD On Capture Item Created: a new capture lands in your Inbox.
  • On Timer Event: a timer or pomodoro starts, pauses, resumes, reaches zero, finishes or is cancelled (with the Timers plugin on).

Your agents and coding agents#

Discord and Telegram messages#

The Discord Gateway plugin links a Discord bot straight to an agent (Plugins).

Email and other services#

  • Gmail Trigger: new mail matching a Gmail search, such as in:inbox has:attachment. It can occasionally start twice for the same email, so a workflow that writes rows should use the message id as the row's id.
  • Calendar Trigger: events change in a Google Calendar. For blocks in Verdalia's own calendar, use Calendar Block Trigger.
  • Drive Trigger: Google Drive files change in a folder, or of a file type, that you choose.
  • GitHub Event: pushes, pull requests, issues, and check and workflow runs from a GitHub App connection.
  • Alpaca Event Trigger: an Alpaca order fills, is cancelled or rejected, or a price alert is crossed.

A webhook#

Manual runs and other workflows#

  • Manual Trigger: you select Run in the editor.
  • Test Node: a run you start, with a fixed sample value you paste in.
  • Input: another workflow runs this one with a Subworkflow step, or a panel or agent runs it, and hands it a value. Run from the editor, Input gives {}.
  • Workflow Result Trigger: another workflow finishes, filtered by name and by success or failure.
  • On User Event: a Send User Event step in any workflow of the workspace sends an event with the key it filters on, such as orders.imported, or any key when the filter is empty.

How a run works#

Steps and the lines between them#

A workflow's steps are the nodes on its canvas. A line from one step to the next carries data and sets the order: a step runs once the steps before it have handed it their output. If and Branch send the data down one path, and the steps on the path not taken are skipped. A list travels along a line as one value, so to do something for each item, use a Loop. For logic that would take many steps, one JavaScript step does it in code.

Local dates and times#

When a workflow needs today's date in the workspace, use Workspace Day or call await verdalia.api.workspace.day() in a JavaScript step. Both read the timezone, working day and calendar hours from the workspace's Your day settings. The next run uses any changes, including when the workflow runs on a schedule.

Past runs#

To look at a past run, open the Runs tab in the editor and select the run: the canvas shows it as it ran, and double-clicking a step shows its Inputs and Outputs, or that it Did not run. A run ends as Completed, Completed with warnings, Failed, Cancelled or Timed out.

For a step input or output larger than 256 KB, run history shows a placeholder with its size. The run is unaffected, and the next step receives the whole value. To inspect the result afterwards, return a summary, split the work (for example, one stock symbol per run), or save the full result to a table or Library document.

The Jobs page, under Automation in All pages, lists every run of every workflow, newest first, along with your agents' runs and other background work. Its rail filters the list by state (All, Active, Success, Warning or Error, which includes cancelled and timed-out runs) and by window (1h, 24h, 7d or All), and shows beside each filter how many jobs it lists in that window. The Summary under the filters gives the share of finished jobs that Succeeded, jobs Per hour for a 1h, 24h or 7d window, and the Average and p95 run time.

When a step fails#

A step's Failure mode setting chooses what its failure does. With Stop branch (default), the steps that depend on it don't run, other branches carry on, and the run is marked failed. With Fail workflow, the whole workflow stops.

With Route to error output, the step gets one more output, error, after its others. When the step works, its outputs carry its result and the steps wired to error are skipped. When it fails, the steps wired to its other outputs are skipped, and error carries what went wrong: node_id, node_type, message and causes. The step shows red with its error in the run, and the run ends as Completed with warnings. In this mode error is reserved: a JavaScript, Branch or Selector step that names one of its own outputs error is flagged, and does not run until the output is renamed.

To carry on with a fallback value, wire error into a JavaScript step whose script returns the value, such as return { items: [] }, and wire that step's output into the same input as the failing step's output. The next step gets the result when the step works and the fallback when it fails. To fail the run anyway, for example once a step on error has notified you, wire error into a Raise Error step: it fails with its own message, such as "Could not refresh the price list", and keeps the original error as its cause.

Enabled and disabled#

Enabled switches a workflow's triggers on: its schedules, webhooks, connected services and workspace events. Switch it in ⚙ Workflow settings, or from the ⋯ menu on the workflow's card with Enable workflow or Disable workflow.

Versions and pins#

Saving a workflow, and each change an agent makes, saves a version; changes made within 30 minutes of each other go into the same version. To keep the workflow as it is now as a version of its own, select Create Version in the editor's Versions tab, optionally say under What changed what the change was ("Retry failed Gmail sends"), and select Save Version. The next change after it starts a new version.

The Versions tab lists versions newest first: a named version shows its name above its date, and a version without a name shows its date. Restore brings back an earlier one as a new version.

Pin a version you've reviewed and go on editing: schedules, webhooks, and events from Gmail, Google Calendar, Google Drive, Discord, Telegram, GitHub and Alpaca run the pinned version. A run you start with Run, a run an agent starts, a call to the workflow as a tool or subworkflow, and triggers from your tasks, calendar, inbox, timers, agents, coding agents and other workflows use the version on the canvas. Saving doesn't move the pin: select Pin current in the Versions tab when the new version is ready.

Connections#

Most steps that reach another service, such as Gmail, Telegram or an AI provider, name one of your connections. If a step needs a connection you haven't made yet, Quick connect in its settings creates one without leaving the step. HTTP Request, RSS Feed Ingest and other web steps reach public addresses only; your own computer is reached through the Relay steps.

Fallback models#

An AI Agent or AI Conversation step can list Fallback Models below its Model, each a connection and model with its own reasoning effort. When the model can't answer because its quota is used up or its key is rejected, the run moves to the next model in the list. An overloaded or failing provider is first asked again on the same model, with a longer wait each time, and the run moves on if it stays unavailable. The same model on another connection works as a backup key.

The run stays on the model it moved to until it ends, and the next run starts on Model again. Nothing switches once the model has begun answering: a failure after that fails the step. Reasoning a model keeps sealed is not carried to another model, the same model on another connection included. Each switch reaches the step's intermediate output as a model_fallback event naming both models and why the first couldn't answer.

Workflows as agent tools#

A workflow that starts at a Tool Input step can become one of an agent's tools. Tool Input describes what the tool does and the inputs it takes, and the agent gets back what Set Workflow Output holds when the run ends.

When an agent wants such a workflow as a tool, a card appears in its session: "Agent wants to add workflow as a tool:", with the agent's reason. Select Approve to give it to that agent, Add for all agents to give it to the whole team, or Not now. Each call reads the workflow as it is, so editing the workflow changes the tool for every agent that has it.

Build and test a workflow#

Add and connect steps#

To add a step, right-click the canvas and choose Add node, press Ctrl+., or drag one from the Nodes tab. Dropping a line from a step's output on empty canvas adds a step already connected to it, and the + on a line inserts a step in the middle. Double-click a step to configure it: a field can be typed in, filled from earlier steps with {{ input.field }}, or wired to another step. Each step's settings link to its reference page. Frames group steps on the canvas under a title and colour. Framing is visual only: it never changes how a workflow runs, and deleting a frame leaves its steps as they were. Agents and the MCP endpoint can read and edit frames without being given the tool.

Test without real side effects#

A test run sends real messages and writes real data.

  • Run (Ctrl+Enter) runs the canvas as it is from the selected trigger.
  • A Test Node starts a run with sample data you paste in, so you don't wait for a real email or message.
  • Right-click a step and choose Run To Here to run only the steps before it.
  • Pin Output on a step reuses its last output on the next run, so an AI step you've already checked doesn't run again.

Ask an agent about a workflow#

To get help with a workflow, select Ask an agent in the editor, pick an Agent, write what it should do under What should it do? (for example "Why did the last run fail?") and select Ask. A new session of that agent opens with the workflow attached.

Let another app start a workflow#

To give a workflow an address other apps can call:

  1. Go to Settings → Webhooks and select Create Webhook.
  2. Fill in Name, Method (POST, or GET), Response mode and Description. Immediate answers the caller at once; Workflow waits up to 30 seconds for a Webhook Response step to send the answer.
  3. Optionally give it a Route name. The webhook is then also reachable at /<workspace>/routes/<name> and any path below it, without the secret token. Anyone who knows that address can call it.
  4. Select Copy URL for the secret address, add a Webhook Trigger to your workflow and choose the webhook.

Several workflows can listen to the same webhook. Deleting a webhook breaks every Webhook Trigger and Webhook Response step that uses it. To check a service's signature on its requests, add a Verify Signature step after the trigger.

Agent tools and workflow nodes#

Agent tools#

These are in the Workflows tool group, which agents get by default. Over the MCP, other AI apps get all of them except Attach Workflow; deleting a workflow, a step or a connection stays off until you turn it on in Settings → MCP.

These are in the Workflow Groups tool group, which agents and other AI apps over the MCP get by default, deleting included.

Workflow nodes#

The triggers are listed under What starts a workflow.

Examples#

Put every invoice from email into a table#

A Gmail Trigger searching in:inbox has:attachment starts the workflow, Download Attachment and Extract PDF Text read the invoice, and an AI Agent step with a Structured Output Schema pulls out vendor, amount and due date. Table upserts the row into Invoices with the email's id as the row's id, and Task creates "Pay Nordlys Energy" with the due date as its deadline. When the amount is over €1,000, an If step sends you a message with Telegram Send.

Talk to your agent on Telegram#

One workflow starts at Telegram Message and sends what you write, such as "move my dentist appointment to Friday", into your Assistant's session with Agent, Send Message. A second starts at On Agent Message on answers from that session, replies in the chat with Telegram Send, and marks the session read with Agent, Mark Session Read.

Clarify each inbox capture as it lands#

GTD On Capture Item Created starts a run for each new capture, and an AI Agent step decides whether "Renew passport before summer" is a task, an appointment or a note. Branch sends it to Task (with a deadline if one was mentioned), Calendar or Library, and GTD Capture marks the capture handled. To have your agent clarify it, replace the AI step with Agent, Send Message.

Give an agent an invoice tool#

This workflow starts at Tool Input, taking a Gmail message id, runs the invoice steps from the first example, and ends with Set Workflow Output returning the row it filed. Once you select Approve on the card the agent offers, its morning email routine can call the tool for each email that looks like a bill.

Hear when your coding agent needs you#

On Coding Agent Event starts the workflow when a coding session on your computer finishes a prompt or asks for permission. Telegram Send tells you which session it was and what it asked, and you answer from the Coding Agents page.

Settings#

Workflow settings (⚙ in the editor):

  • Name, Description and Enabled.
  • Timeout (seconds): how long one run may take, up to 86400. New workflows get 1500.
  • Zero Data Retention: when on, runs keep no step inputs or outputs, only error messages.
  • Visual Preferences: node colours, spacing, tags, summaries and grid size on the canvas.
  • Export and Import the workflow as JSON.
  • Delete Workflow, under Danger Zone. Deleting can't be undone.

Settings → Webhooks: each webhook's name, method, response mode, description and route name.

Settings → MCP: whether other AI apps can reach your workflows, and which workflow tools they get.

Settings → Agents → Ask before: which agent actions wait for your approval. By default, destructive calls such as deleting a workflow, a webhook or a workflow group ask.

Troubleshooting#

A workflow doesn't start on its own#

Check that it's Enabled. If the workflow is pinned, a trigger or fix you added since doesn't reach schedules, webhooks and connected services until you select Pin current.

A schedule runs at the wrong hour#

Cron Trigger counts in UTC until you set its timezone. Open the step and choose yours.

A webhook caller gets an error after 30 seconds#

The webhook's response mode is Workflow, and no Webhook Response step answered within 30 seconds. Add one on every path the run can take, or switch the webhook to Immediate.

A run ends as Timed out#

The run took longer than the workflow's timeout. Raise Timeout (seconds) in Workflow settings; AI Agent steps that use many tools often need more than the default.

  • Agents: routines, timers, and the sessions workflows write into.
  • Tasks, Calendar and Inbox: what workflows create and react to most.
  • Collections and Data Views: the tables workflows fill and the views that chart them.
  • Connections: the accounts and keys workflow steps use.
  • MCP: building and running workflows from other AI apps.
  • Relay: workflow steps on your own computer.
  • Tables and documents: feeds into tables, summaries into your Library.
  • Personal operating system: starting with one small system, then connecting tasks, notes and workflows to it.