A webhook retried after a timeout. Your n8n workflow ran twice: two invoices, one order.
Fix: first insert the event_id into a table with a unique key. If the insert fails, stop before any side effect.
Queue or webhook: where do your duplicates come from? #n8n
One bad row out of 200. The whole run stopped at row 37.
Node Settings → On Error → "Continue (using error output)" sends failed items down a separate branch. The other 199 finish.
What do you do with the bad ones? #n8n
@Walhes00 Nice setup. Before the daily report I'd add a check: a row with a blank amount or a repeated sale ID gets flagged instead of summed. Otherwise the email looks fine and the numbers are quietly off. Do your rows carry a unique ID?
@beejayhibee Nice. Two things I'd add: dedupe on the job URL so the same role posted on two boards doesn't get two cover letters, and Limit Wait Time on the approval step so unreviewed drafts don't sit open forever. How are you reading the JDs?
@ZelliePearl Agreed. Mine writes the report date to a table with a unique key before sending. The catch-up run tries the same insert first; if it fails, the original already claimed that date and the catch-up stops. Same trick as webhook dedupe.
Your 9 AM report reached the Madrid client at 3 PM.
The Schedule Trigger uses the workflow's timezone. If you never set one, it falls back to the instance default, often America/New_York.
Workflow Settings → Timezone. Set it per client.
Which timezone bit you? #n8n
The lookup found nothing. The workflow sent an empty invoice anyway, and the run was marked green.
Add an IF that checks the data, and on the bad branch a Stop and Error node. The run fails, and your error workflow fires.
Where do you validate? #n8n
Client asks why yesterday's invoice never went out. The executions list is empty.
Workflow Settings → "Save successful production executions" was off. Keep it on, and let pruning clean old ones.
Do you keep successful runs? #n8n
@stephenstilwell Agreed: gate the write, not the read. I'd also put a wait limit on that approval, so a request nobody reviews doesn't hang forever, and send the timeout to a fallback path instead of auto-approving. Do you show the reviewer the agent's reasoning or just the diff?
@Damos20820110 Nice build. One thing I'd add before go-live: an error workflow (Error Trigger → Slack) set in this workflow's settings, so if the Gmail or AI step fails, the team hears it instead of a request vanishing. How do you handle replies to already-closed tickets?
@indiriaa54 The 403, for exactly that reason: the fix lives outside n8n. My first check now is calling /wp-json/ from an HTTP Request node with the same Application Password. If that 403s too, it's the host or a plugin, not the workflow.
@ZelliePearl Love that line about the watchdog. To close the backfill gap, mine also compares the last successful run time to now, and if a run was missed it triggers it itself, so the report goes out late instead of never.
One stuck run held the client's queue for 6 hours.
Workflow Settings → Timeout Workflow stops an execution after the time you set, so one hung call doesn't block everything behind it.
What limit would you set? #n8n
Your Code node ran 50 times when you needed it once.
Mode "Run Once for Each Item" runs the code per item. For totals or one summary, switch to "Run Once for All Items" and read $input.all().
Which mode do you default to? #n8n
@AIAgentSetup That 429 loop is the nasty one. In n8n, Retry On Fail in the HubSpot node's settings (with Wait Between Tries) retries just that call instead of the whole run. Did you key the dedupe table on email only, or email + campaign?
@ZelliePearl Good call on the named zone over a fixed offset. For the heartbeat I'd put it in a second workflow on its own Schedule, so if the first one never starts, the alert still fires. Have you seen a cron skip entirely, or just drift?
Stripe sent the same event 3 times. Your workflow ran 3 times.
With Webhook → Respond "When Last Node Finishes", a slow run makes the sender time out and retry. Respond "Immediately", then do the work.
How fast does yours answer? #n8n
Gmail workflow ran fine for a week. Then every run failed on auth.
If the Google Cloud app behind your OAuth credential is still in "Testing", Google expires the refresh token after 7 days.
Publish the app before handing it over. #n8n
@sdhilip Good split. For the WhatsApp quote case, the risky bit is the extraction. In n8n, a Structured Output Parser on that AI step plus an IF that sends any item with a missing field to a human stops a bad quote going out. What does their admin team do by hand most?
@LeadPulseHQ Good addition. In that error branch I'd also send the item's id and the error message to the alert, so a retry is one click instead of a search through executions. Do you retry those by hand or with a scheduled sweep?
A slow API held your workflow for 5 minutes, then the run died.
HTTP Request → Options → Timeout sets how long to wait for the server to respond (in ms). Pair it with Retry On Fail so a slow call fails fast and tries again.
What timeout do you use? #n8n
@ZelliePearl Agreed on "set it first, then build". On self-hosted I also set GENERIC_TIMEZONE on the instance, so new workflows start right and the per-workflow setting only covers clients in other zones. Have DST changes ever shifted one of your crons?
The CRM has 2,340 contacts. Your sync only ever copies 100.
Most APIs return one page per call. In the HTTP Request node, Options → Pagination tells n8n to keep asking until the last page.
How many pages does yours return? #n8n