Task: Import contacts in Sendinblue list 

n8n workflow:
{"id":"2","meta":{"instanceId":"7b4204bd4d49acdf52820bdf240299b8e41a2f4055799ec9dcffa792f9643368"},"name":"Create a Sendinblue list and add emails to the list","tags":[],"nodes":[{"id":"2e355869-fb1f-4eb6-809a-da9f5f49a39f","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[4060,3360],"parameters":{"width":474.206598796357,"height":382.3593478054927,"content":"## Sendinblue API doc\n\n**CREATE contacts**\nhttps://developers.sendinblue.com/reference/createcontact \n\nJSON request example (external ID should be empty - first name & last name don't work):\n{   \"email\": \"ezeaze@example.com\",   \"ext_id\": \"\",   \"attributes\": {     \"FNAME\": \"\",     \"LNAME\": \"\"   },   \"emailBlacklisted\": false,   \"smsBlacklisted\": false,   \"listIds\": [     18   ],   \"updateEnabled\": false,   \"smtpBlacklistSender\": [     \"user@example.com\"   ] }\n\n\n**UPDATE contacts**\nhttps://developers.sendinblue.com/reference/updatebatchcontacts"},"typeVersion":1},{"id":"d5837dff-80a3-4f38-b760-5cdc54e252d5","name":"Sticky Note5","type":"n8n-nodes-base.stickyNote","position":[2400,2620],"parameters":{"width":547.7335871806488,"height":107.1028755057253,"content":"## Create Sendinblue \"Credentials\"\nAdd the API key of your user in N8N \"Credentials\" tab. [See the doc](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.sendinblue/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.sendInBlue)\n"},"typeVersion":1},{"id":"05c46aef-306a-41b2-a0ab-badbb13b1f25","name":"Sticky Note10","type":"n8n-nodes-base.stickyNote","position":[2400,3760],"parameters":{"width":666.0743814492787,"height":110.43388438923421,"content":"## Step 3: Execute workflow and activate 🤟 \nOn execution the contact list will be imported. Then the schedule trigger will automatically update the list."},"typeVersion":1},{"id":"326bb17a-e61b-45b2-ad19-06fcdcb0c510","name":"1. Sendiblue - get folder","type":"n8n-nodes-base.httpRequest","position":[2540,2960],"parameters":{"url":"https://api.sendinblue.com/v3/contacts/folders","options":{},"sendBody":true,"authentication":"predefinedCredentialType","bodyParameters":{"parameters":[{}]},"nodeCredentialType":"sendInBlueApi"},"credentials":{"sendInBlueApi":{"id":"","name":""},"mailjetEmailApi":{"id":"","name":""}},"typeVersion":3},{"id":"1d8a4ed0-2ace-47c1-8b7a-b27f23a0c29a","name":"2. Sendinblue - create a contact list","type":"n8n-nodes-base.httpRequest","position":[2780,2960],"parameters":{"url":"https://api.sendinblue.com/v3/contacts/lists","method":"POST","options":{},"sendBody":true,"authentication":"predefinedCredentialType","bodyParameters":{"parameters":[{"name":"name","value":"=MyListName"},{"name":"folderId","value":"={{ $json.folders[0].id }}"}]},"nodeCredentialType":"sendInBlueApi"},"credentials":{"sendInBlueApi":{"id":"","name":""},"mailjetEmailApi":{"id":"","name":""}},"typeVersion":3},{"id":"279db862-34c7-4de2-aeb4-fe29c0e68d29","name":"Sticky Note6","type":"n8n-nodes-base.stickyNote","position":[2400,2760],"parameters":{"width":1594.6417925387864,"height":460.03986493862453,"content":"## Create the list\n\n**node 1** : Choose the user's Sendinblue credentials\n**node 2** : Choose the user's Sendinblue credentials + In Body parameters \"name\" > \"Value\" field, write the name of the contact list to create\nExecute the node 1 and then node 2 by clicking the play button above the nodes\nDouble click on node 2 and in the \"output\" panel (on the right),copy the \"ID\" value and **paste it in node 3.Set listID**\n\n"},"typeVersion":1},{"id":"79eb5caa-6f8e-4dd0-bdb7-0d291e8b4d3a","name":"Sticky Note7","type":"n8n-nodes-base.stickyNote","position":[2400,3240],"parameters":{"width":1594.4418478095072,"height":484.82413563110833,"content":"## Import contacts to the list\n\n**node 4:** Choose the settings you want - frequency you wish the list to be updated\n**node 5:** OFN node: replace *enterprise_id* with your shop ID and set your user's credentials\n**node 6** Choose Sendiblue credentials"},"typeVersion":1},{"id":"52fa211e-fcf9-468d-b888-b13261f5c363","name":"Merge2","type":"n8n-nodes-base.merge","position":[3340,3480],"parameters":{"mode":"combine","options":{"clashHandling":{"values":{"mergeMode":"shallowMerge","resolveClash":"preferInput2"}}},"combinationMode":"multiplex"},"typeVersion":2},{"id":"1f9e1132-53a3-4aca-a7af-13387d1a8880","name":"When clicking \"Execute Workflow\"","type":"n8n-nodes-base.manualTrigger","position":[2520,3400],"parameters":{},"typeVersion":1},{"id":"aa4ed000-7c5d-4d38-9a8d-f1d2843f8c70","name":"3. Set listID","type":"n8n-nodes-base.set","position":[3080,3380],"parameters":{"values":{"number":[{"name":"id","value":57}]},"options":{}},"typeVersion":1},{"id":"1c21fbb2-a77e-4233-a0d0-6c6753b5e7b0","name":"6. Sendinblue - Import/update contacts in list1","type":"n8n-nodes-base.httpRequest","position":[3540,3480],"parameters":{"url":"https://api.sendinblue.com/v3/contacts/","method":"POST","options":{},"jsonBody":"={{\n{\n\"email\":$json.email,\n\"ext_id\":\"\",\n\"attributes\":{\n\"FNAME\":\"\",\n\"LNAME\":\"\"},\n\"emailBlacklisted\":false,\n\"smsBlacklisted\":false,\n\"listIds\":[$json.id],\n\"updateEnabled\":true,\n\"smtpBlacklistSender\":[\"\"]\n}\n}}","sendBody":true,"specifyBody":"json","authentication":"predefinedCredentialType","nodeCredentialType":"sendInBlueApi"},"credentials":{"sendInBlueApi":{"id":"","name":""},"mailjetEmailApi":{"id":"","name":""}},"typeVersion":3},{"id":"10a38a2d-d429-4d4b-a312-fb4d79420d00","name":"4. Schedule Trigger","type":"n8n-nodes-base.scheduleTrigger","position":[2520,3560],"parameters":{"rule":{"interval":[{"field":"seconds"}]}},"typeVersion":1},{"id":"7f874a70-2bf9-4331-9481-25600d33eeda","name":"Return emails array","type":"n8n-nodes-base.code","position":[3080,3540],"parameters":{"jsCode":"const initialArray = items[0].json.data\n\nvar emails = []\n\ninitialArray.forEach(element =>{\n  emails.push({\n  \"email\": element.attributes.email\n  })\n})\n\nreturn emails\n\n "},"typeVersion":1},{"id":"f82d7d19-eeb3-497c-8e8d-1b1cc16f3e98","name":"Test function: emailList example","type":"n8n-nodes-base.function","position":[3220,3700],"parameters":{"functionCode":"var contactList = []\n\nfor(i=0;i<4;i++) {\n  contactList.push(\n    {\n      \"email\" : \"bomboclat\"+i + \"@ecomail.com\"\n    })\n}\n\nreturn contactList\n\n\n"},"typeVersion":1},{"id":"025ddd3a-418d-4396-a742-92241ff428c1","name":"5. Your data source - Get customers list","type":"n8n-nodes-base.httpRequest","position":[2800,3480],"parameters":{"url":"https://yoururl","options":{},"authentication":"genericCredentialType","genericAuthType":"httpQueryAuth","queryParametersUi":{"parameter":[{"name":"enterprise_id","value":"2780"}]}},"credentials":{"httpQueryAuth":{"id":"","name":""}},"typeVersion":2}],"active":false,"pinData":{},"settings":{},"versionId":"3d1a62b6-8003-470d-9193-ba3b0b7ce18d","connections":{"Merge2":{"main":[[{"node":"6. Sendinblue - Import/update contacts in list1","type":"main","index":0}]]},"3. Set listID":{"main":[[{"node":"Merge2","type":"main","index":0}]]},"4. Schedule Trigger":{"main":[[{"node":"5. Your data source - Get customers list","type":"main","index":0}]]},"Return emails array":{"main":[[{"node":"Merge2","type":"main","index":1}]]},"1. Sendiblue - get folder":{"main":[[{"node":"2. Sendinblue - create a contact list","type":"main","index":0}]]},"When clicking \"Execute Workflow\"":{"main":[[{"node":"5. Your data source - Get customers list","type":"main","index":0}]]},"5. Your data source - Get customers list":{"main":[[{"node":"Return emails array","type":"main","index":0}]]}}}