Operations (sample payloads)

Main operations
Copy

Fire and forget
Copy

Call another workflow and dont worry about the response

Sample Input

1
{
2
"workflow_id": "12345abcde",
3
"trigger_input": {
4
"customer_name": "John Doe",
5
"order_id": "ORD-9876",
6
"total_amount": 129.99,
7
"items": [
8
{
9
"product_id": "PROD-001",
10
"quantity": 2,
11
"price": 49.99
12
},
13
{
14
"product_id": "PROD-002",
15
"quantity": 1,
16
"price": 30.01
17
}
18
]
19
}
20
}

Sample Output

1
{}

Fire and wait for response
Copy

Call another workflow and wait for the response

Sample Input

1
{
2
"workflow_id": "abc123def456",
3
"trigger_input": {
4
"customer_id": "cust_9876",
5
"order_number": "ORD-12345",
6
"product_name": "Widget Pro",
7
"quantity": 5
8
}
9
}

Sample Output

1
{
2
"response": {
3
"order_status": "processed",
4
"estimated_delivery": "2023-06-15",
5
"total_price": 249.95,
6
"tracking_number": "1Z999AA1234567890"
7
}
8
}