Generate creative solutions with dual AI agents, randomization & Redis
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs when a chat message arrives. Along the way it connects Redis, OpenAI Chat Model and Google Gemini Chat Model.
How it runs
Trigger: When a chat message arrives.
- mersenne_twister (Code): runs custom JavaScript code
- get_random_number (Edit Fields (Set)): sets or maps fields
- Random Word Generator (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- store_idea (Redis): push
- count_ideas (Redis): incr
- get_count (Redis): get
- check_number_of_ideas (If): checks a condition and branches into true / false
- extract_ideas (Redis): pop
- get_idea (Redis): get
- set_idea (Redis): set
…plus 4 more steps. See the full node list below.
Services it uses
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 (8)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Redis
n8n-nodes-base.redis - If
n8n-nodes-base.if - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
--- 🧠 AI Brainstorm Generator - Break Through Creative Blocks Instantly Transform any problem into innovative solutions using AI-powered brainstorming that combines mathematical randomness with intelligent synthesis. What This Workflow Does This workflow…