Voice activated multi-agent demo for Vagent.io using Notion and Google Calendar
Needs changesWhat this workflow does
This AI workflow has 24 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model and HTTP Request. It also calls api.notion.com and googleapis.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Map Fields (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- Map Fields (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- Main Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (taskAgent, calendarAgent); memory: Window Buffer Memory
- Exclude Previews from Speech (Edit Fields (Set)): sets 2 fields: response.text, response.speech
- Respond to Webhook: sends the response back to the webhook caller
- Settings (Edit Fields (Set)): sets 4 fields: sessionId, chatInput, calendarID…
- Google Calendar Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Book appointment, Get calendar availability); memory: Window Buffer Memory
- Format output (Edit Fields (Set)): sets 1 field: output
- Settings (Edit Fields (Set)): sets 3 fields: sessionId, chatInput, databaseID
- Notion Task Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (HTTP Request); memory: Window Buffer Memory
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: api.notion.com, googleapis.com
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in Main Agent (v1.6), Notion Task Agent (v1.6), Google Calendar Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- HTTP Request Tool (legacy) in HTTP Request, Get calendar availability, Book appointment: replace with HTTP Request node connected to the AI Agent's Tool input.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Main Agent (v1.6), Notion Task Agent (v1.6), Google Calendar Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| HTTP Request Tool (legacy) HTTP Request, Get calendar availability, Book appointment | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (9)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - Webhook
n8n-nodes-base.webhook
From the author
Purpose Use a lightweight Voice Interface, for you and your entire organization, to interact with an AI Supervisor, a personal AI Assistant, which has access to your custom workflows. You can also connect the supervisor to your already existing Agents. Demo &…