- Before this lesson
- Workflow organisation
- You will learn to
- Call one workflow from another with Invoke Workflow
- Pass inputs and receive outputs
- Share a group with Export group and Import group
Station has two real reuse mechanisms: Invoke Workflow and exported groups.
Invoke Workflow
Invoke Workflow runs another saved .station.json file as one step.
| Field (Mac editor) | What to enter |
|---|---|
| Workflow file | The path to the .station.json file. Relative paths start from the project's folder. |
| Inputs (JSON) | Child variable → value, for example {"customer": "{{customer}}"}. Declare each input as a variable in the child workflow. |
| Outputs (JSON) | Child variable → variable in this workflow, for example {"total": "orderTotal"}. |
Example
- Build a small workflow Format date with a variable
input, a Parse Date and a Format Date that saves toresult. Export it asformat-date.station.json. - In another workflow, add Invoke Workflow with Workflow file pointing to that file, Inputs
{"input": "{{rawDate}}"}and Outputs{"result": "niceDate"}. - Log
{{niceDate}}.
Export group and Import group
A visual group can be saved on its own with Export group… in the group menu and inserted into another project with Import group in the editor's ⋯ menu. This copies the steps; later changes are not synchronised.
Which to use
| Invoke Workflow | Exported group | |
|---|---|---|
| Change once, used everywhere | Yes | No, each copy is separate |
| Visible in the calling workflow | One step | All its steps |
| Good for | Shared building blocks | Templates you adapt |
Activities in this lesson
Saved only in this browser.
Source-verified. Steps were checked against the Station source code and authentic screenshots. Not yet executed step by step in the app. Written against RPAi Station for macOS 0.1.0 (1) (RPAi_Station_2.0 @ port/macos 9864e96) and the Windows source (RPAi_Station_2.0 @ codex/native-station e68f16d). Reviewed 2026-11-30. UI labels may differ slightly in other versions; see versions and changes.