remote-execution Scenario 1 — Remote API Trigger with Variables
Written by RTILA X Engineering Team
Beginner ~4 min
What You'll Learn
Trigger a workflow via the remote API
Real-World Use Case
Integrating RTILA X with external systems
LIVE DEMO
Remote Execution Trigger
Fill the variables, trigger remote execution, and extract the queued job result.
Remote Execution API
Project: Price Monitor
API Key: pm-abc-123-def
Endpoint: POST /api/remote
EXPECTED OUTPUT
Queued Job Result
{
"job_id": "job-2025-0115-001",
"product_url": "https://shop.example.com/product/101",
"current_price": "$45.00",
"alert_triggered": true
}
RTILA X PROJECT JSON
RTILA X Automation Project
price-monitor-remote-trigger.json
{
"name": "Price_Monitor_Remote_Trigger",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/remote-execution/1"
]
},
"datasets": {
"remote_output": {
"item_selector": "css=table.remote-output tbody tr",
"properties": [
{
"name": "field",
"type": "text",
"selector": "css=td:nth-child(1)"
},
{
"name": "value",
"type": "text",
"selector": "css=td:nth-child(2)"
}
]
}
},
"commands": [
{
"command": "fill",
"params": {
"selector": "css=#remote-product-url",
"value": "https://shop.example.com/product/101"
}
},
{
"command": "fill",
"params": {
"selector": "css=#remote-threshold",
"value": "50.00"
}
},
{
"command": "click",
"params": {
"selector": "css=#remote-trigger"
}
},
{
"command": "wait_for_selector",
"params": {
"selector": "css=.remote-result"
}
},
{
"command": "extract_data",
"params": {
"dataset": "remote_output"
}
},
{
"command": "comment",
"params": {
"text": "Remote execution and API keys are configured in the RTILA X UI, not in project JSON"
}
}
]
} Remote Execution cURL Command
curl -X POST 'https://learn.rtila.com/api/remote' -H "Content-Type: application/json" -d '{"api_key":"pm-abc-123-def","variables":{"product_url":"https://shop.example.com/product/101","threshold":"50.00"}}' Remote execution accepts variables over the API. The project is queued and the returned job ID can be used to poll for results.
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!