Templates / 🤖 AI-powered prompt enhancement assistant using Google Sheets

🤖 AI-powered prompt enhancement assistant using Google Sheets

Ready for 3.0

by EoCi - Mr.Eo ✓ · 3,038 views · created 2025-08-06 · Engineering, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs on Google Sheets events. Along the way it connects Groq Chat Model, Google Gemini Chat Model, Telegram and Google Sheets.

How it runs

Trigger: On Google Sheets events.

  1. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  2. Send Success Message To User (Telegram): uses Telegram
  3. ExecutionController (Code): runs custom JavaScript code
  4. PrepareForFirstGen - OPM (Edit Fields (Set)): sets 3 fields: chatInput, sessionId, systemMessage
  5. PromptModifer (AI Agent): runs an AI agent, with model: Qwen3 - PM, Gemini - PM; memory: ChatHistory - PM
  6. Parse AI Chat (Code): runs custom JavaScript code
  7. Switch: routes items into 3 branches
  8. Finalize ModifiedPrompt DataModel (Edit Fields (Set)): sets 9 fields: Original Prompt ID, isProcessed, Prompt Title…
  9. Send Exceed Limits Error (Telegram): uses Telegram
  10. Create/Upate Modified Prompt (Google Sheets): append or update

Services it uses

Groq Chat ModelGoogle Gemini Chat ModelTelegramGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (12)

From the author

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…

Excerpt from EoCi - Mr.Eo's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.