The Workflow Trigger node allows you to initiate one workflow based on the completion of another, enabling you to create complex, multi-stage automations.
Configuration #
- Add a Workflow Trigger node to your new workflow.
- Select the source workflow that will trigger this workflow.
- Choose the condition for triggering (e.g., on completion, on error).
Trigger Options #
- On Completion: Triggers when the source workflow completes successfully.
- On Error: Triggers if the source workflow encounters an error.
- On Specific Output: Triggers based on specific output conditions from the source workflow.
Data Passing #
- Data from the completed workflow is available in the triggered workflow.
- Use tags to access this data:
[Input from workflow-trigger-node-id]
for all output data
Use Cases #
- Multi-stage content creation:
- Workflow 1: Generate article outline
- Workflow 2: Expand outline into full article
- Workflow 3: Proofread and optimize for SEO
- Escalation processes:
- Workflow 1: Attempt automated customer service response
- Workflow 2 (triggered on error): Escalate to human review
- Data processing pipelines:
- Workflow 1: Collect and clean data
- Workflow 2: Analyze data
- Workflow 3: Generate reports
Best Practices #
- Avoid circular dependencies between workflows.
- Use clear naming conventions for workflows to easily identify relationships.
- Consider using conditions in the triggered workflow to handle different scenarios from the source workflow.
Workflow Management #
The Workflow Triggers section in the AI Workflow Automation dashboard allows you to view and manage workflow dependencies:
Performance Considerations #
- Be mindful of the potential for long-running or resource-intensive workflow chains.
- Use the execution queue to monitor and manage the performance of linked workflows.
By utilizing Workflow Triggers, you can create sophisticated, multi-stage automations that leverage the full power of AI Workflow Automation across multiple workflows.