Generate business strategy canvases with GPT-4o, Tavily, MongoDB and Gmail
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when a chat message arrives. Along the way it connects MongoDB Chat Memory, HTTP Request, Gmail and OpenAI Chat Model. It also calls api.tavily.com over HTTP.
How it runs
Trigger: When a chat message arrives.
- Canvas generator (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (tavily_search, tavily_research); memory: MongoDB Chat Memory
- Generate canvases (If): checks a condition and branches into true / false
- Canvas info parser (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: MongoDB Chat Memory; output parser: Structured Output Parser
- Chat: uses Chat
- Prepare Excel file from canvases (Code): runs custom JavaScript code
- Send a message (Gmail): uses Gmail
- Notify user about sent email (Chat): uses Chat
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Tavily templates (46) · Other Tavily + Gmail templates (29)
HTTP calls to: api.tavily.com
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 (10)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - MongoDB Chat Memory
@n8n/n8n-nodes-langchain.memoryMongoDbChat - Http Request Tool
n8n-nodes-base.httpRequestTool - Gmail
n8n-nodes-base.gmail - Chat
@n8n/n8n-nodes-langchain.chat - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Quick Overview This workflow runs a chat-based AI consultant that researches your market with Tavily, generates a Business Model Canvas, Lean Canvas, and/or SWOT analysis, converts the results into a multi-sheet Excel file, and emails it to you via Gmail…