87 lines
2.9 KiB
JSON
87 lines
2.9 KiB
JSON
{
|
|
"id": "4e9f0faf-2ecc-4ae8-a804-28c9a75d1ddc",
|
|
"snapshot": "chrome",
|
|
"instruction": "Could you help me extract data in the table from a new invoice uploaded to my Google Drive, then export it to a Libreoffice calc .xlsx file in the desktop?",
|
|
"source": "https://marketplace.uipath.com/listings/extract-data-from-a-new-invoice-file-in-google-drive-and-store-it-in-google-sheets4473",
|
|
"config": [
|
|
{
|
|
"type": "googledrive",
|
|
"parameters": {
|
|
"settings_file": "evaluation_examples/settings/googledrive/settings.yml",
|
|
"operation": ["delete", "upload"],
|
|
"args": [
|
|
{
|
|
"query": "title = 'invoice.pdf'",
|
|
"trash": false
|
|
},
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1KAhoPFM0AU2dgn_NRt3y7CjOr9Er4vwD&export=download&authuser=0&confirm=t&uuid=e8528cd1-5106-45f3-a644-e1bbf5e08278&at=APZUnTUnTuXfV2Ted_9Wv2QomMvA:1706181110208",
|
|
"path": ["invoice.pdf"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "login",
|
|
"parameters": {
|
|
"settings_file": "evaluation_examples/settings/google/settings.json",
|
|
"platform": "googledrive"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"libreoffice_calc",
|
|
"chrome"
|
|
],
|
|
"evaluator": {
|
|
"func": "compare_table",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/invoice.xlsx",
|
|
"dest": "invoice.xlsx"
|
|
},
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1gkATnr8bk4JKQbzXZvzifoAQUA2sx5da&export=download&authuser=0&confirm=t&uuid=64ed0549-1627-49e8-8228-1e1925d6f6f7&at=APZUnTXkCm24SrOPuO5C6v4M3BiB:1706181091638",
|
|
"dest": "invoice_gold.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": "RI0",
|
|
"sheet_idx1": "EI0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |