Monitor Google Flights prices with Apify and send Slack alerts
UnknownWhat this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Slack and Apify (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Smart Schedule Gate (Code): runs custom JavaScript code
- Should Run Now? (If): checks a condition and branches into true / false
- Generate dates (Code): runs custom JavaScript code
- Run an Actor and get dataset (Apify): run actor and get dataset
- Extract Cheapest for This Date (Code): runs custom JavaScript code
- Collect All 18 Date Results (Aggregate): combines items into one
- Find Cheapest & Decide (Code): runs custom JavaScript code
- Below $1,400? (If): checks a condition and branches into true / false
- all dates full report (Slack): uses Slack
- price drop Alert (Slack): uses Slack
…plus 1 more step. See the full node list below.
Services it uses
Other Apify + Slack templates (140)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run an Actor and get dataset).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Slack
n8n-nodes-base.slack - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Apify
@apify/n8n-nodes-apify.apify - Aggregate
n8n-nodes-base.aggregate
From the author
How it works - Checks Google Flights prices for different departure dates for given departure and destination place using the Apify scraper - Runs every 10 minutes at night and once per hour during the day via a smart schedule gate - Aggregates all date…