r/n8n • • 4h ago

Help Why is building a reliable AI chatbot so difficult?

3 Upvotes

I'm building a WhatsApp chatbot using n8n and OpenAI to help residents report maintenance problems, collect issue details, and automatically create support tickets.

I'm testing it with DeepEval, but every time I fix one issue, new problems appear. The chatbot sometimes forgets information, repeats questions, or gets stuck.

How do developers build reliable chatbots that understand customer messages and respond clearly and correctly, even when customers type unexpected things?


r/n8n • • 7h ago

Servers, Hosting, & Tech Stuff How do you monitor business metrics with n8n WITHOUT constantly checking dashboards?

2 Upvotes

Say you want to know when a marketing campaign stops converting, an affiliate partners suddenly becomes inactive, or revenue drops below a certain threshold...

Would you use scheduled API calls to compare performance over time, or rely on webhooks whenever possible?

Really curious how people are building these workflows without generating too many notifications or unnecessary API calls...


r/n8n • • 8h ago

Servers, Hosting, & Tech Stuff What's the most expensive subscription you've managed to replace with an n8n workflow? **Share real stories ONLY**

5 Upvotes

I would love to hear your experience.

Of course, I'm not talking about replacing a $10/month tool subscription with a workflow that takes hours to maintain.

I'm thinking of those $100-$500/month SaaS subscriptions where you only really use two or three features...

You name it: social media scheduling, reporting, lead enrichment, email automation, etc.

Which subscription did you actually cancel after building your OWN alternative in n8n?


r/n8n • • 8h ago

Help The dedup setup that finally stopped our webhook workflow double-firing

2 Upvotes

We run a monitoring pipeline that ingests marketplace listings and fires downstream steps off webhooks. For weeks we kept getting double-processing — same event, two runs, duplicated writes downstream.

What fixed it wasn't the fetch side at all. Three things together did it:

  • Idempotency key built from the source event id (stripe_event_id style), stored before the workflow body runs, not after
  • A dedup table with a unique constraint doing the actual rejecting — the workflow checks it, but the constraint is what I trust
  • A 15-minute outbox sweep that compares what we attempted vs what got acked, and flags anything that doesn't reconcile

Duplicates went from a handful a day to zero over the last few weeks. The replays still arrive, they just hit the constraint and die quietly now.

Curious how others handle this — do you key dedup on the event id, or keep your own ledger table and reconcile against that?


r/n8n • • 11h ago

Help How do you handle historical infrastructure metrics and alert deduplication in self-hosted n8n?

2 Upvotes

Hey everyone!

I'm building an infrastructure monitoring system using self-hosted n8n, Docker and PostgreSQL on a Linux VPS.

A Python collector runs every 5 minutes through a systemd timer and provides host metrics to n8n through a read-only volume.

I've successfully tested PDF reports and Telegram notifications.

I'm currently looking for advice on three things:

  • What's the best way to store historical metrics for 24 hours, 7 days and 30 days?
  • How do you reliably handle alert deduplication and recovery notifications?
  • Would you recommend PostgreSQL, SQLite or Prometheus with Grafana for this setup?

I'd appreciate hearing about your practical experience with similar setups.

Thanks!


r/n8n • • 18h ago

Now Hiring or Looking for Cofounder [For Hire] AI Automation & n8n Developer | Open to Remote Projects and Agency Partnerships

4 Upvotes

Hey everyone!
I’m a third-year AI & Data Science student based in Egypt, focused on building practical AI automation solutions for businesses.
I’ve built three substantial automation projects and created a professional portfolio showcasing my work.
Here’s what I can help you with:
n8n workflow development and debugging
AI agents and intelligent assistants
REST API integrations and webhooks
CRM and lead management automation
Google Sheets and Gmail integrations
Automated customer follow-ups
Python and JavaScript development
I’m currently looking for paid freelance projects, part-time remote opportunities, or long-term collaborations with automation agencies.
I’m also open to starting with a small paid trial project so you can evaluate my work before committing to a larger engagement.
Portfolio: https://omarsheta.com
If you have a repetitive business process that needs automation or an existing workflow that needs fixing, feel free to DM me.
Thanks for reading!


r/n8n • • 18h ago

Workflow - Github Included Follow-up: you were right about the long Wait node — here's the pattern I replaced it with

4 Upvotes

Two weeks ago I posted two workflows for feedback — an inbox triage and a meeting booker. Three of you made the same point about the booker: the reminder relied on a long-running Wait node, so a parked execution would still fire the reminder even if the meeting had been moved or cancelled. You were right, so I rebuilt it. Here's the replacement pattern:

  1. Log the booking with its event ID. When a slot is free, the booker creates the calendar event, sends the confirmation, and logs the booking to the sheet with the calendar event ID and a Reminded flag set to No.
  2. A separate reminder workflow runs every 15 minutes. It's a Schedule Trigger — no parked executions, no Wait node at all.
  3. Filter for due rows. Each run reads the bookings sheet and keeps only rows that are Confirmed, not yet reminded, and starting within the next hour.
  4. Re-check the calendar by event ID. For each due row, it pulls the events in that meeting's window and only proceeds if the event with that exact ID is still there. A moved or cancelled meeting produces no match, so no stale reminder goes out.
  5. Send, then mark the row. The reminder goes out only on a match, and the sheet row is marked Reminded = Yes, so nobody gets reminded twice.

The second fix, briefly: the fixed UTC offset is gone. A Config node now holds an IANA timezone (America/Toronto in the file), and the normalize step builds the start time in that zone, so daylight saving is handled — UTC-5 in winter, UTC-4 in summer — with no code edits.

What I did NOT change:

- Keyword classification stayed — it keeps the triage workflow keyless and fully inspectable.

- Dedup is still message-ID first — it was already doing its job.

The code is here: https://gist.github.com/adevancesystems/1f9b8325eb85e333d7953276d37e2d21

Where does this pattern break? The one I can see: a meeting edited in place keeps its event ID, so the re-check passes at the new time only if the sheet's start time is updated too — curious how others handle sheet/calendar drift.


r/n8n • • 23h ago

Help Help on Ai assistance

2 Upvotes

Hello anyone here having issue unable to chat credit not enough on n8n assistant local

Please help

Starting to build please