{
    "id": "897e3b53-5d4d-444b-85cb-2cdc8a97d903",
    "snapshot": "chrome",
    "instruction": "I have a LibreOffice Writer file form.docx on the desktop. Help me convert it to PDF format and store the PDF in the forms/ folder in my Google Drive.",
    "source": "https://marketplace.uipath.com/listings/convert-word-file-to-pdf-and-store-in-onedrive",
    "config": [
        {
            "type": "googledrive",
            "parameters": {
                "settings_file": "evaluation_examples/settings/googledrive/settings.yml",
                "operation": ["delete"],
                "args": [
                    {
                        "query": "title = 'form.pdf' or title = 'form.docx' or title = 'form.docx.pdf' or title = 'forms'",
                        "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://www.zhihu.com/",
                    "https://www.coursera.org/",
                    "https://www.deepl.com",
                    "https://www.wikidata.org/wiki/Wikidata:Main_Page"
                ]
            }
        },
        {
            "type": "login",
            "parameters": {
                "settings_file": "evaluation_examples/settings/google/settings.json",
                "platform": "googledrive"
            }
        },
        {
            "type": "download",
            "parameters": {
              "files": [
                {
                  "url": "https://drive.usercontent.google.com/download?id=18TvzE8jnULU2g9XJsT-TaPEKcLGNVfu0&export=download&authuser=0&confirm=t&uuid=d914e031-9aa6-431b-81c0-73fcb87af027&at=APZUnTUx56WM_I3gnhHo-eZX__kx:1706158167271",
                  "path": "/home/user/Desktop/form.docx"
                }
              ]
            }
          },
          {
            "type": "open",
            "parameters": {
              "path": "/home/user/Desktop/form.docx"
            }
          }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
        "libreoffice_writer",
        "chrome"
    ],
    "evaluator": {
        "func": "compare_pdfs",
        "result": {
            "type": "googledrive_file",
            "settings_file": "evaluation_examples/settings/googledrive/settings.yml",
            "query": [
                "title = 'forms' and mimeType = 'application/vnd.google-apps.folder' and trashed = false",
                "( title = 'form.pdf' or title = 'form.docx.pdf' ) and trashed = false"
            ],
            "dest": "form.pdf"
        },
        "expected": {
            "type": "cloud_file",
            "path": "https://drive.usercontent.google.com/download?id=118wb7zmG8yP7DS1cImP9-GcOeKib3fLp&export=download&authuser=0&confirm=t&uuid=b82542fa-7731-4014-8ebc-d940f0fb83fe&at=APZUnTVkmL9rk3EpA0Ak5JLPEnJZ:1706101389421",
            "dest": "form_gold.pdf"
        }
    }
}