Smart break recommendation system using Google Calendar, weather data, and GPT-4 to Slack
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on a schedule (every 30 minutes). Along the way it connects Google Calendar, Notion, OpenAI and Slack.
How it runs
Trigger: On a schedule (every 30 minutes).
- Set Configuration (Edit Fields (Set)): sets 6 fields: currentLocation, googleMapsApiKey, googlePlacesApiKey…
- Get User Preferences from Notion (Notion): get many (database page)
- Get Next Calendar Event (Google Calendar): get many
- Get Weather at Destination (OpenWeatherMap): uses OpenWeatherMap
- Get Travel Time via Google Maps (HTTP Request): calls an HTTP API
- Calculate Available Gap Time (Code): runs custom JavaScript code
- Has Sufficient Gap Time? (If): checks a condition and branches into true / false
- Merge All Context Data (Code): runs custom JavaScript code
- Route by Weather Condition (Switch): routes items into 2 branches
- Search Indoor Spots (HTTP Request): calls an HTTP API
…plus 3 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979) · Other Google Calendar + OpenAI templates (184) · Other OpenAI + Notion templates (157)
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Calendar
n8n-nodes-base.googleCalendar - Notion
n8n-nodes-base.notion - OpenWeatherMap
n8n-nodes-base.openWeatherMap - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - OpenAI
@n8n/n8n-nodes-langchain.openAi - Slack
n8n-nodes-base.slack
From the author
Who is this for This workflow is perfect for busy professionals, consultants, and anyone who frequently travels between meetings. If you want to make the most of your free time between appointments and discover great nearby spots without manual searching,…