n8n Workflow Examples: 30 Real Automation Templates
The best way to learn n8n is through practical examples. This guide walks through five complete, production-ready n8n workflows — from trigger to output — covering the most common business automation use cases. Each example includes the workflow architecture, node configuration, and what the end result looks like.
Example 1: Lead Enrichment and Scoring
Business goal: When a new contact is added to HubSpot, automatically enrich with company data and score for sales prioritisation.
Workflow:
- HubSpot Trigger: "Contact Created" event fires when a new contact is added
- HubSpot Node: Get full contact data including email domain
- HTTP Request Node: Call Apollo.io API with the email domain to get company data (size, industry, funding, tech stack)
- Anthropic (Claude) Node: Pass contact + company data to Claude with scoring prompt — returns JSON with score 0-100 and priority level
- HubSpot Update Node: Write the score, priority, and enrichment data back to the contact
- Switch Node: Route based on score — high priority goes to one branch, others to another
- Slack Node (high priority branch): Notify the relevant sales rep with a summary
- HubSpot Task Node (medium priority branch): Create a follow-up task in HubSpot
Result: Every new HubSpot contact arrives fully enriched and scored within 60 seconds. Sales reps see a Slack notification for hot leads; a task is created for medium leads. No manual enrichment required.
Example 2: AI Customer Support Triage
Business goal: Automatically route incoming support emails to the right team and draft responses for common issues.
Workflow:
- Gmail/Email Trigger: New email received in support inbox
- Anthropic (Claude) Node: Classify email intent, urgency, and category. Prompt returns:
{ "category": "billing|technical|general", "urgency": "high|medium|low", "simple_faq": boolean, "suggested_response": string } - Switch Node: Branch based on category and complexity
- Zendesk Create Ticket Node: Create ticket with category, urgency, and AI summary
- If Node (simple FAQ check): If simple_faq = true
- Zendesk Reply Node (FAQ branch): Send AI-drafted response immediately
- Slack Node (non-FAQ + urgent): Alert the appropriate team channel for urgent non-FAQ issues
Result: All support emails are categorised and routed immediately. Simple FAQs are resolved without human involvement. Urgent issues alert the team instantly. Every ticket arrives in Zendesk pre-categorised with a draft response.
Example 3: Content Repurposing Pipeline
Business goal: When a new blog post is published, automatically generate social media content for all channels.
Workflow:
- RSS Trigger: Monitors your blog RSS feed for new posts
- HTTP Request Node: Fetch the full article content from the URL
- HTML Extract Node: Extract just the article text from the HTML
- Anthropic (Claude) Node: Generate platform-specific content. Prompt: "Generate: 3 LinkedIn posts, 5 tweets, 2 Instagram captions, 1 newsletter excerpt from this article. Return as JSON with arrays for each platform."
- JSON Parse Node: Extract the content for each platform
- Airtable Create Record Node: Store all variations in an Airtable base for review and scheduling
- Slack Notification Node: Notify the social media manager that new content is ready for review in Airtable
Result: Within 5 minutes of a blog post publishing, a week of social media content is ready in Airtable for review. The marketing team reviews and schedules — no writing required.
Example 4: Automated Invoice Processing
Business goal: Extract data from incoming invoices (emailed as attachments) and create records in the accounting system.
Workflow:
- Gmail Trigger: Email received with attachment in the invoices inbox
- Gmail Get Attachment Node: Download the PDF attachment
- Google Drive Upload Node: Upload to a temporary folder to get a URL
- Anthropic Vision Node: Pass the PDF-as-image to Claude with extraction prompt. Returns:
{ "vendor": string, "invoice_number": string, "date": "YYYY-MM-DD", "total": number, "line_items": array } - JSON Validation Node (Code): Check all required fields are present; flag missing fields
- Switch Node: If validation passes → accounting system; if fails → review queue
- QuickBooks/Xero HTTP Node: Create the bill in the accounting system
- Airtable Node: Log the processed invoice with status
- Slack Alert (failure branch): Alert the finance team for invoices that need manual review
Result: Invoices arriving by email are automatically extracted and entered into the accounting system. Manual data entry is eliminated; the finance team reviews only the exceptions flagged by the validation step.
Example 5: Outbound Prospecting Research
Business goal: Given a list of target companies, generate personalised research briefs for each.
Workflow:
- Schedule Trigger: Runs every morning at 7 AM
- Airtable List Records Node: Get companies in the "To Research" status from the prospect database
- Loop Over Items Node: Process each company individually
- HTTP Request Node: Search for the company's website and recent news
- HTTP Request Node: Call Apollo.io for company firmographic data
- Anthropic (Claude) Node: Synthesise research into a brief covering: company background, likely pain points, decision-makers, outreach angle
- Airtable Update Node: Write the brief back to the company record; change status to "Researched"
- Slack Notification Node: Daily summary of how many companies were researched
Result: Every morning, the sales team arrives to find a set of fully-researched company briefs ready for outreach. Research time per company: 2-3 minutes (automated). Previously: 30-45 minutes (manual).
Related articles
n8n vs Make.com vs Zapier: a 2026 honest comparison
No affiliate fluff — where each tool wins, where it breaks, and what we actually run.
Self-hosting n8n: a production-grade setup guide
Queue mode, workers, backups, and the security defaults you should never skip.
Complete n8n Guide: Everything You Need to Build Powerful Automations
The definitive n8n guide — nodes, credentials, triggers, and production-grade patterns.