Recipe: Workflow Step Calls Automation
Goal: When a workflow card reaches a configured point, run machine logic in an automation and optionally write results back onto the card.
Build the automation
Section titled “Build the automation”- Create a GENERIC flow under Automations.
- Add an Application trigger.
- Define inputs (for example
cardId,amount,requesterEmail). - Add actions—examples: Decision, HTTP Request, AI Agent.
- Expose outputs you want returned (for example
riskScore,externalRef). - Save and set Automation is ON.
Wire the workflow
Section titled “Wire the workflow”- Open the workflow application.
- Add an Automations operation where the handoff should happen.
- Select this GENERIC flow (Application trigger).
- Map workflow fields → automation inputs.
- Map automation outputs → workflow fields/variables.
- Publish the workflow as usual.
Details: Connect Automations to Workflows.
- Create a test card and advance it to the operation.
- Open the automation Executions tab and confirm a run.
- Verify mapped outputs on the card.
Variations
Section titled “Variations”- Use Decision to skip HTTP when
amountis below a threshold. - On failure path, Send Email to an ops inbox and still return a workflow flag.