Flow Toggle (4 Outputs)
AI-generatedOverview
This node, named Flow Toggle (4 Outputs), allows manual routing of workflow data to one of four outputs based on a simple toggle selection. It is useful in scenarios where you want to direct data flow conditionally within a workflow, such as sending data to different processing branches or environments (e.g., production, testing, development, staging). For example, you can use it to route incoming data to a specific output for further processing or testing without changing the workflow structure.
Use Case Examples
- Routing incoming data to Output 1 for production processing.
- Sending test data to Output 2 for validation.
- Directing development data to Output 3 for debugging.
Properties
| Name | Meaning |
|---|---|
| Route To | Select which output (Output 1 to Output 4) the input data should be sent to. |
| Options | Additional settings to control the node's behavior. |
Output
JSON
json_signal- An optional signal property indicating an empty signal when no input data is present and passEmptySignal is enabled._timestamp- Timestamp of when the signal or data was routed._flowToggle
*routedTo- The label of the output to which the data was routed, included if Add Routing Info is enabled.
*output- The output number (1 to 4) to which the data was routed, included if Add Routing Info is enabled.
*timestamp- Timestamp of when the routing information was added, included if Add Routing Info is enabled.
Troubleshooting
- If no input data is provided and 'Pass Empty Signal' is disabled, the node will output nothing. Enable this option if you want to trigger downstream nodes without input data.
- Ensure the 'Route To' property is set correctly to avoid data being sent to an unintended output.
- If 'Add Routing Info' is enabled, the output data will include additional metadata; ensure downstream nodes can handle this extra information.