LINE assistant with Google Calendar and Gmail integration
Needs changesWhat this workflow does
This AI workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Wikipedia, OpenAI and Google Calendar and 1 more. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Switch: routes items into 1 branches
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 4 tools (Wikipedia, Gmail Read, Google Calendar Read, Google Calendar Create); memory: Window Buffer Memory
- Line Answering (Error Case) (HTTP Request): calls api.line.me (POST)
- OpenAI: uses OpenAI
- Error Handling from AI Response (Switch): routes items into 1 branches
- Text Cleansing (Edit Fields (Set)): sets 1 field: message.content
- Line Answering (Ordinary Case) (HTTP Request): calls api.line.me (POST)
Services it uses
HTTP calls to: api.line.me
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Gmail Tool
n8n-nodes-base.gmailTool
From the author
Who is this for? - This workflow is for small business owners, personal assistants, or project managers who rely on multiple platforms for communication and scheduling. - Ideal for users managing customer support, personal scheduling, or group event…