- Home
- Skills
- Workflow Automation
- n8n workflow generator
Works with the AI Agents you already use
n8n workflow generator
Generate, customize, and validate importable n8n workflow JSON files for business automation.
Free
n8n workflow generator
Example session with this skill installed
Create a lead generation workflow that takes a webhook, scores the lead based on company size, and saves it to Google Sheets if the score is over 50.
- Read your context and instructions
- Compiled the n8n workflow generator
I have generated a lead generation workflow. It captures incoming webhook data, applies a scoring function, filters by threshold, and routes the data to Google Sheets.
Lead Generation n8n Workflow
{
"name": "Lead Scoring and Sheets Sync",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "new-lead",
"options": {}
},
"id": "1",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"functionCode": "const score = items[0].json.company_size > 50 ? 100 : 20; \nitems[0].json.score = score; \nreturn items;"
},
"id": "2",
"name": "Lead Scorer",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [450, 300]
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$node[\"Lead Scorer\"].json[\"score\"]}}",
"operation": "larger",
"value2": 50
}
]
}
},
"id": "3",
"name": "Score Check",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [650, 300]
},
{
"parameters": {
"operation": "append",
"sheetId": "CONFIGURE_ME",
"range": "A:Z"
},
"id": "4",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 1,
"position": [850, 200],
"credentials": {
"googleSheetsOAuth2Api": {
"id": "CONFIGURE_ME",
"name": "Google Sheets account"
}
}
}
],
"connections": {
"Webhook Trigger": {
"main": [[{ "node": "Lead Scorer", "type": "main", "index": 0 }]]
},
"Lead Scorer": {
"main": [[{ "node": "Score Check", "type": "main", "index": 0 }]]
},
"Score Check": {
"main": [[{ "node": "Google Sheets", "type": "main", "index": 0 }]]
}
}
}
Next steps
- Copy the JSON above and save it as
lead_gen.json. - In n8n, go to Workflows > Import from File and select this file.
- Click on the Google Sheets node to connect your OAuth2 credentials.
Connects securely to your tools. The creator never sees your data.
About this skill
Building n8n automations manually involves fighting with JSON schemas, node connections, and credential placeholders. This skill eliminates the manual labor by generating, customizing, and validating complete, importable n8n workflow JSON files for common business processes.
What it does
- JSON Generation creates valid n8n workflow structures including nodes, connections, and positions.
- Template Adaptation modifies pre-built templates for lead gen, invoicing, and booking to fit specific needs.
- Logic Routing configures IF nodes, sentiment analysis, and data scoring filters.
- Credential Scaffolding maps required authentication fields using secure placeholders.
- Structural Validation runs integrity checks on node names and connection graphs to ensure import success.
How it works
- Requirements Gathering where you define triggers, data payloads, and business logic.
- Template Selection based on the built-in library for lead gen, CRM, or support.
- JSON Construction generating the full workflow object with proper
typeVersionandpositioncoordinates. - Validation using a Python script to verify the connection graph is sound.
Frameworks & tools
Specifically built for n8n automation platforms. Uses OpenAI for content/sentiment nodes and supports integrations like Google Sheets, Gmail, Slack, and Telegram.
Why this beats prompting it yourself
Generic LLMs often hallucinate node parameters or fail to close the connection JSON properly, leading to import errors. This skill follows specific n8n node catalogs and uses a validation script to ensure the code is production-ready.
Use cases
- Capture and score leads from webhooks before routing to a CRM.
- Automate invoice reminders based on scheduled triggers and calculations.
- Build AI-powered support triaging that routes tickets by sentiment.
- Schedule and generate social media content using OpenAI nodes.
Known limitations
Does not store or manage actual API credentials. Requires manual credential setup in the n8n UI after import.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
- Free with an Agensi account
Permissions
What's inside
Creator
Matteo “ICosi” Luca
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.