- Created monitor.py to replace bash script - Checks ROI Calculator API (interest form endpoint not found) - Properly parses JSON responses and tracks processed leads - Sends Telegram notifications for NEW leads only - Fixed timeout issues from bash script - State file now tracks both ROI and interest form leads - 3 test leads (IDs 5, 6, 7) detected and notifications sent
25 lines
343 B
JSON
25 lines
343 B
JSON
{
|
|
"processed_leads": [],
|
|
"processed_calc_ids": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
7,
|
|
6,
|
|
5
|
|
],
|
|
"last_check": "2026-04-08T08:30:54.751282",
|
|
"status": "active",
|
|
"notes": "Hourly monitoring enabled. Next check in 60 minutes.",
|
|
"processed_roi": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
7,
|
|
6,
|
|
5
|
|
],
|
|
"processed_interest": []
|
|
} |