Templates

n8n workflow templates

Curated workflows to jump-start your automation. Each template comes with required nodes, credentials, and step-by-step import instructions.

Live from the official n8n.io library. n8n.io/workflows ↗ · Try n8n →

Step 1

Find a workflow

Search by tool or use case (telegram, rag, hubspot) or filter by category.

Step 2

Copy the JSON

Open a template and hit Copy JSON — the full workflow is on your clipboard.

Step 3

Import into n8n

In n8n: new workflow → ⋯ menu → Import from clipboard → add your credentials.

Tips for using templates safely

  • Always review the nodes before running — a template can call external APIs or write data.
  • Create your own credentials in n8n; templates never ship with keys or tokens.
  • Run once with Pin Data / test data before switching a trigger to production.
  • Swap generic nodes (Set, HTTP Request) for the official integration when one exists.
  • Add an Error Trigger workflow so failures notify you on Slack, Telegram or email.
Official library — n8n.io/workflows ↗

What the n8n template library is

The n8n template library is a collection of 10,000+ complete workflows shared by the community and the n8n team. Each template is a JSON document describing nodes, connections and parameters — never credentials — that you import into your own instance in seconds.

Templates are the fastest way to learn n8n. Reading a working workflow teaches you node choice, expression syntax, error handling and data shape far faster than documentation alone.

They span every category: AI agents and RAG chatbots, sales and CRM sync, marketing automation, DevOps and monitoring, support ticket triage, finance reconciliation, HR onboarding, web scraping, and document processing.

AI & agents

RAG chatbots over your docs, multi-tool agents, summarisation pipelines, transcript processing, and LLM-based classification with OpenAI, Anthropic, Gemini or local Ollama models.

Sales & CRM

Lead enrichment, HubSpot/Pipedrive/Salesforce sync, automatic follow-up sequences, meeting notes to CRM, and deal-stage alerts in Slack.

Marketing

Content repurposing, social scheduling, SEO reporting, newsletter automation, and campaign performance digests pulled from ads and analytics APIs.

IT Ops & DevOps

Uptime checks, incident routing, backup jobs, log alerting, CI/CD notifications, and infrastructure inventory syncs.

Support

Ticket triage and tagging, auto-replies with an AI draft, escalation rules, CSAT collection, and knowledge-base search over past tickets.

Finance & Ops

Invoice parsing, expense approvals, reconciliation between Stripe and the ledger, recurring reports, and spreadsheet-to-database sync.

How to read a template before you run it

Open the workflow and start at the trigger: is it a webhook, a schedule, or a manual run? That tells you when and how often it will execute — and therefore what it can cost you in API calls.

Then follow the happy path node by node. Look for nodes that write data (create, update, delete, send) and note every external system it touches. Finally check for Code nodes and read them; that is where custom logic and any unexpected network call would live.

  • Identify the trigger type and its frequency.
  • List every node that writes or sends something outward.
  • Read all Code nodes end to end.
  • Check which credentials the template expects.
  • Look for hardcoded IDs, URLs and channel names you must replace.

Importing a template into n8n

There are three import paths. From n8n.io you can click Use workflow to open it directly in your Cloud instance. From this hub you copy the JSON and paste it onto the canvas — n8n parses the clipboard automatically. Or you save the JSON to a file and use Workflows → Import from file.

After import, every node with a credential shows a warning until you select or create one. Do that first, then run once with the manual trigger before activating anything.

Adapting a template to your stack

Templates are starting points, not finished products. Replace the author's services with yours: swap Airtable for Postgres, Telegram for Slack, OpenAI for your provider of choice. n8n's node structure makes this a matter of dragging in a replacement and remapping a handful of fields.

Then harden it. Add Retry On Fail on external calls, an Error Trigger workflow for alerting, batching for rate limits, and a deduplication step so a re-run does not create duplicate records.

  • Replace hardcoded IDs with environment-driven values or a Set node at the top.
  • Rename nodes descriptively — expressions reference node names.
  • Split very large workflows into sub-workflows for reuse and readability.
  • Add sticky notes documenting what each section does for your team.

Security review: what to check every time

Templates cannot contain credentials, but they can contain URLs, webhook endpoints and Code nodes. A malicious or careless template could send your data somewhere unexpected, so review before running with real data.

