Skip to main content

complex-workflows Scenario 1 — Login → Dashboard → Reports → Parse → Email

Written by RTILA X Engineering Team

Beginner ~4 min

What You'll Learn

Chain multiple commands into a cohesive workflow

Real-World Use Case

Setting up a daily data pipeline

LIVE DEMO

EXPECTED OUTPUT

RTILA X PROJECT JSON

    {
  "name": "Login_Dashboard_Reports_Email",
  "settings": {
    "urls": [
      "https://learn.rtila.com/scenarios/complex-workflows/1"
    ],
    "headless": false,
    "navigation_timeout": 30000,
    "max_concurrent_workers": 1,
    "humanoidEnabled": true,
    "humanoidSensitivity": "medium"
  },
  "datasets": {
    "dashboard_stats": {
      "item_selector": "css=table.cw-stats tbody tr",
      "properties": [
        {
          "name": "label",
          "type": "text",
          "selector": "css=td:nth-child(1)"
        },
        {
          "name": "value",
          "type": "text",
          "selector": "css=td:nth-child(2)"
        }
      ]
    },
    "report_content": {
      "item_selector": "css=.cw-report-content",
      "properties": [
        {
          "name": "name",
          "type": "text",
          "selector": "css=h2"
        },
        {
          "name": "message",
          "type": "text",
          "selector": "css=p"
        }
      ]
    }
  },
  "commands": [
    {
      "command": "goto",
      "params": {
        "url": "https://learn.rtila.com/scenarios/complex-workflows/1"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=#cw-login-form"
      }
    },
    {
      "command": "fill",
      "params": {
        "selector": "css=#cw-username",
        "value": "admin@test.com"
      }
    },
    {
      "command": "fill",
      "params": {
        "selector": "css=#cw-password",
        "value": "admin123"
      }
    },
    {
      "command": "click",
      "params": {
        "selector": "css=#cw-login-btn"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=.cw-dashboard"
      }
    },
    {
      "command": "extract_data",
      "params": {
        "dataset": "dashboard_stats"
      }
    },
    {
      "command": "click",
      "params": {
        "selector": "css=a.cw-report-link:nth-child(1)"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=.cw-report-content"
      }
    },
    {
      "command": "extract_data",
      "params": {
        "dataset": "report_content"
      }
    },
    {
      "command": "comment",
      "params": {
        "text": "Email trigger would send report content after extraction"
      }
    }
  ]
}
  

This scenario chains authentication, dashboard scraping, report navigation, and content capture. The final comment marks where an email trigger would send the parsed report.

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 3 RTILA X commands and is referenced in 2 learning articles.

Continue Learning

Was this helpful?