scheduling Scenario 5 — Auction Bid Monitor with Notification
Written by RTILA X Engineering Team
Advanced ~10 min
Prerequisites: scheduling/3 scheduling/4
What You'll Learn
Monitor scheduled jobs and handle failures
Real-World Use Case
Building resilient automation systems
LIVE DEMO
Auction Bid Monitor
Record bid metrics, wait for the update, and alert on a new bid.
Vintage Watch Collection
Current Bids: 12$450.002h 34m remaining
EXPECTED OUTPUT
Auction Metrics
{
"title": "Vintage Watch Collection",
"initial_bid_count": 12,
"updated_bid_count": 13,
"initial_price": "$450.00",
"updated_price": "$475.00"
}
RTILA X PROJECT JSON
RTILA X Automation Project
auction-bid-monitor.json
{
"name": "Auction_Bid_Monitor",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/scheduling/5"
]
},
"commands": [
{
"command": "get_text",
"params": {
"selector": "css=.bid-count",
"output_variable": "initial_bids"
}
},
{
"command": "get_text",
"params": {
"selector": "css=.current-bid",
"output_variable": "initial_price"
}
},
{
"command": "wait",
"params": {
"timeout": 5000
}
},
{
"command": "get_text",
"params": {
"selector": "css=.bid-count",
"output_variable": "updated_bids"
}
},
{
"command": "get_text",
"params": {
"selector": "css=.current-bid",
"output_variable": "updated_price"
}
},
{
"command": "if",
"params": {
"condition": {
"type": "script",
"expression": "parseInt(String(document.querySelector('.bid-count').textContent).replace(/[^0-9]/g, ''), 10) > 12"
},
"then": [
{
"command": "comment",
"params": {
"text": "Send Telegram notification: new bid detected"
}
}
],
"else": [
{
"command": "comment",
"params": {
"text": "No new bids"
}
}
]
}
}
]
} Bid monitoring can be scheduled to check an auction periodically. This example records the initial bid metrics, waits five seconds, reads the updated values, and alerts if the bid count increased.
Did you complete this scenario?
Ready to run this automation?
Copy the project JSON above, open RTILA X, create a new project, and paste it.
This scenario covers 2 RTILA X commands and is referenced in 2 learning articles.
Continue Learning
Was this helpful?
Thank you for your feedback!