n8n Workflow Templates API avatar

n8n Workflow Templates API

Pricing

from $0.01 / 1,000 results

Go to Apify Store
n8n Workflow Templates API

n8n Workflow Templates API

Extract n8n workflow templates and creator analytics via API. Search 10,000+ automation templates, rank the most viewed workflows, pull importable workflow JSON, and analyze any creator's full portfolio with view counts.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

John

John

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 hours ago

Last modified

Share

Find and extract n8n templates, view counts, and creator analytics from the public n8n workflow library with one API call. Search 10,000+ n8n workflow templates, rank the most viewed n8n workflows, analyze any creator's full portfolio, and download importable workflow JSON you can paste straight into your own n8n instance.

Most template tools just dump the library. This one is built for research: it ranks n8n templates by popularity (total and recent views), analyzes creators, and tells you which automations people actually use.

Not affiliated with, endorsed by, or connected to n8n. This API reads the public n8n workflow template library and returns it as structured data.

What this API returns

  • One clean JSON row per template: name, description, link, categories, apps and node types used, node count, paid-template price, and publish date
  • Popularity signals on every row: totalViews (all-time) and recentViews (trending)
  • Creator analytics: profile, verified status, portfolio size, and every workflow a creator has published, sorted by views
  • Optional importable workflow JSON (nodes, connections, settings) for every template
  • Stable result_type discriminator (template, creator_profile, error) so agents and pipelines can filter reliably

Use cases

  • Find the most viewed n8n workflows in any category to see which automations are worth building or selling
  • Analyze a competitor creator on the n8n creators directory: portfolio size, most popular templates, paid vs free mix
  • Research template gaps before publishing your own: search a niche, sort by views, and study what ranks
  • Bulk-download importable workflow JSON for an internal template catalog or an AI agent that assembles automations
  • Track trending automations by comparing recentViews against totalViews over scheduled runs

Input parameters

ParameterTypeRequiredDescription
modestringnosearch (default), creator, or details
queriesarraynoSearch terms for search mode. Empty = browse the whole library with the chosen sort
sortBystringnomost_viewed (default), newest, or relevance
categoriesarraynoLibrary category names, e.g. ["AI"], ["Marketing"]
appsarraynoApp slugs, e.g. ["openai", "slack", "google-sheets"]
nodesarraynoFull node type names, e.g. ["n8n-nodes-base.httpRequest"]
usernamesarraycreator modeCreator usernames or creator page URLs
workflowIdsarraydetails modeWorkflow ids or template URLs
includeWorkflowJsonbooleannoAttach the importable workflow definition to each row
maxResultsintegernoCap on template rows returned. Default 25

Run it with all defaults and you get the 25 most viewed n8n workflows in the entire library.

Field completeness (summary vs full detail)

Search mode returns a fast summary for each template. Two fields, recentViews and categories, live only on a template's full detail record, so in search mode they come back empty unless you enable includeWorkflowJson, which fetches the detail (and the importable JSON) for every row and backfills them. Creator mode and details mode already include recentViews and categories. price and purchaseUrl are null for free templates, which is most of them.

Scrape the entire library in one run

The library holds about 10,800 workflows and paginates cleanly to the end. To capture all of them in a single run, use search mode with an empty query and set maxResults to 0 (retrieve everything):

{ "mode": "search", "sortBy": "most_viewed", "maxResults": 0 }

