{
        "priority": 8,
        "max_retries": 1,
        "steps": [
            {
                "step": 1,
                "action": "query",
                "description": "Get submission details",
                "query": "SELECT * FROM taxcore_submissions WHERE submission_id = ${event.submission_id}"
            },
            {
                "step": 2,
                "action": "query",
                "description": "Get org details",
                "query": "SELECT name, email FROM orgs WHERE org_id = ${step1.org_id}"
            },
            {
                "step": 3,
                "action": "email",
                "description": "Send email to admin",
                "to": "admin@taf.com",
                "subject": "TaxCore Submission Failed: ${step1.reference_table} ${step1.reference_id}",
                "body": "TaxCore submission failed after ${step1.attempts} attempts. Error: ${step1.error_message}"
            },
            {
                "step": 4,
                "action": "notify",
                "description": "Send websocket notification",
                "channel": "taxcore:failures",
                "message": "Submission failed: ${step1.submission_id}"
            }
        ]
    }