Skip to main content

๐Ÿ› ๏ธ AI Prompt Maker

Workflow preview

Workflow preview
100%
๐Ÿ› ๏ธ AI Prompt Maker preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works This template provides a complete, ready to use web application for generating high quality AI prompts. It features a user friendly web form where you can describe your goal, and it le...

Best for

  • Engineering automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.formtrigger, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.form, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lucas Peyrin.

Original n8n.io source

1.1 Workflow description

Title
๐Ÿ› ๏ธ AI Prompt Maker
Workflow name
๐Ÿ› ๏ธ AI Prompt Maker

How it works

This template provides a complete, ready-to-use web application for generating high-quality AI prompts. It features a user-friendly web form where you can describe your goal, and it leverages an AI model (Google Gemini) to create a structured, reusable prompt for you.

The workflow is a full-stack application built entirely within n8n:

  1. Frontend (The Form): A Form Trigger node creates a beautiful, public-facing web form. Here, a user describes the prompt they need and selects which structural components to include (like system instructions, examples, or input variables).
  2. Backend (The AI Logic):
    • A LangChain Chain node takes the user's request and constructs a "meta-prompt"โ€”a set of instructions for the AI on how to generate the final prompt.
    • The Google Gemini node executes this meta-prompt, creating a well-structured output with clear sections and tags.
  3. The Result (The Webpage):
    • After generation, the user is automatically redirected to a new URL.
    • This URL is handled by another Webhook node, which serves a custom-coded HTML page.
    • This beautiful, dark-themed webpage displays the generated prompt and includes a one-click "Copy" button, making it easy to use the result immediately.

This template is a perfect example of how to build interactive web tools with n8n, combining a user interface, backend logic, and a dynamic web response in a single workflow.

Set up steps

Setup time: ~1-3 minutes

This workflow requires a Google AI credential to function.

  1. Configure Google AI Credentials:

    • This workflow uses a Google Gemini model. You will need a Google AI API key.
    • In n8n, go to Credentials and click Add credential.
    • Search for Google Gemini and enter your API key.
    • Go back to the workflow, open the Gemini 2.5 Flash node, and select your newly created credential from the dropdown.
  2. Activate the Workflow:

    • Click the Active toggle in the top-right corner to turn the workflow on.
  3. Access Your Prompt Maker:

    • Open the Prompt Request (Form Trigger) node.
    • Copy the Public URL provided. This is the link to your new web application!
    • Open the link in your browser, fill out the form, and see the magic happen.

Note: This workflow uses environment variables like {{ $env.WEBHOOK_URL }} to build the redirect URL. These are typically set automatically by n8n and should work out-of-the-box on most standard n8n setups.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Gemini 2.5 Flash

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 2 - Prompt Request

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 3 - Generate Prompt

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 4 - Go to Site

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 5 - Get Prompt Webpage

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 6 - Display Webpage

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow ๐Ÿ› ๏ธ AI Prompt Maker
Complexity advanced
Nodes 17
Categories Engineering, Multimodal AI
Author Lucas Peyrin
Published 25 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5289/5289.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does ๐Ÿ› ๏ธ AI Prompt Maker do?

How it works This template provides a complete, ready to use web application for generating high quality AI prompts. It features a user friendly web form where you can describe your goal, and it le...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, Multimodal AI use case.