Automated interview scheduling with GPT-4o and Google Calendar chat bot
Needs changesWhat this workflow does
This AI workflow has 22 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Google Calendar.
How it runs
Trigger: When a chat message arrives (plus 1 other trigger).
- Interview Scheduler (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (check day names, Run Get Availability); memory: Window Buffer Memory
- Check My Calendar (Google Calendar): get many
- Generate 30 Minute Timeslots (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Split Events into 30 min blocks (Code): runs custom JavaScript code
- Combine My Calendar with All Slots (Merge): merges the data from its input branches
- Convert Output to JSON (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Parse to JSON
- Add Blocked Field (Edit Fields (Set)): sets 3 fields: start, end, Blocked
- Check if Calendar Blocked (If): checks a condition and branches into true / false
- Set Meeting with Google (Google Calendar): uses Google Calendar
…plus 3 more steps. See the full node list below.
Services it uses
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 Convert Output to JSON (v1.7), Interview Scheduler (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Convert Output to JSON (v1.7), Interview Scheduler (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Calendar
n8n-nodes-base.googleCalendar - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger
From the author
✨ Overview This workflow allows candidates to schedule interviews through a conversational AI assistant. It integrates with your Google Calendar to check for existing events and generates a list of available 30-minute weekday slots between 9 AM and 5 PM…