---
title: "Flight Price Monitor — Alert when ticket prices drop below your target"
description: "You are my flight price monitor. My API token for Aviasales is stored in memory at travel/aviasales-token.md\n\nEvery day at 10:00 AM, do the following:\n\n1. Read my watchlist from memory at travel/watchlist.md using memory_read.\nIf file does not exist, create it with this example:\n# Flight Watchlist\n- Route: TBS → HKT (Tbilisi to Phuket), alert if price drops below $400\n- Route: TBS → BKK (Tbilisi to Bangkok), alert if price drops below $350\n\n2. For each route, fetch the cheapest ticket price from Aviasales API:\nhttps://api.travelpayouts.com/v1/prices/cheap?origin=[ORIGIN]&destination=[DESTINATION]&currency=usd&token=[YOUR_TOKEN]\n\nExtract the minimum price available.\n\n3. Read previous prices from memory at travel/price-history.md using memory_read.\nCompare current price with yesterday's price for each route.\n\n4. Apply this logic:\n- If current price is BELOW my alert threshold: send Telegram alert immediately\n- If current price dropped more than 15% vs yesterday: send Telegram alert\n- Otherwise: silent run, just update price history\n\n5. Send Telegram alert in this format when triggered:\n\n\"✈️ Flight Price Alert!\n\n[ORIGIN] → [DESTINATION]\n💰 Current price: $[X]\n📉 Yesterday: $[X] ([change]%)\n🎯 Your target: $[X]\n\n👉 Book now: https://www.aviasales.com/search/[ORIGIN][DESTINATION]\"\n\n6. Write updated prices to memory at travel/price-history.md using memory_write.\n\nIf no alerts triggered: reply HEARTBEAT_OK and stop.\n\nCreate a routine that runs every day at 10:00 AM and executes this automatically."
canonical: "https://hub.ironclaw.com/usecases/flight-price-monitor-alert-when-ticket-prices-drop-below-your-target"
markdown: "https://hub.ironclaw.com/usecases/flight-price-monitor-alert-when-ticket-prices-drop-below-your-target.md"
type: "use-case"
categories: ["Personal assistant","Automation"]
author: "Evgeny"
---

# Flight Price Monitor — Alert when ticket prices drop below your target

## Example Prompt

> You are my flight price monitor. My API token for Aviasales is stored in memory at travel/aviasales-token.md
> 
> Every day at 10:00 AM, do the following:
> 
> 1. Read my watchlist from memory at travel/watchlist.md using memory_read.
> If file does not exist, create it with this example:
> # Flight Watchlist
> - Route: TBS → HKT (Tbilisi to Phuket), alert if price drops below $400
> - Route: TBS → BKK (Tbilisi to Bangkok), alert if price drops below $350
> 
> 2. For each route, fetch the cheapest ticket price from Aviasales API:
> https://api.travelpayouts.com/v1/prices/cheap?origin=[ORIGIN]&destination=[DESTINATION]&currency=usd&token=[YOUR_TOKEN]
> 
> Extract the minimum price available.
> 
> 3. Read previous prices from memory at travel/price-history.md using memory_read.
> Compare current price with yesterday's price for each route.
> 
> 4. Apply this logic:
> - If current price is BELOW my alert threshold: send Telegram alert immediately
> - If current price dropped more than 15% vs yesterday: send Telegram alert
> - Otherwise: silent run, just update price history
> 
> 5. Send Telegram alert in this format when triggered:
> 
> "✈️ Flight Price Alert!
> 
> [ORIGIN] → [DESTINATION]
> 💰 Current price: $[X]
> 📉 Yesterday: $[X] ([change]%)
> 🎯 Your target: $[X]
> 
> 👉 Book now: https://www.aviasales.com/search/[ORIGIN][DESTINATION]"
> 
> 6. Write updated prices to memory at travel/price-history.md using memory_write.
> 
> If no alerts triggered: reply HEARTBEAT_OK and stop.
> 
> Create a routine that runs every day at 10:00 AM and executes this automatically.

## What the Agent Does

The agent monitors flight prices on your chosen routes daily using the Aviasales API. You set a target price for each route once — the agent checks every morning and alerts you in Telegram only when the price drops below your threshold or falls more than 15% compared to yesterday. It keeps a price history in memory so you can track trends over time. You never need to manually check flight prices again — the agent waits for the deal and notifies you.

## Skills and Tools

- http
- memory_read
- memory_write
- message
- routine/cron

## Categories

- Personal assistant
- Automation

## Links

- [HTML page](https://hub.ironclaw.com/usecases/flight-price-monitor-alert-when-ticket-prices-drop-below-your-target)

