← Files ConductorARCHIVED FILE
skills/conductor/examples/workflows/fork-join.json
1.51 KB · Oct 3, 2026 · 06:32 UTC
{
"name": "parallel_fetch",
"description": "Fetch inventory and pricing in parallel, then merge",
"version": 1,
"schemaVersion": 2,
"inputParameters": ["inventoryUrl", "pricingUrl"],
"tasks": [
{
"name": "fork",
"taskReferenceName": "fork",
"type": "FORK_JOIN",
"forkTasks": [
[
{
"name": "fetch_inventory",
"taskReferenceName": "inventory",
"type": "HTTP",
"inputParameters": {
"http_request": {
"uri": "${workflow.input.inventoryUrl}",
"method": "GET"
}
}
}
],
[
{
"name": "fetch_pricing",
"taskReferenceName": "pricing",
"type": "HTTP",
"inputParameters": {
"http_request": {
"uri": "${workflow.input.pricingUrl}",
"method": "GET"
}
}
}
]
]
},
{
"name": "join",
"taskReferenceName": "join",
"type": "JOIN",
"joinOn": ["inventory", "pricing"]
},
{
"name": "merge",
"taskReferenceName": "merge",
"type": "JSON_JQ_TRANSFORM",
"inputParameters": {
"inventory": "${inventory.output.response.body}",
"pricing": "${pricing.output.response.body}",
"queryExpression": "{items: .inventory.items, prices: .pricing.prices}"
}
}
],
"outputParameters": {
"merged": "${merge.output.result}"
}
}
SHA-256: 5d8471153e4435235ae1da172014fdf1028549fed45721ddc0694966bf37ddd0