Generate and evaluate AI prompts with Gemini, OpenRouter, Groq, Cohere and Supabase
Quick overview This workflow receives a goal via webhook, generates three prompt candidates using Google Gemini, OpenRouter, and Groq, has Cohere evaluate and select the best prompt, then returns the result to the caller and stores the goal and winning prompt in Supabase. How it works 1. Receives a POST webhook request containing a JSON body with a goal value. 2. Sends the goal to three parallel prompt-engineering agents backed by Google Gemini, OpenRouter, and Groq to generate creative, marketi
At a glance
Generate and evaluate AI prompts with Gemini, OpenRouter, Groq, Cohere and Supabase is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gemini. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Gemini
- Modules
- 14
- Price
- Free
- Version
- v1.0

About this workflow
Quick overview This workflow receives a goal via webhook, generates three prompt candidates using Google Gemini, OpenRouter, and Groq, has Cohere evaluate and select the best prompt, then returns the result to the caller and stores the goal and winning prompt in Supabase. How it works 1. Receives a POST webhook request containing a JSON body with a goal value. 2. Sends the goal to three parallel prompt-engineering agents backed by Google Gemini, OpenRouter, and Groq to generate creative, marketing, and technical prompt candidates. 3. Combines the three generated prompt candidates into a single structured payload. 4. Uses a Cohere-powered evaluator to compare the candidates and return the best prompt (and a reason) as JSON. 5. Responds to the webhook caller with the evaluator output. 6. Creates a new row in a Supabase prompts table, saving the original goal and the selected best prompt. Setup 1. Add credentials for Google Gemini (PaLM), OpenRouter, Groq, and Cohere so the agents and evaluator can run. 2. Add your Supabase API credentials and ensure a prompts table exists with fields/columns for goal and bestprompt. 3. Copy the production webhook URL and send POST requests with { "goal": "..." } from your client or source app.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 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
Extract and structure Hacker News job posts with Gemini AI and save to Airtable
Create YouTube shorts scripts from video links with Gemini AI and Telegram
Create & share AI videos with Telegram, Gemini & post to TikTok, Instagram, FB
Telegram AI assistant with Gmail, Google Calendar, Google Sheets & MCP tools
🤖🧑💻 AI agent for top n8n creators leaderboard reporting
Post AI videos to YouTube with Fal AI Veo3, Google Sheets, and YouTube API
Find valid vouchers and promo codes with SerpAPI, Decodo, and GPT-5 Mini
Reply to Outlook emails with OpenAI
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.
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.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you