Task: Zhichao's Work

n8n workflow JSON:
{"nodes":[{"name":"HTTP Request","type":"n8n-nodes-base.httpRequest","position":[520,300],"parameters":{"url":"https://internal.users.n8n.cloud/webhook/custom-erp","options":{"splitIntoItems":true},"authentication":"headerAuth","headerParametersUi":{"parameter":[{"name":"unique_id","value":" rect2WZ0674nYSpJt"}]}},"credentials":{"httpHeaderAuth":{"id":"1","name":"Header Auth account"}},"typeVersion":1},{"name":"Airtable","type":"n8n-nodes-base.airtable","position":[1240,200],"parameters":{"table":"tblbojLEdw4gZAidZ","options":{},"operation":"append","application":"appsTydOdr3Zl5ArX"},"credentials":{"airtableApi":{"id":"3","name":"Airtable account 2"}},"notesInFlow":true,"typeVersion":1,"alwaysOutputData":true},{"name":"IF","type":"n8n-nodes-base.if","position":[740,300],"parameters":{"conditions":{"string":[{"value1":"={{$parameter[\"conditions\"][\"string\"][0][\"value2\"]}}","value2":"processing"}]}},"typeVersion":1},{"name":"Set","type":"n8n-nodes-base.set","position":[960,200],"parameters":{"values":{"number":[{"name":"fld1EPn22NvE0QDc0","value":"={{$json[\"orderID\"]}}"}],"string":[{"name":"employeeName","value":"={{$json[\"employeeName\"]}}"}]},"options":{},"keepOnlySet":true},"typeVersion":1},{"name":"Function","type":"n8n-nodes-base.function","position":[960,340],"parameters":{"functionCode":"let totalBooked = items.length;\nlet bookedSum = 0;\n\nfor(let i=0; i < items.length; i++) {\n  bookedSum = bookedSum + items[i].json.orderPrice;\n}\nreturn [{json:{totalBooked, bookedSum}}];"},"typeVersion":1},{"name":"Discord","type":"n8n-nodes-base.discord","position":[1240,340],"parameters":{"text":"=This week we have {{$json[\"totalBooked\"]}} booked orders with a total value of {{$json[\"bookedSum\"]}}. My Unique ID: {{$node[\"HTTP Request\"].parameter[\"headerParametersUi\"][\"parameter\"][0][\"value\"]}}","options":{},"webhookUri":"=https://internal.users.n8n.cloud/webhook/course-level-1"},"typeVersion":1}],"connections":{"IF":{"main":[[{"node":"Set","type":"main","index":0}],[{"node":"Function","type":"main","index":0}]]},"Set":{"main":[[{"node":"Airtable","type":"main","index":0}]]},"Function":{"main":[[{"node":"Discord","type":"main","index":0}]]},"HTTP Request":{"main":[[{"node":"IF","type":"main","index":0}]]}}}