AutomationMart
Home/Browse/Ai prompt generator workflow
n8n

Ai prompt generator workflow

n8nn8n14 modulesv1.0
GmailSlackNotionLinkedInGemini

AI Prompt Generator Workflow – n8n Documentation Who is this for? This workflow is for AI builders, prompt engineers, developers, marketers, and no-code creators who want to convert rough user input into structured, high-quality prompts for LLMs. It’s especially useful for tools that rely on precision prompting and want to automate the discovery of intent and constraints. --- What problem is this workflow solving? / Use case Many users struggle to write effective prompts due t

At a glance

Ai prompt generator workflow is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Slack, Notion, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Slack, Notion, LinkedIn, Gemini
Modules
14
Price
Free
Version
v1.0
Ai prompt generator workflow workflow diagram

About this workflow

AI Prompt Generator Workflow – n8n Documentation Who is this for? This workflow is for AI builders, prompt engineers, developers, marketers, and no-code creators who want to convert rough user input into structured, high-quality prompts for LLMs. It’s especially useful for tools that rely on precision prompting and want to automate the discovery of intent and constraints. --- What problem is this workflow solving? / Use case Many users struggle to write effective prompts due to vague ideas or unclear formatting needs. This workflow: - Collects structured user input. - Dynamically generates clarifying questions. - Returns a well-formatted AI prompt based on the user's intent and context. This ensures the generated prompt is useful for downstream AI agents without requiring technical understanding from the end user. --- What this workflow does 1. Start with a branded form UI The user is shown a styled form with questions like: - What do you want to build? - What tools can you access? - What input can be expected? - What output do you expect? 2. Analyze and generate relevant follow-up questions The workflow sends the user's answers to Google Gemini (via LangChain) which outputs 1–3 clarifying questions. These questions are parsed into a dynamic form. 3. Loop through and collect follow-up answers Each follow-up question is shown in a form one at a time to capture additional context. 4. Merge all inputs The base intent and follow-up responses are merged into a single context block. 5. Generate a final AI-ready prompt The prompt generator node formats everything into a clean, six-section structure: - <constraints> - <role> - <inputs> - <tools> - <instructions> - <conclusions> 6. Display the final result The finished prompt is shown in a clean UI where users can easily copy and reuse it. --- Setup 1. Credentials Required - Google Gemini (PaLM) API credentials (already integrated as Google Gemini(PaLM) Api account 2). 2. Form Trigger - Ensure the On form submission trigger is exposed via a webhook or public endpoint (e.g. using ngrok or deployed server). 3. Styling - Custom CSS is included in all form nodes for a beautiful UI. You can modify this to match your branding. 4. Environment - This workflow is compatible with self-hosted n8n or n8n.cloud. - Webhooks must be accessible to users who will fill out the form. --- How to customize this workflow to your needs - Change the base questions Update the BaseQuestions form node to add or remove fields depending on your use case. - Modify Gemini prompts You can edit the system prompt inside PromptGenerator to change tone, output structure, or AI instructions. - Change prompt formatting If you use a different AI agent (like GPT, Claude, or Mistral), adjust the section labels and formatting to suit that agent’s expected input. - Send results elsewhere Add integration nodes after PromptGenerator, such as: - Google Docs / Notion (to log prompts) - Gmail / Slack (to notify your team) - Zapier / Make (to push to other automation flows) - Skip follow-up questions (optional) If your base form collects all needed info, you can bypass the RelevantQuestions form section by modifying conditional logic. --- Example Output Prompt (Structure) <role> You are an AI assistant that converts videos into LinkedIn posts with a witty tone. </role> <inputs> - A short video (max 5 minutes) - Desired tone: witty - Style: both summary and quotes - Audience: general network </inputs> <tools> You do not have access to APIs or web search. </tools> <instructions> 1. Parse transcript. 2. Extract insights and quotes. 3. Write an engaging, witty LinkedIn post under 3000 characters. </instructions> <constraints> Avoid technical jargon. No generic intros. Make it platform-native. </constraints> <conclusions> Return a LinkedIn-ready post that starts with a hook and ends with hashtags.

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

Automate peer review assignments with Sonar Pro AI & multi-channel deadline reminders

Introduction Automate peer review assignment and grading with AI-powered evaluation. Designed for educators managing collaborative assessments efficiently. How It Works Webhook receives assignments, distributes them, AI generates review rubrics, emails reviewers, collects responses, calculates scores, stores results, emails reports, updates dashboards, and posts analytics to Slack. Workflow Template Webhook → Store Assignment → Distribute → Generate Review Rubric → Notify Slack → Emai

Free

BrowserAct Automated Content Translator

This automation template streamlines the full process of extracting, generating, and translating technical content from any public webpage. It starts by reading URLs from Google Sheets, then uses BrowserAct to open each page and collect structured data such as titles, headings, paragraphs, and code blocks. Once the content is extracted, Gemini formats it into a polished Markdown article by reconstructing missing code snippets, organizing sections, and improving readability. A second Gemini step

Free

📁 Extract and clean PDF data from Google Drive

What This Does Automatically finds PDF file in Google Drive and extracts information. Use it to pull out clean output. It then formats the output into a clean JSON object. --- 🔄 How It Works 1. Manual Trigger starts the process. 2. 🔎Find File: "Google Drive" node finds the PDF file/files in a specified folder and downloads it/them. 3. 📝Extract Raw Text: "Extract From File" node pulls the text content from the retrieval file/files. 4. ✅Output Clean Data:

Free

Send a Slack message when a new Trint transcript is ready

Every time a new Trint transcript is ready, Make will send a message to your Slack.

Free

Creation of documentation (e.g. contract) for a new deal that meets a specified criteria on Hubspot CRM

Get a list of deals that meet a specific criteria, this example filters deals that are in the"Appointment Scheduled" stage. Multiple documentations are created from templates that already exist in Google Drive and they are modified based on the fields from records of the deal received. Those documents are converted to PDF and mailed by Gmail as attachments. The parameters of the deal are then updated, so the deal does not appear in the list of deals for which the documentation should be created.

Free

Create a Brand Strategy with Anthropic Claude and Notion

Develop a dynamic brand strategy with the help of Anthropic Calude’s AI analysis, integrated with Notion’s organizational tools. This setup enables you to map out and adjust your strategy with precision and ease.

Free

Handle Spanish-speaking vet clinic bookings with GPT-4o, Sheets, Calendar and Gmail

Overview Meet Maria, a sophisticated AI Booking Agent designed for Veterinary Clinics (but easily adaptable to any service business). This workflow transforms a simple chat interface into a full-scale administrative assistant that handles client lookups, lead generation, and scheduling without human intervention. Key Features Intelligent CRM Lookup: Automatically checks Google Sheets to see if a customer is a "New" or "Existing" client. Automated Lead Capture: If the client doesn't exist, the ag

Free

Ai fitness coach Strava data analysis and personalized training insights

Detailed Title "Triathlon Coach AI Workflow: Strava Data Analysis and Personalized Training Insights using n8n" --- Description This n8n workflow enables you to build an AI-driven virtual triathlon coach that seamlessly integrates with Strava to analyze activity data and provide athletes with actionable training insights. The workflow processes data from activities like swimming, cycling, and running, delivers personalized feedback, and sends motivational and performance improvement advice via e

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