Organise an Event using Slack, Google Calendar and AI
Needs changesWhat this workflow does
This AI workflow has 22 nodes and runs on a schedule (every 30 minutes). Along the way it connects Slack, Google Calendar, SerpApi (Google Search) and OpenAI Chat Model and 1 more.
How it runs
Trigger: On a schedule (every 30 minutes).
- Search for Invite Requests (Slack): search
- Get Invite Replies (Slack): replies (channel)
- Get Existing Invite EventID (Code): runs custom JavaScript code
- Should Create Event? (If): checks a condition and branches into true / false
- Calendar Event Booking Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (SerpAPI, Wikipedia); output parser: Structured Output Parser
- Get Old EventId (Edit Fields (Set)): sets or maps fields
- Create Event (Google Calendar): uses Google Calendar
- Get Event Details (Google Calendar): get
- Reply Invite with EventId (Slack): uses Slack
- Get Invite Reactions (Slack): get (reaction)
…plus 7 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- SerpApi (Google Search) in SerpAPI: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
- AI Agent v1 (old agent modes) in Calendar Event Booking Agent (v1.5): 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 |
|---|---|
| SerpApi (Google Search) SerpAPI | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
| AI Agent v1 (old agent modes) Calendar Event Booking Agent (v1.5) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Split Out
n8n-nodes-base.splitOut - Slack
n8n-nodes-base.slack - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Calendar
n8n-nodes-base.googleCalendar - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
This n8n workflow takes Slack conversations and turns them into Calendar events complete with accurate date and times and location information. Adding and removing attendees are also managed automatically. How it works Workflow monitors a Slack channel for…