# n8n AI Agent Templates: Scrape AI Workflow Examples

**Use case:** 

Collect n8n AI agent templates from the n8n workflow library: the most popular AI agent workflows with name, description, nodes used, total views, price, creator and creation date, as JSON, CSV or Excel. Turn on importable workflows to also get each template's JSON.

## Input

```json
{
  "category": "AI",
  "searchQuery": "ai agent",
  "sortBy": "popularity",
  "sortDirection": "desc",
  "maxWorkflows": 100,
  "fetchImportableWorkflows": false,
  "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 "n8n AI Agent Templates: Scrape AI Workflow Examples". [Sign up or log in](https://console.apify.com/create-task-from-example/qNoq5Hjhd3dd8IeIU) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "n8n AI Agent Templates: Scrape AI Workflow Examples" task

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

### 3. Receive the "n8n AI Agent Templates: Scrape AI Workflow Examples" 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 "n8n AI Agent Templates: Scrape AI Workflow Examples" task via API](https://apify.com/muhammetakkurtt/n8n-scraper.md).

## FAQ

### Where can I find n8n AI agent templates?

Run this task: it collects AI agent workflows from n8n's template library, sorted by popularity, with name, description, nodes used, total views and creator.

### Which n8n AI agent templates are most popular?

Results are sorted by popularity with total views per template, so the top rows show the AI agent workflows the community uses most, such as AI agent chat.

### Can I get the AI agent workflows as importable JSON?

Yes. Turn on importable workflows and each template's full JSON is saved too, ready to import into n8n. See the Download n8n Workflow Templates as JSON task.

### Which AI models and tools do these templates use?

Each template lists its nodes, such as the AI Agent node with OpenAI or Google Gemini chat models, memory and tools like SerpApi, so you can find agents built on your stack.

### Are n8n AI agent templates free?

Most are free. Each result includes a price field, and paid templates also show a purchase link, so you can filter free templates in your export.

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