Converge Threads
| Component | Type | Description |
|---|---|---|
| Converge Threads | 🔀 action | Aggregate data from concurrent threads |
The Converge Threads component closes a concurrent-thread section and collects output from each thread into a single list. It is designed to be used after Run Concurrent Threads and receives the results from every child thread that reaches it.
When to use Converge Threads​
Use Converge Threads when you need to:
- Collect outputs from all parallel threads into one place
- Continue the workflow with a combined set of thread results
- Inspect which input item and output data came from each thread
Placement rules​
- Place Converge Threads downstream of Run Concurrent Threads
- All thread paths should connect into the same Converge Threads component
- Do not place another Run Concurrent Threads inside the region that converges here
Output format​
The Converge Threads placeholder returns a list of objects. Each object includes the thread id, the input item that started the thread, and an output object containing all placeholders produced inside that thread.
Example output:
[
{
"threadId": "aeeb2999-ba75-430b-afd6-ba05f3318163",
"inputItem": "aaron@workflow86.com",
"output": {
"placeholder_key_a": "value_a",
"placeholder_key_b": {
"nested_key": "nested_value"
}
}
},
{
"threadId": "9d74b4ee-5e0f-44da-b246-9e199a6176a6",
"inputItem": "aaron.tran@live.com",
"output": {
"placeholder_key_a": "value_c",
"placeholder_key_c": 42
}
}
]
If you need to work with the output as structured data, pass the Converge Threads placeholder into a Parse JSON or Run Code component.