Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'messages'}) and 3 missing columns ({'input', 'output', 'instruction'}).
This happened while the json dataset builder was generating data using
hf://datasets/webman/n8nbuilder-n8n-workflows-dataset/train_openai.jsonl (at revision 910cc17893632f96ab3a57b9d332e909e641d767), [/tmp/hf-datasets-cache/medium/datasets/59164547456201-config-parquet-and-info-webman-n8nbuilder-n8n-wor-079e7111/hub/datasets--webman--n8nbuilder-n8n-workflows-dataset/snapshots/910cc17893632f96ab3a57b9d332e909e641d767/train.jsonl (origin=hf://datasets/webman/n8nbuilder-n8n-workflows-dataset@910cc17893632f96ab3a57b9d332e909e641d767/train.jsonl), /tmp/hf-datasets-cache/medium/datasets/59164547456201-config-parquet-and-info-webman-n8nbuilder-n8n-wor-079e7111/hub/datasets--webman--n8nbuilder-n8n-workflows-dataset/snapshots/910cc17893632f96ab3a57b9d332e909e641d767/train_openai.jsonl (origin=hf://datasets/webman/n8nbuilder-n8n-workflows-dataset@910cc17893632f96ab3a57b9d332e909e641d767/train_openai.jsonl)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
messages: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
to
{'instruction': Value('string'), 'input': Value('string'), 'output': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1889, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'messages'}) and 3 missing columns ({'input', 'output', 'instruction'}).
This happened while the json dataset builder was generating data using
hf://datasets/webman/n8nbuilder-n8n-workflows-dataset/train_openai.jsonl (at revision 910cc17893632f96ab3a57b9d332e909e641d767), [/tmp/hf-datasets-cache/medium/datasets/59164547456201-config-parquet-and-info-webman-n8nbuilder-n8n-wor-079e7111/hub/datasets--webman--n8nbuilder-n8n-workflows-dataset/snapshots/910cc17893632f96ab3a57b9d332e909e641d767/train.jsonl (origin=hf://datasets/webman/n8nbuilder-n8n-workflows-dataset@910cc17893632f96ab3a57b9d332e909e641d767/train.jsonl), /tmp/hf-datasets-cache/medium/datasets/59164547456201-config-parquet-and-info-webman-n8nbuilder-n8n-wor-079e7111/hub/datasets--webman--n8nbuilder-n8n-workflows-dataset/snapshots/910cc17893632f96ab3a57b9d332e909e641d767/train_openai.jsonl (origin=hf://datasets/webman/n8nbuilder-n8n-workflows-dataset@910cc17893632f96ab3a57b9d332e909e641d767/train_openai.jsonl)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
instruction string | input string | output string |
|---|---|---|
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | What this workflow does
This workflow retrieves Google Analytics data from the last 7 days and the same period in the previous year. The data is then prepared by AI as a table, analyzed and provided with a small summary.
The summary is then sent by email to a desired address and, shortened and summarized again, sent to... | {"id": "AAjX1BuwhyXpo8xP", "meta": {"instanceId": "558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a"}, "name": "Google Analytics: Weekly Report", "tags": [], "nodes": [{"id": "91ba5982-e226-4f0b-af0d-8c9a44b08279", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [-1740,... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | Generating Stripe invoices through the API can be tricky since it requires four steps to generate and send it via email to the customer.
With this workflow you can create Stripe invoices automatically and make Stripe send the invoices to the customer email.
How it works
To generate a Stripe invoice, you need to crea... | {"nodes": [{"id": "75b0894b-fc6b-4e91-afd2-0bc60d04a1a9", "name": "Create Customer", "type": "n8n-nodes-base.stripe", "position": [380, -20], "parameters": {}, "typeVersion": 1}, {"id": "ff65a11c-f5ae-4f89-a747-7e8e2f7af75f", "name": "Stripe | Invoice Items", "type": "n8n-nodes-base.httpRequest", "position": [680, -20]... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | Analyze Emails for Security Insights
Who is this for?
This workflow is ideal for security teams, IT Ops professionals, and managed service providers (MSPs) responsible for monitoring and validating email traffic. It’s especially useful for organizations that need to identify potential phishing attempts, spam, or comp... | {"meta": {"instanceId": "03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8"}, "nodes": [{"id": "363be6de-5e8d-46b2-a31f-6f7bc204c986", "name": "Trigger on New Email", "type": "n8n-nodes-base.microsoftOutlookTrigger", "disabled": true, "position": [-760, 1400], "parameters": {"output": "raw", "filters": {... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | Analyze Emails for Security Insights
Who is this for?
This workflow is ideal for IT professionals, security analysts, and organizations looking to enhance their email security practices. It is particularly useful for those who need to analyze Gmail email headers for IP tracking, spoofing detection, and sender reputat... | {"meta": {"instanceId": "03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8"}, "nodes": [{"id": "05096721-e15a-4d2a-83b3-3b31d6435c59", "name": "Gmail Trigger", "type": "n8n-nodes-base.gmailTrigger", "disabled": true, "position": [-680, -140], "parameters": {"simple": false, "filters": {}, "options": {}, ... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | What does this template help with?
Save the data of activities recorded and stored in Strava to a Google Sheets document.
How it works:
We have a Google Sheets spreadsheet where each row represents a Strava activity with the date, reference, distance, time, and elevation.
Periodically, the workflow checks the latest a... | {"nodes": [{"id": "fc128eed-1666-46b8-8feb-e6ddf05e85d1", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [380, 240], "parameters": {"rule": {"interval": [{"field": "hours", "hoursInterval": 2}]}}, "typeVersion": 1.2}, {"id": "830708eb-197b-4bf7-95da-893d78329ab2", "name": "Strava", "t... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | -- Disclaimer: This workflow uses a community node and therefore only works for self-hosted n8n users --
Transform YouTube videos into comprehensive summaries and structured analysis instantly. This n8n workflow automatically extracts, processes, and analyzes video transcripts to deliver clear, organized insights wi... | {"nodes": [{"id": "9320d08a-4868-4103-abdf-3f8f54a7a0a0", "name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [0, 0], "webhookId": "9024e29e-9080-4cf5-9a6b-0d918468f195", "parameters": {"path": "ytube", "options": {}, "httpMethod": "POST", "responseMode": "responseNode"}, "typeVersion": 2}, {"id": "a5cc892... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | > Reach out to me for any setup help/consulting.
Automate the curation and sharing of trending GitHub discussions from Hacker News to Twitter and LinkedIn. This workflow leverages AI to generate engaging posts, streamlining your social media content creation and distribution.
How it Works
Crawl Hacker News for ... | {"id": "ZeSJSbwXI593H1Qj", "meta": {"instanceId": "8e1a7e3413df437923cda0e92c098469371d84f7001856e525beaff17be8b941", "templateCredsSetupCompleted": true}, "name": "Social Media AI Agent - Telegram", "tags": [], "nodes": [{"id": "814303e0-5fe9-474e-a4ed-e4a728fd4acf", "name": "Crawl HN Home", "type": "n8n-nodes-base.ht... |
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow. | Transform simple queries into comprehensive, well-structured content with this n8n workflow that leverages Perplexity AI for research and GPT-4 for content transformation. Create professional blog posts and HTML content automatically while maintaining accuracy and depth.
Intelligent Research & Analysis
🚀 Automated R... | {"id": "HnqGW0eq5asKfZxf", "meta": {"instanceId": "03907a25f048377a8789a4332f28148522ba31ee907fababf704f1d88130b1b6", "templateCredsSetupCompleted": true}, "name": "🔍🛠️Perplexity Researcher to HTML Web Page", "tags": [], "nodes": [{"id": "ad5d96c6-941a-4ab3-b349-10bae99e5988", "name": "Sticky Note", "type": "n8n-node... |
"You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and e(...TRUNCATED) | "Video Guide\n\nI prepared a comprehensive guide detailing how to create a Smart Agent that automate(...TRUNCATED) | "{\"nodes\": [{\"id\": \"38972c5c-09f4-4120-a468-731e720914e1\", \"name\": \"AI Agent\", \"type\": \(...TRUNCATED) |
"You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and e(...TRUNCATED) | "Introduction:\n\nThis workflow template helps you determine if a Twitch user's stream is currently (...TRUNCATED) | "{\"nodes\": [{\"id\": \"fcd82fb8-4ba9-4379-96fd-4dca17a35fa3\", \"name\": \"Document\", \"type\": \(...TRUNCATED) |
n8n Workflow Templates Dataset
A curated collection of n8n workflow automation templates formatted for LLM fine-tuning in multiple formats.
Dataset Description
This dataset contains 2,737 n8n workflow templates from the official n8n template library, formatted in multiple formats for fine-tuning LLMs to generate n8n workflows.
Available Formats
Alpaca Format (
trainsplit)- Traditional instruction-input-output format
- Compatible with Axolotl and other Alpaca-based training frameworks
OpenAI Messages Format (
train_openaisplit)- Chat-based format with role-based messages
- Compatible with OpenAI fine-tuning API and similar chat-based training
Data Fields
Alpaca Format
| Field | Description |
|---|---|
| instruction | System prompt for n8n workflow generation |
| input | User's workflow requirements/description |
| output | Complete n8n workflow JSON |
OpenAI Messages Format
| Field | Description |
|---|---|
| messages | Array of message objects with role and content |
Each message object contains:
role: "user" or "assistant"content: The message content (instruction or workflow JSON)
System Prompt
All records share the same instruction:
You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and error-free n8n workflow JSONs based on the user's requirements. Always output ONLY the valid JSON workflow.
Dataset Structure
Alpaca Format Example
{
"instruction": "You are an expert n8n workflow generation assistant...",
"input": "Create a workflow that retrieves Google Analytics data...",
"output": "{"id": "...", "nodes": [...], "connections": {...}}"
}
OpenAI Messages Format Example
{
"messages": [
{
"role": "user",
"content": "You are an expert n8n workflow generation assistant...\n\nCreate a workflow that retrieves Google Analytics data..."
},
{
"role": "assistant",
"content": "{"id": "...", "nodes": [...], "connections": {...}}"
}
]
}
Loading the Dataset
Using Hugging Face Datasets
from datasets import load_dataset
# Load Alpaca format
alpaca_dataset = load_dataset("mbakgun/n8nbuilder-n8n-workflows-dataset", split="train")
# Load OpenAI format
openai_dataset = load_dataset("mbakgun/n8nbuilder-n8n-workflows-dataset", split="train_openai")
# Load both
full_dataset = load_dataset("mbakgun/n8nbuilder-n8n-workflows-dataset")
Using Hugging Face Hub
from huggingface_hub import hf_hub_download
import json
# Download Alpaca format
alpaca_file = hf_hub_download(
repo_id="mbakgun/n8nbuilder-n8n-workflows-dataset",
filename="train.jsonl",
repo_type="dataset"
)
# Download OpenAI format
openai_file = hf_hub_download(
repo_id="mbakgun/n8nbuilder-n8n-workflows-dataset",
filename="train_openai.jsonl",
repo_type="dataset"
)
Fine-tuning
With Axolotl (Alpaca Format)
datasets:
- path: mbakgun/n8nbuilder-n8n-workflows-dataset
type: alpaca
split: train
With OpenAI Fine-tuning API (OpenAI Format)
from openai import OpenAI
client = OpenAI()
# Prepare data from Hugging Face
dataset = load_dataset("mbakgun/n8nbuilder-n8n-workflows-dataset", split="train_openai")
# Convert to OpenAI format and upload
training_file = client.files.create(
file=open("training_data.jsonl", "rb"),
purpose="fine-tune"
)
With Other Frameworks
Both formats can be easily converted to other training formats as needed.
Use Cases
- Fine-tuning LLMs to generate n8n workflows from natural language
- Training models to understand workflow automation patterns
- Building AI assistants for no-code/low-code automation
- Research on code generation and workflow automation
Statistics
| Metric | Value |
|---|---|
| Total Workflows | 2,737 |
| Formats | 2 (Alpaca, OpenAI Messages) |
| Splits | train (Alpaca), train_openai (OpenAI) |
License
MIT License
Acknowledgments
This dataset is currently maintained by n8nbuilder.dev — an AI-powered n8n workflow generation tool.
Data Sources & Attribution
- Template Source: All workflow templates in this dataset are sourced from n8n's public template gallery. Template creators retain all rights to their workflows.
- Indexing: Templates were indexed using n8n-mcp by @czlonkowski.
- n8n: n8n is the workflow automation platform that powers these templates.
If you are a template creator and have concerns about your template being included, please open an issue.
Citation
If you use this dataset, please cite:
@dataset{n8nbuilder_n8n_workflows_dataset_2025,
title={n8nbuilder - n8n workflow automation templates dataset},
year={2025},
url={https://huggingface.co/datasets/mbakgun/n8nbuilder-n8n-workflows-dataset},
note={Curated by n8nbuilder.dev}
}
- Downloads last month
- 5