"
                },
                "description": "Update sent and expiry timestamps"
            },
            {
                "order": 3,
                "type": "notification",
                "recipients": ["created_by"],
                "template": "quotation_sent",
                "data": {
                    "quotation_number": "{quotation_number}",
                    "customer_name": "{customer.name}",
                    "amount": "{total_amount}"
                },
                "description": "Notify creator of successful send"
            },
            {
                "order": 4,
                "type": "emit",
                "event": "quotation:sent:complete",
                "data": {
                    "quotation_id": "{quotation_id}",
                    "sent_at": "{sent_at}"
                },
                "description": "Emit event for other systems"
            }
        ],
        "onError": {
            "action": "rollback",
            "notification": {
                "recipients": ["created_by"],
                "message": "Failed to send quotation {quotation_number}"
            }
        }
    }