Send flight fare alerts from PirateFly to Telegram, Slack or webhooks
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs on a schedule (every day at 07:00) (plus 1 other trigger). Along the way it connects Telegram and Slack. It also calls piratefly.com over HTTP.
How it runs
Trigger: On a schedule (every day at 07:00) (plus 1 other trigger).
- Your routes (Edit Fields (Set)): sets or maps fields
- One item per route (Code): runs custom JavaScript code
- Has Pro key? (If): checks a condition and branches into true / false
- Verdict (Pro key) (HTTP Request): calls piratefly.com
- Verdict (free tier) (HTTP Request): calls piratefly.com
- Decide what to send (Code): runs custom JavaScript code
- Route by channel (Switch): routes items into 3 branches
- Telegram: uses Telegram
- Slack: uses Slack
- Webhook (Discord, Teams…) (HTTP Request): calls an HTTP API (POST)
Services it uses
Other Telegram + Slack templates (130)
HTTP calls to: piratefly.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.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs daily to check your selected flight routes against PirateFly’s route-specific price history and sends alerts to Telegram, Slack, or a custom webhook only when today’s fare is genuinely cheap or below your max price. How it…