Templates / Log order webhooks to Google Sheets with dead-letter queue and Gmail alerts

Log order webhooks to Google Sheets with dead-letter queue and Gmail alerts

Ready for 3.0

by Gusti Bagus Cahya Utama ✓ · 1 views · created 2026-10-22 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 37 nodes and runs when an HTTP POST request hits its webhook URL (plus 4 other triggers). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 4 other triggers).

  1. Build Request Envelope (Edit Fields (Set)): sets 4 fields: request_id, received_at, payload_json…
  2. Get Pending Dead Letters (Data table): get (row)
  3. Find Latest Log Entry (Data table): get (row)
  4. Report Settings (Edit Fields (Set)): sets 2 fields: report_email_to, stuck_after_minutes
  5. Alert Settings (Edit Fields (Set)): sets 1 field: alert_email_to
  6. If: checks a condition and branches into true / false
  7. Rebuild Sheet Row (Edit Fields (Set)): sets or maps fields
  8. Return Request Status (Respond to Webhook): sends the response back to the webhook caller
  9. Get Last 24h Log (Data table): get (row)
  10. Build Incident Report (Edit Fields (Set)): sets 13 fields: incident_id, severity, workflow_name…

…plus 22 more steps. See the full node list below.

Services it uses

Google SheetsGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview This workflow receives order-style webhooks with header authentication, validates and logs them, and upserts the event data into Google Sheets with retries, a dead-letter queue in n8n Data Tables, a status-check endpoint, scheduled replays, and…

Excerpt from Gusti Bagus Cahya Utama's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.