Skip to main content

trigger-chains Scenario 1 — Scrape → CSV → S3 → Slack

Written by RTILA X Engineering Team

Beginner ~4 min

What You'll Learn

Understand trigger chain concepts

Real-World Use Case

Connecting scraping to post-processing steps

LIVE DEMO

Trigger Chain Pipeline Visualization

Extract Data
Export to CSV
Upload to S3
Send Slack Notification
ProductSKUPrice
Wireless Mouse WM-100 $24.99
USB-C Hub UC-210 $39.99
Mechanical Keyboard MK-330 $89.99
4K Monitor MO-450 $329.99
Webcam WB-560 $59.99
EXPECTED OUTPUT

RTILA X PROJECT JSON

    {
  "name": "Scrape_Product_Data",
  "settings": {
    "urls": [
      "https://learn.rtila.com/scenarios/trigger-chains/1"
    ],
    "headless": false,
    "navigation_timeout": 30000,
    "max_concurrent_workers": 1,
    "humanoidEnabled": true,
    "humanoidSensitivity": "medium"
  },
  "datasets": {
    "pipeline_data": {
      "item_selector": "css=table.pipeline-data tbody tr",
      "properties": [
        {
          "name": "product",
          "type": "text",
          "selector": "css=td:nth-child(1)"
        },
        {
          "name": "sku",
          "type": "text",
          "selector": "css=td:nth-child(2)"
        },
        {
          "name": "price",
          "type": "text",
          "selector": "css=td:nth-child(3)"
        }
      ]
    }
  },
  "commands": [
    {
      "command": "goto",
      "params": {
        "url": "https://learn.rtila.com/scenarios/trigger-chains/1"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=table.pipeline-data"
      }
    },
    {
      "command": "extract_data",
      "params": {
        "dataset": "pipeline_data"
      }
    }
  ]
}
  

Trigger Chain Configuration

  • extract_data — the scraping project above extracts product rows.
  • export_to_file — writes the dataset to a CSV file.
  • aws_s3 — uploads the CSV file to an S3 bucket.
  • slack_webhook — notifies a Slack channel after upload.

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.

Trigger chains run after a scraping project completes. They connect export, cloud upload, and notification steps without needing custom orchestrator code.

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?