Skip to main content

🤖 AI-powered prompt enhancement assistant using Google Sheets

Workflow preview

Workflow preview
100%
🤖 AI-powered prompt enhancement assistant using Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Introduction Tired of spending time crafting the perfect AI prompt? This workflow takes your sim...

Best for

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

Tools used

n8n-nodes-base.set, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatgroq, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.code, 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 EoCi - Mr.Eo.

Original n8n.io source

1.1 Workflow description

Title
🤖 AI-powered prompt enhancement assistant using Google Sheets
Workflow name
🤖 AI-powered prompt enhancement assistant using Google Sheets

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Introduction

Tired of spending time crafting the perfect AI prompt? This workflow takes your simple ideas like "write a blog post" and automatically transforms them into detailed, structured prompts that actually work.

🎯 What This Does

Automatically converts simple user prompts like "write a blog post" into structured, professional AI prompts with metadata, variables, and clear instructions. Perfect for everybody, all industries and organizations who are wanting to eliminate prompt engineering works.


🔄 How It Works

  1. Google Sheets Trigger monitors for new prompts
  2. AI Enhancement Pipeline uses Gemini + Groq to add structure & context
  3. Field Completion auto-generates missing metadata (topic, categories)
  4. Quality Assurance validates & stores complete results

🚀 Setup Requirements

  • AI APIs: Gemini, Telegram, Groq API keys
  • Google Sheets: 2 sheets (Main, ModifiedPrompt)
  • 5 minutes setup time - detailed instructions in blue sticky notes

Set up steps

Setup time: < 5 minutes

  1. Create a Google Spreadsheet with two tabs (sheets): OriginalPrompts and ModifiedPrompts.

    • OriginalPrompts columns: Original Prompt ID | Model | Original Prompt | Created Time
    • ModifiedPrompts columns (example): Modified Prompt ID | Original Prompt ID | Topic | Topic Categories | Modified Prompt | Prompt Title | Prompt Type | Model Used | Improvement Notes | Updated Time | Created Time | isProcessed
  2. Add and attach credentials in n8n:

    • Google Sheets OAuth2 (required for getting new prompt)
    • Gemini and Groq API credentials (required for AI Agent)
    • Telegram credential (required for notifications)
  3. Save & Activate the workflow. Add a test row to OriginalPrompts, for example:
    Original Prompt ID: 1Original Prompt: "Write a short blog post about AI ethics".

  4. Wait ~30–60s and check ModifiedPrompts for the enhanced output.

That’s it ! Once it configured, drop short ideas into your sheet and get professional prompts back automatically. Your prompts get better, your AI outputs improve, and you save hours of manual prompt crafting.

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 - PrepareForFirstGen - OPM

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 2 - ChatHistory - PM

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 3 - Qwen3 - PM

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

Block 4 - Gemini - PM

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

Block 5 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 6 - PromptModifer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 7 - Parse AI Chat

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

Block 8 - ExecutionController

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

Block 9 - Sticky Note

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

Block 10 - Send Success Message To User

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - Sticky Note1

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

Block 12 - Sticky Note2

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

Block 13 - Finalize ModifiedPrompt DataModel

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Send Exceed Limits Error

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Sticky Note3

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

Block 16 - Sticky Note4

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

Block 17 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 18 - Sticky Note5

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

Block 19 - GetNewPrompt

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

Block 20 - Workflow Complete

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

Block 21 - Exit By Error

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

Block 22 - Successfully Sent Message To User

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

Block 23 - Create/Upate Modified Prompt

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

3. Summary Table

Workflow 🤖 AI-powered prompt enhancement assistant using Google Sheets
Complexity advanced
Nodes 23
Categories Engineering, Multimodal AI
Author EoCi - Mr.Eo
Published 06 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7067/7067.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-powered prompt enhancement assistant using Google Sheets do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Introduction Tired of spending time crafting the perfect AI prompt? This workflow takes your sim...

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.