# N8n Workflows Scraper ($0.25/K Results) (`memrpiyush/n8n-workflows-scraper-0-25-k-results`) Actor

Automate n8n.io workflow template collection with this Apify actor. Fetch importable JSONs for direct n8n use. Ideal for developers, automation experts & businesses.
Price 0.25 / 1000 Results.

- **URL**: https://apify.com/memrpiyush/n8n-workflows-scraper-0-25-k-results.md
- **Developed by:** [Piyush](https://apify.com/memrpiyush) (community)
- **Categories:** AI, Automation, Developer tools
- **Stats:** 33 total users, 0 monthly users, 85.2% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$0.25 / 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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

This Apify actor scrapes all workflow templates from N8N's template library. It fetches comprehensive information about each template including its configuration, metadata, and usage statistics.

\[ Workflows with marked with a price and purchase url are entierly skipped ]

Charge: $0.25/k Results

## 🎯 Use Cases

Template Discovery: Find and analyze all available N8N workflow templates
Workflow Analysis: Study different automation patterns and node combinations
Template Statistics: Track template popularity and usage metrics
Category Analysis: Analyze template distribution across different categories

## ✨ Features

Complete Coverage: Scrapes all templates from the N8N template library
Detailed Data: Captures comprehensive template information including configurations and metadata
Structured Output: Provides well-organized data in a clean JSON format

## 🚀 Usage

Start the Actor: Click the "Start" button to begin the scraping process
Wait for Results: The actor will automatically fetch all templates
Download Data: Once complete, download the results in JSON or CSV format
-Optional
Enable "Get Workflows" to scrape importable jsons for all workflows.

## 📥 Input

This actor depends on following inputs:

- Scrape Metadata \[True by Default] (if set to false only count of workflows listed officaly will be scraped)
- Get Workflows   \[False by Default]
- Max Results   \[Set to 0 by default to scrape all available workflows]

This actor has a optional input parameter "Scrape Metdata" which is set to true by default and actor needs it to scrape all available workflows if this input is set to false only the number of availabe workflow will be scraped.
"Max results" is a optional input parameter which accepts integer to fectch the max number of results in output. 0 = get all
"Get Workflows" is optional if you also want to pull all workflows along with metadata { set to False by default }

## 📤 Output

The actor stores all template data in a dataset with the following fields:

<pre>
id: Unique identifier of the template
name: Name of the template
totalViews: Number of times the template has been viewed
user: user details ["id","name","username","bio","verified","links","avatar"]
description: Detailed description of what the template does
createdAt: Template creation timestamp
nodes: Array of nodes used in the workflow
categories: List of categories the template belongs to
[optional]
importableWorkflowJSON: The workflow JSON if getWorkflows is set to true [This can be used directly to import templates to n8n]
</pre>

## Thank You for using my apify actor.

# Actor input Schema

## `scrapeMetadata` (type: `boolean`):

Scrape metadata of workflows or just get count of available workflows. \[Required]

## `getWorkflows` (type: `boolean`):

Get workflows JSON \[Optional]

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

Total number of results. \[Required]

## Actor input object example

```json
{
  "scrapeMetadata": true,
  "getWorkflows": false,
  "maxResults": 0
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("memrpiyush/n8n-workflows-scraper-0-25-k-results").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("memrpiyush/n8n-workflows-scraper-0-25-k-results").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 '{}' |
apify call memrpiyush/n8n-workflows-scraper-0-25-k-results --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memrpiyush/n8n-workflows-scraper-0-25-k-results"
        }
    }
}
```

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/MccKvQqGQh61rE97g/builds/ZgbR6eywXreQBWeEi/openapi.json
