# N8n Template Scraper (`futurizerush/n8n-template-scraper`) Actor

Collects workflow templates from n8n.io with complete workflow

- **URL**: https://apify.com/futurizerush/n8n-template-scraper.md
- **Developed by:** [Rush](https://apify.com/futurizerush) (community)
- **Categories:** AI, Agents, Automation
- **Stats:** 12 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## n8n Template Scraper

Collect workflow templates from n8n.io with complete information about automation workflows. Get creator profiles, workflow details, integration lists, and complete workflow data ready to import into your n8n instance.

### What This Actor Does

This Actor collects workflow templates from n8n.io's public template library. n8n is a workflow automation platform where users share their automation workflows.

**What you get for each workflow:**

- Workflow name, description, and view counts
- Creator information and verification status
- List of integrations and tools used
- Integration categories
- Links to view workflows on n8n.io
- Complete workflow data for free templates (ready to import into n8n)
- Basic information only for paid workflows

**Use cases:**

- Find automation workflow ideas and inspiration
- Research popular integration patterns
- Discover workflow creators and their work
- Build automation template collections
- Analyze workflow automation trends
- Import workflows into your n8n instance

### Pricing

This Actor uses **pay-per-event** pricing. You are charged **per successfully scraped workflow** (both free and paid workflows).

**How it works:**

- You pay for each workflow that is successfully collected
- Free workflows include complete workflow data for import
- Paid workflows include basic information only (to respect creators' intellectual property)
- No charges for failed requests or errors
- The Actor automatically stops when your spending limit is reached

**Cost control:**

- Set a spending limit in your Apify account before running
- The Actor respects your spending limits and stops automatically
- Monitor your usage in real-time through the Apify Console

### How to Use

#### Search for Workflows

Enter keywords to find specific workflows. Leave empty to browse all workflows.

**Examples of searches:**

- "email automation"
- "data"
- "slack"
- "lead generation"

#### Set Collection Size

Choose how many workflows you want to collect (between 1 and 100,000). The Actor will automatically gather workflows until it reaches your target or spending limit.

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `search` | string | `""` | Keywords to search for workflow templates. Leave empty to browse all workflows. |
| `maxResults` | integer | `10` | Maximum number of workflows to collect (1–100,000). |

### Output Data

Each workflow is saved as one record in the dataset. The Actor provides five dataset views optimized for different use cases.

#### Complete Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | number | Unique workflow ID |
| `name` | string | Workflow title |
| `description` | string | Full workflow description |
| `createdAt` | string | Publication date (ISO 8601) |
| `totalViews` | number | Number of views on n8n.io |
| `price` | number | Price in USD (0 = free) |
| `isPaid` | boolean | Whether the workflow is a paid template |
| `creatorId` | number | Creator's user ID |
| `creatorName` | string | Creator's display name |
| `creatorUsername` | string | Creator's username |
| `creatorVerified` | boolean | Whether the creator is verified |
| `creatorBio` | string | Creator's profile bio |
| `creatorLinks` | array | Creator's social/website links |
| `creatorAvatar` | string | Creator's avatar URL |
| `nodes` | array | List of integration nodes used |
| `nodeCount` | number | Total number of nodes (steps) |
| `uniqueNodeTypes` | number | Number of distinct node types |
| `nodeCategories` | array | Categories of integrations used |
| `workflowUrl` | string | Direct link to view on n8n.io |
| `purchaseUrl` | string|null | Purchase link (paid workflows only) |
| `workflowTemplate` | object|null | Complete workflow JSON for free templates, null for premium |
| `scrapedAt` | string | Collection timestamp (ISO 8601) |
| `searchQuery` | string | Search keywords used for this run |

#### Dataset Views

- **Overview** — Quick summary of each workflow (name, creator, views, price)
- **Detailed View** — Full metadata including categories and technical details
- **Creator Focus** — Creator profiles and social links
- **Technical Details** — Node breakdown and integration analysis
- **With Templates** — Workflows with complete importable template data

#### Note on Paid Workflows

To respect creators' work, paid workflows are collected with basic information only (name, description, creator, integrations list) but without the complete workflow data. This ensures you can discover and purchase paid templates while protecting creators' intellectual property.

### Usage Examples

#### Find Email Automation Workflows

```json
{
  "search": "email automation",
  "maxResults": 50
}
```

#### Browse All Workflows

```json
{
  "search": "",
  "maxResults": 100
}
```

#### Research Slack Integrations

```json
{
  "search": "slack",
  "maxResults": 200
}
```

### No Results

When your search doesn't find matching workflows, the Actor completes successfully and saves a record with search suggestions to the Key-Value Store. Check the Actor's Output tab for details.

### Common Use Cases

#### For Automation Enthusiasts

- Discover new ways to automate your work
- Learn from community-created workflows
- Find workflows for specific tools you use

#### For Developers

- Build workflow discovery tools
- Create automation template libraries
- Research integration patterns

#### For Businesses

- Analyze popular automation tools in your industry
- Find workflows to adapt for your team
- Study integration patterns across thousands of templates

#### For Researchers

- Study automation trends
- Analyze which services are commonly integrated
- Track workflow popularity over time

### Data Quality

Data is automatically cleaned and organized:

- Consistent ISO 8601 date formats
- Cleaned text descriptions (normalized whitespace)
- Structured format for easy analysis
- Only complete workflow records are included

### Important Notes

**About the Data:**

- Data comes from n8n.io's public template library
- All workflows are publicly available
- View counts reflect n8n.io popularity metrics

**Collection Limits:**

- Minimum: 1 workflow per run
- Maximum: 100,000 workflows per run
- Results depend on available templates on n8n.io

### Tips for Best Results

#### Search Keywords

- Use specific terms for better matches (e.g., "Gmail to Slack" vs. "email")
- Try different variations (e.g., "lead gen", "lead generation")
- Use tool names to find specific integrations

#### Collection Size

- Start with smaller numbers (10–50) to test your search
- Increase the limit once you confirm the search works well
- More results will take longer to collect

#### Empty Searches

- Leaving search empty returns all available workflows
- Useful for building complete workflow databases
- Results vary based on available templates on n8n.io

# Actor input Schema

## `search` (type: `string`):

Keywords to search for workflow templates (e.g., 'automation', 'lead generation'). Leave empty to get all workflows.

## `maxResults` (type: `integer`):

Maximum number of workflows to collect

## Actor input object example

```json
{
  "search": "lead generation",
  "maxResults": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `detailed` (type: `string`):

No description

## `creators` (type: `string`):

No description

## `technical` (type: `string`):

No description

## `templates` (type: `string`):

No description

## `noResults` (type: `string`):

No description

## `errorLog` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "search": "lead generation",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("futurizerush/n8n-template-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "search": "lead generation",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("futurizerush/n8n-template-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search": "lead generation",
  "maxResults": 10
}' |
apify call futurizerush/n8n-template-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,futurizerush/n8n-template-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6tyQudnNfKJazqXOr/builds/QbS37YQV1VAgfwyEf/openapi.json
