Automated hotel price drop alerts with email notifications and database tracking
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs on a schedule (every 6 hours). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every 6 hours).
- Load Hotel List (Code): runs custom JavaScript code
- Fetch Current Price from API (HTTP Request): calls an HTTP API
- Parse Price Data (Code): runs custom JavaScript code
- Get Previous Price from DB (HTTP Request): calls an HTTP API
- Compare Prices (Code): runs custom JavaScript code
- Check if Price Reduced (If): checks a condition and branches into true / false
- Format Alert Email (Code): runs custom JavaScript code
- Log No Alert Needed (Code): runs custom JavaScript code
- Send Email: sends an email over SMTP
- Merge: merges the data from its input branches
…plus 3 more steps. See the full node list below.
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 - Send Email
n8n-nodes-base.emailSend - Merge
n8n-nodes-base.merge
From the author
This n8n workflow automatically tracks hotel room prices, detects price drops, and sends real-time email alerts with savings calculations. It continuously monitors multiple hotels and room types to help travelers, businesses, and agents secure the best rates.…