Operations (sample payloads)

Main operations

Fire and forget

Call another workflow and dont worry about the response Sample Input

{
    "workflow_id": "12345abcde",
    "trigger_input": {
        "customer_name": "John Doe",
        "order_id": "ORD-9876",
        "total_amount": 129.99,
        "items": [
            \{
                "product_id": "PROD-001",
                "quantity": 2,
                "price": 49.99
            \},
            \{
                "product_id": "PROD-002",
                "quantity": 1,
                "price": 30.01
            \}
        ]
    }
}

Sample Output

{}

Fire and wait for response

Call another workflow and wait for the response Sample Input

{
    "workflow_id": "abc123def456",
    "trigger_input": \{
        "customer_id": "cust_9876",
        "order_number": "ORD-12345",
        "product_name": "Widget Pro",
        "quantity": 5
    \}
}

Sample Output

{
    "response": \{
        "order_status": "processed",
        "estimated_delivery": "2023-06-15",
        "total_price": 249.95,
        "tracking_number": "1Z999AA1234567890"
    \}
}

Was this page helpful?