Run the first execution against test data with production writes disabled or pointed at a sandbox account. Pin data to iterate without touching live systems.

  • Inspect every HTTP Request URL in the workflow.
  • Read Code nodes for outbound fetch calls.
  • Never activate a template straight onto production data.
  • Use a sandbox credential with limited scopes for the first run.

From template to production workflow

A template becomes production-grade when failures are visible and recoverable. That means an Error Trigger workflow that pings a human, execution data retention long enough to debug, and idempotent writes so retries are safe.

Add observability: log key steps to a database or a Slack channel, track execution counts, and set up alerting on repeated failures rather than checking the Executions tab manually.

Popular template categories and what they solve

CategoryTypical workflowNodes you will see
AI / RAGChatbot answering from your documentsAI Agent, Embeddings, Vector Store, Chat Trigger
SalesEnrich a new lead and push to CRMWebhook, HTTP Request, HubSpot, Slack
MarketingTurn a blog post into social postsRSS, OpenAI, LinkedIn, X, Schedule
SupportTriage and tag inbound ticketsGmail/Zendesk, AI classification, Switch
IT OpsAlert when a service goes downSchedule, HTTP Request, IF, Telegram
FinanceParse invoices into a ledgerEmail trigger, Extract from File, AI, Postgres
DataSync a spreadsheet to a databaseGoogle Sheets, Loop Over Items, Postgres
ScrapingMonitor pages for changesSchedule, HTTP Request, HTML Extract, Compare

Using a template in 9 steps

  1. 1Search by tool or outcome (telegram, rag, invoice, hubspot) or browse a category.
  2. 2Open the template and read the description and node list first.
  3. 3Copy the workflow JSON from this hub or click Use workflow on n8n.io.
  4. 4In n8n create a new workflow and paste on the canvas (or Import from file).
  5. 5Connect a credential for every node that shows a warning icon.
  6. 6Replace hardcoded values: channel IDs, sheet IDs, emails, table names.
  7. 7Execute once manually with pinned or sample data and inspect every output.
  8. 8Add error handling and batching, then rename nodes so expressions stay readable.
  9. 9Activate the workflow and monitor the first day of executions.

Template safety checklist

  • Every node reviewed, including Code nodes
  • All external URLs verified
  • Credentials created by you, with minimal scopes
  • Hardcoded IDs replaced with your own
  • First run on test data, not production
  • Retry and error handling added
  • Duplicate protection on writes
  • Workflow renamed and documented with sticky notes

Common template mistakes

Activating a template immediately after import

Run it manually once with test data and read every output first.

Leaving the author's hardcoded IDs in place

Replace channel, sheet and table IDs before the first real run.

Assuming a template scales

Check batch sizes and rate limits — many templates are written for a handful of items.

Ignoring Code nodes

Read them fully; that is where unexpected network calls hide.

Editing the template in place forever

Fork it into your own naming and structure, and version the JSON in Git.

Pro tips

  • Search by node name, not by outcome — 'qdrant' returns better results than 'AI knowledge base'.
  • Sort by views to find battle-tested workflows the community actually uses.
  • Combine two templates: use one as a trigger/ingest layer and the other as the processing layer.
  • Keep a private library: export your adapted workflows and re-import them as your own internal templates.
  • Use sticky notes to document assumptions so your team can maintain the workflow later.
  • Sub-workflows make repeated blocks (notify, log, retry) reusable across every template you adopt.

Template FAQ

Are templates free?

Yes. The official n8n template library is free to browse and import; you only pay for whatever third-party APIs the workflow calls.

Do templates include API keys?

Never. Workflow JSON stores node parameters and connections only — credentials live encrypted in your instance and are stripped on export.

Can I use templates on n8n Cloud and self-hosted?

Both. The JSON format is identical; the only caveat is templates depending on community nodes, which need a self-hosted instance or a verified package.

How do I import a workflow JSON?

New workflow → paste the JSON directly on the canvas, or use the ⋯ menu → Import from file / Import from URL.

Can I publish my own template?

Yes — sign in on n8n.io, submit your workflow, and it becomes discoverable to the whole community after review.

Why does a template fail right after import?

Almost always missing credentials or hardcoded IDs from the author's account. Fix both, then re-run the failing node alone.

Source & further reading

This page curates and explains the official n8n workflow library. The complete, always-current catalog lives on n8n.io.