GuidePlatformv1
Subroutines
Reusable sub-flows with formal input/output fields — synchronous, same-account, returns data.
Subroutines are reusable sub-flows that other automations can call. The counterpart to Execute Automation — same "call one automation from another" idea, but synchronous and data-returning.
What it's good for
- Logic shared across automations — one place to update, one place to test.
- Calls that need a real return value — the caller continues with the subroutine's output, not just a success/failure signal.
- Avoiding duplication across automations that all need the same transform, lookup, or calculation.
Subroutine vs Execute Automation
| Method | Data return | Sync / async | Parameter passing | Cross-account |
|---|---|---|---|---|
| Subroutine | Yes — formal output_fields | Always sync | Formal input fields on trigger | Same account only |
| Execute Automation | No — only error propagates | Sync or fire-and-forget | Query string | Any account |
Related docs
Last updated May 4, 2026