Test Flow
test_flowTest-run a single component and its downstream graph without starting the flow. Provide input data to verify the flow works before you start it, and get the outputs each component produced.
Instructions
Test-run a single component (and its downstream graph) of a flow without starting the flow. Provide the input data the component should receive; returns the outputs each component produced. The flow does not need to be running. Use this to verify a flow works before start_flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the flow. | |
| payload | No | Webhook-style payload when testing a trigger component. | |
| input_data | No | Input for the tested component, keyed by its inPort name, e.g. {"in": {"to": "x@example.com"}}. | |
| component_id | Yes | The component to inject test input into (typically the first action after the trigger, or the trigger itself with `payload`). | |
| timeout_seconds | No | How long to wait for the test to finish. |