{
  "schema_version": 1,
  "name": "Warm up a list of accounts",
  "version": 1,
  "description": "Run one light warm-up per row of a CSV of accounts: open the feed, scroll and read a few times with human pauses, and stop that account cleanly if a checkpoint appears. Point data.path at your CSV (columns: user, pass). Pacing and each profile's own persona keep it human; run each account in its own Orbe profile.",
  "vars": {
    "login_url": "https://example.com/login",
    "feed_url": "https://example.com/home",
    "submit_text": "Sign in"
  },
  "data": { "source": "csv", "path": "accounts.csv", "columns": ["user", "pass"] },
  "on_error": "screenshot_and_stop",
  "steps": [
    { "open": {} },
    { "repeat": { "for_each_row": true },
      "do": [
        { "goto": { "url": "{{login_url}}" } },
        { "wait_for": { "text": "{{submit_text}}", "timeout": 15 } },
        { "type": { "into": "Username", "text": "{{user}}" } },
        { "type": { "into": "Password", "text": "{{pass}}", "enter": true } },
        { "if": { "text_present": "Verify" },
          "then": [ { "stop": { "reason": "checkpoint on this account — stopping the run" } } ] },
        { "goto": { "url": "{{feed_url}}" } },
        { "repeat": { "times": 3 },
          "do": [ { "scroll": { "dy": 800 } }, { "wait": { "seconds": 4 } }, { "read": {} } ] }
      ] },
    { "close": {} }
  ]
}
