Works with the AI Agents you already use

    n8n workflow generator

    by Matteo “ICosi” Luca

    1

    Generate, customize, and validate importable n8n workflow JSON files for business automation.

    Free

    Security scanned
    n8n workflow generator

    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

    1. Copy the JSON above and save it as lead_gen.json.
    2. In n8n, go to Workflows > Import from File and select this file.
    3. 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

    1. Requirements Gathering where you define triggers, data payloads, and business logic.
    2. Template Selection based on the built-in library for lead gen, CRM, or support.
    3. JSON Construction generating the full workflow object with proper typeVersion and position coordinates.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Write Files
    Network Access
    Listed14 days ago

    What's inside

    Creator

    Matteo “ICosi” Luca

    Matteo “ICosi” Luca

    Frequently Asked Questions

    This skill generates a valid JSON file that you can directly import into your n8n instance via the 'Import from File' option. It eliminates the manual effort of dragging nodes and configuring complex JSON connections by hand.

    Yes, the skill is designed to handle multi-step logic, including IF nodes, Switch nodes, and data routing filters. It ensures that the connection graph between complex branches remains structurally sound for a successful import.

    Generic LLMs often struggle with n8n's specific node schemas and coordinate systems, leading to 'Invalid JSON' errors upon import. This skill uses a dedicated validation script to ensure every node, version, and connection adheres to n8n’s internal requirements.

    For security reasons, this skill generates placeholders for credentials rather than requesting your sensitive keys. Once you import the workflow into n8n, you simply click the node and select your existing saved credentials to activate the automation.

    The skill supports a wide range of standard n8n integrations, including Google Workspace, Slack, CRM tools, and AI nodes. It specifically uses the correct 'typeVersion' for these nodes to ensure they work with current versions of the n8n platform.

    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.

    Free