AutomationMart
Home/Browse/Create Dynamic Workflows Programmatically via Webhooks & n8n API
n8n

Create Dynamic Workflows Programmatically via Webhooks & n8n API

n8nn8n8 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

Overview This workflow exposes an HTTP endpoint (webhook) that accepts a JSON definition of an n8n workflow, validates it, and—if everything is correct—dynamically creates that workflow in the n8n instance via its internal API. If any validation fails or the API call encounters an error, an explanatory message with details is returned. Workflow Diagram Step-by-Step Details 1. Webhook Type: Webhook (POST) Path: /webhook/create-workflow Purpose: Expose a URL to receive a JSON definition of a wo

At a glance

Create Dynamic Workflows Programmatically via Webhooks & n8n API is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
8
Price
Free
Version
v1.0
Create Dynamic Workflows Programmatically via Webhooks & n8n API workflow diagram

About this workflow

Overview This workflow exposes an HTTP endpoint (webhook) that accepts a JSON definition of an n8n workflow, validates it, and—if everything is correct—dynamically creates that workflow in the n8n instance via its internal API. If any validation fails or the API call encounters an error, an explanatory message with details is returned. Workflow Diagram Step-by-Step Details 1. Webhook Type: Webhook (POST) Path: /webhook/create-workflow Purpose: Expose a URL to receive a JSON definition of a workflow. Expected Input: JSON containing the main workflow fields (name, nodes, connections, settings). 2. Validate JSON Type: Code Node (JavaScript) Validations Performed: Ensure that payload exists and contains both name and nodes. Verify that nodes is an array with at least one item. Check that each node includes the required fields: id, name, type, position. If missing, initialize connections, settings, parameters, and typeVersion. Output if Error: Output if Valid: 3. Validation Successful? Type: IF Node Condition: $json.success === true Branches: true: proceed to Create Workflow false: route to Validation Error 4. Create Workflow Type: HTTP Request (POST) URL: Authentication: Header Auth with internal credentials Body: The apiWorkflow object generated earlier Options: continueOnFail: true (to handle failures in the next IF) 5. API Successful? Type: IF Node Condition: $response.statusCode <= 299 Branches: true: proceed to Success Response false: route to API Error 6. Success Response Type: SET Node Output: 7. API Error Type: SET Node Output: 8. Validation Error Type: SET Node Output: Example Webhook Request Expected Success Response Validation Error Response API Error Response

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Generate recipes from ingredients with Ollama AI Chef Agent

What It Does The Chef Agent is your AI-powered kitchen companion—ready to turn leftover ingredients into meal inspiration. It's a simple, fun n8n automation that: - Accepts a list of ingredients via webhook - Uses Ollama AI to suggest 5 creative recipes or food ideas - Recommends up to 3 missing ingredients to improve the dish - Returns a fallback message if the AI is unavailable - Includes setup notes for beginners Requirements - An active n8n instance (local or hosted) - Ollama AI running loca

Free

Remote IOT sensor monitoring via MQTT and InfluxDB

Read and store IOT sensor data with the MQTT Trigger and InfluxDB tonyduffy@protonmail.com This workflow is for users wanting a practical example of how to obtain data from remote IOT systems using the MQTT protocol in an n8n environment. The template provides typical n8n node implementation and configuration settings necessary to read and store IOT data. The workflow reads the temperature and humidity data from a remote IOT system in this case a DHT22 sensor connected to a ESP32 micro controlle

Free

Export Odoo company data via API endpoint with JSON/Excel output options

How it works This workflow provides an API endpoint /api/v1/get-companies that retrieves company records directly from your Odoo database. It’s built for teams who need to query or export company data — either as structured JSON for integrations or as Excel (.xlsx) for reporting. When a request is made, the workflow: 1. Accepts query parameters (name, responseformat). 2. Validates the name input (required for company search). 3. Fetches all matching companies from Odoo using a like

Free

Send email reminder to the person 24 hours ahead of the due-date

Got a person column and a date column on a specific board? Send email reminder to the person 24 hours ahead of the due-date.

Free

Build your own Youtube MCP server

This n8n demonstrates how to build a simple Youtube MCP server to look up videos on Youtube and download their transcripts for research purposes. Youtube videos are a great source of new and updated information on a variety of cutting edge developments but they''re are not always simple to understand and lengthy videos may take too much time. Using this MCP server, you extract and feed their transcripts for your AI agents which then allows it to breakdown the content into manageble learnings and

Free

Send push notifications via Apple Safari for new RSS feed posts

Every time a new post is added to a watched RSS feed, Make will automatically send a push notification via Apple Safari.

Free

Gmail AI Auto-Responder: Create Draft Replies to incoming emails

This workflow automatically generates draft replies in Gmail. It's designed for anyone who manages a high volume of emails or often face writer's block when crafting responses. Since it doesn't send the generated message directly, you're still in charge of editing and approving emails before they go out. How It Works: - Email Trigger: activates when new emails reach the Gmail inbox - Assessment: uses OpenAI gpt-4o and a JSON parser to determine if a response is necessary. - Reply Generation: cra

Free

Let AI agents handle issues with the Jira MCP Server 💪 all 20 operations

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? Join the community Complete MCP server exposing all Jira Software Tool operations to AI agents. Zero configuration needed - all 20 operations pre-built. ⚡ Quick Setup 1. Import this workflow into your n8n instance 2. Activate the workflow to start your MCP server 3. Copy the webhook URL from the MCP trigger node 4. Connect AI agents using the MCP URL 🔧 How it Works • MCP Trigge

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free