# Browse the n8n workflow library by category

**Use case:** 

Browse the n8n workflow library by category. Filter to Marketing, Sales, IT Ops, and more, ranked by views with name, creator, nodes, and link.

## Input

```json
{
  "mode": "search",
  "queries": [],
  "sortBy": "most_viewed",
  "categories": [
    "Marketing"
  ],
  "apps": [],
  "nodes": [],
  "usernames": [],
  "workflowIds": [],
  "includeWorkflowJson": false,
  "maxResults": 50
}
```

## Output

```json
{
  "result_type": {
    "label": "Result Type",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "totalViews": {
    "label": "Total Views",
    "format": "integer"
  },
  "recentViews": {
    "label": "Recent Views",
    "format": "integer"
  },
  "creatorUsername": {
    "label": "Creator Username",
    "format": "string"
  },
  "createdAt": {
    "label": "Created At",
    "format": "string"
  },
  "nodeCount": {
    "label": "Node Count",
    "format": "integer"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  }
}
```

## About this Actor

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