> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/tools/relay.md).

# Relay

Use the MESA Relay tool to trigger another workflow from your current one, breaking big automations into smaller reusable pieces that run on conditions.

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.

<figure><img src="https://docs.getmesa.com/assets/image%20%28674%29.png" alt="Screenshot of the Relay Trigger Workflow step in the MESA workflow builder. Spotlight the workflow selection dropdown."><figcaption></figcaption></figure>

### 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.
