Gap-time cafe finder with OpenRouter AI, Google Calendar, Maps & Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs on a schedule (every day at 12:00). Along the way it connects Google Calendar, Google Sheets, Slack and OpenRouter Chat Model.
How it runs
Trigger: On a schedule (every day at 12:00).
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: currentLocation, googleMapsApiKey, googlePlacesApiKey…
- Get Next Calendar Event (Google Calendar): get many
- Get Travel Time (Google Maps API) (HTTP Request): calls an HTTP API
- Calculate Gap Time (Code): runs custom JavaScript code
- Check If Gap >= 30 Minutes (If): checks a condition and branches into true / false
- Get User Preferences (Google Sheets): uses Google Sheets
- Send Urgent Move Alert (Slack) (Slack): uses Slack
- Search Nearby Cafes (Google Places API) (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model
- Send Slack Notification (Slack): uses Slack
Services it uses
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Calendar
n8n-nodes-base.googleCalendar - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
Who’s it for This template is ideal for busy professionals, students, or anyone with a dynamic schedule who wants to optimize their brief periods of free time. If you frequently find yourself with unexpected gaps between meetings and wish for intelligent,…