# Download n8n Workflow Templates as JSON (Importable)

**Use case:** 

Download n8n workflow templates as importable JSON. Search a use case such as Gmail and get each template's complete workflow JSON with name, nodes, connections and settings, ready to import straight into n8n. Download one template or a whole category in a single run.

## Input

```json
{
  "searchQuery": "gmail",
  "sortBy": "popularity",
  "sortDirection": "desc",
  "maxWorkflows": 20,
  "fetchImportableWorkflows": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

## Output

```json
{
  "id": {
    "label": "Workflow ID",
    "format": "text"
  },
  "name": {
    "label": "Workflow Name",
    "format": "text"
  },
  "totalViews": {
    "label": "Total Views",
    "format": "number"
  },
  "purchaseUrl": {
    "label": "Purchase URL",
    "format": "link"
  },
  "user.id": {
    "label": "User ID",
    "format": "text"
  },
  "user.name": {
    "label": "User Name",
    "format": "text"
  },
  "user.username": {
    "label": "Username (System)",
    "format": "text"
  },
  "user.bio": {
    "label": "User Biography",
    "format": "text"
  },
  "user.verified": {
    "label": "Verified User",
    "format": "boolean"
  },
  "user.links": {
    "label": "User Links",
    "format": "text"
  },
  "user.avatar": {
    "label": "User Avatar",
    "format": "image"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "createdAt": {
    "label": "Creation Date",
    "format": "date"
  },
  "nodes": {
    "label": "Nodes",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The n8n Workflow Template Scraper Actor is ready to run with the inputs already set for "Download n8n Workflow Templates as JSON (Importable)". [Sign up or log in](https://console.apify.com/create-task-from-example/cA8fU0VbtJDP6WxJB) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download n8n Workflow Templates as JSON (Importable)" task

The n8n Workflow Template Scraper Actor will start running based on the input automatically. You can also change all the input fields, like search query, sort by, and more, to match your specific use case.

### 3. Receive the "Download n8n Workflow Templates as JSON (Importable)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as workflow id, workflow name, total views, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Download n8n Workflow Templates as JSON (Importable)" task via API](https://apify.com/muhammetakkurtt/n8n-scraper.md).

## FAQ

### How do I download an n8n workflow template as JSON?

Search the use case, such as Gmail, and run this task with importable workflows on. Each result is the template's complete workflow JSON, ready to import into n8n.

### How do I import the JSON into n8n?

Copy a workflow's JSON and paste it onto the n8n canvas, or save it as a .json file and use Import from File in the workflow menu.

### Can I download many n8n templates at once?

Yes. Set Max workflows to the number you want; the task downloads every matching template's JSON in one run, so you can back up or study a whole category.

### Do n8n templates include credentials?

No. Templates contain nodes, connections and settings but no credentials; after importing, connect your own accounts, such as Gmail or OpenAI, in n8n.

### Can I filter n8n templates by category?

Yes. Pick a category such as AI, Sales, Marketing, IT Ops or Support, add a keyword, and sort by popularity, relevancy or most recent.

## About this Actor

This example demonstrates how to use [n8n Workflow Template Scraper](https://apify.com/muhammetakkurtt/n8n-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/muhammetakkurtt/n8n-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/muhammetakkurtt/n8n-scraper.md

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`).
