Task: Data Integration

n8n workflow:
{"id":1,"name":"Data Integration","nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[-560,180],"parameters":{},"typeVersion":1},{"name":"MongoDB","type":"n8n-nodes-base.mongoDb","position":[740,360],"parameters":{"fields":"data","options":{},"operation":"insert","collection":"test"},"credentials":{"mongoDb":{"id":"1","name":"MongoDB account"}},"typeVersion":1},{"name":"API","type":"n8n-nodes-base.httpRequest","position":[-320,180],"parameters":{"url":"https://shopee.vn/api/v4/pages/get_category_tree","options":{}},"typeVersion":1},{"name":"Transform","type":"n8n-nodes-base.function","position":[340,360],"parameters":{},"typeVersion":1},{"name":"Extract Local File","type":"n8n-nodes-base.function","disabled":true,"position":[-40,520],"parameters":{},"typeVersion":1},{"name":"Extract API","type":"n8n-nodes-base.function","position":[-40,180],"parameters":{},"typeVersion":1},{"name":"Local File","type":"n8n-nodes-base.localFileTrigger","disabled":true,"position":[-560,520],"parameters":{"options":{}},"typeVersion":1}],"active":false,"settings":{},"connections":{"API":{"main":[[{"node":"Extract API","type":"main","index":0}]]},"Transform":{"main":[[{"node":"MongoDB","type":"main","index":0}]]},"Local File":{"main":[[{"node":"Extract Local File","type":"main","index":0}]]},"Extract API":{"main":[[{"node":"Transform","type":"main","index":0}]]},"Extract Local File":{"main":[[{"node":"Transform","type":"main","index":0}]]},"On clicking 'execute'":{"main":[[{"node":"API","type":"main","index":0}]]}}}