trigger-chains Scenario 5 — Scrape Reviews → JSON → API Analysis → Save → Telegram
Written by RTILA X Engineering Team
Advanced ~10 min
Prerequisites: trigger-chains/3 trigger-chains/4
What You'll Learn
Build end-to-end notification workflows
Real-World Use Case
Sending Slack alerts after scraping
LIVE DEMO
API Analysis Pipeline
| Review |
|---|
| Excellent product |
| Works as expected |
| Poor build quality |
| Fast delivery and great support |
| Expensive for what it is |
EXPECTED OUTPUT
RTILA X PROJECT JSON
{
"name": "Scrape_Reviews_For_Analysis",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/trigger-chains/5"
]
},
"datasets": {
"reviews": {
"item_selector": "css=table.review-data tbody tr",
"properties": [
{
"name": "review",
"type": "text",
"selector": "css=td:nth-child(1)"
}
]
}
},
"commands": [
{
"command": "wait_for_selector",
"params": {
"selector": "css=table.review-data"
}
},
{
"command": "extract_data",
"params": {
"dataset": "reviews"
}
},
{
"command": "click",
"params": {
"selector": "css=#analyze-btn"
}
},
{
"command": "wait_for_selector",
"params": {
"selector": "css=.analysis-results"
}
}
]
}
Trigger Chain Configuration
- export_json — writes the scraped reviews to a JSON file.
- rest_api_call — sends the JSON to an analysis API.
- save_results — stores the analysis output locally.
- slack_webhook — notifies a Slack channel after saving.
Trigger chains are configured in the RTILA X UI, not via project JSON. The AI assistant can discuss them but cannot generate trigger chain configurations.
Review analysis pipelines commonly hand off extracted data to a REST analysis API. A trigger chain then saves the returned scores and sends a notification when the process finishes.
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!