Send weather alerts to Hospitable guests with WeatherAPI and Data Tables
Ready for 3.0What this workflow does
This workflow has 23 nodes and runs on a schedule (every day at 17:00). It uses only n8n's built-in nodes. It also calls api.weatherapi.com and public.api.hospitable.com over HTTP.
How it runs
Trigger: On a schedule (every day at 17:00).
- Config (Code): runs custom JavaScript code
- Fetch Forecast (HTTP Request): calls api.weatherapi.com
- Decide Weather (Code): runs custom JavaScript code
- Weather Needed? (If): checks a condition and branches into true / false
- Get Stays (HTTP Request): calls public.api.hospitable.com
- Pick Guest (Code): runs custom JavaScript code
- Ensure Weather Table (Data table): create (table)
- Read Recent Sends (Data table): get
- Render Message (Code): runs custom JavaScript code
- Send? (If): checks a condition and branches into true / false
…plus 12 more steps. See the full node list below.
HTTP calls to: api.weatherapi.com, public.api.hospitable.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow runs daily to check WeatherAPI.com for rain or strong-wind forecasts at a Hospitable property, then messages the current or arriving guest through Hospitable when needed, using an n8n Data Table to prevent repeat sends and email…