{
  "id": "b52b40a5-ad70-4c53-b5b0-5650a8387052",
  "snapshot": "chrome",
  "instruction": "Could you help me merge all PDF files in the \"Paper Recommendation\" email attachment in Thunderbird into one file and upload it to attachment_full.pdf in Google Drive?",
  "source": "https://marketplace.uipath.com/listings/merge-pdfs-from-gmail-email-attachments-and-upload-to-gogle-drive",
  "config": [
    {
      "type": "googledrive",
      "parameters": {
        "settings_file": "evaluation_examples/settings/googledrive/settings.yml",
        "operation": [
          "delete"
        ],
        "args": [
          {
            "query": "title = 'attachment_full.pdf' and 'root' in parents",
            "trash": false
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "google-chrome",
          "--remote-debugging-port=1337"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "socat",
          "tcp-listen:9222,fork",
          "tcp:localhost:1337"
        ]
      }
    },
    {
      "type": "chrome_open_tabs",
      "parameters": {
        "urls_to_open": [
          "https://news.google.com",
          "https://x.com",
          "https://www.deepl.com"
        ]
      }
    },
    {
      "type": "login",
      "parameters": {
        "settings_file": "evaluation_examples/settings/google/settings.json",
        "platform": "googledrive"
      }
    },
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/b52b40a5-ad70-4c53-b5b0-5650a8387052/thunderbird.profile.tar.gz",
            "path": "/home/user/thunderbird-profile.tar.gz"
          }
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "tar",
          "-xz",
          "--recursive-unlink",
          "-f",
          "/home/user/thunderbird-profile.tar.gz",
          "-C",
          "/home/user/"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "/usr/bin/thunderbird"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "thunderbird",
    "chrome"
  ],
  "evaluator": {
    "func": "compare_pdfs",
    "result": {
      "type": "googledrive_file",
      "settings_file": "evaluation_examples/settings/googledrive/settings.yml",
      "query": [
        "title = 'attachment_full.pdf' and trashed = false and 'root' in parents"
      ],
      "dest": "attachment_full.pdf"
    },
    "expected": {
      "type": "cloud_file",
      "path": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/b52b40a5-ad70-4c53-b5b0-5650a8387052/attachment_full.pdf",
      "dest": "attachment_full_gold.pdf"
    }
  },
  "proxy": true,
  "fixed_ip": true,
  "possibility_of_env_change": "low"
}