maxResults: 0 means "return every matching result." It works the same way for a filtered search (all results for that query) and for creator mode (a creator's full portfolio).

Add "includeWorkflowJson": true if you also want every workflow's categories, recentViews, and importable JSON (this makes the run longer and adds the per-workflow add-on charge).

Example output

{
"result_type": "template",
"id": 1951,
"url": "https://n8n.io/workflows/1951/",
"name": "Scrape and summarize webpages with AI",
"totalViews": 390701,
"recentViews": 12094,
"createdAt": "2023-10-03T17:04:44.645Z",
"price": null,
"creatorUsername": "n8n-team",
"creatorVerified": true,
"categories": ["AI"],
"nodes": ["n8n-nodes-base.httpRequest", "@n8n/n8n-nodes-langchain.openAi"],
"nodeCount": 8,
"query": "ai agent",
"workflowJson": null
}

Creator mode adds one profile row per creator:

{
"result_type": "creator_profile",
"creatorUsername": "oneclick-ai",
"creatorName": "Oneclick AI Squad",
"creatorVerified": true,
"workflowsCount": 237,
"url": "https://n8n.io/creators/oneclick-ai/"
}

πŸ”Œ Integrations: turn n8n templates into a recurring data pipeline

This API is most useful on a schedule, not as a one-off. Point it at the n8n workflow library and let the results flow into whatever you already use.

  • Tasks and Schedules (start here): save your search as a task and run it on a schedule (daily, weekly) to track which n8n templates are trending over time. Configure both from the Apify Console.
  • n8n: yes, you can use this from n8n itself. Call it with the HTTP Request node or the Apify integration to pull the most viewed n8n workflows into your own automations.
  • Make and Zapier: connect the Apify app to push template rows into a spreadsheet, Airtable, or a Slack digest of the week's top workflows.
  • Storage and databases: write the dataset straight to Google Sheets, Supabase, or any warehouse via the Apify integrations, then dedupe on id.
  • MCP and AI agents: expose the API as a tool so Claude or another LLM can fetch and reason over n8n templates on demand (see the MCP section below).
  • Webhooks: fire a webhook when a run finishes to trigger downstream jobs the moment fresh data lands.

Pricing

Pay per result, with a free tier and no subscription. Two events are charged:

  • template_returned: one charge per template or creator-profile row in your dataset
  • workflow_json_returned: a small add-on per importable workflow JSON, only when includeWorkflowJson is enabled

This is one of the lowest-cost ways to pull n8n template intelligence at scale; see the Pricing tab on the store card for current per-event rates.

How to get started

  1. Open the actor and press Start with the default input: you get the 25 most viewed n8n workflows in the library
  2. Switch mode to creator and add a username to analyze a publisher's portfolio
  3. Enable includeWorkflowJson when you want ready-to-import workflow definitions

View on Apify Store

πŸ”Œ Use this API from Claude (MCP)

Add this actor as a tool in Claude Code (free trial), Claude Cowork (free trial), or any other MCP client, via the hosted Apify MCP server. Use this actor-specific URL:

https://mcp.apify.com/?tools=actors,docs,johnvc/n8n-workflow-templates-scraper

Setup walkthrough:

Apify MCP integration docs: https://docs.apify.com/platform/integrations/mcp

Other APIs from the same publisher that pair well with an n8n automation stack:

Compared to a plain dump like the n8n-template-scraper, this API adds the two things research actually needs: view-ranked popularity and creator analytics.

πŸ’‘ Example tasks

Ready-to-run examples of this API solving a specific job:

FAQ

Run the actor with the default input. sortBy defaults to most_viewed, so the dataset comes back ranked by all-time views across the whole n8n workflow library. Add queries or categories to rank the most popular n8n workflows inside a niche.

Is this an API or a web scraper?

Both, depending on how you look at it. It reads the public n8n template library the way a scraper does, but you call it like an API: structured JSON in, structured JSON out, on the Apify platform, with no HTML parsing on your side. For background on what n8n is, see n8n on Wikipedia.

How do I use this from an MCP client or an AI agent?

Add the actor as an MCP tool with the mcp.apify.com URL in the section above. Claude or any other Model Context Protocol client can then search n8n templates, rank the most viewed n8n workflows, and pull importable JSON on demand, without you writing any glue code.

How do I import an n8n template into my instance?

Set includeWorkflowJson to true and each row carries a workflowJson object with the full nodes, connections, and settings. In n8n, use Import from JSON (or Import from URL) and paste it in; the workflow appears on your canvas ready to configure.

How do I scrape all workflows from one n8n creator?

Set mode to creator and put the creator's username or creator page URL in usernames. You get one creator_profile row plus one row per published workflow, sorted by views. Raise maxResults above the creator's portfolio size to capture everything.

Can I schedule this and integrate it with other apps?

Yes. Save the run as a task and put it on a schedule, then use the Apify integrations (n8n, Make, Zapier, webhooks, Google Sheets, Supabase) to route the results wherever you need them. See the Integrations section above.

What does it mean when a template has a price?

Some community templates are paid. The price and purchaseUrl fields carry the listed price and checkout link; free templates have null in both.

Why did I get fewer rows than maxResults?

The query, category, or app filter matched fewer templates than your cap, or the run hit its charge limit. In the second case the log shows a clear "Charge limit reached" warning; raise the run's budget to fetch more.

What happens if a workflow id or creator does not exist?

The run keeps going and pushes an error row with a readable error_message for that item, so one bad id never kills a batch.

Last Updated: 2026.07.26