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
Review Analysis Pipeline
Scrape reviews, run the analysis API, and extract the scored output.
API Analysis Pipeline
| Review |
|---|
| Excellent product |
| Works as expected |
| Poor build quality |
| Fast delivery and great support |
| Expensive for what it is |
EXPECTED OUTPUT
Analysis Output
| review | score | category |
|---|---|---|
| Excellent product | 9/10 | Positive |
| Works as expected | 7/10 | Neutral |
| Poor build quality | 3/10 | Negative |
| Fast delivery and great support | 8/10 | Positive |
| Expensive for what it is | 5/10 | Neutral |
RTILA X PROJECT JSON
RTILA X Automation Project
scrape-reviews-json-api-analysis.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)"
}
]
},
"analysis_output": {
"item_selector": "css=table.analysis-output tbody tr",
"properties": [
{
"name": "review",
"type": "text",
"selector": "css=td:nth-child(1)"
},
{
"name": "score",
"type": "text",
"selector": "css=td:nth-child(2)"
},
{
"name": "category",
"type": "text",
"selector": "css=td:nth-child(3)"
}
]
}
},
"commands": [
{
"command": "extract_data",
"params": {
"dataset": "reviews"
}
},
{
"command": "click",
"params": {
"selector": "css=#analyze-btn"
}
},
{
"command": "wait_for_selector",
"params": {
"selector": "css=.analysis-results"
}
},
{
"command": "extract_data",
"params": {
"dataset": "analysis_output"
}
}
]
} 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!