Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Alerts & Notifications

Alerts & Notifications

Send weather alerts to Hospitable guests with WeatherAPI and Data Tables

Checks the next 24 hours of forecast daily at 17:00 and messages the guest staying at the property when rain or strong wind is due.

What it does

## Weather heads-up for your Hospitable guests Sends the guest who is staying one short, friendly message when rain or strong wind is on the way, so the outdoor cushions and umbrella come inside in time. Most evenings it checks, finds nothing and stays quiet. ### How it works 1. Every day at 17:00 it reads the next 24 hours of forecast for your property from WeatherAPI.com. 2. If an hour meets your rain or gust threshold, it asks Hospitable who is staying, or arriving today. 3. It writes the message with a natural time ("tonight", "tomorrow morning") and posts it into the guest's booking conversation on Airbnb, Booking.com or Vrbo. 4. A Data Table records every send, so a guest hears from you at most once in 48 hours, and an unclear send is never repeated. 5. Anything it cannot do safely (two overlapping stays, a stay with no conversation, an unconfirmed send) comes to you by email instead. ### Setup steps 1. Create three credentials: WeatherAPI.com (Query Auth, parameter key), a Hospitable personal access token (Bearer Auth), and SMTP for the emails. Select them in Fetch Forecast, Get Stays, Send Guest Message and the two email nodes. 2. Fill in the Config node: property ID, location, time zone, your email and the sign-off. 3. Set the workflow's time zone in Workflow settings to the property's. 4. Leave MODE on DRY_RUN for a few days and read the emails, then switch it to LIVE. 5. Optional: set an error workflow in Workflow settings, so a failed run reaches you too. ### Customising Thresholds and message wording are in Config. Needs an n8n version with Data Tables.

The steps

  1. Every day at 17:00
  2. Config
  3. Fetch Forecast
  4. Decide Weather
  5. Weather Needed?
  6. Get Stays
  7. Pick Guest
  8. Ensure Weather Table
  9. Read Recent Sends
  10. Render Message
  11. Send?
  12. Notify host?
  13. Log Row?
  14. Insert Log Row

23 steps in total.

Similar automations