{
  "workflows": [
    {
      "key": "contact_notify_admins",
      "name": "Door enquiry to admins",
      "description": "On a guest-list form submission, email the site admins.",
      "enabled": true,
      "trigger": { "type": "row_inserted", "table": "contact_submissions" },
      "steps": [
        {
          "type": "email",
          "name": "Email admins",
          "template": "Form Submission Notification",
          "recipients": { "mode": "admins", "scope": "all" }
        }
      ]
    }
  ]
}
