{
  "name": "🛠️ AI Prompt Maker",
  "nodes": [
    {
      "id": "430f2ed6-ccbe-4ccd-844b-c7458d0e87b0",
      "name": "Gemini 2.5 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -576,
        480
      ]
    },
    {
      "id": "fc337c72-6ce9-43fa-96b2-1581b54983ca",
      "name": "Prompt Request",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1184,
        48
      ]
    },
    {
      "id": "f036c843-4723-47e8-8eb0-3b5ec639e0c6",
      "name": "Generate Prompt",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -688,
        48
      ]
    },
    {
      "id": "3292f7f6-cd6a-47d8-a58a-e57d2bf61871",
      "name": "Go to Site",
      "type": "n8n-nodes-base.form",
      "position": [
        -16,
        48
      ]
    },
    {
      "id": "f0949115-9ea1-4507-963f-b75c9d5bfb7e",
      "name": "Get Prompt Webpage",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1184,
        1040
      ]
    },
    {
      "id": "294a6d6c-2312-4c3e-91b0-e1e03ab1fea0",
      "name": "Display Webpage",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -624,
        1040
      ]
    },
    {
      "id": "29733433-2142-4177-9f5f-9a05de1c5436",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2192,
        -688
      ],
      "parameters": {
        "width": 760,
        "height": 400,
        "content": "## Workflow Overview\nThis n8n workflow provides a user-friendly web interface to generate structured prompts for Large Language Models (LLMs) using Google Gemini. Users can describe their desired prom"
      }
    },
    {
      "id": "bbbb0e8a-ccc4-469e-bb54-e7f1d298071f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1376,
        -448
      ],
      "parameters": {
        "width": 500,
        "height": 640,
        "content": "### 1. Prompt Request (Form Trigger)\n*   **Purpose:** Serves as the public-facing entry point for the workflow. It presents a customizable web form to collect user requirements for the AI prompt.\n*   "
      }
    },
    {
      "id": "aa874d0f-3551-48f3-9926-ae556d2c2c73",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        -304
      ],
      "parameters": {
        "width": 620,
        "height": 500,
        "content": "### 2. Generate Prompt (LLM Chain)\n*   **Purpose:** This node acts as the orchestrator for the prompt generation. It constructs a meta-prompt based on user selections and sends it to the connected LLM"
      }
    },
    {
      "id": "d153908d-ac4c-4af1-ba29-ac468142aece",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        224
      ],
      "parameters": {
        "width": 400,
        "height": 380,
        "content": "### 3. Gemini 2.5 Flash (Google Gemini Chat)\n*   **Purpose:** This is the Large Language Model (LLM) that performs the actual prompt generation.\n*   **Configuration:**\n    *   **Model Name:** `models/"
      }
    },
    {
      "id": "88ca6809-5621-48c8-ba70-171508137a1c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -304
      ],
      "parameters": {
        "width": 480,
        "height": 500,
        "content": "### 4. Go to Site (Form)\n*   **Purpose:** After the prompt is generated, this node redirects the user's browser to a new URL where the generated prompt will be displayed.\n*   **Configuration:**\n    * "
      }
    },
    {
      "id": "0fddd040-5e20-4bb0-be61-ac4cf8772548",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1376,
        640
      ],
      "parameters": {
        "width": 520,
        "height": 560,
        "content": "### 5. Get Prompt Webpage (Webhook)\n*   **Purpose:** This webhook serves as the target for the redirect from \"Go to Site\". It receives the generated prompt as a URL query parameter.\n*   **Configuratio"
      }
    },
    {
      "id": "19ce7d51-ad08-491e-bb1a-4ad7d4348130",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -848,
        640
      ],
      "parameters": {
        "width": 600,
        "height": 560,
        "content": "### 6. Display Webpage (Respond to Webhook)\n*   **Purpose:** Renders a custom HTML page to beautifully display the generated prompt and provide a \"copy to clipboard\" functionality.\n*   **Configuration"
      }
    },
    {
      "id": "f21a289d-1665-4888-9a4c-9c59d390375c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2176,
        -256
      ],
      "parameters": {
        "width": 760,
        "height": 680,
        "content": "## Required Credentials\n*   **Google Palm API:** This workflow requires an n8n credential for the Google Palm API (which supports Gemini models) to connect to the Google Gemini service. The example cr"
      }
    },
    {
      "id": "dc720dcd-784e-4368-9b11-f2115deaf215",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2176,
        448
      ],
      "parameters": {
        "width": 760,
        "height": 500,
        "content": "## Usage\n\n1.  **Access the Prompt Maker Form:**\n    *   Once the workflow is active, navigate to the \"Prompt Request\" node.\n    *   Copy the \"Public URL\" displayed in the node's settings (e.g., `https"
      }
    },
    {
      "id": "7cd9e2ea-5e68-4b1d-a5b1-da17bb1063d8",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2176,
        960
      ],
      "parameters": {
        "width": 760,
        "height": 520,
        "content": "## Troubleshooting\n\n*   **Form Not Loading (404 Error):**\n    *   Ensure the workflow is active.\n    *   Verify the \"Public URL\" for the \"Prompt Request\" node is correct and accessible.\n    *   Check "
      }
    },
    {
      "id": "7b99bd77-64f8-444a-83d7-06f3856d88c1",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        416
      ],
      "parameters": {
        "width": 496,
        "height": 1088,
        "content": "## Was this helpful? Let me know!\n[![clic](https://supastudio.ia2s.app/storage/v1/object/public/assets/n8n/clic_down_lucas.gif)](https://workflows.ac/form)\n\nI really hope this template helped you. You"
      }
    }
  ],
  "connections": {
    "Prompt Request": {
      "main": [
        [
          {
            "node": "Generate Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Prompt": {
      "main": [
        [
          {
            "node": "Go to Site",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Prompt Webpage": {
      "main": [
        [
          {
            "node": "Display Webpage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}