r/n8n • • 9h ago

Help Looking for a paid 1-on-1 tutor/consultant to help me build an automated YouTube Shorts pipeline (n8n + Python/AI)

11 Upvotes

Hi everyone,

I want to learn how to build an end-to-end automated short-form video creation workflow similar to the pipeline in the attached screenshot.

What I want the workflow to do:

  1. Research & Scripting: Automatically scan YouTube/topics in my niche for outlier ideas/hooks and draft scripts.
  2. Video Generation & QA: Render the vertical video (voiceover, visuals/slides, captions) locally or via API.
  3. Human-in-the-Loop Approval: Send a preview to my Telegram where I can tap "Approve" or "Edit" before anything goes live[span_0](start_span)[span_0](end_span).
  4. Publishing & Analytics: Auto-generate titles/tags, schedule the upload to YouTube, and track basic performance after a few days[span_1](start_span)[span_1](end_span).

What I’m looking for:
I don't just want a black-box template—I want someone experienced with n8n, APIs, and local video rendering (FFmpeg/Python) who can teach me how to set this up and maintain it myself over a few paid 1-on-1 screen-share sessions.

If you're interested:
Please comment here first (so I know you're not banned) and DM me with:
- A quick example or screenshot/video of a similar automation you've built.
- Your hourly rate and timezone (I'm in IST / UTC+5:30).

Thanks!


r/n8n • • 2h ago

Help Would moving Gmail → Claude → Notion from Make to n8n save money?

2 Upvotes

I’m piloting a Make workflow that turns labeled Gmail emails into Notion tasks and updates existing tasks when replies add new information. The team has 5–7 people who each receive around 100 emails a day, but only selected emails would enter the workflow.

We’re on Make Core with 10,000 credits per month. In one test, Sonnet cost about $0.10 to process a single email with its thread history and a list of existing Notion tasks. Haiku was cheaper, but it repeatedly flagged an email for review even though the work was already tracked in Notion. I’d still have the Claude API bill in n8n if I send the same prompts.

For anyone who’s built something similar in n8n Cloud:

  • How do you narrow down which Notion tasks to send to Claude, especially when a new email thread refers to an existing task?
  • How do you handle duplicates when two employees label the same email?
  • If you moved a similar workflow from Make to n8n, was it cheaper or easier to maintain? Rough monthly volumes and costs would be really helpful.

r/n8n • • 58m ago

Help best ways to connect to portals without an api (or an api inaccessible to agents)

1 Upvotes

we have live deployments running across contracting & the restaurant industry. we are getting good mileage on standard infrastructure such as vercel's eve + n8n, and the biggest bottleneck has been connecting to actual vertical software:

  • going back and forth with busy ops teams just to get credentials and live 2FA codes without locking them out
  • currently have a live deployment where we chased the software vendor for weeks trying to get API keys approved (or having support tickets closed on us), and midway through our request the API terms were changed (the vendor now wants to charge extra) even though we were upfront about connecting agents to the system
  • finding out either no API exists (e.g. Contractor Foreman, Yardi Breeze), writes are gated (e.g. Toast, ServiceTitan), or the vendor wants $100s per month per account just for API access (e.g. ServiceChannel, enterprise tiers on Housecall Pro / AppFolio).

headless playwright takes way too long for use cases like live phone calls and degrades the experience. for other data manipulation use cases an actual api is needed

we worked around some systems like Contractor Foreman where we have a job that logs in on the user's session and exposes an internal API for fast JSON reads and writes.

curious what everyone else is doing here?


r/n8n • • 1h ago

Servers, Hosting, & Tech Stuff Built an n8n workflow that summarizes form submissions with Gemini AI and sends color-coded alerts to Discord (with a raw-data fallback)

1 Upvotes

Hey r/n8n,

I put together a workflow for turning incoming form submissions (via Webhook from Typeform, Tally, Elementor, custom forms, etc.) into structured Discord embeds instead of dumping raw payloads into a channel.

A few things I focused on while building it:

- Free Gemini API tier for summarizing the submission, assigning a priority level, picking a category, and suggesting a next action.

- Color-coded Discord embeds based on priority (High / Medium / Low) so urgent support or lead requests stand out immediately.

- Fallback logic in the formatting node: if the AI times out or fails to return valid JSON, it still sends the raw form fields to Discord rather than dropping the alert.

- Centralized Config node so you don't have to dig through multiple nodes to tweak the Discord webhook, bot name, colors, footer, or prompt behavior.

Curious how others here handle AI timeouts or malformed JSON outputs in production n8n workflows — do you usually handle fallbacks in a Code node or route errors separately? (Also linked my setup & workflow details on my profile if anyone wants to take a look.)


r/n8n • • 9h ago

Servers, Hosting, & Tech Stuff Self-hosting n8n: how do you handle the owner setup page, the encryption key and upgrades?

4 Upvotes

Disclosure: I work on Faable, a small European PaaS, and we recently added n8n as something people can install (not linking it). Packaging it for other people forced a few decisions I'd like to check with people who run n8n in production.

1. The owner setup race. A fresh n8n makes whoever reaches it first the owner. If the URL is public before you open it, that's a window. We create the owner before the port is reachable, with N8N_INSTANCE_OWNER_MANAGED_BY_ENV plus the email and a bcrypt hash. Two things bit us: with that variable on, n8n resets the owner on every start and answers 403 to a password change, so we only keep it on until n8n reports the owner exists. And /healthz is no good as the signal for that, because it answers while the database migrations are still running. Do you put a fresh instance behind something (VPN, basic auth at the proxy) until setup is done, or just open it quickly?

2. The encryption key. This has come up here before, so briefly: we don't set N8N_ENCRYPTION_KEY. n8n writes its key to ~/.n8n/config on a persistent volume, and the volume and Postgres are backed up every night. The reasoning: a restore that brings back the database without the matching key gives you workflows whose credentials can't be decrypted. The env var is more explicit, though. Which do you use? Has anyone actually restored from a backup and hit a key mismatch?

3. Upgrades. The new version starts before the old one stops, so for a few seconds two instances run, and a schedule that fires in that window can run twice. We tell people to make those workflows idempotent or keep them away from the top of the hour. Do you run queue mode on small setups to avoid this, or stop-then-start and accept a gap for webhooks?

4. It can't sleep. Our apps normally sleep when idle and wake on the next request. Webhooks survive that, but schedules never fire. So n8n runs always on, and idles at roughly 400–500 MB (Postgres is separate). Does that match what you see, and how much does yours use once you have a few dozen active workflows?

Mostly interested in what went wrong for you in production.


r/n8n • • 13h ago

Workflow - Github Included built a small n8n workflow that reads PO pdfs from gmail and puts them in google sheets (header + line items). free, gist inside

4 Upvotes

so a lot of small shops still retype purchase orders from email into a spreadsheet by hand. figured id try to make that part go away.

full disclosure, i built this with AI agents doing a lot of the heavy lifting, then tested it and cleaned it up myself.

how it works:

gmail trigger (label docdrop) -> code node splits the attachments, one item per pdf/image -> builds the llm request with a strict json schema -> http request to gemini, openai or anthropic -> parse -> two tabs in google sheets. Documents gets one row per PO, Lines gets one row per line item

stuff i learned building it:

i send the actual pdf to the model instead of pulling the text out first. all 3 providers read pdfs directly now so scanned POs work without a separate OCR step

the prompt tells it to return null if its not sure. before that it would happily invent a PO number

everything you'd change is in one Settings code node at the start (provider, sheet id, model names) so you dont have to dig through nodes

heads up if you add retries to something like this: Retry On Fail didnt kick in for me when the node was set to "continue (using error output)". i ended up doing error output -> wait -> a second http node -> merge. this version doesnt retry at all tho, if the api call fails the run just stops

how i tested it, to be honest about it: 5 made up sample POs (a clean one, one with messy labels, a scanned one, one where the total doesnt add up, and a duplicate) against a mocked api. so the plumbing works but i dont have real world accuracy numbers. check the rows before you trust them

code + setup steps: https://gist.github.com/naps000/8d2d569a01d6c5ca0cc0fe0df9f3095d

gemini has a free tier so you can try it without paying anything

question for anyone already doing doc extraction in n8n: how are you validating what comes back? right now this just writes whatever the model returns and im trying to figure out which checks are actually worth adding first


r/n8n • • 11h ago

Workflow - Github Included Free n8n workflow: log Gmail invoice and receipt attachments in Google Sheets (JSON on n8n.io)

2 Upvotes

I built this starter n8n workflow to log supplier invoices and payment receipts that arrive in Gmail, without typing each total into a spreadsheet.

Import the JSON, add your own Gmail and Google Sheets credentials, and follow the setup notes on the canvas. There are no API keys or personal IDs in the file.

Code: https://n8n.io/workflows/23535

What it does, step by step:

  1. Watch Gmail for unread invoice or receipt messages.
  2. Download attachments, or use the email body when there's no file.
  3. Extract text from PDFs, or rows from CSV and Excel attachments.
  4. Parse vendor, invoice/receipt number, date, currency, tax and total.
  5. If those fields are strong enough, check the Google Sheet so the same invoice isn't logged twice, then append a row.
  6. If the file is a photo, a scan, or the totals can't be read with confidence, create a Gmail draft for review instead of guessing.

Limitations: it uses only official free n8n nodes, with no OCR or AI, so photographed or handwritten receipts usually need the review draft. You need a Google Sheet with an Invoices tab and the header row listed in the setup notes. Test it with a text PDF invoice, a duplicate, and a photo receipt before turning it on.

Happy to answer setup questions. If the flair or link format is wrong, I'll fix it.


r/n8n • • 12h ago

Servers, Hosting, & Tech Stuff Made a free workflow checker that scores your JSON before you ship it

2 Upvotes

👋 Hey n8n Community,

After the starter guide I put out, I ended up talking to a lot of people who are early in their n8n journey. The same thing kept coming up: they build something that works, and then have no real way to tell whether it is actually ready to run unattended. It works when they test it, which is not the same as it holding up on its own.

So I built a checker for exactly that. You drop in a workflow JSON and get a score out of 100 broken down by category, with the reasoning for every point deducted and a section on where to start fixing things. There is a sample workflow on the page if you want to see what the report looks like before pasting anything in.

Two things in there I find useful beyond the score itself: you can download the whole report as a PDF, which is handy when handing a workflow to a client or a colleague, and there is an embeddable badge if you publish templates and want to show the score on the page.

Nothing gets stored. The JSON is processed and that is it, which matters if you are checking something you built for a client.

You will be able to try it out for free here.

I built the scoring around close to two years of client projects, so the rules reflect what has actually caused problems on real builds. If you want to see the kind of workflows that shaped them, 25+ of mine are on GitHub: https://github.com/felix-sattler-easybits/n8n-workflows. Everyone weighs these things differently though, so if you run the checker on something of yours I would be curious what you make of the scoring, and whether there is anything you check that is not in there.


r/n8n • • 17h ago

Meta & n8n News What repetitive business tasks would you automate first?

2 Upvotes

I've been exploring workflow automation and how businesses handle repetitive operations.

Some common examples include:

  • Moving website enquiries into spreadsheets or CRMs.
  • Sending customer confirmation emails.
  • Following up with potential customers.
  • Generating weekly reports.
  • Sending notifications across different applications.

Tools like n8n, Zapier and Make can connect these processes, but choosing what to automate first is important.

For developers and business owners:

  1. What repetitive task consumes the most time in your workflow?
  2. Which automation platform do you prefer?
  3. Have you experienced failures in production automation?
  4. How do you monitor and maintain your workflows?

I'd be interested in hearing practical experiences and recommendations.


r/n8n • • 19h ago

Servers, Hosting, & Tech Stuff Zero-proxy B2B buying-intent & tech-stack enrichment in n8n using official Greenhouse/Ashby/Lever JSON (benchmarked on 12 AI/SaaS companies)

1 Upvotes

Hey r/n8n,

Most B2B lead-enrichment workflows in n8n either rely on fragile browser scrapers that break on LinkedIn/CAPTCHAs or require expensive monthly intent subscriptions.

If your target accounts use Greenhouse, Ashby, or Lever, their public job boards expose clean official JSON feeds with a surprising amount of commercial signal — active tech stack mentions, compliance initiatives (SOC 2 / HIPAA / FedRAMP), executive openings, and posted USD salary bands.

I packaged a zero-proxy extractor/scorer on Apify (SignalMint, rayben/signalmint-b2b-buying-signals) that takes a list of company slugs (with provider: "auto") and returns flat CRM-ready fields for n8n, Clay, or HubSpot.

Live sample pulled across 12 public boards (4,891 open roles)

  • Anthropic (Greenhouse, 630 roles): $361,250 median USD comp · 17 exec hires · Top stack: LLM/AI (233), Python (190), AWS (74), GCP (73)
  • OpenAI (Ashby, 864 roles, 141 new in 14d): $307,500 median comp · 13 exec hires · Python (219), LLM/AI (169), TypeScript (49), Kubernetes (41)
  • Cloudflare (Greenhouse, 539 roles): $230,000 median comp · Salesforce (117), Terraform (69), Kubernetes (60), SOC 2 (49)
  • Ramp (Ashby, 181 roles): $223,625 median comp · NetSuite (35), Salesforce (35), Snowflake (8)
  • Stripe (Greenhouse, 768 roles): $200,168 median comp · 20 exec hires (e.g. Global Head of Partner Solutions Architecture)
  • Spotify (Lever, 103 roles): $175,724 median comp · BigQuery (13), PyTorch (11), GCP (8)

Drop into n8n with one HTTP Request node

  • Method: POST
  • URL: https://api.apify.com/v2/acts/rayben~signalmint-b2b-buying-signals/run-sync-get-dataset-items?token={{$credentials.apifyToken}}
  • JSON Body:
{
  "companies": ["stripe", "ashby:linear", "lever:palantir"],
  "lookback_days": 14,
  "target_tech_keywords": ["Snowflake", "SOC 2", "Kubernetes"]
}

Map intent_score, top_signal_types, detected_stack_csv, median_comp_usd, and outreach_hook straight into HubSpot, Airtable, Slack, or your outbound sequence.

Pricing transparency: Disclosure — I built it. Uses Apify Pay-Per-Event ($0.005 run start + $0.05 strictly per resolved board; $0 if a company returns 404). Runs in ~1.5–4 seconds and fits inside Apify's $5/mo free credits for testing.

Actor link: https://apify.com/rayben/signalmint-b2b-buying-signals

Happy to share the scoring weights or add support for other public ATS endpoints people run into in their n8n GTM flows!


r/n8n • • 1d ago

Help Is voice AI actually worth it or did I waste money?

17 Upvotes

Just cancelled a contract with a voice AI provider after 2 months. The thing could barely handle a caller saying 'actually wait' without completely losing the thread. Support kept blaming our phone setup.

What are people actually using for this that doesnt fall apart mid-conversation?


r/n8n • • 1d ago

Help Webhook ran "successfully" but nothing downstream happened — 11 places it dies quietly

8 Upvotes

The pattern in n8n is rarely a red error. It is the workflow doing exactly what you configured, to the wrong thing. The ones I check first, in order:

  1. Test URL vs production URL. The test listener only exists while the editor is open with "Listen for test event" active, and the workflow has to be Activated - running it once in the editor does not create the production route.
  2. Method mismatch. The sender POSTs, the node listens for GET, and you get a 404 that looks like a dead endpoint.
  3. Content-Type is not application/json. n8n accepts the call and hands your expressions an empty body, so the branch is skipped without a flag.
  4. Behind Cloudflare or nginx the path prefix gets rewritten, or WEBHOOK_URL is not the exact external address callers hit. Set it, restart, retest from outside.
  5. A CDN caching the POST, or a redirect rule rewriting it to GET at the origin - the node then sees no payload.
  6. Queue mode with a stalled or missing worker: the trigger responds, the flow never executes. The 200 is real; the execution list is the proof.
  7. No "Respond to Webhook" node, so the caller times out and retries while your flow actually succeeded - which then looks like duplicate sends.
  8. An expression that references a field only present in the sample payload. Works in the editor, produces nothing live.
  9. No error workflow configured, so a mid-flow exception leaves half the data written and nothing notifies you.
  10. Cron node timezone vs the host timezone: it fires, just not when you were watching.
  11. Executions pruned after a day, so "it used to work" cannot be checked. Turn retention up before you debug.

If your case is not here, paste the failing execution output and the node chain - I will tell you which step I would look at first.


r/n8n • • 1d ago

Help How do you send extraction results to a human when the model gives no confidence score?

4 Upvotes

I'm extracting fields from invoices (invoice number, dates, total, VAT number, vendor) and I want only the doubtful ones to go to a person instead of someone checking all of them. The Information Extractor(Refractr extraction node) gives me JSON output and confidence scores per extraction.

After an extraction has a high risk of a mistake, what would be a good way to let a person check the extraction? Is there some kind of UI or product for this?

Is anyone doing this in production? And how do you solve this?


r/n8n • • 1d ago

Workflow - Github Included AI auto-reply for routine Gmail customer service emails

3 Upvotes

Sharing a workflow I made for handling repeat customer questions in Gmail.

Flow: Gmail trigger → AI model drafts a reply to the incoming message → reply sent from the same Gmail account.

Notes from building it

  • Works best for repetitive inquiries (shipping, hours, order status), not complex complaints
  • The prompt is where all the quality comes from. Give the AI your real policies and tone
  • Tested on n8n 0.200+

Feedback welcome, especially on handling emails that shouldn't get an auto-reply.

Code: https://github.com/ahmeduzairmughal-gif/AI-Customer-Response-System


r/n8n • • 1d ago

Servers, Hosting, & Tech Stuff We measured what an AI-assisted news workflow in n8n costs per run: about $0.04

4 Upvotes

I run a small side project that tracks AI and automation news, and the whole news-monitoring side is an n8n workflow.

The setup:

- 5 RSS feeds, 70 to 90 items in per run

- keyword scoring and dedup in Code nodes

- the top 20 go to GPT-5-mini through n8n's built-in AI credits for an editorial score and reasons

- a human (me) picks what gets written; nothing is published automatically

What it costs:

- AI credits: $20.57 → $20.45 over three runs, so about $0.04 per run, or 0.2 cents per evaluated article. $20 of credits lasts about 500 runs.

- Each run takes about 4 minutes.

- Fixed costs are the bigger part: n8n Cloud about €22.55/month, Claude about €22.59/month, hosting and domain about €3/month. Roughly €48/month in total.

- Time: building the workflow and site took 35–40 hours. Checking each news story still takes me about 30 minutes.

The biggest surprise was how cheap the AI step is compared with everything around it.

What I'm changing next: every run now saves the 20 scored items to a Google Sheet with my decision (published / skipped / hold) next to the AI score, so after a few weeks I can see which score band actually gets published and set the cut-off from data.

Happy to answer questions about the scoring or the prompt setup. What does your AI step cost per run?


r/n8n • • 1d ago

Help Why is building a reliable AI chatbot so difficult?

8 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 • • 1d ago

Help Can't find or access my published AI Agent in n8n 2.49.8 (Self-hosted/Localhost)

4 Upvotes

Hi everyone!

I'm relatively new to n8n and have been experimenting with its new AI Agent feature. I'm running n8n locally on localhost, version 2.49.8.

I recently created an agent using the new Agent feature, but after publishing it, I can't figure out where I'm supposed to access it or how to start chatting with it.

What I have done was:

  1. In the sidebar, I clicked the + (plus) button.
  2. Selected New Agent.
  3. Set up and configured my AI Agent (Made sure Channels has n8n chat).
  4. Clicked Publish.

After publishing, I expected to find somewhere where I could interact with the agent, perhaps through a chat interface.

However, I can't seem to find it anywhere.

I explored the Chats section and checked the available models, including Personal and Workflows, but my newly published agent doesn't appear there. I thought it would be in Personal Agents but its empty.

My questions are:

  • Where exactly can I find and interact with an agent after publishing it?
  • Is there a separate chat interface or URL that I need to access?
  • Does publishing an agent automatically make it available in n8n Chats, or is there another configuration step required?
  • Am I missing something, or is this feature still limited in the current version?

I understand that the AI Agent feature is relatively new, so I'm wondering if I'm misunderstanding how it's supposed to work.

I'd appreciate any guidance, especially from anyone who has already experimented with this feature!

Thanks in advance!


r/n8n • • 1d ago

Workflow - Github Included Built a 12-node missed-call SMS recovery workflow for local service businesses (with 24h deduplication & landline fallback)

Thumbnail
gallery
2 Upvotes

Most missed-call text-back tutorials stop at `Webhook -> Send SMS`, which breaks the moment a customer calls twice in 10 minutes or dials from a landline.

I built a 12-node missed-call recovery workflow using **Twilio**, **Google Sheets**, and **n8n** designed for local service businesses (plumbing, HVAC, electrical, clinics) where 60%+ of calls go unanswered while techs are on a job site.

**Free 12-Node Workflow JSON:** https://gist.github.com/Shinde-Digvijay/7f434b758ae7b82f99461e802914a6fc

### How the 4 execution branches work:

  1. **Strict Call & E.164 Filtering:** Filters Twilio voice status webhooks for `no-answer`, `busy`, `canceled`, `failed`, or sub-5-second hang-ups, then validates the caller ID against `^\+[1-9]\d{9,14}$` so short codes and anonymous spam never burn SMS credits.
  2. **24-Hour Deduplication & Repeat-Caller Escalation (Screenshot 1):** Looks up the caller in Google Sheets (`Missed_Calls_Log`). New callers get logged and texted once; anyone calling again within 24 hours skips duplicate texting, increments `Call Attempts`, and triggers an urgent owner alert.
  3. **Landline Error Catching (Screenshot 2):** Uses `Continue (using error output)` on the Twilio node so landline or VoIP numbers that reject SMS route cleanly to a manual callback alert instead of failing silently.
  4. **Sheets E.164 Formatting Fix (Screenshot 3):** Uses `Cell Format -> Let n8n format` on the Google Sheets `appendOrUpdate` node so leading `+` signs on phone numbers stay intact instead of turning into `#ERROR!` formulas.

Happy to answer any questions on the Twilio webhook payload mapping or expression logic.


r/n8n • • 1d ago

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

11 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 • • 1d ago

Workflow - Github Included Weekly Etsy niche research on autopilot with n8n + Etsy API

1 Upvotes

I sell on Etsy and got tired of manually browsing for trending niches every week, so I automated it.

Flow: Pulls listing data through the Etsy API → AI analyzes trends and demand → outputs a weekly list of niches worth looking at, in a structured format.

What you need

  • n8n
  • Etsy API credentials (free from etsy.com/developers)

Caveat: it shows what's trending, not guaranteed sales. You still have to validate each niche yourself.

Would love ideas on better demand signals to add beyond what the API gives.

Code: https://github.com/ahmeduzairmughal-gif/Etsy-niche-research


r/n8n • • 1d ago

Workflow - Github Included WhatsApp order messages → Google Sheets rows, automatically (n8n workflow)

1 Upvotes

A lot of small businesses take orders on WhatsApp and then copy them into a spreadsheet by hand. I built a workflow that does that step automatically.

Flow: Webhook receives the WhatsApp message → message is parsed and product details extracted → Google Sheets node appends a new row (works as a live order/inventory tracker).

What you need

  • n8n (cloud or self-hosted)
  • A Google account
  • WhatsApp Business API credentials or a compatible webhook service

Getting WhatsApp API access is the slowest part. The n8n side takes under an hour.

Curious how others handle messy messages (typos, multiple items in one message). Open to suggestions on the parsing step.

Code: https://github.com/ahmeduzairmughal-gif/datamate


r/n8n • • 1d 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 • • 2d 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 • • 2d 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 • • 2d 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.