Build automations
Workflows
A Workflow connects a Trigger to Steps that perform work in your apps. Build it manually, use a template, import a JSON export, or ask Build with AI to propose a graph. Configure and test it before turning on normal execution.
For your first automation, follow the Webhook to Google Sheets Quickstart.
For detailed setup, see Build with AI, Loops, and Workflow testing.
Create a Workflow
- Open Workflows and select Create workflow.
- If the Build with AI panel opens, describe your automation there or close it to build manually.
- For manual creation, select New Workflow from the empty canvas or More Workflow actions menu.
- Enter a name and select Create Workflow.
The new Workflow is a Draft with no Trigger. Close Build with AI if it opens after creation. Select Add Trigger on the canvas, choose an app, Webhook, or Schedule, and complete its settings. App Triggers need a compatible account and event; webhook Triggers expose a Source URL; schedules define when to run.
To reuse an existing graph, see Templates and duplication or Import and export.
Configure the Trigger and Steps
Select the Trigger or a Step on the canvas to open its side panel. App and webhook editors use three stages:
| Stage | What to do |
|---|---|
| Setup | Choose the app, event, and account where applicable. |
| Configure | Select resources, fill required settings, and map data. |
| Test | Obtain Trigger data or test the configured Step. |
Use Continue to save and advance. Draft editors save supported settings as you work; wait for saving to finish and resolve any error before leaving. Test step runs a test and becomes Retest step after an attempt. A final Step can offer Publish, which activates the Workflow when you finish.
Choose Add step below the Trigger or an existing Step to extend that route. An add point between two Steps inserts the new Step into that route. Use the field picker to map the Trigger or available earlier outputs into inputs.
Step types
The step catalog links to detailed instructions for each of the following types. The exact options depend on the selected placement, including whether you are inside a Loop.
| Step | Purpose |
|---|---|
| Action | Run an operation in a connected app. |
| HTTP Request | Call an API and use its response in the next Step. |
| AI | Generate or analyze text, structured data, images, documents, or audio. |
| Filter | Continue a route only when its conditions match. |
| Paths | Choose named conditional routes, with an optional fallback. |
| Merge | Join the selected If or Paths branches and map their results to a shared continuation. |
| Loop | Repeat a group of Steps over array items, text, or numbers. |
| Formatter | Format dates, numbers, text, and lists. |
| Code | Run JavaScript DSL against mapped input data. |
| Aggregate | Summarize results from a completed Loop. |
| Only new items | Remember processed IDs and pass through new items. |
| Delay | Wait before continuing. |
| Stop | End the Workflow when this Step is reached. |
| Destination | Send data through a reusable delivery transport. |
For conditions and data processing, use If to choose between two routes. Connect the branch ends with Merge to share the next step. For other cases, see Paths, Workflow filters, and Workflow transformations.
Repeat work with Loop
Add a Loop, select its input, then add the Steps to repeat inside it. Those Steps can map the current item and earlier results available in that Loop. Use Aggregate after a completed Loop when a later Step needs a summary.
For example, loop over an order's line items and write one spreadsheet row per item. Check an empty input, multiple items, and an item that causes an error before activation. The input and limit controls depend on the Loop mode.
Some existing Action configurations also use Loop over an array for per-item execution. Review the controls on the actual Step when maintaining those graphs. The separate Loop Step is the way to repeat several Steps together.
Loops repeat work within their configured scope; they do not allow arbitrary connections back to earlier nodes. Steps cannot read outputs from an unrelated branch. Selected branches execute in order rather than as independent parallel deliveries.
Test before activation
Capture or select a Trigger record, then test important Steps with that data. An Action test can make a real external change. Repeating it can send another message or create another row.
More Workflow actions → Auto-validate checks the graph and runs real tests, including external Actions and AI calls. It leaves the Workflow's status unchanged. It simulates Delays, and Only new items uses a stateless preview that does not execute subsequent Steps on that route. Use a normal run to verify delivery through that Step.
Validation results opens saved checks. Opening the report does not rerun tests; Check again does and may repeat external Actions. A green badge can also represent a test you chose to skip, so inspect its explanation when deciding whether the automation is ready.
Activate and pause
Select Activate in the toolbar, or Publish at the end of the Step editor when offered. A Workflow needs a Trigger, at least one Step, and supported runtime configuration before activation.
| Status | Meaning |
|---|---|
| Draft | Saved configuration that does not start normal runs from new Trigger events. |
| Active | New Trigger events can start runs. |
| Paused | New Trigger-started runs are stopped while the configuration is retained. |
Pause is available on an active Workflow. On a paused Workflow, More Workflow actions → Return to draft returns it to Draft editing. The API also retains a Disabled lifecycle state for compatibility.
Activation does not automatically replay events received while inactive. Pause is a control for new runs; do not treat it as a guarantee that every in-progress side effect has been cancelled.
Inspect a run
Open More Workflow actions → Run history, select Last run above the canvas, or use Run history in the dashboard navigation. Open a run to inspect its Trigger data, version, executed Steps, inputs, outputs, and errors.
Check the result in the destination app as well. A provider accepting a request may not prove the final business outcome, such as an email reaching the recipient's inbox.
Recovery controls distinguish Run again on the current version from Retry and continue at a failed Step. Read the displayed version and scope before using either: restarting the whole graph can repeat earlier Actions. See Runs and errors.
Change an existing Workflow
Use Workflow change history in More Workflow actions to inspect configuration changes. Saved graph updates have versions; run details identify the version used for that execution.
For a controlled change, pause the Workflow, return it to Draft when appropriate, update and test its settings, then activate it again. Check that the status matches your intent after finishing the editor. A conflicting concurrent save must be refreshed and reviewed rather than overwritten. See Workflow versioning.
Duplicate, export, or delete
Use a Workflow row's three-dot menu in the Workflows list to Duplicate it. In the editor, More Workflow actions contains Export Workflow and Import Workflow. These create separate copies; they do not restore historical executions.
Delete Workflow removes the Workflow and its associated execution records and has no normal restore operation. Use Pause for a temporary stop. Review Workflow retirement before deletion.