-
Notifications
You must be signed in to change notification settings - Fork 21
/
workflow.json
21 lines (21 loc) · 8.17 KB
/
workflow.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"extVersion": "1.5.0",
"name": "nomfoundation",
"icon": "riGlobalLine",
"table": [
{ "id": "text", "name": "text", "type": "string" },
{ "id": "url", "name": "url", "type": "string" }
],
"version": "1.5.0",
"drawflow": "{\"drawflow\":{\"Home\":{\"data\":{\"0461c4c9-04f4-42f1-a4fb-6e97c8286200\":{\"id\":\"0461c4c9-04f4-42f1-a4fb-6e97c8286200\",\"name\":\"new-window\",\"data\":{\"description\":\"\",\"top\":0,\"left\":0,\"width\":0,\"height\":0,\"incognito\":false,\"windowState\":\"normal\"},\"class\":\"new-window\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"92104cfe-3d81-4e23-8a9f-a9019db46d9f\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"b0677c73-1cfa-446b-bb1b-981bab463d0b\",\"output\":\"input_1\"}]}},\"pos_x\":1041,\"pos_y\":-44},\"0f2f3d5b-8941-4e02-867a-adb4905b0303\":{\"id\":\"0f2f3d5b-8941-4e02-867a-adb4905b0303\",\"name\":\"loop-data\",\"data\":{\"loopId\":\"Wxq-8L\",\"maxLoop\":0,\"toNumber\":135,\"fromNumber\":0,\"startIndex\":0,\"loopData\":\"[]\",\"description\":\"\",\"variableName\":\"\",\"referenceKey\":\"\",\"elementSelector\":\"\",\"resumeLastWorkflow\":false,\"loopThrough\":\"numbers\",\"specificRowAndCol\":false},\"class\":\"loop-data\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"b0677c73-1cfa-446b-bb1b-981bab463d0b\",\"input\":\"output_1\"},{\"node\":\"c9ba6bc6-a746-42e5-8d43-dd9e1f2edac5\",\"input\":\"output_2\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"f4df6d5a-e24e-4371-9f24-0dde1ebaaf50\",\"output\":\"input_1\"}]}},\"pos_x\":707,\"pos_y\":119},\"f4df6d5a-e24e-4371-9f24-0dde1ebaaf50\":{\"id\":\"f4df6d5a-e24e-4371-9f24-0dde1ebaaf50\",\"name\":\"javascript-code\",\"data\":{\"description\":\"\",\"timeout\":20000,\"code\":\"const page = automaRefData('loopData', 'Wxq-8L');\\nGotoPage(page.data)\",\"preloadScripts\":[]},\"class\":\"javascript-code\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"0f2f3d5b-8941-4e02-867a-adb4905b0303\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"c9ba6bc6-a746-42e5-8d43-dd9e1f2edac5\",\"output\":\"input_1\"}]}},\"pos_x\":953,\"pos_y\":117},\"b0677c73-1cfa-446b-bb1b-981bab463d0b\":{\"id\":\"b0677c73-1cfa-446b-bb1b-981bab463d0b\",\"name\":\"new-tab\",\"data\":{\"description\":\"\",\"url\":\"https://www.nomfoundation.org/nom-project/tale-of-kieu/tale-of-kieu-version-1871\",\"userAgent\":\"\",\"active\":true,\"inGroup\":false,\"updatePrevTab\":false,\"customUserAgent\":false},\"class\":\"new-tab\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"0461c4c9-04f4-42f1-a4fb-6e97c8286200\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"0f2f3d5b-8941-4e02-867a-adb4905b0303\",\"output\":\"input_1\",\"points\":[{\"pos_x\":1492,\"pos_y\":54},{\"pos_x\":693,\"pos_y\":54}]}]}},\"pos_x\":1328,\"pos_y\":-43},\"c9ba6bc6-a746-42e5-8d43-dd9e1f2edac5\":{\"id\":\"c9ba6bc6-a746-42e5-8d43-dd9e1f2edac5\",\"name\":\"element-exists\",\"data\":{\"findBy\":\"cssSelector\",\"selector\":\"td.hnText[align]\",\"tryCount\":1,\"timeout\":500,\"markEl\":false,\"throwError\":false},\"class\":\"element-exists\",\"html\":\"BlockElementExists\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"f4df6d5a-e24e-4371-9f24-0dde1ebaaf50\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"ee795110-8792-4138-89ce-566f327c54e5\",\"output\":\"input_1\"}]},\"output_2\":{\"connections\":[{\"node\":\"0f2f3d5b-8941-4e02-867a-adb4905b0303\",\"output\":\"input_1\",\"points\":[{\"pos_x\":1442,\"pos_y\":261},{\"pos_x\":694,\"pos_y\":260}]}]}},\"pos_x\":1246,\"pos_y\":80},\"337d3861-3723-4440-bdd5-d67bfba78293\":{\"id\":\"337d3861-3723-4440-bdd5-d67bfba78293\",\"name\":\"export-data\",\"data\":{\"name\":\"automa\",\"refKey\":\"\",\"type\":\"json\",\"description\":\"\",\"addBOMHeader\":true,\"onConflict\":\"uniquify\",\"dataToExport\":\"data-columns\"},\"class\":\"export-data\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"3065d464-9fca-426f-9d03-4445bf2b0bdb\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"de88c85c-fff2-4945-b7f6-ac6de6b54e3e\",\"output\":\"input_1\"}]}},\"pos_x\":1052,\"pos_y\":390},\"3065d464-9fca-426f-9d03-4445bf2b0bdb\":{\"id\":\"3065d464-9fca-426f-9d03-4445bf2b0bdb\",\"name\":\"loop-breakpoint\",\"data\":{\"loopId\":\"Wxq-8L\"},\"class\":\"loop-breakpoint\",\"html\":\"BlockLoopBreakpoint\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"ee795110-8792-4138-89ce-566f327c54e5\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"337d3861-3723-4440-bdd5-d67bfba78293\",\"output\":\"input_1\"}]}},\"pos_x\":708,\"pos_y\":366},\"de88c85c-fff2-4945-b7f6-ac6de6b54e3e\":{\"id\":\"de88c85c-fff2-4945-b7f6-ac6de6b54e3e\",\"name\":\"close-tab\",\"data\":{\"url\":\"\",\"description\":\"\",\"activeTab\":true,\"closeType\":\"window\",\"allWindows\":false},\"class\":\"close-tab\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"337d3861-3723-4440-bdd5-d67bfba78293\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[]}},\"pos_x\":1324,\"pos_y\":389},\"92104cfe-3d81-4e23-8a9f-a9019db46d9f\":{\"id\":\"92104cfe-3d81-4e23-8a9f-a9019db46d9f\",\"name\":\"trigger\",\"data\":{\"description\":\"\",\"type\":\"manual\",\"interval\":60,\"delay\":5,\"date\":\"\",\"time\":\"00:00\",\"url\":\"\",\"shortcut\":\"\",\"activeInInput\":false,\"isUrlRegex\":false,\"days\":[]},\"class\":\"trigger\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"0461c4c9-04f4-42f1-a4fb-6e97c8286200\",\"output\":\"input_1\"}]}},\"pos_x\":776,\"pos_y\":-44},\"ee795110-8792-4138-89ce-566f327c54e5\":{\"id\":\"ee795110-8792-4138-89ce-566f327c54e5\",\"name\":\"blocks-group\",\"data\":{\"name\":\"Get text & image URL\",\"blocks\":[{\"id\":\"get-text\",\"data\":{\"description\":\"\",\"findBy\":\"cssSelector\",\"waitForSelector\":false,\"waitSelectorTimeout\":5000,\"selector\":\"td.hnText[align]\",\"markEl\":false,\"multiple\":false,\"regex\":\"\",\"prefixText\":\"\",\"suffixText\":\"\",\"regexExp\":[\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\",\"g\"],\"dataColumn\":\"text\",\"saveData\":true,\"includeTags\":false,\"addExtraRow\":false,\"assignVariable\":false,\"variableName\":\"{{ globalData@firstname}}\",\"extraRowValue\":\"\",\"extraRowDataColumn\":\"text\"},\"itemId\":\"ojQSi\"},{\"id\":\"attribute-value\",\"data\":{\"description\":\"\",\"findBy\":\"cssSelector\",\"waitForSelector\":false,\"waitSelectorTimeout\":5000,\"selector\":\"img[border]\",\"markEl\":false,\"multiple\":false,\"attributeName\":\"src\",\"assignVariable\":false,\"variableName\":\"imageURL\",\"dataColumn\":\"url\",\"saveData\":true,\"addExtraRow\":false,\"extraRowValue\":\"\",\"extraRowDataColumn\":\"\"},\"itemId\":\"n57TZ\"}]},\"class\":\"blocks-group\",\"html\":\"BlockGroup\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"c9ba6bc6-a746-42e5-8d43-dd9e1f2edac5\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"3065d464-9fca-426f-9d03-4445bf2b0bdb\",\"output\":\"input_1\",\"points\":[{\"pos_x\":1835,\"pos_y\":316},{\"pos_x\":695,\"pos_y\":321}]}]}},\"pos_x\":1564,\"pos_y\":43}}}}}",
"settings": {
"blockDelay": 0,
"debugMode": false,
"executedBlockOnWeb": true,
"onError": "stop-workflow",
"saveLog": true
},
"globalData": "{\n \"firstname\": \"Amina\",\n \"lastname\": \"Ferry\",\n \"phone\": 2347613906692,\n \"gender\": \"female\",\n \"hobbies\": [\"cooking\", \"hiking\", \"camping\"],\n \"address\": {\n \"street\": \"540 Harris Track Suite 904\",\n \"streetName\": \"Edd Alley\",\n \"buildingNumber\": \"1135\",\n \"city\": \"North Kayleigh\",\n \"zipcode\": \"75882-2791\",\n \"country\": \"Guadeloupe\"\n }\n}",
"description": "",
"includedWorkflows": {}
}