scheduling Scenario 4 — Weekly Report Download
Written by RTILA X Engineering Team
Intermediate ~6 min
Prerequisites: scheduling/1 scheduling/2
What You'll Learn
Chain multiple schedules with dependencies
Real-World Use Case
Orchestrating complex data pipelines
LIVE DEMO
Weekly Reports
EXPECTED OUTPUT
RTILA X PROJECT JSON
{
"name": "Weekly_Report_Download",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/scheduling/4"
]
},
"datasets": {
"reports": {
"item_selector": "css=.report-item",
"properties": [
{
"name": "title",
"type": "text",
"selector": "css=.report-title"
},
{
"name": "date",
"type": "text",
"selector": "css=.report-date"
},
{
"name": "download_url",
"type": "attribute",
"selector": "css=a.report-download",
"attribute": "href"
}
]
}
},
"commands": [
{
"command": "wait_for_selector",
"params": {
"selector": "css=.report-item"
}
},
{
"command": "extract_data",
"params": {
"dataset": "reports"
}
},
{
"command": "for_each",
"params": {
"source_type": "dataset",
"dataset": "reports",
"as": "report",
"do": [
{
"command": "click",
"params": {
"selector": "css=a.report-download"
}
},
{
"command": "wait_for_download",
"params": {
"selector": "css=a.report-download"
}
}
]
}
}
]
}
Weekly report retrieval combines dataset extraction with a loop that downloads each report file. Scheduling this automation ensures reports are available on a regular basis.
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 1 RTILA X command and is referenced in 2 learning articles.
Continue Learning
Was this helpful?
Thank you for your feedback!