For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). This page is also available as [Markdown](https://docs.getmesa.com/tools/relay.md).

Relay lets you trigger another workflow directly from your workflow, so you can break complex automations into smaller, reusable pieces or kick off a separate process based on conditions in your current workflow.

## Configure

Relay has a single action, Trigger Workflow. Add it as a step in your workflow, then select the workflow you want to trigger from the dropdown. This is the workflow that will run when this step executes.

### Wait for completion

Enable the Wait for completion setting from the More fields menu to pause the original workflow until the triggered workflow finishes and returns its last output.

### Data

Use Data fields to pass information into the triggered workflow. Add a key (like `message` in the example above) and set its value using plain text, variables from previous steps in the current workflow, or a combination of both.

The triggered workflow can then reference this data in its own steps.

## Technical Notes

- Each time Relay runs, its record in the [Activity](https://docs.getmesa.com/workflow-activity) includes a link (e.g. "Triggered: workflow_name") that takes you directly to the run details for the triggered (child) workflow.
