1/5
Facebook published your blog post. LinkedIn failed.
You rerun the n8n workflow—and Facebook gets another copy.
The fix starts with tracking each platform separately. Here’s how to build that into your WordPress publishing workflow. 🧵
Proposed design, from this week's thread: webhook -> enqueue + 202 with job ID -> DB UNIQUE(job_id) -> job + outbox in one transaction -> polling worker with backoff -> DLQ with alert, operator replay after the fix. Each step exists because the previous one can fail.
@alexey_anshakov@PriyashaaGhos Both, in that order. Alert the moment a row is marked dead-letter - that's the DLQ's job. Replay stays operator-run: fix the root cause first, then a manual-trigger n8n workflow re-queues corrected rows in batches. Auto-replay before the fix just bounces them back.
@alexey_anshakov@PriyashaaGhos Both. Claim only rows where next_attempt_at <= now(). On failure: attempts+1, next_attempt_at = now() + base*2^attempts with jitter. At the cap, mark dead-letter for manual review instead of retrying forever. The gate fixes starvation; the cap catches poison messages.
@alexey_anshakov@PriyashaaGhos Polling worker; NOTIFY only as a wake-up, since it reaches connected sessions only, so the poller stays the durable backstop. In n8n: a scheduled run claims rows (SKIP LOCKED), sends, marks sent, retries failures. CDC only if you already run Debezium.
@alexey_anshakov@PriyashaaGhos Proposed: DB UNIQUE(job_id), not an n8n read-then-write check. Commit the job + notification outbox together, then send Telegram. A crash after send but before marking it sent is still ambiguous; an outbox alone doesn't make notifications exactly-once.
@kayautomate Proposed failure test: Gmail sends the reminder, then the Sheets update fails. On rerun, the old stage still says it is due. I'd flag that send as uncertain and check Gmail Sent before retrying, rather than treating a failed run as proof no email went out.
@alexey_anshakov@PriyashaaGhos Proposed: durably enqueue first, then Respond to Webhook with 202 + job ID. Process async; expose status/callback if the caller supports it. Use a stable idempotency key at the invoice API too. Early ack alone won't stop duplicates. Does the caller support async results?
n8n run went green but your file disappeared? Open the execution and find the first node that drops the binary output. If the file survives, check that the upload node expects the same binary field name. Guide + free lab: https://t.co/wGZjAlbd4U
@boringdev77 Same rule here. Pinning the trigger's output helps a lot with it: every test run then uses the exact same input, so if the result changes, it was your change and not new data.
@LescotEtienne Clean split. One catch with sending the 200 first: if the Sheets step fails after it, the visitor sees success and the lead is gone. Send that node's error output (or an Error Workflow) to an alert that carries the raw form payload, so you can replay it.
@borjanbuilds Nice. One gap failure alerts don't cover: a job that never runs never fails. Have each workflow write a last-success time, plus a scheduled check that pings Slack when one goes stale. And give the alert a fallback like email, so a Slack outage doesn't mean silence.
@kodrhuzaifa Nice, the token mismatch catches everyone. Next one to plan for: Meta retries a webhook when it doesn't get a 200, and can deliver the same event twice. Key each Sheets row on the message ID and skip IDs you already have, or retries turn into duplicate orders.
@keegan314159 Nice setup. Two things that keep a gate like that honest: tie each approval to the exact version (a hash of caption + file), so an edit after approval goes back to review. And save the post ID per channel, so a retry after one channel fails doesn't double-post the rest.
@axdavid_ai Solid list. One change I'd make at step 4: upsert on date + source instead of append. Then a manual rerun, or a backfill after an API outage, replaces that day's rows instead of doubling them, and the dashboard totals stay right.
@SWIFT_SCALE Good habit. Next step: turn what you checked by eye into a guard. An IF node right after the trigger that checks the phone format and a non-empty address, and sends failures to a review list instead of on to the customer. Then the next bad record stops itself.
@LescotEtienne Nice setup. Two things I'd add: key each row on vendor + invoice number and skip ones already in the sheet, so a rerun or the same invoice sent twice doesn't land twice. And allow a cent of tolerance in the math check, or rounding will flag good invoices.
@kayautomate Mine: a green execution isn't proof it worked. A node set to continue on error lets the run finish as a success, and the Error Workflow never fires. So every error output goes to an alert, and the workflow writes a last-success time I can check.
@realjoshuastone For the Friday nudge, "stuck 7+ days" needs when the status last changed, not when the record was last edited. An Airtable Last modified time field set to watch only the Status field gives you exactly that, so the filter stays simple.
@StanziFranco The "including the bot that would have told me" part is the real lesson. I keep one check outside n8n: a heartbeat that pings an external uptime monitor every few minutes. Quota, crash or outage all look the same from there: a missed ping, and an alert.