[ { "input": "Insert Excel data to Postgres", "output": "{\"nodes\":[{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[450,650],\"parameters\":{\"filePath\":\"spreadsheet.xls\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[600,650],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Insert Rows1\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[750,650],\"parameters\":{\"table\":\"product\",\"columns\":\"name,ean\"},\"credentials\":{\"postgres\":\"postgres\"},\"typeVersion\":1}],\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"Insert Rows1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Split up data into different items", "output": "{\"nodes\":[{\"name\":\"Get Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[500,300],\"parameters\":{\"url\":\"https://jsonplaceholder.typicode.com/posts?userId=1\",\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Split up\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nfor (const item of items[0].json) {\\n newItems.push({json: item});\\n}\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Send Requests\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[900,300],\"parameters\":{\"url\":\"https://postman-echo.com/get\",\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"title\",\"value\":\"={{$node[\\\"Split up\\\"].data[\\\"title\\\"]}}\"}]}},\"typeVersion\":1}],\"connections\":{\"Get Data\":{\"main\":[[{\"node\":\"Split up\",\"type\":\"main\",\"index\":0}]]},\"Split up\":{\"main\":[[{\"node\":\"Send Requests\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Using the Merge Node - Merge by Key", "output": "{\"nodes\":[{\"name\":\"Data 1\",\"type\":\"n8n-nodes-base.function\",\"position\":[602,350],\"parameters\":{\"functionCode\":\"items[0].json = {\\n\\\"data\\\": [\\n{\\n\\\"pointer\\\": \\\"12345\\\",\\n\\\"panel\\\": \\\"234234\\\",\\n\\\"subject\\\": \\\"Blah Blah\\\",\\n\\\"note\\\": \\\"\\\",\\n\\\"interviewers\\\": [\\n{\\n\\\"id\\\": \\\"111222333\\\",\\n\\\"name\\\": \\\"Bobby Johnson\\\",\\n\\\"email\\\": \\\"bobbyj@example.com\\\"\\n}\\n],\\n\\\"timezone\\\": \\\"America/Los_Angeles\\\",\\n},\\n{\\n\\\"pointer\\\": \\\"98754\\\",\\n\\\"panel\\\": \\\"3243234\\\",\\n\\\"subject\\\": \\\"Yadda Yadda\\\",\\n\\\"note\\\": \\\"\\\",\\n\\\"interviewers\\\": [\\n{\\n\\\"id\\\": \\\"444555666\\\",\\n\\\"name\\\": \\\"Billy Johnson\\\",\\n\\\"email\\\": \\\"billyj@example.com\\\"\\n}\\n],\\n\\\"timezone\\\": \\\"America/Los_Angeles\\\",\\n},\\n],\\n\\\"hasNext\\\": false\\n};\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Data 2\",\"type\":\"n8n-nodes-base.function\",\"position\":[602,550],\"parameters\":{\"functionCode\":\"items[0].json = [\\n{\\n\\\"name\\\": \\\"test\\\",\\n\\\"fields\\\": {\\n\\\"FirstName\\\": \\\"Bobby\\\",\\n\\\"LastName\\\": \\\"Johnson\\\",\\n\\\"JobTitleDescription\\\": \\\"Recruiter\\\",\\n\\\"HomeDepartmentDescription\\\": \\\"Recruiting Team\\\",\\n\\\"Photo\\\": [\\n{\\n\\\"x\\\": \\\"attPuc6gAIHUOHjsY\\\",\\n\\\"url\\\": \\\"http://urlto.com/BobbyPhoto.jpg\\\",\\n\\\"filename\\\": \\\"photo.jpg\\\",\\n\\\"size\\\": 28956,\\n\\\"type\\\": \\\"image/jpeg\\\"\\n}\\n],\\n\\\"eid\\\": \\\"111222333\\\"\\n},\\n\\\"createdTime\\\": \\\"2019-09-23T04:06:48.000Z\\\"\\n},\\n{\\n\\\"name\\\": \\\"test2\\\",\\n\\\"fields\\\": {\\n\\\"FirstName\\\": \\\"Billy\\\",\\n\\\"LastName\\\": \\\"Johnson\\\",\\n\\\"JobTitleDescription\\\": \\\"CEO\\\",\\n\\\"HomeDepartmentDescription\\\": \\\"Boss Team\\\",\\n\\\"Photo\\\": [\\n{\\n\\\"x\\\": \\\"attPuc6gAIHUOHjsY\\\",\\n\\\"url\\\": \\\"http://urlto.com/BillyPhoto.jpg\\\",\\n\\\"filename\\\": \\\"photo.jpg\\\",\\n\\\"size\\\": 28956,\\n\\\"type\\\": \\\"image/jpeg\\\"\\n}\\n],\\n\\\"eid\\\": \\\"444555666\\\"\\n},\\n\\\"createdTime\\\": \\\"2019-09-23T04:06:48.000Z\\\"\\n}\\n,\\n{\\n\\\"name\\\": \\\"test3\\\",\\n\\\"fields\\\": {\\n\\\"FirstName\\\": \\\"Susan\\\",\\n\\\"LastName\\\": \\\"Smith\\\",\\n\\\"JobTitleDescription\\\": \\\"CFO\\\",\\n\\\"HomeDepartmentDescription\\\": \\\"Boss Team\\\",\\n\\\"Photo\\\": [\\n{\\n\\\"x\\\": \\\"attPuc6gAIHUOHjsY\\\",\\n\\\"url\\\": \\\"http://urlto.com/SusanPhoto.jpg\\\",\\n\\\"filename\\\": \\\"photo.jpg\\\",\\n\\\"size\\\": 28956,\\n\\\"type\\\": \\\"image/jpeg\\\"\\n}\\n],\\n\\\"eid\\\": \\\"777888999\\\"\\n},\\n\\\"createdTime\\\": \\\"2019-09-23T04:06:48.000Z\\\"\\n}\\n];\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Convert Data 1\",\"type\":\"n8n-nodes-base.function\",\"position\":[752,350],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json.data) {\\n newItems.push({ json: item });\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Convert Data 2\",\"type\":\"n8n-nodes-base.function\",\"position\":[752,550],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json) {\\n newItems.push({ json: item });\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[990,430],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"interviewers[0].id\",\"propertyName2\":\"fields.eid\"},\"typeVersion\":1}],\"connections\":{\"Data 1\":{\"main\":[[{\"node\":\"Convert Data 1\",\"type\":\"main\",\"index\":0}]]},\"Data 2\":{\"main\":[[{\"node\":\"Convert Data 2\",\"type\":\"main\",\"index\":0}]]},\"Convert Data 1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Convert Data 2\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Manage group members in Bitwarden automatically", "output": "{\"nodes\":[{\"name\":\"Bitwarden\",\"type\":\"n8n-nodes-base.bitwarden\",\"position\":[470,320],\"parameters\":{\"name\":\"documentation\",\"resource\":\"group\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"bitwardenApi\":\"Bitwarden API Credentials\"},\"typeVersion\":1},{\"name\":\"Bitwarden1\",\"type\":\"n8n-nodes-base.bitwarden\",\"position\":[670,320],\"parameters\":{\"resource\":\"member\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"bitwardenApi\":\"Bitwarden API Credentials\"},\"typeVersion\":1},{\"name\":\"Bitwarden2\",\"type\":\"n8n-nodes-base.bitwarden\",\"position\":[870,320],\"parameters\":{\"groupId\":\"={{$node[\\\"Bitwarden\\\"].json[\\\"id\\\"]}}\",\"resource\":\"group\",\"memberIds\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"updateMembers\"},\"credentials\":{\"bitwardenApi\":\"Bitwarden API Credentials\"},\"typeVersion\":1},{\"name\":\"Bitwarden3\",\"type\":\"n8n-nodes-base.bitwarden\",\"position\":[1070,320],\"parameters\":{\"groupId\":\"={{$node[\\\"Bitwarden\\\"].json[\\\"id\\\"]}}\",\"resource\":\"group\",\"operation\":\"getMembers\"},\"credentials\":{\"bitwardenApi\":\"Bitwarden API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Bitwarden\":{\"main\":[[{\"node\":\"Bitwarden1\",\"type\":\"main\",\"index\":0}]]},\"Bitwarden1\":{\"main\":[[{\"node\":\"Bitwarden2\",\"type\":\"main\",\"index\":0}]]},\"Bitwarden2\":{\"main\":[[{\"node\":\"Bitwarden3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an SMS message with Plivo", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Plivo\",\"type\":\"n8n-nodes-base.plivo\",\"position\":[500,300],\"parameters\":{\"to\":\"+14156667778\",\"from\":\"+14156667777\",\"message\":\"Hello world!\"},\"credentials\":{\"plivoApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Plivo\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an MMS message with Plivo", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Plivo\",\"type\":\"n8n-nodes-base.plivo\",\"position\":[500,300],\"parameters\":{\"to\":\"+14156667778\",\"from\":\"+14156667777\",\"message\":\"Test MMS\",\"resource\":\"mms\",\"media_urls\":\"https://media.giphy.com/media/26gscSULUcfKU7dHq/source.gif\"},\"credentials\":{\"plivoApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Plivo\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Make a call with Plivo", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Plivo\",\"type\":\"n8n-nodes-base.plivo\",\"position\":[500,300],\"parameters\":{\"to\":\"+14156667778\",\"from\":\"+14156667777\",\"resource\":\"call\",\"answer_url\":\"https://s3.amazonaws.com/static.plivo.com/answer.xml\",\"answer_method\":\"GET\"},\"credentials\":{\"plivoApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Plivo\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily weather updates to a phone number via Plivo", "output": "{\"nodes\":[{\"name\":\"Plivo\",\"type\":\"n8n-nodes-base.plivo\",\"position\":[1030,400],\"parameters\":{\"message\":\"=Hey! The temperature outside is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C.\"},\"credentials\":{\"plivoApi\":\"Plivo API Credentials\"},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[830,400],\"parameters\":{\"cityName\":\"berlin\"},\"credentials\":{\"openWeatherMapApi\":\"owm\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[630,400],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Plivo\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Bulk SMS from Airtable with Plivo", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[450,300],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1},{\"name\":\"Plivo\",\"type\":\"n8n-nodes-base.plivo\",\"position\":[630,300],\"parameters\":{\"to\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Number\\\"]}}\",\"from\":\"+14156667777\",\"message\":\"=Hello, {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Name\\\"]}}!\\n{{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Message\\\"]}}\"},\"credentials\":{\"plivoApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Airtable\":{\"main\":[[{\"node\":\"Plivo\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create new member in Mailchimp when a request is made to a webhook URL", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[830,330],\"webhookId\":\"710978c5-f61d-4622-be46-69251ecd3812\",\"parameters\":{\"path\":\"710978c5-f61d-4622-be46-69251ecd3812\",\"options\":{},\"httpMethod\":\"POST\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Mailchimp\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[1166,328],\"parameters\":{\"list\":\"c478892a5e\",\"email\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"email\\\"]}}\",\"status\":\"subscribed\",\"options\":{},\"mergeFieldsUi\":{\"mergeFieldsValues\":[{\"name\":\"FNAME\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"firstname\\\"]}}\"}]}},\"credentials\":{\"mailchimpApi\":\"Mailchimp Credentials\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Mailchimp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send message to Telegram on new Netlify Forms submission", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"ac94132d-6bd8-4872-9e93-3457c86583cf\",\"parameters\":{\"path\":\"ac94132d-6bd8-4872-9e93-3457c86583cf\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[850,300],\"parameters\":{\"text\":\"=New form submission from Netlify!\\nSubmission created at: {{$json[\\\"created_at\\\"]}}\\nRemaining submissions: {{$json[\\\"remaining_submissions\\\"]}}\\n\\nForm: {{$json[\\\"form_name\\\"]}}\\nForm ID: {{$json[\\\"form_id\\\"]}}\\n\\n---\\nName: {{$json[\\\"name\\\"]}}\\nEmail: {{$json[\\\"email\\\"]}}\\nMessage: {{$json[\\\"message\\\"]}}\\n---\\n\\nUser agent: {{$json[\\\"user_agent\\\"]}}\\nIP: {{$json[\\\"ip\\\"]}}\\nhttps://www.whatismyip.com/ip-address-lookup/?ip={{$json[\\\"ip\\\"]}}\",\"chatId\":\"YOUR-CHAT-ID-HERE\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram API\"},\"typeVersion\":1},{\"name\":\"Prepare message\",\"type\":\"n8n-nodes-base.function\",\"position\":[650,300],\"parameters\":{\"functionCode\":\"// https://www.netlify.com/pricing/\\nconst netlify_form_submissions_per_month = 100;\\n\\nconst body = $node[\\\"Webhook\\\"].json[\\\"body\\\"];\\n\\nitems[0].json.created_at = body[\\\"created_at\\\"];\\nitems[0].json.remaining_submissions = netlify_form_submissions_per_month - parseInt(body.number, 10);\\n\\nitems[0].json.form_name = body.form_name;\\nitems[0].json.form_id = body.form_id;\\n\\nitems[0].json.name = body.data.name;\\nitems[0].json.email = body.data.email;\\nitems[0].json.message = body.data.message;\\n\\nitems[0].json.user_agent = body.data.user_agent;\\nitems[0].json.ip = body.data.ip;\\n\\nreturn items;\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Prepare message\",\"type\":\"main\",\"index\":0}]]},\"Prepare message\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Write JSON to Disk (Binary)", "output": "{\"nodes\":[{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[800,350],\"parameters\":{\"fileName\":\"test.json\"},\"typeVersion\":1},{\"name\":\"Make Binary\",\"type\":\"n8n-nodes-base.function\",\"position\":[600,350],\"parameters\":{\"functionCode\":\"items[0].binary = {\\n data: {\\n data: new Buffer(JSON.stringify(items[0].json, null, 2)).toString('base64')\\n }\\n};\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Create Example Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[390,350],\"parameters\":{\"functionCode\":\"items[0].json = {\\n \\\"text\\\": \\\"asdf\\\",\\n \\\"number\\\": 1\\n};\\nreturn items;\"},\"typeVersion\":1}],\"connections\":{\"Make Binary\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Create Example Data\":{\"main\":[[{\"node\":\"Make Binary\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Calculate total time spent in meetings every week", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"Weekly Trigger\",\"type\":\"n8n-nodes-base.cron\",\"position\":[480,840],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":18,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"name\":\"Start and end of week\",\"type\":\"n8n-nodes-base.function\",\"position\":[710,840],\"parameters\":{\"functionCode\":\"var curr = new Date;\\nvar first = (curr.getDate() - curr.getDay()) +1;\\nvar last = first + 4;\\n\\nvar firstday = new Date(curr.setDate(first));\\nvar lastday = new Date(curr.setDate(last));\\n\\nbeginning_week = new Date(firstday.setHours(0,0,0,0));\\nending_week = new Date(lastday.setHours(23,59,59,99));\\n\\nitems[0].json.from = beginning_week.toISOString();\\nitems[0].json.to = ending_week.toISOString();\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Meetings this week\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[910,840],\"parameters\":{\"options\":{\"timeMax\":\"\",\"timeMin\":\"\"},\"calendar\":\"\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Total meeting duration\",\"type\":\"n8n-nodes-base.function\",\"position\":[1110,840],\"parameters\":{\"functionCode\":\"var new_items = [];\\nvar total_meeting_time = 0;\\n\\nfor (var i=0 ; i ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1050,400],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Extract URIs Sync\",\"type\":\"n8n-nodes-base.function\",\"position\":[850,400],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Spotify Get Tracks Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[650,400],\"parameters\":{\"id\":\"\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Spotify Add Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1250,200],\"parameters\":{\"id\":\"\",\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\"},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Remove Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1250,400],\"parameters\":{\"id\":\"\",\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\",\"operation\":\"delete\"},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Get Saved Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[650,200],\"parameters\":{\"resource\":\"library\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Spotify Get Saved Tracks\",\"type\":\"main\",\"index\":0},{\"node\":\"Spotify Get Tracks Mirror\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Spotify Add Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Spotify Remove Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Sync\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Original\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Spotify Get Saved Tracks\":{\"main\":[[{\"node\":\"Extract URIs Original\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks Mirror\":{\"main\":[[{\"node\":\"Extract URIs Sync\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Product Hunt promotion with uProc", "output": "{\"id\":\"56\",\"name\":\"uproc_enrich_domains\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-220,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Head request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[0,620],\"parameters\":{\"url\":\"={{$node[\\\"Get Redirect Link\\\"].json[\\\"redirect_link\\\"]}}\",\"options\":{\"followRedirect\":false,\"ignoreResponseCode\":true},\"requestMethod\":\"HEAD\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Redirect Link?\",\"type\":\"n8n-nodes-base.if\",\"position\":[360,360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Redirect Link\\\"].json[\\\"redirect_link\\\"]}}\",\"value2\":\"http\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Get Redirect Link\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[200,360],\"parameters\":{\"functionCode\":\"var regex = /(https:\\\\/\\\\/www.producthunt.com\\\\/r\\\\/[^\\\"]+)/gi;\\nmatch = regex.exec(item.content);\\nitem.redirect_link = match && match.length > 0 ? match[0] : \\\"\\\";\\nvar regex = /(https:\\\\/\\\\/www.producthunt.com\\\\/posts\\\\/[^\\\"]+)/gi;\\nmatch = regex.exec(item.content);\\nitem.post_link = match && match.length > 0 ? match[0] : \\\"\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Prepare Website\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[160,620],\"parameters\":{\"functionCode\":\"var newItem = $node['ProductHunt RSS Read'].json;\\nnewItem.website = item.location.split(\\\"?\\\")[0];\\nreturn newItem;\"},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-220,500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":18}]}},\"typeVersion\":1},{\"name\":\"ProductHunt RSS Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[10,360],\"parameters\":{\"url\":\"https://www.producthunt.com/feed\"},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[460,620],\"parameters\":{\"tool\":\"getEmailListByDomain\",\"domain\":\"={{$node[\\\"Prepare Website\\\"].json[\\\"website\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"uProc1\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[460,790],\"parameters\":{\"url\":\"={{$node[\\\"Prepare Website\\\"].json[\\\"website\\\"]}}\",\"tool\":\"getUrlTechnologies\",\"group\":\"internet\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron1\":{\"main\":[[{\"node\":\"ProductHunt RSS Read\",\"type\":\"main\",\"index\":0}]]},\"Head request\":{\"main\":[[{\"node\":\"Prepare Website\",\"type\":\"main\",\"index\":0}]]},\"Redirect Link?\":{\"main\":[[{\"node\":\"Head request\",\"type\":\"main\",\"index\":0}]]},\"Prepare Website\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0},{\"node\":\"uProc1\",\"type\":\"main\",\"index\":0}]]},\"Get Redirect Link\":{\"main\":[[{\"node\":\"Redirect Link?\",\"type\":\"main\",\"index\":0}]]},\"ProductHunt RSS Read\":{\"main\":[[{\"node\":\"Get Redirect Link\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"ProductHunt RSS Read\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage newsletter signups in Baserow", "output": "{\"id\":\"1005\",\"name\":\"Newsletter Signup\",\"nodes\":[{\"name\":\"Create HTML Form\",\"type\":\"n8n-nodes-base.set\",\"position\":[630,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"html\",\"value\":\"\\n\\n \\n New Member Registration\\n \\n \\n \\n \\n \\n
\\n
.app.n8n.cloud/webhook/submit\\\">\\n
\\n

New Member Registration

\\n
\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n

Terms and Conditions

\\n \\n \\n
\\n \\n
\\n
\\n
\\n \\n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Create Form File\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1510,390],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"fileName\":\"form.html\",\"mimeType\":\"text/html\",\"useRawData\":true},\"sourceKey\":\"html\",\"convertAllData\":false,\"destinationKey\":\"html\"},\"typeVersion\":1},{\"name\":\"Extract Submitted Values\",\"type\":\"n8n-nodes-base.function\",\"position\":[600,390],\"parameters\":{\"functionCode\":\"function makeid(length) {\\n var result = [];\\n var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\\n var charactersLength = characters.length;\\n for ( var i = 0; i < length; i++ ) {\\n result.push(characters.charAt(Math.floor(Math.random() * \\n charactersLength)));\\n }\\n return result.join('');\\n}\\n\\nvar query = items[0].json.query;\\n\\nitems[0].json = query;\\nitems[0].json.GUID = makeid(25);\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Signup Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[420,200],\"webhookId\":\"a9aaa1e8-be11-49ab-9acd-f5ca7c652e2f\",\"parameters\":{\"path\":\"signup\",\"options\":{},\"responseData\":\"firstEntryBinary\",\"responseMode\":\"lastNode\",\"responseBinaryPropertyName\":\"html\"},\"typeVersion\":1},{\"name\":\"Submit Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[420,390],\"webhookId\":\"a9aaa1e8-be11-49ab-9acd-f5ca7c652e2f\",\"parameters\":{\"path\":\"submit\",\"options\":{},\"responseData\":\"firstEntryBinary\",\"responseMode\":\"lastNode\",\"responseBinaryPropertyName\":\"html\"},\"typeVersion\":1},{\"name\":\"Confirm Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[420,600],\"webhookId\":\"a9aaa1e8-be11-49ab-9acd-f5ca7c652e2f\",\"parameters\":{\"path\":\"confirm\",\"options\":{},\"responseData\":\"firstEntryBinary\",\"responseMode\":\"lastNode\",\"responseBinaryPropertyName\":\"html\"},\"typeVersion\":1},{\"name\":\"Get Subscribers\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[810,600],\"parameters\":{\"url\":\"https://api.baserow.io/api/database/rows/table//\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"size\",\"value\":\"1\"},{\"name\":\"search\",\"value\":\"={{$json[\\\"guid\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"Token oQmrWodc1Et8LXQainCi2SP0oYcvpz78\"}]}},\"typeVersion\":1},{\"name\":\"Add New Subscriber\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[830,390],\"parameters\":{\"url\":\"https://api.baserow.io/api/database/rows/table//\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"field_73832\",\"value\":\"={{$json[\\\"GUID\\\"]}}\"},{\"name\":\"3\",\"value\":\"={{$json[\\\"fname\\\"]}}\"},{\"name\":\"4\",\"value\":\"={{$json[\\\"lname\\\"]}}\"},{\"name\":\"5\",\"value\":\"={{$json[\\\"eaddress\\\"]}}\"},{\"name\":\"6\",\"value\":\"false\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"Token oQmrWodc1Et8LXQainCi2SP0oYcvpz78\"}]}},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1030,390],\"parameters\":{\"html\":\"=Welcome {{$json[\\\"3\\\"]}}!
\\nThank you for signing up for the newsletter. Please confirm your email address by clicking .app.n8n.cloud/webhook/confirm?guid={{$json[\\\"2\\\"]}}\\\">here.
\\nIf you cannot click on the link, then please copy and paste the following link in your web browser:
\\nhttps://.app.n8n.cloud/webhook/confirm?guid={{$json[\\\"2\\\"]}}\",\"options\":{},\"subject\":\"Newsletter Email Confirmation\",\"toEmail\":\"={{$json[\\\"5\\\"]}}\",\"fromEmail\":\"\"},\"credentials\":{\"smtp\":\"Google Mail\"},\"typeVersion\":1},{\"name\":\"Create Response Page\",\"type\":\"n8n-nodes-base.set\",\"position\":[1210,390],\"parameters\":{\"values\":{\"string\":[{\"name\":\"html\",\"value\":\"\\n\\n \\n New Member Registration\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n

Registration Submitted

\\n
\\n
\\n
\\n

Welcome Aboard!

\\n \\n
\\n
\\n \\n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Extract GUID\",\"type\":\"n8n-nodes-base.function\",\"position\":[610,600],\"parameters\":{\"functionCode\":\"var query = items[0].json.query;\\n\\nitems[0].json = query;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Create Confirmation Page\",\"type\":\"n8n-nodes-base.set\",\"position\":[1210,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"html\",\"value\":\"\\n\\n \\n Registration Submitted\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n

Registration Confirmed

\\n
\\n\\t\\t
\\n
\\n

You're In!

\\n \\n
\\n
\\n \\n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Update Subscriber\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1010,600],\"parameters\":{\"url\":\"=https://api.baserow.io/api/database/rows/table//{{$json[\\\"results\\\"][0][\\\"id\\\"]}}/\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"PATCH\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"6\",\"value\":\"true\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"Token \"}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Send Email\":{\"main\":[[{\"node\":\"Create Response Page\",\"type\":\"main\",\"index\":0}]]},\"Extract GUID\":{\"main\":[[{\"node\":\"Get Subscribers\",\"type\":\"main\",\"index\":0}]]},\"Signup Webhook\":{\"main\":[[{\"node\":\"Create HTML Form\",\"type\":\"main\",\"index\":0}]]},\"Submit Webhook\":{\"main\":[[{\"node\":\"Extract Submitted Values\",\"type\":\"main\",\"index\":0}]]},\"Confirm Webhook\":{\"main\":[[{\"node\":\"Extract GUID\",\"type\":\"main\",\"index\":0}]]},\"Get Subscribers\":{\"main\":[[{\"node\":\"Update Subscriber\",\"type\":\"main\",\"index\":0}]]},\"Create HTML Form\":{\"main\":[[{\"node\":\"Create Form File\",\"type\":\"main\",\"index\":0}]]},\"Update Subscriber\":{\"main\":[[{\"node\":\"Create Confirmation Page\",\"type\":\"main\",\"index\":0}]]},\"Add New Subscriber\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Create Response Page\":{\"main\":[[{\"node\":\"Create Form File\",\"type\":\"main\",\"index\":0}]]},\"Create Confirmation Page\":{\"main\":[[{\"node\":\"Create Form File\",\"type\":\"main\",\"index\":0}]]},\"Extract Submitted Values\":{\"main\":[[{\"node\":\"Add New Subscriber\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all the slides from a presentation and get thumbnails of pages", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Slides\",\"type\":\"n8n-nodes-base.googleSlides\",\"position\":[470,280],\"parameters\":{\"operation\":\"getSlides\",\"returnAll\":true,\"authentication\":\"oAuth2\",\"presentationId\":\"11myCBTn3IT-Iww01WMz43L7HUmQdL6cCR6NCtpsZer0\"},\"credentials\":{\"googleSlidesOAuth2Api\":\"Google Slides Credentials\"},\"typeVersion\":1},{\"name\":\"Google Slides1\",\"type\":\"n8n-nodes-base.googleSlides\",\"position\":[670,280],\"parameters\":{\"download\":true,\"resource\":\"page\",\"operation\":\"getThumbnail\",\"pageObjectId\":\"={{$json[\\\"objectId\\\"]}}\",\"authentication\":\"oAuth2\",\"presentationId\":\"={{$node[\\\"Google Slides\\\"].parameter[\\\"presentationId\\\"]}}\"},\"credentials\":{\"googleSlidesOAuth2Api\":\"Google Slides Credentials\"},\"typeVersion\":1}],\"connections\":{\"Google Slides\":{\"main\":[[{\"node\":\"Google Slides1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Slides\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get activity summary from Oura and store in Airtable", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[440,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyWeek\",\"weekday\":\"0\"}]}},\"typeVersion\":1},{\"name\":\"Oura\",\"type\":\"n8n-nodes-base.oura\",\"position\":[650,320],\"parameters\":{\"filters\":{},\"operation\":\"getActivity\",\"returnAll\":true},\"credentials\":{\"ouraApi\":\"Oura API Credentials@Tom\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Day\",\"value\":\"={{$json[\\\"summary_date\\\"]}}\"},{\"name\":\"Steps\",\"value\":\"={{$json[\\\"steps\\\"]}}\"},{\"name\":\"Activity Score\",\"value\":\"={{$json[\\\"score\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1050,320],\"parameters\":{\"table\":\"Table 1\",\"options\":{\"typecast\":false},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Oura\",\"type\":\"main\",\"index\":0}]]},\"Oura\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message on Mattermost when you get a reply in Emelia", "output": "{\"nodes\":[{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[650,200],\"parameters\":{\"message\":\"={{$json[\\\"contact\\\"][\\\"firstName\\\"]}} from {{$json[\\\"contact\\\"][\\\"company\\\"]}} has replied back to your campaign.\",\"channelId\":\"qx9yo1i9z3bg5qcy5a1oxnh69c\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Emelia Trigger\",\"type\":\"n8n-nodes-base.emeliaTrigger\",\"position\":[450,200],\"webhookId\":\"f53bc370-a8cb-4748-8f81-be7ae9b94972\",\"parameters\":{\"events\":[\"replied\"],\"campaignId\":\"6054d068b374b64365740101\"},\"credentials\":{\"emeliaApi\":\"Emelia API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Emelia Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Search Trello for different items", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,160],\"parameters\":{\"url\":\"https://api.trello.com/1/search\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"key\",\"value\":\"your key\"},{\"name\":\"token\",\"value\":\"your token\"},{\"name\":\"query\",\"value\":\"manager\"}]}},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Create, update, and get an object from Bubble", "output": "{\"nodes\":[{\"name\":\"Bubble\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[450,280],\"parameters\":{\"typeName\":\"Doc\",\"operation\":\"create\",\"properties\":{\"property\":[{\"key\":\"Name\",\"value\":\"Bubble\"}]}},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1},{\"name\":\"Bubble1\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[650,280],\"parameters\":{\"objectId\":\"={{$json[\\\"id\\\"]}}\",\"typeName\":\"={{$node[\\\"Bubble\\\"].parameter[\\\"typeName\\\"]}}\",\"operation\":\"update\",\"properties\":{\"property\":[{\"key\":\"Name\",\"value\":\"Bubble node\"}]}},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1},{\"name\":\"Bubble2\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[850,280],\"parameters\":{\"objectId\":\"={{$node[\\\"Bubble\\\"].json[\\\"id\\\"]}}\",\"typeName\":\"={{$node[\\\"Bubble\\\"].parameter[\\\"typeName\\\"]}}\"},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Bubble\":{\"main\":[[{\"node\":\"Bubble1\",\"type\":\"main\",\"index\":0}]]},\"Bubble1\":{\"main\":[[{\"node\":\"Bubble2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "ETL pipeline for text processing", "output": "{\"id\":\"6\",\"name\":\"ETL pipeline\",\"nodes\":[{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[300,300],\"parameters\":{\"limit\":3,\"operation\":\"search\",\"searchText\":\"=#OnThisDay\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter_api\"},\"typeVersion\":1},{\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[1100,300],\"parameters\":{\"table\":\"tweets\",\"columns\":\"text, score, magnitude\",\"returnFields\":\"=*\"},\"credentials\":{\"postgres\":\"postgres\"},\"typeVersion\":1},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[500,300],\"parameters\":{\"fields\":\"text\",\"options\":{},\"operation\":\"insert\",\"collection\":\"tweets\"},\"credentials\":{\"mongoDb\":\"mongodb\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1500,200],\"parameters\":{\"text\":\"=🐦 NEW TWEET with sentiment score {{$json[\\\"score\\\"]}} and magnitude {{$json[\\\"magnitude\\\"]}} ⬇️\\n{{$json[\\\"text\\\"]}}\",\"channel\":\"tweets\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"slack\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1300,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"score\\\"]}}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Cloud Natural Language\",\"type\":\"n8n-nodes-base.googleCloudNaturalLanguage\",\"position\":[700,300],\"parameters\":{\"content\":\"={{$node[\\\"MongoDB\\\"].json[\\\"text\\\"]}}\",\"options\":{}},\"credentials\":{\"googleCloudNaturalLanguageOAuth2Api\":\"google_nlp\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[900,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"score\",\"value\":\"={{$json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\"},{\"name\":\"magnitude\",\"value\":\"={{$json[\\\"documentSentiment\\\"][\\\"magnitude\\\"]}}\"}],\"string\":[{\"name\":\"text\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"text\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[100,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[{\"node\":\"Google Cloud Natural Language\",\"type\":\"main\",\"index\":0}]]},\"Twitter\":{\"main\":[[{\"node\":\"MongoDB\",\"type\":\"main\",\"index\":0}]]},\"Postgres\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Google Cloud Natural Language\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send location updates of the ISS every minute to a queue in AWS SQS", "output": "{\"nodes\":[{\"name\":\"AWS SQS\",\"type\":\"n8n-nodes-base.awsSqs\",\"position\":[1050,360],\"parameters\":{\"queue\":\"\",\"options\":{}},\"credentials\":{\"aws\":\"AWS SQS Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,360],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"Longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"Timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,360],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,360],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"AWS SQS\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get an item from Webflow", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Webflow\",\"type\":\"n8n-nodes-base.webflow\",\"position\":[450,200],\"parameters\":{\"siteId\":\"601788abebf7aa35c1b038a1\",\"fieldsUi\":{\"fieldValues\":[{\"fieldId\":\"name\",\"fieldValue\":\"n8n\"},{\"fieldId\":\"slug\",\"fieldValue\":\"n8n\"},{\"fieldId\":\"_archived\",\"fieldValue\":\"false\"},{\"fieldId\":\"_draft\",\"fieldValue\":\"false\"}]},\"operation\":\"create\",\"collectionId\":\"601788ab33a62ac6a2a0284c\"},\"credentials\":{\"webflowApi\":\"Webflow Credentials\"},\"typeVersion\":1},{\"name\":\"Webflow2\",\"type\":\"n8n-nodes-base.webflow\",\"position\":[650,200],\"parameters\":{\"itemId\":\"={{$json[\\\"_id\\\"]}}\",\"siteId\":\"601788abebf7aa35c1b038a1\",\"fieldsUi\":{\"fieldValues\":[{\"fieldId\":\"name\",\"fieldValue\":\"={{$json[\\\"name\\\"]}}\"},{\"fieldId\":\"slug\",\"fieldValue\":\"={{$json[\\\"slug\\\"]}}\"},{\"fieldId\":\"_archived\",\"fieldValue\":\"={{$json[\\\"_archived\\\"]}}\"},{\"fieldId\":\"_draft\",\"fieldValue\":\"={{$json[\\\"_draft\\\"]}}\"},{\"fieldId\":\"avatar\",\"fieldValue\":\"https://n8n.io/n8n-logo.png\"}]},\"operation\":\"update\",\"collectionId\":\"601788ab33a62ac6a2a0284c\"},\"credentials\":{\"webflowApi\":\"Webflow Credentials\"},\"typeVersion\":1},{\"name\":\"Webflow1\",\"type\":\"n8n-nodes-base.webflow\",\"position\":[850,200],\"parameters\":{\"itemId\":\"={{$json[\\\"_id\\\"]}}\",\"siteId\":\"601788abebf7aa35c1b038a1\",\"collectionId\":\"601788ab33a62ac6a2a0284c\"},\"credentials\":{\"webflowApi\":\"Webflow Credentials\"},\"typeVersion\":1}],\"connections\":{\"Webflow\":{\"main\":[[{\"node\":\"Webflow2\",\"type\":\"main\",\"index\":0}]]},\"Webflow2\":{\"main\":[[{\"node\":\"Webflow1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Webflow\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send location updates of the ISS every minute to a table in Google BigQuery", "output": "{\"nodes\":[{\"name\":\"Google BigQuery\",\"type\":\"n8n-nodes-base.googleBigQuery\",\"position\":[1010,240],\"parameters\":{\"columns\":\"name, latitude, longitude, timestamp\",\"options\":{},\"tableId\":\"position\",\"datasetId\":\"iss\",\"projectId\":\"supple-cabinet-289219\"},\"credentials\":{\"googleBigQueryOAuth2Api\":\"BigQuery Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[810,240],\"parameters\":{\"values\":{\"number\":[{\"name\":\"latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}],\"string\":[{\"name\":\"name\",\"value\":\"={{$json[\\\"0\\\"][\\\"name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[610,240],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[410,240],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google BigQuery\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "UNIX Timestamp Node", "output": "{\"nodes\":[{\"name\":\"Now\",\"type\":\"n8n-nodes-base.set\",\"position\":[670,510],\"parameters\":{\"values\":{\"number\":[{\"name\":\"timestamp\",\"value\":\"={{Math.round(new Date().getTime() / 1000)}}\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Example workflow for live stream", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,310],\"parameters\":{\"functionCode\":\"console.log('Execution is working!');\\nreturn [\\n {json: {name: 'Omar', age: 34, city: 'Berlin'}}\\n];\"},\"typeVersion\":1},{\"name\":\"Interval\",\"type\":\"n8n-nodes-base.interval\",\"position\":[250,150],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[250,470],\"webhookId\":\"fa8a79cc-0c86-4c8a-91d8-31fd697e448c\",\"parameters\":{\"path\":\"fa8a79cc-0c86-4c8a-91d8-31fd697e448c\",\"options\":{},\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Interval\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Git backup of workflows and credentials", "output": "{\"id\":\"15\",\"name\":\"Tools / Backup Gitlab\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Export Workflows\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[450,300],\"parameters\":{\"command\":\"npx n8n export:workflow --backup --output repo/workflows/\"},\"typeVersion\":1},{\"name\":\"Export Credentials\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[600,300],\"parameters\":{\"command\":\"npx n8n export:credentials --backup --output repo/credentials/\"},\"typeVersion\":1},{\"name\":\"git add\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[750,300],\"parameters\":{\"command\":\"git -C repo add .\"},\"typeVersion\":1},{\"name\":\"git commit\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[900,300],\"parameters\":{\"command\":\"=git -C repo commit -m \\\"Auto backup ({{ new Date().toISOString() }})\\\"\"},\"typeVersion\":1},{\"name\":\"git push\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[1050,300],\"parameters\":{\"command\":\"git -C repo push\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,200],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":0},{\"hour\":12},{\"hour\":6},{\"hour\":18}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Export Workflows\",\"type\":\"main\",\"index\":0}]]},\"git add\":{\"main\":[[{\"node\":\"git commit\",\"type\":\"main\",\"index\":0}]]},\"git commit\":{\"main\":[[{\"node\":\"git push\",\"type\":\"main\",\"index\":0}]]},\"Export Workflows\":{\"main\":[[{\"node\":\"Export Credentials\",\"type\":\"main\",\"index\":0}]]},\"Export Credentials\":{\"main\":[[{\"node\":\"git add\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Export Workflows\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Validate emails in a table using Mailcheck", "output": "{\"nodes\":[{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[470,200],\"parameters\":{\"table\":\"Table 1\",\"operation\":\"list\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1},{\"name\":\"Mailcheck\",\"type\":\"n8n-nodes-base.mailcheck\",\"position\":[670,200],\"parameters\":{\"email\":\"={{$json[\\\"fields\\\"][\\\"Email\\\"]}}\"},\"credentials\":{\"mailcheckApi\":\"Mailcheck API Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[870,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ID\",\"value\":\"={{$node[\\\"Airtable\\\"].json[\\\"id\\\"]}}\"}],\"boolean\":[{\"name\":\"Valid\",\"value\":\"={{$json[\\\"mxExists\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1070,200],\"parameters\":{\"id\":\"={{$json[\\\"ID\\\"]}}\",\"table\":\"=Table 1\",\"fields\":[\"Valid\"],\"options\":{},\"operation\":\"update\",\"application\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"application\\\"]}}\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Mailcheck\",\"type\":\"main\",\"index\":0}]]},\"Mailcheck\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send message on Mattermost when your n8n instance starts", "output": "{\"nodes\":[{\"name\":\"n8n Trigger\",\"type\":\"n8n-nodes-base.n8nTrigger\",\"position\":[450,200],\"parameters\":{\"events\":[\"init\"]},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[650,200],\"parameters\":{\"message\":\"=Your n8n instance started at {{$json[\\\"timestamp\\\"]}}\",\"channelId\":\"toyi3uoycf8rirtm7d5jm15sso\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1}],\"connections\":{\"n8n Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message on Mattermost when a workflow is updated", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[490,460],\"webhookId\":\"c0345765-4488-4ac8-a9da-02f647dd2b90\",\"parameters\":{\"path\":\"c0345765-4488-4ac8-a9da-02f647dd2b90\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[690,460],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Message\",\"value\":\"Hello!\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[690,610],\"parameters\":{\"message\":\"=The workflow {{$workflow.name}}, was updated.\",\"channelId\":\"toyi3uoycf8rirtm7d5jm15sso\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Workflow Trigger\",\"type\":\"n8n-nodes-base.workflowTrigger\",\"position\":[490,610],\"parameters\":{\"events\":[\"update\"]},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Workflow Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workforce working estimate updated", "output": "{\"nodes\":[{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[260,410],\"webhookId\":\"887a6b2b-dfc3-48b5-86e3-fc414613baee\",\"parameters\":{\"owner\":\"n8n-io\",\"events\":[\"*\"],\"repository\":\"n8n-docs\"},\"credentials\":{\"githubApi\":\"github_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Spotify Individual Liked Songs Mirror", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[460,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1140,400],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1136,602],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Extract URIs Sync\",\"type\":\"n8n-nodes-base.function\",\"position\":[940,600],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Spotify Get Tracks Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[736,602],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"SpotifyAPI\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Spotify Add Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1330,400],\"parameters\":{\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Remove Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1340,600],\"parameters\":{\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\",\"operation\":\"delete\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Get Saved Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[740,400],\"parameters\":{\"resource\":\"library\",\"returnAll\":true},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Get URI - Filter liked albums\",\"type\":\"n8n-nodes-base.function\",\"position\":[950,400],\"parameters\":{\"functionCode\":\"let albums = items.map(item => ({track : item.json.track.uri,\\n album: item.json.track.album.uri,\\n type: item.json.track.album.album_type,\\n tracks: item.json.track.album.total_tracks}))\\n\\nlet album_id = albums.filter(item => (item.type === 'album')).map(item => item.album + \\\":\\\" + item.tracks)\\n\\nvar count = {};\\nalbum_id.forEach(function(i) { count[i] = (count[i]||0) + 1;});\\n\\nlet duplicated_albums = Object.keys(count).map( function(key,index) { return parseInt(key.split(':')[3]) == count[key] ? key.split(':').slice(0,3).join(':') : false} )\\n .filter(item => item);\\n\\nlet only_tracks = albums.filter(item => !duplicated_albums.includes(item.album))\\n .map(item => ({json: {uri: item.track}}))\\nreturn only_tracks\\n\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Spotify Add Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Spotify Remove Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Sync\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Spotify Get Saved Tracks\",\"type\":\"main\",\"index\":0},{\"node\":\"Spotify Get Tracks Mirror\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Saved Tracks\":{\"main\":[[{\"node\":\"Get URI - Filter liked albums\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks Mirror\":{\"main\":[[{\"node\":\"Extract URIs Sync\",\"type\":\"main\",\"index\":0}]]},\"Get URI - Filter liked albums\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Create, update, and retrieve a record from FileMaker", "output": "{\"nodes\":[{\"name\":\"FileMaker\",\"type\":\"n8n-nodes-base.filemaker\",\"position\":[450,320],\"parameters\":{\"action\":\"create\",\"layout\":\"My Form Layout\",\"fieldsParametersUi\":{\"fields\":[{\"name\":\"first_name\",\"value\":\"Harshil\"},{\"name\":\"last_name\",\"value\":\"Agrawal\"}]}},\"credentials\":{\"fileMaker\":\"FileMaker API Credentials\"},\"typeVersion\":1},{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"FileMaker\",\"type\":\"n8n-nodes-base.filemaker\",\"position\":[450,320],\"parameters\":{\"action\":\"create\",\"layout\":\"My Form Layout\",\"fieldsParametersUi\":{\"fields\":[{\"name\":\"first_name\",\"value\":\"Harshil\"},{\"name\":\"last_name\",\"value\":\"Agrawal\"}]}},\"credentials\":{\"fileMaker\":\"FileMaker API Credentials\"},\"typeVersion\":1},{\"name\":\"FileMaker2\",\"type\":\"n8n-nodes-base.filemaker\",\"position\":[650,320],\"parameters\":{\"modId\":\"={{$json[\\\"response\\\"][\\\"modId\\\"]}}\",\"recid\":\"={{$json[\\\"response\\\"][\\\"recordId\\\"]}}\",\"action\":\"edit\",\"layout\":\"My Form Layout\",\"fieldsParametersUi\":{\"fields\":[{\"name\":\"address_country\",\"value\":\"Germany\"}]}},\"credentials\":{\"fileMaker\":\"FileMaker API Credentials\"},\"typeVersion\":1},{\"name\":\"FileMaker3\",\"type\":\"n8n-nodes-base.filemaker\",\"position\":[850,320],\"parameters\":{\"recid\":\"={{$node[\\\"FileMaker\\\"].json[\\\"response\\\"][\\\"recordId\\\"]}}\",\"layout\":\"My Form Layout\"},\"credentials\":{\"fileMaker\":\"FileMaker API Credentials\"},\"typeVersion\":1}],\"connections\":{\"FileMaker\":{\"main\":[[{\"node\":\"FileMaker2\",\"type\":\"main\",\"index\":0}]]},\"FileMaker2\":{\"main\":[[{\"node\":\"FileMaker3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"FileMaker\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send location updates of the ISS to a topic in MQTT", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[490,360],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[690,360],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now()}}\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[890,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"0\\\"][\\\"name\\\"]}}\"},{\"name\":\"Latitude\",\"value\":\"={{$json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"Longitude\",\"value\":\"={{$json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"Timestamp\",\"value\":\"={{$json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"MQTT\",\"type\":\"n8n-nodes-base.mqtt\",\"position\":[1090,360],\"parameters\":{\"topic\":\"iss-position\",\"options\":{}},\"credentials\":{\"mqtt\":\"mqtt\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"MQTT\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get a work item from Kitemaker", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[330,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Kitemaker\",\"type\":\"n8n-nodes-base.kitemaker\",\"position\":[530,280],\"parameters\":{\"title\":\"Document Kitemaker node\",\"statusId\":\"0f4d4fe382fb1803\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"kitemakerApi\":\"Kitemaker API Credentials\"},\"typeVersion\":1},{\"name\":\"Kitemaker1\",\"type\":\"n8n-nodes-base.kitemaker\",\"position\":[730,280],\"parameters\":{\"operation\":\"update\",\"workItemId\":\"={{$json[\\\"id\\\"]}}\",\"updateFields\":{\"statusId\":\"0f4d4fe382fb1801\"}},\"credentials\":{\"kitemakerApi\":\"Kitemaker API Credentials\"},\"typeVersion\":1},{\"name\":\"Kitemaker2\",\"type\":\"n8n-nodes-base.kitemaker\",\"position\":[930,280],\"parameters\":{\"workItemId\":\"={{$json[\\\"id\\\"]}}\"},\"credentials\":{\"kitemakerApi\":\"Kitemaker API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Kitemaker\":{\"main\":[[{\"node\":\"Kitemaker1\",\"type\":\"main\",\"index\":0}]]},\"Kitemaker1\":{\"main\":[[{\"node\":\"Kitemaker2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Kitemaker\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Scrape and store data from multiple website pages", "output": "{\"id\":\"14\",\"name\":\"extract_swifts\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-140,820],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[320,820],\"parameters\":{\"url\":\"https://www.theswiftcodes.com/browse-by-country/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[510,820],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"countries\",\"attribute\":\"href\",\"cssSelector\":\"ol > li > a\",\"returnArray\":true,\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[910,820],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2250,740],\"parameters\":{\"url\":\"={{$node[\\\"Set\\\"].json[\\\"url\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"HTML Extract1\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[2750,590],\"parameters\":{\"options\":{},\"sourceData\":\"binary\",\"extractionValues\":{\"values\":[{\"key\":\"next_button\",\"attribute\":\"href\",\"cssSelector\":\"span.next > a\",\"returnValue\":\"attribute\"},{\"key\":\"names\",\"cssSelector\":\"td.table-name\",\"returnArray\":true},{\"key\":\"swifts\",\"cssSelector\":\"td.table-swift\",\"returnArray\":true},{\"key\":\"cities\",\"cssSelector\":\"td.table-city\",\"returnArray\":true},{\"key\":\"branches\",\"cssSelector\":\"td.table-branch\",\"returnArray\":true}]}},\"typeVersion\":1},{\"name\":\"MongoDB1\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[3280,590],\"parameters\":{\"fields\":\"iso_code,country,page,name,branch,city,swift_code,createdAt,updatedAt\",\"options\":{\"dateFields\":\"createdAt,updatedAt\"},\"operation\":\"insert\",\"collection\":\"swifts.meetup\"},\"credentials\":{\"mongoDb\":\"db-mongo\"},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[1100,820],\"parameters\":{\"tool\":\"getCountryNormalized\",\"group\":\"geographic\",\"country\":\"={{$node[\\\"SplitInBatches\\\"].json[\\\"country\\\"].replace(/[\\\\/0-9]/g, \\\"\\\")}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"uproc-miquel\"},\"typeVersion\":1},{\"name\":\"Prepare Documents\",\"type\":\"n8n-nodes-base.function\",\"position\":[2930,590],\"parameters\":{\"functionCode\":\"var newItems = [];\\n\\nfor (i = 0; i < items[0].json.swifts.length; i++) {\\n var item = {\\n iso_code: $node['uProc'].json.message.code,\\n country: $node['SplitInBatches'].json.country.replace(/[-\\\\/0-9]/g, \\\"\\\"),\\n page: $node['Set Page to Scrape'].json.page,\\n name: items[0].json.names[i],\\n city: items[0].json.cities[i],\\n branch: items[0].json.branches[i],\\n swift_code: items[0].json.swifts[i],\\n createdAt: new Date(),\\n updatedAt: new Date()\\n }\\n newItems.push({json: item});\\n}\\n\\nreturn newItems;\\n\\n\"},\"typeVersion\":1},{\"name\":\"More Countries\",\"type\":\"n8n-nodes-base.if\",\"position\":[2810,1100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"] + \\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Set Page to Scrape\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1290,680],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\nitem.page = \\\"\\\";\\nif (staticData.page && staticData.page.length) {\\n item.page = staticData.page;\\n} else {\\n item.page = $node['SplitInBatches'].json.country;\\n}\\nreturn item;\\n\"},\"typeVersion\":1},{\"name\":\"More Pages\",\"type\":\"n8n-nodes-base.if\",\"position\":[3070,1020],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"more_pages\\\"] + \\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Set More Pages\",\"type\":\"n8n-nodes-base.function\",\"position\":[3470,590],\"parameters\":{\"functionCode\":\"var next_page = $node['HTML Extract1'].json.next_button && $node['HTML Extract1'].json.next_button.length ? $node['HTML Extract1'].json.next_button : \\\"\\\";\\nvar more_pages = next_page.length > 0;\\nconst staticData = getWorkflowStaticData('global');\\n\\n//all current items are after date: needs pagination\\nif (more_pages) {\\n staticData.page = next_page;\\n} else {\\n //don't check more items in previous pages;\\n delete staticData.page;\\n}\\n\\nreturn [\\n {\\n json: {\\n more_pages: more_pages\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"=https://www.theswiftcodes.com{{$node[\\\"Set Page to Scrape\\\"].json[\\\"page\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Generate filename\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1600,610],\"parameters\":{\"functionCode\":\"var generateNameFromUrl = function(url){\\n return url.replace(/[^a-z0-9]/gi, \\\"_\\\");\\n}\\n\\nitem.file = generateNameFromUrl(item.url) + \\\".html\\\"\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[1770,610],\"parameters\":{\"filePath\":\"=/home/node/.cache/scrapper/{{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"File exists?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1950,610],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Read Binary File\\\"].binary.data.mimeType}}\",\"value2\":\"text/html\"}]}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[2400,740],\"parameters\":{\"fileName\":\"=/home/node/.cache/scrapper/{{$node[\\\"Generate filename\\\"].json[\\\"file\\\"]}}\",\"dataPropertyName\":\"=data\"},\"typeVersion\":1},{\"name\":\"Read Binary File1\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[2570,590],\"parameters\":{\"filePath\":\"=/home/node/.cache/scrapper/{{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.function\",\"position\":[2090,740],\"parameters\":{\"functionCode\":\"const waitTimeSeconds = 1;\\n\\nreturn new Promise((resolve) => {\\n setTimeout(() => {\\n resolve([]);\\n }, waitTimeSeconds * 1000);\\n});\\n\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Prepare countries\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,820],\"parameters\":{\"functionCode\":\"return items[0].json.countries.map(function(country) {\\n return {\\n json: {country: country}\\n }\\n});\"},\"typeVersion\":1},{\"name\":\"Create Directory\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[70,820],\"parameters\":{\"command\":\"mkdir -p /home/node/.cache/scrapper/\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"disabled\":true,\"position\":[3100,520],\"parameters\":{\"query\":\"={\\\"swift_code\\\": \\\"{{$json[\\\"swift_code\\\"]}}\\\"}\",\"options\":{},\"collection\":\"swifts.meetup\"},\"credentials\":{\"mongoDb\":\"db-mongo\"},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":true}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Generate filename\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"uProc\":{\"main\":[[{\"node\":\"Set Page to Scrape\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[]]},\"MongoDB1\":{\"main\":[[{\"node\":\"Set More Pages\",\"type\":\"main\",\"index\":0}]]},\"More Pages\":{\"main\":[[{\"node\":\"Set Page to Scrape\",\"type\":\"main\",\"index\":0}],[{\"node\":\"More Countries\",\"type\":\"main\",\"index\":0}]]},\"File exists?\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Prepare countries\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract1\":{\"main\":[[{\"node\":\"Prepare Documents\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"More Countries\":{\"main\":[[],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set More Pages\":{\"main\":[[{\"node\":\"More Pages\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0}]]},\"Create Directory\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"File exists?\",\"type\":\"main\",\"index\":0}]]},\"Generate filename\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]},\"Prepare Documents\":{\"main\":[[{\"node\":\"MongoDB1\",\"type\":\"main\",\"index\":0}]]},\"Prepare countries\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File1\":{\"main\":[[{\"node\":\"HTML Extract1\",\"type\":\"main\",\"index\":0}]]},\"Write Binary File\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}]]},\"Set Page to Scrape\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Directory\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add liked songs to a Spotify monthly playlist", "output": "{\"meta\":{\"instanceId\":\"0c99324b4b0921a9febd4737c606882881f3ca11d9b1d7e22b0dad4784eb24c7\"},\"nodes\":[{\"id\":\"f418ae01-01ea-4794-8903-d5709a29c735\",\"name\":\"Get current date\",\"type\":\"n8n-nodes-base.code\",\"position\":[240,2460],\"parameters\":{\"jsCode\":\"const monthNames = [\\n 'January',\\n 'February',\\n 'March',\\n 'April',\\n 'May',\\n 'June',\\n 'July',\\n 'August',\\n 'September',\\n 'October',\\n 'November',\\n 'December',\\n]\\n\\nconst date = new Date()\\nconst year = date.getFullYear()\\nconst month = date.getMonth()\\n\\nlet currentDate = {\\n month: month,\\n year: year,\\n text: `${monthNames[month]} '${year.toString().slice(-2)}`\\n}\\n\\nitems[0].json.currentDate = currentDate\\n\\nreturn items\\n\\n// Month > Number e.g. July = 6, December = 11\\n// Year > Text\\n// Text > Playlist name\\n\\n// let currentDate = {\\n// month: 8, \\n// year: '2024',\\n// text: `September '23`\\n// }\\n\\n// items[0].json.currentDate = currentDate\\n\\n// return items\\n\\n\"},\"typeVersion\":1},{\"id\":\"855e493a-a232-45ef-8fdd-4a8225065c95\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,2580],\"parameters\":{\"width\":1290.936043660723,\"height\":407.6508589002549,\"content\":\"## Check if the song is present in the database\"},\"typeVersion\":1},{\"id\":\"672ef06c-b812-41c8-8501-cde8b61a4aef\",\"name\":\"Get last 10 liked tracks\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[500,2680],\"parameters\":{\"limit\":10,\"resource\":\"library\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"zQrMRwwU6DLh4W77\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"id\":\"da13c571-6af4-49bf-b8ff-2d54245f6d3e\",\"name\":\"Check if track is saved\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[940,2780],\"parameters\":{\"table\":\"m0dm2y304t7vmuk\",\"options\":{\"where\":\"=(uri,eq,{{ $json.track.uri }})\",\"fields\":[\"uri\"]},\"operation\":\"getAll\",\"projectId\":\"pepq760y5lwt5tm\",\"returnAll\":true,\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3,\"alwaysOutputData\":true},{\"id\":\"9144cda9-f18f-46d9-be2d-9fca4b192dbb\",\"name\":\"Is not saved\",\"type\":\"n8n-nodes-base.if\",\"position\":[1160,2780],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"dbb259d9-e2ec-4a7b-b375-601346dc2571\",\"operator\":{\"type\":\"object\",\"operation\":\"empty\",\"singleValue\":true},\"leftValue\":\"={{ $json }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2},{\"id\":\"66b430e2-f46c-43b2-84e7-35c85d2b4403\",\"name\":\"Create song entry\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[1380,2700],\"parameters\":{\"table\":\"m0dm2y304t7vmuk\",\"fieldsUi\":{\"fieldValues\":[{\"fieldName\":\"uri\",\"fieldValue\":\"={{ $('For each tracks in liked song').item.json.track.uri }}\"},{\"fieldName\":\"added_at\",\"fieldValue\":\"={{ $('For each tracks in liked song').item.json.added_at }}\"},{\"fieldName\":\"playlistName\",\"fieldValue\":\"={{ $('Get current date').item.json.currentDate.text }}\"}]},\"operation\":\"create\",\"projectId\":\"pepq760y5lwt5tm\",\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3},{\"id\":\"9bd883ea-2e87-45aa-b8a0-b361ba7c5d9f\",\"name\":\"Get all user playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[500,2220],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getUserPlaylists\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"zQrMRwwU6DLh4W77\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"id\":\"3a0dad98-4571-4fb7-b366-0060d35b65fe\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,2080],\"parameters\":{\"width\":1481.5336029736159,\"height\":416.7665808180022,\"content\":\"## Check if the playlist present in the database\"},\"typeVersion\":1},{\"id\":\"e793b97c-cc29-47b0-8aa7-015fa631bc37\",\"name\":\"Get monthly playlist\",\"type\":\"n8n-nodes-base.filter\",\"position\":[720,2220],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"56173299-d774-4cb4-b26f-4dca294dda1d\",\"operator\":{\"name\":\"filter.operator.equals\",\"type\":\"string\",\"operation\":\"equals\"},\"leftValue\":\"={{ $json.name }}\",\"rightValue\":\"={{ $('Get current date').item.json.currentDate.text }}\"}]}},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"502ea9e2-7f03-4a8a-860e-90d63e42ee33\",\"name\":\"Get playlist in DB\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[1160,2120],\"parameters\":{\"table\":\"mchan0xys9h7h7e\",\"options\":{\"where\":\"=(name,eq,{{ $('Get current date').item.json.currentDate.text }})\"},\"operation\":\"getAll\",\"projectId\":\"pepq760y5lwt5tm\",\"returnAll\":true,\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3,\"alwaysOutputData\":true},{\"id\":\"3d2bece0-8096-4ee1-a3b9-ae91b83f0957\",\"name\":\"Monthly playlist exist in Spotify ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,2220],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"a2d9e3e0-a906-4ed9-9e23-166f781c86b1\",\"operator\":{\"type\":\"object\",\"operation\":\"notEmpty\",\"singleValue\":true},\"leftValue\":\"={{ $json }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2},{\"id\":\"d983b940-2f8d-4823-aaaf-d1bfa4428b41\",\"name\":\"Playlist exist in DB ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1380,2120],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"9485c9d4-ecdc-4d0e-a576-c7db5787c069\",\"operator\":{\"type\":\"object\",\"operation\":\"notEmpty\",\"singleValue\":true},\"leftValue\":\"={{ $json }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2},{\"id\":\"c694ab19-bca7-4dd4-8d10-cf8a1adab341\",\"name\":\"Create playlist in Spotify\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1160,2320],\"parameters\":{\"name\":\"={{ $('Get current date').item.json.currentDate.text }}\",\"resource\":\"playlist\",\"operation\":\"create\",\"additionalFields\":{\"description\":\"Monthly playlist\"}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"zQrMRwwU6DLh4W77\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"id\":\"dc9dc3b5-cef7-412b-b3f8-5ec011c2746d\",\"name\":\"Create playlist in DB1\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[1380,2320],\"parameters\":{\"table\":\"mchan0xys9h7h7e\",\"fieldsUi\":{\"fieldValues\":[{\"fieldName\":\"uri\",\"fieldValue\":\"={{ $json.uri }}\"},{\"fieldName\":\"name\",\"fieldValue\":\"={{ $json.name }}\"},{\"fieldName\":\"description\",\"fieldValue\":\"={{ $json.description}}\"}]},\"operation\":\"create\",\"projectId\":\"pepq760y5lwt5tm\",\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3},{\"id\":\"0356c3a4-dc20-42b0-b069-045048768939\",\"name\":\"Create playlist in DB\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[1600,2200],\"parameters\":{\"table\":\"mchan0xys9h7h7e\",\"fieldsUi\":{\"fieldValues\":[{\"fieldName\":\"uri\",\"fieldValue\":\"={{ $('Get monthly playlist').item.json.uri }}\"},{\"fieldName\":\"name\",\"fieldValue\":\"={{ $('Get monthly playlist').item.json.name }}\"},{\"fieldName\":\"description\",\"fieldValue\":\"={{ $('Get monthly playlist').item.json.description }}\"}]},\"operation\":\"create\",\"projectId\":\"pepq760y5lwt5tm\",\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3},{\"id\":\"e2c86f04-725c-4af7-b3c2-9c22e2dc64bf\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2040,2460],\"parameters\":{\"mode\":\"chooseBranch\",\"output\":\"empty\"},\"typeVersion\":2.1},{\"id\":\"036e0d74-3383-44e9-991d-7e062b982b51\",\"name\":\"Clean op\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1820,2200],\"parameters\":{},\"typeVersion\":1},{\"id\":\"323c9746-f713-4a3d-9af5-9579ec767fca\",\"name\":\"Clean op2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1600,2800],\"parameters\":{},\"typeVersion\":1},{\"id\":\"3b0be7ca-c47b-4524-b72a-c37f25c5e4d0\",\"name\":\"Get this month playlist in DB\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[2260,2460],\"parameters\":{\"table\":\"mchan0xys9h7h7e\",\"options\":{\"where\":\"=(name,eq,{{ $('Get current date').item.json.currentDate.text }})\"},\"operation\":\"getAll\",\"projectId\":\"pepq760y5lwt5tm\",\"returnAll\":true,\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3},{\"id\":\"733077e4-c474-4c95-ba05-d0b2375475ad\",\"name\":\"Get this month tracks in DB\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[2480,2460],\"parameters\":{\"table\":\"m0dm2y304t7vmuk\",\"options\":{\"where\":\"=(playlistName,eq,{{ $('Get current date').item.json.currentDate.text }})\"},\"operation\":\"getAll\",\"projectId\":\"pepq760y5lwt5tm\",\"returnAll\":true,\"authentication\":\"nocoDbApiToken\"},\"credentials\":{\"nocoDbApiToken\":{\"id\":\"9uSbSrDz8EL2OIL7\",\"name\":\"NocoDB Token account\"}},\"typeVersion\":3},{\"id\":\"6c8ef70f-542d-4454-9ae6-8f4e9778beb0\",\"name\":\"Add song to the playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[3580,2460],\"parameters\":{\"id\":\"={{ $('Get this month playlist in DB').item.json.uri }}\",\"trackID\":\"={{ $('For each monthly tracks in DB').item.json.uri }}\",\"resource\":\"playlist\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"zQrMRwwU6DLh4W77\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"id\":\"034cd38d-4800-4f9c-9b67-453fdb2afa3c\",\"name\":\"For each tracks in liked song\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[720,2680],\"parameters\":{\"options\":{\"reset\":false}},\"typeVersion\":3},{\"id\":\"90ff5c0b-e842-437f-be85-a5938288c513\",\"name\":\"For each monthly tracks in DB\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[2700,2460],\"parameters\":{\"options\":{}},\"typeVersion\":3},{\"id\":\"decf36a4-fb8c-41eb-ae15-7ba36d621ad7\",\"name\":\"Get this month tracks in Spotify\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[2920,2560],\"parameters\":{\"id\":\"={{ $('Get this month playlist in DB').item.json.uri }}\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"zQrMRwwU6DLh4W77\",\"name\":\"Spotify account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"d322a655-e80b-4277-87d9-93e927b2f372\",\"name\":\"Filter1\",\"type\":\"n8n-nodes-base.filter\",\"position\":[3140,2560],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"a11640e1-f22a-4ce9-abff-976efc57e1d3\",\"operator\":{\"name\":\"filter.operator.equals\",\"type\":\"string\",\"operation\":\"equals\"},\"leftValue\":\"={{ $('For each monthly tracks in DB').item.json.uri }}\",\"rightValue\":\"={{ $json.track.uri }}\"}]}},\"executeOnce\":false,\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"5027f98d-b973-405f-81cf-534df794325f\",\"name\":\"Song is not present in the playlist ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[3360,2560],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"1beb843e-53da-48ce-9717-d7797232e4ae\",\"operator\":{\"type\":\"object\",\"operation\":\"empty\",\"singleValue\":true},\"leftValue\":\"={{ $json }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2},{\"id\":\"cd2e3a28-24c1-47d7-ad30-c836e08ad40f\",\"name\":\"Clean op1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3800,2560],\"parameters\":{},\"typeVersion\":1},{\"id\":\"56bbb0e9-3ee5-48e3-b0bf-48e8d026daa9\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2220,2400],\"parameters\":{\"width\":1733.785946789966,\"height\":351.94195615011336,\"content\":\"## Check if the song is in the Spotify playlist. If not, add it.\"},\"typeVersion\":1},{\"id\":\"9834163b-0991-4910-bb4f-cf4557bfa0d5\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[20,2460],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"minutes\"}]}},\"typeVersion\":1.2},{\"id\":\"72a3c48f-a759-4e0c-b7bb-9f69a5f4377e\",\"name\":\"End\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[4100,2260],\"parameters\":{},\"typeVersion\":1}],\"pinData\":{},\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Get this month playlist in DB\",\"type\":\"main\",\"index\":0}]]},\"Filter1\":{\"main\":[[{\"node\":\"Song is not present in the playlist ?\",\"type\":\"main\",\"index\":0}]]},\"Clean op\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Clean op1\":{\"main\":[[{\"node\":\"For each monthly tracks in DB\",\"type\":\"main\",\"index\":0}]]},\"Clean op2\":{\"main\":[[{\"node\":\"For each tracks in liked song\",\"type\":\"main\",\"index\":0}]]},\"Is not saved\":{\"main\":[[{\"node\":\"Create song entry\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Clean op2\",\"type\":\"main\",\"index\":0}]]},\"Get current date\":{\"main\":[[{\"node\":\"Get all user playlist\",\"type\":\"main\",\"index\":0},{\"node\":\"Get last 10 liked tracks\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Get current date\",\"type\":\"main\",\"index\":0}]]},\"Create song entry\":{\"main\":[[{\"node\":\"Clean op2\",\"type\":\"main\",\"index\":0}]]},\"Get playlist in DB\":{\"main\":[[{\"node\":\"Playlist exist in DB ?\",\"type\":\"main\",\"index\":0}]]},\"Get monthly playlist\":{\"main\":[[{\"node\":\"Monthly playlist exist in Spotify ?\",\"type\":\"main\",\"index\":0}]]},\"Create playlist in DB\":{\"main\":[[{\"node\":\"Clean op\",\"type\":\"main\",\"index\":0}]]},\"Get all user playlist\":{\"main\":[[{\"node\":\"Get monthly playlist\",\"type\":\"main\",\"index\":0}]]},\"Create playlist in DB1\":{\"main\":[[{\"node\":\"Clean op\",\"type\":\"main\",\"index\":0}]]},\"Check if track is saved\":{\"main\":[[{\"node\":\"Is not saved\",\"type\":\"main\",\"index\":0}]]},\"Playlist exist in DB ?\":{\"main\":[[{\"node\":\"Clean op\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create playlist in DB\",\"type\":\"main\",\"index\":0}]]},\"Add song to the playlist\":{\"main\":[[{\"node\":\"Clean op1\",\"type\":\"main\",\"index\":0}]]},\"Get last 10 liked tracks\":{\"main\":[[{\"node\":\"For each tracks in liked song\",\"type\":\"main\",\"index\":0}]]},\"Create playlist in Spotify\":{\"main\":[[{\"node\":\"Create playlist in DB1\",\"type\":\"main\",\"index\":0}]]},\"Get this month tracks in DB\":{\"main\":[[{\"node\":\"For each monthly tracks in DB\",\"type\":\"main\",\"index\":0}]]},\"For each monthly tracks in DB\":{\"main\":[[{\"node\":\"End\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get this month tracks in Spotify\",\"type\":\"main\",\"index\":0}]]},\"For each tracks in liked song\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}],[{\"node\":\"Check if track is saved\",\"type\":\"main\",\"index\":0}]]},\"Get this month playlist in DB\":{\"main\":[[{\"node\":\"Get this month tracks in DB\",\"type\":\"main\",\"index\":0}]]},\"Get this month tracks in Spotify\":{\"main\":[[{\"node\":\"Filter1\",\"type\":\"main\",\"index\":0}]]},\"Monthly playlist exist in Spotify ?\":{\"main\":[[{\"node\":\"Get playlist in DB\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create playlist in Spotify\",\"type\":\"main\",\"index\":0}]]},\"Song is not present in the playlist ?\":{\"main\":[[{\"node\":\"Add song to the playlist\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Clean op1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Filter the feedback from Typeform and store in Google Sheets", "output": "{\"id\":\"1001\",\"name\":\"typeform feedback workflow\",\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"notes\":\"course feedback\",\"position\":[450,300],\"webhookId\":\"1234567890\",\"parameters\":{\"formId\":\"yxcvbnm\"},\"credentials\":{\"typeformApi\":\"typeform\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"filter feedback\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"usefulness\\\"]}}\",\"value2\":3,\"operation\":\"largerEqual\"}],\"string\":[],\"boolean\":[]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"positive feedback\",\"position\":[1050,200],\"parameters\":{\"range\":\"positive_feedback!A:C\",\"options\":{},\"sheetId\":\"asdfghjklöä\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google_sheets_oauth\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"capture typeform data\",\"position\":[650,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"usefulness\",\"value\":\"={{$json[\\\"How useful was the course?\\\"]}}\"}],\"string\":[{\"name\":\"opinion\",\"value\":\"={{$json[\\\"Your opinion on the course:\\\"]}}\"}],\"boolean\":[]},\"options\":{},\"keepOnlySet\":true},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"negative feedback\",\"position\":[1050,400],\"parameters\":{\"range\":\"negative_feedback!A:C\",\"keyRow\":1,\"options\":{},\"sheetId\":\"qwertzuiop\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google_sheets_oauth\"},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transfer data from website to Google Sheets", "output": "{\"nodes\":[{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[700,300],\"parameters\":{\"range\":\"Problems!A:D\",\"options\":{},\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[500,300],\"parameters\":{\"path\":\"webhook\",\"options\":{},\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add single binary data to multiple items", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,220],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n id: 1,\\n name: \\\"Jim\\\"\\n }\\n },\\n {\\n json: {\\n id: 2,\\n name: \\\"Stefan\\\"\\n }\\n },\\n {\\n json: {\\n id: 3,\\n name: \\\"Hans\\\"\\n }\\n }\\n];\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[440,420],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[700,320],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[930,320],\"parameters\":{\"functionCode\":\"const binaryData = items[0].binary;\\nconsole.log(items);\\nreturn items.map(item => {\\n return {\\n json: item,\\n binary: binaryData\\n }\\n});\\n\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Mock Data\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Get an mp4 attachment from Gmail to Google Drive", "output": "{\"nodes\":[{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[-34.5,449.5],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"additionalFields\":{\"format\":\"resolved\",\"labelIds\":[\"Label_1819449526183990002\"]}},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Upload File1\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[115.5,449.5],\"parameters\":{\"name\":\"={{$binary.attachment_0.fileName}}\",\"parents\":[\"1I-tBNWFhH2FwcyiKeBOcGseWktF-nXBr\"],\"binaryData\":true,\"resolveData\":true,\"authentication\":\"oAuth2\",\"binaryPropertyName\":\"attachment_0\"},\"credentials\":{\"googleDriveOAuth2Api\":\"Google Drive OAuth2 API\"},\"typeVersion\":1},{\"name\":\"Get attachment Link\",\"type\":\"n8n-nodes-base.set\",\"position\":[280,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"mp4_attachment\",\"value\":\"={{$json[\\\"webViewLink\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Gmail1\":{\"main\":[[{\"node\":\"Upload File1\",\"type\":\"main\",\"index\":0}]]},\"Upload File1\":{\"main\":[[{\"node\":\"Get attachment Link\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Spotify Liked Songs Mirror", "output": "{\"id\":\"2\",\"name\":\"Spotify Liked Playlist Sync\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[550,360],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":15}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1150,260],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Extract URIs Original\",\"type\":\"n8n-nodes-base.function\",\"position\":[950,260],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.reverse().map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1150,460],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Extract URIs Sync\",\"type\":\"n8n-nodes-base.function\",\"position\":[950,460],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Spotify Get Tracks Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[750,460],\"parameters\":{\"id\":\"\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Spotify Add Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1350,260],\"parameters\":{\"id\":\"\",\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\",\"additionalFields\":{\"position\":0}},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Remove Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1350,460],\"parameters\":{\"id\":\"\",\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\",\"operation\":\"delete\"},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Get Saved Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[750,260],\"parameters\":{\"resource\":\"library\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Spotify Get Saved Tracks\",\"type\":\"main\",\"index\":0},{\"node\":\"Spotify Get Tracks Mirror\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Spotify Add Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Spotify Remove Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Sync\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Original\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Spotify Get Saved Tracks\":{\"main\":[[{\"node\":\"Extract URIs Original\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks Mirror\":{\"main\":[[{\"node\":\"Extract URIs Sync\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive a Telegram message on Netlify forms submission", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"ac94132d-6bd8-4872-9e93-3457c86583cf\",\"parameters\":{\"path\":\"ac94132d-6bd8-4872-9e93-3457c86583cf\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[850,300],\"parameters\":{\"text\":\"=New form submission from Netlify!\\nSubmission created at: {{$json[\\\"created_at\\\"]}}\\nRemaining submissions: {{$json[\\\"remaining_submissions\\\"]}}\\n\\nForm: {{$json[\\\"form_name\\\"]}}\\nForm ID: {{$json[\\\"form_id\\\"]}}\\n\\n---\\nName: {{$json[\\\"name\\\"]}}\\nEmail: {{$json[\\\"email\\\"]}}\\nMessage: {{$json[\\\"message\\\"]}}\\n---\\n\\nUser agent: {{$json[\\\"user_agent\\\"]}}\\nIP: {{$json[\\\"ip\\\"]}}\\nhttps://www.whatismyip.com/ip-address-lookup/?ip={{$json[\\\"ip\\\"]}}\",\"chatId\":\"\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram API\"},\"typeVersion\":1},{\"name\":\"Prepare message\",\"type\":\"n8n-nodes-base.function\",\"position\":[650,300],\"parameters\":{\"functionCode\":\"// https://www.netlify.com/pricing/\\nconst netlify_form_submissions_per_month = 100;\\n\\nconst body = $node[\\\"Webhook\\\"].json[\\\"body\\\"];\\n\\nitems[0].json.created_at = body[\\\"created_at\\\"];\\nitems[0].json.remaining_submissions = netlify_form_submissions_per_month - parseInt(body.number, 10);\\n\\nitems[0].json.form_name = body.form_name;\\nitems[0].json.form_id = body.form_id;\\n\\nitems[0].json.name = body.data.name;\\nitems[0].json.email = body.data.email;\\nitems[0].json.message = body.data.message;\\n\\nitems[0].json.user_agent = body.data.user_agent;\\nitems[0].json.ip = body.data.ip;\\n\\nreturn items;\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Prepare message\",\"type\":\"main\",\"index\":0}]]},\"Prepare message\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an event file and send it as an email attachment", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[350,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"iCalendar\",\"type\":\"n8n-nodes-base.iCal\",\"position\":[550,200],\"parameters\":{\"end\":\"2021-06-11T16:15:00.000Z\",\"start\":\"2021-06-11T15:30:00.000Z\",\"title\":\"n8n Community Meetup\",\"additionalFields\":{}},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[750,200],\"parameters\":{\"text\":\"Hey Harshil,\\n\\nWe are excited to invite you to the n8n community meetup!\\n\\nWith this email you will find the invite attached.\\n\\nLooking forward to seeing you at the meetup!\\n\\nCheers,\\nHarshil\",\"options\":{},\"subject\":\"n8n Community Meetup 🚀\",\"attachments\":\"data\"},\"credentials\":{\"smtp\":\"Outlook Burner Credentials\"},\"typeVersion\":1}],\"connections\":{\"iCalendar\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"iCalendar\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a new user to Notion database on Calendly invite creation", "output": "{\"nodes\":[{\"name\":\"Calendly Trigger\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[490,320],\"webhookId\":\"d932d43a-511e-4e54-9a8d-c8da6f6ab7c2\",\"parameters\":{\"events\":[\"invitee.created\"]},\"credentials\":{\"calendlyApi\":\"Calendly API Credentials\"},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[690,320],\"parameters\":{\"blockUi\":{\"blockValues\":[]},\"resource\":\"databasePage\",\"databaseId\":\"b40628ca-9000-4576-ab2c-4ed3c37e6ee4\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"name\\\"]}}\",\"peopleValue\":[],\"relationValue\":[\"\"],\"multiSelectValue\":[]},{\"key\":\"Email|email\",\"emailValue\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"email\\\"]}}\",\"peopleValue\":[],\"relationValue\":[\"\"],\"multiSelectValue\":[]},{\"key\":\"Status|select\",\"peopleValue\":[],\"selectValue\":\"6ad3880b-260a-4d12-999f-5b605e096c1c\",\"relationValue\":[\"\"],\"multiSelectValue\":[]}]}},\"credentials\":{\"notionApi\":\"Notion API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Calendly Trigger\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive a Mattermost message when new record gets added to Notion", "output": "{\"nodes\":[{\"name\":\"Notion Trigger\",\"type\":\"n8n-nodes-base.notionTrigger\",\"position\":[270,350],\"parameters\":{\"event\":\"pageAddedToDatabase\",\"pollTimes\":{\"item\":[{\"mode\":\"everyHour\"}]},\"databaseId\":\"6ea34c0d-67e8-4614-ad5c-68c665a34763\"},\"credentials\":{\"notionApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[470,350],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"Team\\\"]}}\",\"value2\":\"Marketing\"}]}},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[670,250],\"parameters\":{\"message\":\"=New meeting notes were added.\\nAgenda: {{$json[\\\"Agenda\\\"]}}\\nDate: {{$json[\\\"Date\\\"][\\\"start\\\"]}}\\nLink: https://notion.so/{{$json[\\\"id\\\"].replace(/-/g,'')}}\",\"channelId\":\"64cae1bh6pggtcupfd4ztwby4r\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[668,495],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Notion Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Build a self-hosted URL shortener with a dashboard", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[350,70],\"webhookId\":\"727b4887-e7f9-405f-bf94-7889c82a8f0b\",\"parameters\":{\"path\":\"sh\",\"options\":{},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Extract URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"url\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Check URL\",\"type\":\"n8n-nodes-base.if\",\"position\":[500,70],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{Object($node[\\\"Webhook\\\"].json[\\\"query\\\"]).hasOwnProperty(\\\"url\\\")}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[800,-80],\"parameters\":{\"type\":\"SHA256\",\"value\":\"={{$node[\\\"Extract URL\\\"].json[\\\"url\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1550,-30],\"parameters\":{\"table\":\"YOUR TABLE NAME\",\"options\":{},\"operation\":\"append\",\"application\":\"YOUR BASE ID\"},\"credentials\":{\"airtableApi\":\"Personal Airtable API creds\"},\"typeVersion\":1},{\"name\":\"Set ID,shortUrl,longUrl\",\"type\":\"n8n-nodes-base.set\",\"position\":[950,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Crypto\\\"].json[\\\"data\\\"].substr(0,6)}}\"},{\"name\":\"longUrl\",\"value\":\"={{$node[\\\"Extract URL\\\"].json[\\\"url\\\"]}}\"},{\"name\":\"shortUrl\",\"value\":\"=http://n8n.ly/w/go?id={{$node[\\\"Crypto\\\"].json[\\\"data\\\"].substr(0,6)}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Find by ID\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1100,-80],\"parameters\":{\"limit\":1,\"table\":\"YOUR TABLE NAME\",\"operation\":\"list\",\"returnAll\":false,\"application\":\"YOUR BASE ID\",\"additionalOptions\":{\"filterByFormula\":\"=id=\\\"{{$node[\\\"Set ID,shortUrl,longUrl\\\"].json[\\\"id\\\"]}}\\\"\"}},\"credentials\":{\"airtableApi\":\"Personal Airtable API creds\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Already exists ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1250,-80],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Find by ID\\\"].json[\\\"id\\\"] != \\\"\\\" && $node[\\\"Find by ID\\\"].json[\\\"id\\\"] != null && $node[\\\"Find by ID\\\"].json[\\\"id\\\"] != undefined}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Set Output\",\"type\":\"n8n-nodes-base.set\",\"position\":[1400,-180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"shortUrl\",\"value\":\"={{$node[\\\"Set ID,shortUrl,longUrl\\\"].json[\\\"shortUrl\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set Error output\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,170],\"parameters\":{\"values\":{\"string\":[{\"name\":\"error\",\"value\":\"url parameter missing\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set Output1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1700,-30],\"parameters\":{\"values\":{\"string\":[{\"name\":\"shortUrl\",\"value\":\"={{$node[\\\"Set ID,shortUrl,longUrl\\\"].json[\\\"shortUrl\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set input\",\"type\":\"n8n-nodes-base.set\",\"position\":[1400,-30],\"parameters\":{\"values\":{\"number\":[{\"name\":\"clicks\"}],\"string\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Crypto\\\"].json[\\\"data\\\"].substr(0,6)}}\"},{\"name\":\"longUrl\",\"value\":\"={{$node[\\\"Extract URL\\\"].json[\\\"url\\\"]}}\"},{\"name\":\"shortUrl\",\"value\":\"=http://n8n.ly/w/go?id={{$node[\\\"Crypto\\\"].json[\\\"data\\\"].substr(0,6)}}\"},{\"name\":\"host\",\"value\":\"={{(new URL($node[\\\"Extract URL\\\"].json[\\\"url\\\"])).host}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Webhook1\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[350,430],\"webhookId\":\"727b4887-e7f9-405f-bf94-7889c82a8f0b\",\"parameters\":{\"path\":\"/go\",\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/html\"}]},\"responsePropertyName\":\"result\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Set Error output1\",\"type\":\"n8n-nodes-base.set\",\"position\":[640,530],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result\",\"value\":\"id parameter missing.\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Check Id\",\"type\":\"n8n-nodes-base.if\",\"position\":[500,430],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{Object($node[\\\"Webhook1\\\"].json[\\\"query\\\"]).hasOwnProperty(\\\"id\\\")}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Find by ID1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[800,330],\"parameters\":{\"limit\":1,\"table\":\"YOUR TABLE NAME\",\"operation\":\"list\",\"returnAll\":false,\"application\":\"YOUR BASE ID\",\"additionalOptions\":{\"filterByFormula\":\"=id=\\\"{{$node[\\\"Extract Id\\\"].json[\\\"id\\\"]}}\\\"\"}},\"credentials\":{\"airtableApi\":\"Personal Airtable API creds\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Already exists ?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[950,330],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Find by ID1\\\"].json[\\\"id\\\"] != \\\"\\\" && $node[\\\"Find by ID1\\\"].json[\\\"id\\\"] != null && $node[\\\"Find by ID1\\\"].json[\\\"id\\\"] != undefined}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Set Output2\",\"type\":\"n8n-nodes-base.set\",\"position\":[1400,230],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result\",\"value\":\"=\\n\\n\\n \\n \\n \\n Redirection\\n\\n\\n \\n\\n\\n\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Extract Id\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,330],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Webhook1\\\"].json[\\\"query\\\"][\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"404 Error\",\"type\":\"n8n-nodes-base.set\",\"position\":[1100,430],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result\",\"value\":\"=Short URL not found\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Update clicks\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1250,230],\"parameters\":{\"id\":\"={{$node[\\\"Find by ID1\\\"].json[\\\"id\\\"]}}\",\"table\":\"YOUR TABLE NAME\",\"fields\":[\"clicks\"],\"options\":{},\"operation\":\"update\",\"application\":\"YOUR BASE ID\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":\"Personal Airtable API creds\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Prepare clicks count\",\"type\":\"n8n-nodes-base.set\",\"position\":[1100,230],\"parameters\":{\"values\":{\"string\":[{\"name\":\"clicks\",\"value\":\"={{$node[\\\"Find by ID1\\\"].json[\\\"fields\\\"][\\\"clicks\\\"]+1}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Webhook2\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[350,680],\"webhookId\":\"8ac18eb4-bcc5-4817-b76d-d93094755ed2\",\"parameters\":{\"path\":\"/dashboard\",\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/html\"}]},\"responsePropertyName\":\"dashboard\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Find by ID2\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[550,680],\"parameters\":{\"table\":\"YOUR TABLE NAME\",\"operation\":\"list\",\"application\":\"YOUR BASE ID\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"Personal Airtable API creds\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Extract stats\",\"type\":\"n8n-nodes-base.function\",\"position\":[750,680],\"parameters\":{\"functionCode\":\"\\nitems = items.filter(item=> Object.keys(item.json).length !==0).map(item => item.json.fields);\\nif(items.length === 0){\\nreturn [{\\n json:{\\n totalLinks:0,\\n totalClick:0,\\n totalHosts:0\\n }\\n}];\\n}\\nconst totalLinks = items.length;\\nconst totalClick = items.map(item => item.clicks).reduce((acc,val) => acc+=val);\\nconst hostsMap = new Map();\\nconst hosts = items.map(item => item.host);\\nhosts.forEach(host => { \\n hostsMap.set(host,hostsMap.get(host)!==undefined?hostsMap.get(host)+1:1)\\n});\\n\\nconst totalHosts = [...hostsMap.keys()].length;\\n\\nreturn [{\\n json:{\\n totalLinks,\\n totalClick,\\n totalHosts\\n }\\n}];\"},\"typeVersion\":1},{\"name\":\"Set dashboard\",\"type\":\"n8n-nodes-base.set\",\"position\":[950,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"dashboard\",\"value\":\"=\\n\\n\\n \\n \\n \\n Dashboard\\n\\n\\n\\n\\n \\n
\\n
\\n \\n n8 \\n \\n

Dashboard

\\n
\\n
\\n
\\n
Total Clicks
\\n{{$node[\\\"Extract stats\\\"].json[\\\"totalClick\\\"]}}\\n
\\n
\\n
Total Links
\\n{{$node[\\\"Extract stats\\\"].json[\\\"totalLinks\\\"]}}\\n
\\n
\\n
Total Hosts
\\n{{$node[\\\"Extract stats\\\"].json[\\\"totalHosts\\\"]}}\\n
\\n
\\n
\\n\\n\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Crypto\":{\"main\":[[{\"node\":\"Set ID,shortUrl,longUrl\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Check URL\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Set Output1\",\"type\":\"main\",\"index\":0}]]},\"Check Id\":{\"main\":[[{\"node\":\"Extract Id\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set Error output1\",\"type\":\"main\",\"index\":0}]]},\"Webhook1\":{\"main\":[[{\"node\":\"Check Id\",\"type\":\"main\",\"index\":0}]]},\"Webhook2\":{\"main\":[[{\"node\":\"Find by ID2\",\"type\":\"main\",\"index\":0}]]},\"Check URL\":{\"main\":[[{\"node\":\"Extract URL\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set Error output\",\"type\":\"main\",\"index\":0}]]},\"Set input\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Extract Id\":{\"main\":[[{\"node\":\"Find by ID1\",\"type\":\"main\",\"index\":0}]]},\"Find by ID\":{\"main\":[[{\"node\":\"Already exists ?\",\"type\":\"main\",\"index\":0}]]},\"Extract URL\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]},\"Find by ID1\":{\"main\":[[{\"node\":\"Already exists ?1\",\"type\":\"main\",\"index\":0}]]},\"Find by ID2\":{\"main\":[[{\"node\":\"Extract stats\",\"type\":\"main\",\"index\":0}]]},\"Extract stats\":{\"main\":[[{\"node\":\"Set dashboard\",\"type\":\"main\",\"index\":0}]]},\"Update clicks\":{\"main\":[[{\"node\":\"Set Output2\",\"type\":\"main\",\"index\":0}]]},\"Already exists ?\":{\"main\":[[{\"node\":\"Set Output\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set input\",\"type\":\"main\",\"index\":0}]]},\"Already exists ?1\":{\"main\":[[{\"node\":\"Prepare clicks count\",\"type\":\"main\",\"index\":0}],[{\"node\":\"404 Error\",\"type\":\"main\",\"index\":0}]]},\"Prepare clicks count\":{\"main\":[[{\"node\":\"Update clicks\",\"type\":\"main\",\"index\":0}]]},\"Set ID,shortUrl,longUrl\":{\"main\":[[{\"node\":\"Find by ID\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add data from Google Sheet to Dropbox", "output": "{\"nodes\":[{\"name\":\"Read Sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[450,300],\"parameters\":{\"sheetId\":\"1GT2dc0dOkAC1apY0UlTKY9vitBl8PtKrILvFiAy5VBs\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Convert to XLS\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[650,300],\"parameters\":{\"operation\":\"toFile\"},\"typeVersion\":1},{\"name\":\"Upload Dropbox\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[850,300],\"parameters\":{\"path\":\"/my-sheets/prices.xls\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"\"},\"typeVersion\":1},{\"name\":\"Trigger all 15 min\",\"type\":\"n8n-nodes-base.interval\",\"position\":[250,300],\"parameters\":{\"unit\":\"minutes\",\"interval\":15},\"typeVersion\":1}],\"connections\":{\"Read Sheet\":{\"main\":[[{\"node\":\"Convert to XLS\",\"type\":\"main\",\"index\":0}]]},\"Convert to XLS\":{\"main\":[[{\"node\":\"Upload Dropbox\",\"type\":\"main\",\"index\":0}]]},\"Trigger all 15 min\":{\"main\":[[{\"node\":\"Read Sheet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Check To Do on Notion and send message on Slack", "output": "{\"id\":\"331\",\"name\":\"Check To Do on Notion and send message on Slack\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[470,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1120,420],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get To Dos\",\"type\":\"n8n-nodes-base.notion\",\"position\":[670,320],\"parameters\":{\"blockId\":\"bafdscf\",\"resource\":\"block\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"notionApi\":\"\"},\"typeVersion\":1},{\"name\":\"If task assigned to Harshil?\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Check if the task is incomplete\",\"position\":[870,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"to_do\\\"][\\\"text\\\"][1][\\\"mention\\\"][\\\"user\\\"][\\\"name\\\"]}}\",\"value2\":\"NAME\"}],\"boolean\":[{\"value1\":\"={{$json[\\\"to_do\\\"][\\\"checked\\\"]}}\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Create a Direct Message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1120,220],\"parameters\":{\"options\":{\"users\":[\"U01JXLAJ6SE\"]},\"resource\":\"channel\",\"operation\":\"open\"},\"credentials\":{\"slackApi\":\"\"},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Send a Direct Message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1320,220],\"parameters\":{\"text\":\"# TO DO\",\"channel\":\"={{$json[\\\"id\\\"]}}\",\"attachments\":[{\"title\":\"=☑️ {{$node[\\\"If task assigned to Harshil?\\\"].json[\\\"to_do\\\"][\\\"text\\\"][0][\\\"text\\\"][\\\"content\\\"]}}\"}],\"otherOptions\":{\"mrkdwn\":true}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Get To Dos\",\"type\":\"main\",\"index\":0}]]},\"Get To Dos\":{\"main\":[[{\"node\":\"If task assigned to Harshil?\",\"type\":\"main\",\"index\":0}]]},\"Create a Direct Message\":{\"main\":[[{\"node\":\"Send a Direct Message\",\"type\":\"main\",\"index\":0}]]},\"If task assigned to Harshil?\":{\"main\":[[{\"node\":\"Create a Direct Message\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich and manage candidates data in Notion", "output": "{\"nodes\":[{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1050,300],\"parameters\":{\"blockUi\":{\"blockValues\":[{\"textContent\":\"=Name: {{$json[\\\"display_name\\\"]}}\\nPersonality: {{$json[\\\"personality_analysis\\\"][\\\"summary\\\"][\\\"ocean\\\"][\\\"description\\\"].join(', ')}}, {{$json[\\\"personality_analysis\\\"][\\\"summary\\\"][\\\"disc\\\"][\\\"description\\\"].join(', ')}}\\nOpenness: {{$json[\\\"personality_analysis\\\"][\\\"ocean_assessment\\\"][\\\"openness\\\"][\\\"level\\\"]}} {{$json[\\\"personality_analysis\\\"][\\\"ocean_assessment\\\"][\\\"openness\\\"][\\\"score\\\"]}}\\nCalculativeness: {{$json[\\\"personality_analysis\\\"][\\\"disc_assessment\\\"][\\\"calculativeness\\\"][\\\"level\\\"]}} {{$json[\\\"personality_analysis\\\"][\\\"disc_assessment\\\"][\\\"calculativeness\\\"][\\\"score\\\"]}}\"}]},\"resource\":\"databasePage\",\"databaseId\":\"\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"display_name\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"\"},\"typeVersion\":1},{\"name\":\"Humantic AI\",\"type\":\"n8n-nodes-base.humanticAi\",\"position\":[650,300],\"parameters\":{\"userId\":\"={{$json[\\\"payload\\\"][\\\"questions_and_responses\\\"][\\\"1_response\\\"]}}\"},\"credentials\":{\"humanticAiApi\":\"humantic\"},\"typeVersion\":1},{\"name\":\"Calendly Trigger\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[450,300],\"webhookId\":\"6d38c1f6-42ee-4f44-b424-20943075087b\",\"parameters\":{\"events\":[\"invitee.created\"]},\"credentials\":{\"calendlyApi\":\"\"},\"typeVersion\":1},{\"name\":\"Humantic AI1\",\"type\":\"n8n-nodes-base.humanticAi\",\"position\":[850,300],\"parameters\":{\"userId\":\"={{$json[\\\"results\\\"][\\\"userid\\\"]}}\",\"options\":{},\"operation\":\"get\"},\"credentials\":{\"humanticAiApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"Humantic AI\":{\"main\":[[{\"node\":\"Humantic AI1\",\"type\":\"main\",\"index\":0}]]},\"Humantic AI1\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"Calendly Trigger\":{\"main\":[[{\"node\":\"Humantic AI\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add positive feedback messages to a table in Notion", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[0,400],\"webhookId\":\"ad8a87ef-d293-4e48-8d36-838d69ebce0f\",\"parameters\":{\"formId\":\"fBYjtY5e\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"Google Cloud Natural Language\",\"type\":\"n8n-nodes-base.googleCloudNaturalLanguage\",\"position\":[200,400],\"parameters\":{\"content\":\"={{$json[\\\"Any suggestions for us? \\\"]}}\",\"options\":{}},\"credentials\":{\"googleCloudNaturalLanguageOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[400,400],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Cloud Natural Language\\\"].json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[600,300],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"b7d1130a-3756-4bb3-aa56-0c77bf416437\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Name\\\"]}}\"},{\"key\":\"Feedback|rich_text\",\"textContent\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Any suggestions for us? \\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[800,300],\"parameters\":{\"channel\":\"general\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"text\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Any suggestions for us? \\\"]}}\",\"title\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Name\\\"]}} {{$node[\\\"Google Cloud Natural Language\\\"].json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1},{\"name\":\"Trello\",\"type\":\"n8n-nodes-base.trello\",\"position\":[600,500],\"parameters\":{\"name\":\"=Score: {{$json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\",\"listId\":\"5fbb9e2eb1d5cc0a8a7ab8ac\",\"description\":\"=Score: {{$json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\\nFeedback: {{$node[\\\"Typeform Trigger\\\"].json[\\\"Any suggestions for us? \\\"]}}\\nUser: {{$node[\\\"Typeform Trigger\\\"].json[\\\"Name\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"trelloApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Trello\",\"type\":\"main\",\"index\":0}]]},\"Notion\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Google Cloud Natural Language\",\"type\":\"main\",\"index\":0}]]},\"Google Cloud Natural Language\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add articles to a Notion list by accessing a Discord slash command", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"45e2593e-f25d-4be5-9b50-4a7c1e566a9e\",\"parameters\":{\"path\":\"45e2593e-f25d-4be5-9b50-4a7c1e566a9e\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,200],\"parameters\":{\"url\":\"=https://{{$json[\\\"body\\\"][\\\"data\\\"][\\\"options\\\"][0][\\\"value\\\"]}}\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Check type\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"type\\\"]}}\",\"value2\":1,\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Extract Title\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1050,200],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"title\",\"cssSelector\":\"title\"}]}},\"typeVersion\":1},{\"name\":\"Add Link to Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1250,200],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"8a1638ce-da33-41b7-8fd9-37a4c272ba95\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"title\\\"]}}\"},{\"key\":\"Link|url\",\"urlValue\":\"={{$node[\\\"Check type\\\"].json[\\\"body\\\"][\\\"data\\\"][\\\"options\\\"][0][\\\"value\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"Notion API Credentials\"},\"typeVersion\":1},{\"name\":\"Reply on Discord\",\"type\":\"n8n-nodes-base.set\",\"position\":[1450,200],\"parameters\":{\"values\":{\"number\":[{\"name\":\"type\",\"value\":4}],\"string\":[{\"name\":\"data.content\",\"value\":\"Added Link to notion\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Register URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,410],\"parameters\":{\"values\":{\"number\":[{\"name\":\"type\",\"value\":1}],\"string\":[]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Check type\",\"type\":\"main\",\"index\":0}]]},\"Check type\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Register URL\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Extract Title\",\"type\":\"main\",\"index\":0}]]},\"Extract Title\":{\"main\":[[{\"node\":\"Add Link to Notion\",\"type\":\"main\",\"index\":0}]]},\"Add Link to Notion\":{\"main\":[[{\"node\":\"Reply on Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create transcription jobs using AWS Transcribe", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[190,160],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AWS Transcribe\",\"type\":\"n8n-nodes-base.awsTranscribe\",\"position\":[590,160],\"parameters\":{\"options\":{},\"mediaFileUri\":\"=s3://{{$node[\\\"AWS S3\\\"].parameter[\\\"bucketName\\\"]}}/{{$json[\\\"Key\\\"]}}\",\"detectLanguage\":true,\"transcriptionJobName\":\"={{$json[\\\"Key\\\"].replace(/\\\\s/g,'-')}}\"},\"credentials\":{\"aws\":\"AWS Transcribe Credentials\"},\"typeVersion\":1},{\"name\":\"AWS S3\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[390,160],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"returnAll\":true,\"bucketName\":\"n8n-docs\"},\"credentials\":{\"aws\":\"AWS S3 Credentials\"},\"typeVersion\":1}],\"connections\":{\"AWS S3\":{\"main\":[[{\"node\":\"AWS Transcribe\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"AWS S3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get a monitor using UptimeRobot", "output": "{\"nodes\":[{\"name\":\"UptimeRobot2\",\"type\":\"n8n-nodes-base.uptimeRobot\",\"position\":[890,320],\"parameters\":{\"id\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"monitor\",\"operation\":\"get\"},\"credentials\":{\"uptimeRobotApi\":\"UptimeRobot API Credentials\"},\"typeVersion\":1},{\"name\":\"UptimeRobot\",\"type\":\"n8n-nodes-base.uptimeRobot\",\"position\":[490,320],\"parameters\":{\"url\":\"https://n8n.io\",\"type\":1,\"resource\":\"monitor\",\"operation\":\"create\",\"friendlyName\":\"n8n\"},\"credentials\":{\"uptimeRobotApi\":\"UptimeRobot API Credentials\"},\"typeVersion\":1},{\"name\":\"UptimeRobot1\",\"type\":\"n8n-nodes-base.uptimeRobot\",\"position\":[690,320],\"parameters\":{\"id\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"monitor\",\"operation\":\"update\",\"updateFields\":{\"friendly_name\":\"n8n website\"}},\"credentials\":{\"uptimeRobotApi\":\"UptimeRobot API Credentials\"},\"typeVersion\":1}],\"connections\":{\"UptimeRobot\":{\"main\":[[{\"node\":\"UptimeRobot1\",\"type\":\"main\",\"index\":0}]]},\"UptimeRobot1\":{\"main\":[[{\"node\":\"UptimeRobot2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a task in Microsoft To Do", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft To Do\",\"type\":\"n8n-nodes-base.microsoftToDo\",\"position\":[450,200],\"parameters\":{\"title\":\"Document Microsoft To Do node\",\"operation\":\"create\",\"taskListId\":\"AQMkADAwATNiZmYAZC0zOTkAMy02ZWZjLTAwAi0wMAoALgAAA3i1fHMTrftIhQBzhywL64UBAFB0wRiJW1FJmmlvlAkVFQA-AAACARIAAAA=\",\"additionalFields\":{\"importance\":\"high\"}},\"credentials\":{\"microsoftToDoOAuth2Api\":\"Microsoft OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Microsoft To Do1\",\"type\":\"n8n-nodes-base.microsoftToDo\",\"position\":[650,200],\"parameters\":{\"taskId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"update\",\"taskListId\":\"={{$node[\\\"Microsoft To Do\\\"].parameter[\\\"taskListId\\\"]}}\",\"updateFields\":{\"status\":\"inProgress\"}},\"credentials\":{\"microsoftToDoOAuth2Api\":\"Microsoft OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Microsoft To Do2\",\"type\":\"n8n-nodes-base.microsoftToDo\",\"position\":[850,200],\"parameters\":{\"taskId\":\"={{$json[\\\"id\\\"]}}\",\"taskListId\":\"={{$node[\\\"Microsoft To Do\\\"].parameter[\\\"taskListId\\\"]}}\"},\"credentials\":{\"microsoftToDoOAuth2Api\":\"Microsoft OAuth Credentials\"},\"typeVersion\":1}],\"connections\":{\"Microsoft To Do\":{\"main\":[[{\"node\":\"Microsoft To Do1\",\"type\":\"main\",\"index\":0}]]},\"Microsoft To Do1\":{\"main\":[[{\"node\":\"Microsoft To Do2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft To Do\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage changes using the Git node", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[230,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Git\",\"type\":\"n8n-nodes-base.git\",\"position\":[430,320],\"parameters\":{\"operation\":\"add\",\"pathsToAdd\":\"README.md\"},\"typeVersion\":1},{\"name\":\"Git1\",\"type\":\"n8n-nodes-base.git\",\"position\":[630,320],\"parameters\":{\"message\":\"✨ First commit from n8n\",\"options\":{},\"operation\":\"commit\",\"repositoryPath\":\"={{$node[\\\"Git\\\"].parameter[\\\"repositoryPath\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Git2\",\"type\":\"n8n-nodes-base.git\",\"position\":[830,320],\"parameters\":{\"options\":{},\"repositoryPath\":\"={{$node[\\\"Git\\\"].parameter[\\\"repositoryPath\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Git3\",\"type\":\"n8n-nodes-base.git\",\"position\":[1030,320],\"parameters\":{\"options\":{},\"operation\":\"push\",\"repositoryPath\":\"={{$node[\\\"Git\\\"].parameter[\\\"repositoryPath\\\"]}}\"},\"executeOnce\":false,\"typeVersion\":1}],\"connections\":{\"Git\":{\"main\":[[{\"node\":\"Git1\",\"type\":\"main\",\"index\":0}]]},\"Git1\":{\"main\":[[{\"node\":\"Git2\",\"type\":\"main\",\"index\":0}]]},\"Git2\":{\"main\":[[{\"node\":\"Git3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Git\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Google Calendar tasks to Trello every day", "output": "{\"nodes\":[{\"name\":\"Get Start & End of day\",\"type\":\"n8n-nodes-base.function\",\"position\":[850,450],\"parameters\":{\"functionCode\":\"var curr = new Date;\\nvar first = (curr.getDate());\\nvar last = first;\\n\\nvar firstday = new Date(curr.setDate(first));\\nvar lastday = new Date(curr.setDate(last));\\n\\nbeginning = new Date(firstday.setHours(0,0,0,0));\\nending = new Date(lastday.setHours(23,59,59,99));\\n\\nitems[0].json.from = beginning.toISOString();\\nitems[0].json.to = ending.toISOString();\\n\\nreturn items;items[0].json.myVariable = 1;\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Set Trello Card Details\",\"type\":\"n8n-nodes-base.set\",\"position\":[1460,640],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"summary\\\"]}}\"},{\"name\":\"description\",\"value\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"description\\\"]}}\"},{\"name\":\"duedate\",\"value\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"start\\\"][\\\"dateTime\\\"]}}\"},{\"name\":\"URL\",\"value\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"htmlLink\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Remove Recurring Tasks\",\"type\":\"n8n-nodes-base.if\",\"position\":[1650,640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"Check email and start day\"},{\"value1\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"Lunch\"},{\"value1\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"Wrap Up & Clear Desk\"},{\"value1\":\"={{$node[\\\"Split Events In Batches\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"Beers and Griping\"}],\"boolean\":[]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Get Todays Events\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[1060,450],\"parameters\":{\"options\":{\"timeMax\":\"={{$node[\\\"Get Start & End of day\\\"].json[\\\"to\\\"]}}\",\"timeMin\":\"={{$node[\\\"Get Start & End of day\\\"].json[\\\"from\\\"]}}\",\"singleEvents\":true},\"calendar\":\"amenendez@threatconnect.com\",\"operation\":\"getAll\"},\"credentials\":{\"googleCalendarOAuth2Api\":\"Angel TC Calendar API\"},\"typeVersion\":1},{\"name\":\"Split Events In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1260,640],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Create Trello Cards\",\"type\":\"n8n-nodes-base.trello\",\"position\":[1830,730],\"parameters\":{\"name\":\"={{$node[\\\"Set Trello Card Details\\\"].json[\\\"name\\\"]}}\",\"description\":\"=**Meeting purpose (*Integrations, Playbooks, UI Issues, Project*):**\\n\\n- Task\\n\\n**Next Steps (*Task, Assigned to, Checkpoint Date*):**\\n\\n- Task\\n\\n**Decisions Made: (*What, Why, Impacts*):**\\n\\n- Task\\n\\n**Discussion: (*Items/Knowledge Shared*):**\\n\\n- Task\",\"additionalFields\":{\"due\":\"={{$node[\\\"Set Trello Card Details\\\"].json[\\\"duedate\\\"]}}\",\"idLabels\":\"\",\"urlSource\":\"={{$node[\\\"Set Trello Card Details\\\"].json[\\\"URL\\\"]}}\"}},\"credentials\":{\"trelloApi\":\"Angel Work Trello\"},\"typeVersion\":1},{\"name\":\"Delete Task\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1830,560],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Trigger Every Day at 8am\",\"type\":\"n8n-nodes-base.cron\",\"position\":[650,450],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1}],\"connections\":{\"Get Todays Events\":{\"main\":[[{\"node\":\"Split Events In Batches\",\"type\":\"main\",\"index\":0}]]},\"Get Start & End of day\":{\"main\":[[{\"node\":\"Get Todays Events\",\"type\":\"main\",\"index\":0}]]},\"Remove Recurring Tasks\":{\"main\":[[{\"node\":\"Delete Task\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create Trello Cards\",\"type\":\"main\",\"index\":0}]]},\"Set Trello Card Details\":{\"main\":[[{\"node\":\"Remove Recurring Tasks\",\"type\":\"main\",\"index\":0}]]},\"Split Events In Batches\":{\"main\":[[{\"node\":\"Set Trello Card Details\",\"type\":\"main\",\"index\":0},{\"node\":\"Get Todays Events\",\"type\":\"main\",\"index\":0}]]},\"Trigger Every Day at 8am\":{\"main\":[[{\"node\":\"Get Start & End of day\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a record on Notion database on Telegram message received", "output": "{\"id\":\"3\",\"name\":\"Telegram\",\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[250,470],\"webhookId\":\"0b0bf157-c2e6-4b7a-bf07-369ad127311f\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"n8n_felflei_bot\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[980,240],\"parameters\":{\"text\":\"Added in Notion!\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"n8n_felflei_bot\"},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[790,240],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"=fb48b1825fa242078d42d72d36148a1b\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Amount|number\"},{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"message\\\"][\\\"text\\\"]}}\"},{\"key\":\"Date|date\",\"date\":\"={{$json[\\\"data_today\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"Personal Expenses Integration\"},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[600,240],\"parameters\":{\"value\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"date\\\"]}}\",\"options\":{},\"toFormat\":\"YYYY-MM-DD\",\"dataPropertyName\":\"data_today\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Notion\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Date & Time\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Database alerts with Notion and SIGNL4", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[230,710],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nfor (item of items) {\\n \\nvar type = \\\"Status\\\";\\n// Acknowledged\\nif ((item.json.body.alert.statusCode == 2) && (item.json.body.eventType == 201)) {\\n type = \\\"Acknowledged\\\";\\n}\\n// Closed\\nif ((item.json.body.alert.statusCode == 4) & (item.json.body.eventType == 201)) {\\n type = \\\"Closed\\\";\\n}\\n// New Alert\\nif ((item.json.body.alert.statusCode == 1) & (item.json.body.eventType == 200)) {\\n type = \\\"New Alert\\\";\\n}\\n\\n// No one on duty\\nif ((item.json.body.alert.statusCode == 16) & (item.json.body.eventType == 201)) {\\n type = \\\"No one on duty\\\";\\n}\\n \\n// Annotation\\nvar annotation = \\\"\\\";\\nif ((item.json.body.eventType == 203) & (item.json.body.annotation != undefined) ) {\\n type = \\\"Annotated\\\";\\n annotation = item.json.body.annotation.message;\\n}\\nif (annotation != \\\"\\\") {\\n annotation = \\\": \\\" + annotation;\\n}\\n \\nvar username = \\\"System\\\";\\nif (item.json.body.user != undefined) {\\n username = item.json.body.user.username;\\n}\\n \\nvar data = type + \\\" by \\\" + username + annotation;\\n \\nitem.json.s4Status = data; // + \\\": \\\" + JSON.stringify(item.json);\\n\\n\\nitem.json.s4Up = false;\\nif (type == \\\"Closed\\\") {\\n item.json.s4Up = true;\\n}\\n\\n}\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn items;\\n\\n\\n\"},\"typeVersion\":1},{\"name\":\"Notion Trigger\",\"type\":\"n8n-nodes-base.notionTrigger\",\"disabled\":true,\"position\":[230,210],\"parameters\":{\"event\":\"pageAddedToDatabase\",\"pollTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":1}]},\"databaseId\":\"0f26823d-f509-43bb-b0e9-e9bb4ab91217\"},\"credentials\":{\"notionApi\":\"Notion\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[50,710],\"webhookId\":\"95fd62c7-fc8c-4f6f-8441-bbf85a2da81a\",\"parameters\":{\"path\":\"95fd62c7-fc8c-4f6f-8441-bbf85a2da81a\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[230,710],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nfor (item of items) {\\n \\nvar type = \\\"Status\\\";\\n// Acknowledged\\nif ((item.json.body.alert.statusCode == 2) && (item.json.body.eventType == 201)) {\\n type = \\\"Acknowledged\\\";\\n}\\n// Closed\\nif ((item.json.body.alert.statusCode == 4) & (item.json.body.eventType == 201)) {\\n type = \\\"Closed\\\";\\n}\\n// New Alert\\nif ((item.json.body.alert.statusCode == 1) & (item.json.body.eventType == 200)) {\\n type = \\\"New Alert\\\";\\n}\\n\\n// No one on duty\\nif ((item.json.body.alert.statusCode == 16) & (item.json.body.eventType == 201)) {\\n type = \\\"No one on duty\\\";\\n}\\n \\n// Annotation\\nvar annotation = \\\"\\\";\\nif ((item.json.body.eventType == 203) & (item.json.body.annotation != undefined) ) {\\n type = \\\"Annotated\\\";\\n annotation = item.json.body.annotation.message;\\n}\\nif (annotation != \\\"\\\") {\\n annotation = \\\": \\\" + annotation;\\n}\\n \\nvar username = \\\"System\\\";\\nif (item.json.body.user != undefined) {\\n username = item.json.body.user.username;\\n}\\n \\nvar data = type + \\\" by \\\" + username + annotation;\\n \\nitem.json.s4Status = data; // + \\\": \\\" + JSON.stringify(item.json);\\n\\n\\nitem.json.s4Up = false;\\nif (type == \\\"Closed\\\") {\\n item.json.s4Up = true;\\n}\\n\\n}\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn items;\\n\\n\\n\"},\"typeVersion\":1},{\"name\":\"Notion Update\",\"type\":\"n8n-nodes-base.notion\",\"position\":[420,710],\"parameters\":{\"pageId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"alert\\\"][\\\"externalEventId\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Description|rich_text\",\"peopleValue\":[],\"textContent\":\"={{$node[\\\"Function\\\"].json[\\\"s4Status\\\"]}}\",\"relationValue\":[],\"multiSelectValue\":[]}]}},\"credentials\":{\"notionApi\":\"Notion\"},\"typeVersion\":1},{\"name\":\"Interval\",\"type\":\"n8n-nodes-base.interval\",\"position\":[50,380],\"parameters\":{\"interval\":20},\"typeVersion\":1},{\"name\":\"SIGNL4 Resolve\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[420,540],\"parameters\":{\"operation\":\"resolve\",\"externalId\":\"={{$node[\\\"Notion Read Open\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"signl4Api\":\"SIGNL4\"},\"typeVersion\":1},{\"name\":\"SIGNL4 Alert\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[420,210],\"parameters\":{\"message\":\"=Machine Alert: {{$node[\\\"Notion Trigger\\\"].json[\\\"Name\\\"]}}\",\"additionalFields\":{\"title\":\"n8n Alert\",\"externalId\":\"={{$node[\\\"Notion Trigger\\\"].json[\\\"id\\\"]}}\",\"locationFieldsUi\":{\"locationFieldsValues\":{\"latitude\":\"52.3992137\",\"longitude\":\"13.0583823\"}}}},\"credentials\":{\"signl4Api\":\"SIGNL4\"},\"typeVersion\":1},{\"name\":\"Notion Update Read\",\"type\":\"n8n-nodes-base.notion\",\"position\":[570,380],\"parameters\":{\"pageId\":\"={{$node[\\\"Notion Read New\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Read|checkbox\",\"peopleValue\":[],\"checkboxValue\":true,\"relationValue\":[],\"multiSelectValue\":[]}]}},\"credentials\":{\"notionApi\":\"Notion\"},\"typeVersion\":1},{\"name\":\"Notion Read Open\",\"type\":\"n8n-nodes-base.notion\",\"position\":[230,540],\"parameters\":{\"options\":{\"filter\":{\"multipleCondition\":{\"condition\":{\"and\":[{\"key\":\"Up|checkbox\",\"condition\":\"equals\",\"checkboxValue\":true,\"multiSelectValue\":[]},{\"key\":\"Read|checkbox\",\"condition\":\"equals\",\"checkboxValue\":true,\"multiSelectValue\":[]}]}}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"0f26823d-f509-43bb-b0e9-e9bb4ab91217\"},\"credentials\":{\"notionApi\":\"Notion\"},\"typeVersion\":1},{\"name\":\"Notion Read New\",\"type\":\"n8n-nodes-base.notion\",\"position\":[230,380],\"parameters\":{\"options\":{\"filter\":{\"multipleCondition\":{\"condition\":{\"and\":[{\"key\":\"Read|checkbox\",\"condition\":\"equals\",\"multiSelectValue\":[]},{\"key\":\"Up|checkbox\",\"condition\":\"equals\",\"multiSelectValue\":[]}]}}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"0f26823d-f509-43bb-b0e9-e9bb4ab91217\"},\"credentials\":{\"notionApi\":\"Notion\"},\"typeVersion\":1},{\"name\":\"Notion Update Final\",\"type\":\"n8n-nodes-base.notion\",\"position\":[570,540],\"parameters\":{\"pageId\":\"={{$node[\\\"Notion Read Open\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Read|checkbox\",\"peopleValue\":[],\"relationValue\":[],\"multiSelectValue\":[]}]}},\"credentials\":{\"notionApi\":\"Notion\"},\"typeVersion\":1},{\"name\":\"SIGNL4 Alert 2\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[420,380],\"parameters\":{\"message\":\"=Machine Alert: {{$node[\\\"Notion Read New\\\"].json[\\\"Name\\\"]}}\",\"additionalFields\":{\"title\":\"n8n Alert\",\"externalId\":\"={{$node[\\\"Notion Read New\\\"].json[\\\"id\\\"]}}\",\"locationFieldsUi\":{\"locationFieldsValues\":{\"latitude\":\"52.3992137\",\"longitude\":\"13.0583823\"}}}},\"credentials\":{\"signl4Api\":\"SIGNL4\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Notion Update\",\"type\":\"main\",\"index\":0}]]},\"Interval\":{\"main\":[[{\"node\":\"Notion Read Open\",\"type\":\"main\",\"index\":0},{\"node\":\"Notion Read New\",\"type\":\"main\",\"index\":0}]]},\"Notion Trigger\":{\"main\":[[{\"node\":\"SIGNL4 Alert\",\"type\":\"main\",\"index\":0}]]},\"SIGNL4 Alert 2\":{\"main\":[[{\"node\":\"Notion Update Read\",\"type\":\"main\",\"index\":0}]]},\"SIGNL4 Resolve\":{\"main\":[[{\"node\":\"Notion Update Final\",\"type\":\"main\",\"index\":0}]]},\"Notion Read New\":{\"main\":[[{\"node\":\"SIGNL4 Alert 2\",\"type\":\"main\",\"index\":0}]]},\"Notion Read Open\":{\"main\":[[{\"node\":\"SIGNL4 Resolve\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a check condition for a loop in n8n", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[600,150],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$runIndex}}\",\"value2\":4}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[750,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[440,300],\"parameters\":{\"text\":\"Hello from n8n!\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"Dummy Account\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Twitter\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Trigger a build in Travis CI when code changes are push to a GitHub repo", "output": "{\"nodes\":[{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[450,300],\"webhookId\":\"01518289-14b1-4a45-9d33-39be08f7a544\",\"parameters\":{\"owner\":\"n8n-io\",\"events\":[\"push\",\"pull_request\"],\"repository\":\"n8n\",\"authentication\":\"oAuth2\"},\"credentials\":{\"githubOAuth2Api\":\"GitHub Credentials\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"headers\\\"][\\\"x-github-event\\\"]}}\",\"value2\":\"push\"},{\"value1\":\"={{$json[\\\"body\\\"][\\\"action\\\"]}}\",\"value2\":\"opened\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"TravisCI\",\"type\":\"n8n-nodes-base.travisCi\",\"position\":[850,200],\"parameters\":{\"slug\":\"={{$json[\\\"body\\\"][\\\"repository\\\"][\\\"full_name\\\"]}}\",\"branch\":\"=\",\"operation\":\"trigger\",\"additionalFields\":{}},\"credentials\":{\"travisCiApi\":\"Travis API\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[850,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"TravisCI\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Github Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Release a new version via Telegram bot command", "output": "{\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[460,320],\"webhookId\":\"4d8556a0-8fdf-4228-8ee2-3e3c72f5fc57\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[660,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"message\\\"][\\\"text\\\"]}}\",\"value2\":\"/deploy\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"GitHub\",\"type\":\"n8n-nodes-base.github\",\"position\":[1060,220],\"parameters\":{\"owner\":\"n8n-io\",\"resource\":\"release\",\"releaseTag\":\"={{$json[\\\"version\\\"]}}\",\"repository\":\"n8n\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"githubOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"version\",\"value\":\"={{$json[\\\"message\\\"][\\\"text\\\"].split(' ')[1]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[860,420],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"GitHub\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Merged API results WIP", "output": "{\"id\":\"1\",\"name\":\"Vino Order Akash\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[350,100],\"webhookId\":\"06541d04-4c40-4b77-89cf-b413fb465ef8\",\"parameters\":{\"path\":\"order\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1320,60],\"parameters\":{\"text\":\"=request:\\n{{$json[\\\"body\\\"][\\\"signedMessage\\\"]}}\\nsignature:\\n{{$json[\\\"body\\\"][\\\"signature\\\"]}}\\naccount:\\n{{$json[\\\"body\\\"][\\\"account\\\"]}}\",\"webhookUri\":\"https://discord.com/api/webhooks/{{yourDiscord}}?wait=true\"},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1320,210],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"{{yourNotion}}\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"ID|title\",\"title\":\"= {{$json[\\\"body\\\"][\\\"nftList\\\"]}} -> {{$json[\\\"body\\\"][\\\"email\\\"]}}\"},{\"key\":\"Signature|rich_text\",\"textContent\":\"={{$json[\\\"body\\\"][\\\"signature\\\"]}}\"},{\"key\":\"SignedAddress|rich_text\",\"textContent\":\"={{$json[\\\"body\\\"][\\\"shippingAddress\\\"]}}\"},{\"key\":\"NFTs|rich_text\",\"textContent\":\"={{$json[\\\"body\\\"][\\\"nftList\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"{{yourNotionCreds}}\"},\"typeVersion\":1},{\"name\":\"TEST Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[530,-80],\"parameters\":{\"url\":\"http://{{yourAkash}}.ingress.ewr1p0.mainnet.akashian.io/webhook/order\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"signedMessage\",\"value\":\"PLEASE VERIFY YOUR ADDRESS (physical and wallet)!\\\\nYour data is only sent to us and will never be shared publicly.\\\\nme@foo.nu\\\\nETH Wallet: 0xAfaC41C116F7cccccc4520a112456e\\\\nTimestamp: 2021-06-18T11:33:10.369Z\\\\nNFT IDs: 14\"},{\"name\":\"signature\",\"value\":\"0x072bd37fe5967a7f6d8930c470ea9a5a1dd48afb5816d388def7ad3c503d0f04241e7f9a3d1234fb12fa7c1dc9e0eadd5c3e9f16473b5607c83a63aae8f2fc1e1c\"},{\"name\":\"account\",\"value\":\"0xAfaC41C116F7bccccc520a112456e\"},{\"name\":\"nftList\",\"value\":\"[14]\"},{\"name\":\"email\",\"value\":\"me@foo.nu\"},{\"name\":\"shippingAddress\",\"value\":\"123Overthere\\\\nme@foo.nu\"}]},\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[720,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"email\\\"]}}\",\"value2\":\"@\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"IF2\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"signature\\\"]}}\",\"value2\":\"0x\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Set All OK\",\"type\":\"n8n-nodes-base.set\",\"position\":[1110,80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"signature\",\"value\":\"={{$json[\\\"body\\\"][\\\"signature\\\"]}}\"},{\"name\":\"shippingAddress\",\"value\":\"={{$json[\\\"body\\\"][\\\"shippingAddress\\\"]}}\"},{\"name\":\"nftList\",\"value\":\"={{$json[\\\"body\\\"][\\\"nftList\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Invalid Address\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,240],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result.error\",\"value\":\"Invalid Address\"},{\"name\":\"result.address\",\"value\":\"={{$json[\\\"body\\\"][\\\"account\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF address OK\",\"type\":\"n8n-nodes-base.if\",\"position\":[530,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"account\\\"]}}\",\"value2\":\"0x\",\"operation\":\"startsWith\"}]}},\"typeVersion\":1},{\"name\":\"Invalid Email\",\"type\":\"n8n-nodes-base.set\",\"position\":[840,240],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result.error\",\"value\":\"Invalid Email\"},{\"name\":\"result.email\",\"value\":\"={{$json[\\\"body\\\"][\\\"email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Invalid Sig\",\"type\":\"n8n-nodes-base.set\",\"position\":[1030,240],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result.error\",\"value\":\"Invalid Signature\"},{\"name\":\"result.signature\",\"value\":\"={{$json[\\\"body\\\"][\\\"signature\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set Response\",\"type\":\"n8n-nodes-base.set\",\"position\":[1580,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"discord\",\"value\":\"={{$json}}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1820,120],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Set Response1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1580,230],\"parameters\":{\"values\":{\"string\":[{\"name\":\"notion\",\"value\":\"={{$json}}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF1\":{\"main\":[[{\"node\":\"IF2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Invalid Email\",\"type\":\"main\",\"index\":0}]]},\"IF2\":{\"main\":[[{\"node\":\"Set All OK\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Invalid Sig\",\"type\":\"main\",\"index\":0}]]},\"Notion\":{\"main\":[[{\"node\":\"Set Response1\",\"type\":\"main\",\"index\":0}]]},\"Discord\":{\"main\":[[{\"node\":\"Set Response\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF address OK\",\"type\":\"main\",\"index\":0}]]},\"Set All OK\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0},{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"Set Response\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"IF address OK\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Invalid Address\",\"type\":\"main\",\"index\":0}]]},\"Set Response1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Add unique records to Airtable", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[500,400],\"parameters\":{\"operation\":\"list\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"Airtable Credentials @n8n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[500,200],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"Name\",\"value\":\"n8n\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[700,300],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"Name\",\"propertyName2\":\"fields.Name\"},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[900,300],\"parameters\":{\"options\":{},\"operation\":\"append\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials @n8n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0},{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Onboarding tutorial part 2", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[450,300],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Backup n8n workflows to Google Drive", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[320,170],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[960,320],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1260,320],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"useRawData\":false}},\"typeVersion\":1},{\"name\":\"Map\",\"type\":\"n8n-nodes-base.function\",\"position\":[710,320],\"parameters\":{\"functionCode\":\"return items[0].json.data.map(item => {\\n return {json: item}\\n});\"},\"typeVersion\":1},{\"name\":\"Get Workflow\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Don't forget to add your credentials for your n8n instance in this Node. Use Basic Auth for this. \",\"position\":[830,460],\"parameters\":{\"url\":\"=http://localhost:5678/rest/workflows/{{$node[\\\"Map\\\"].data[\\\"id\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":\"n8n Creds\"},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"Get Workflow List\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Don't forget to add your credentials for your n8n instance in this Node. Use Basic Auth for this. \",\"position\":[520,320],\"parameters\":{\"url\":\"http://localhost:5678/rest/workflows\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":\"n8n Creds\"},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1110,320],\"parameters\":{\"functionCode\":\"item = item.data;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[1450,320],\"parameters\":{\"name\":\"={{$node[\\\"Merge\\\"].data[\\\"name\\\"]}}.json\",\"parents\":[\"Delete this text and put id for folder you want to upload into in this field. The folder ID can be found by opening the folder in your browser and copying the portion after https://drive.google.com/drive/u/0/folders/\"],\"binaryData\":true,\"resolveData\":true},\"credentials\":{\"googleApi\":\"test\"},\"typeVersion\":1},{\"name\":\"Run Daily at 2:30am\",\"type\":\"n8n-nodes-base.cron\",\"position\":[330,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":2,\"minute\":30}]}},\"typeVersion\":1}],\"connections\":{\"Map\":{\"main\":[[{\"node\":\"Get Workflow\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow List\":{\"main\":[[{\"node\":\"Map\",\"type\":\"main\",\"index\":0}]]},\"Run Daily at 2:30am\":{\"main\":[[{\"node\":\"Get Workflow List\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get Workflow List\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Onboarding tutorial part 3", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[450,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Customer Messenger\",\"type\":\"n8n-nodes-base.n8nTrainingCustomeMessenger\",\"position\":[650,300],\"parameters\":{\"message\":\"=Hello from n8n, {{$node[\\\"Customer Datastore\\\"].json[\\\"name\\\"]}}\",\"customerId\":\"={{$node[\\\"Customer Datastore\\\"].json[\\\"id\\\"]}}\"},\"typeVersion\":1}],\"connections\":{\"Customer Datastore\":{\"main\":[[{\"node\":\"Customer Messenger\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Clean out unwanted emails from Gmail", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-40,240],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[150,240],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{\"q\":\"-in:chats unsubscribe -license -key -password\",\"format\":\"ids\"}},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Delete Old Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[500,410],\"parameters\":{\"resource\":\"message\",\"messageId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"delete\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[310,240],\"parameters\":{\"options\":{},\"batchSize\":100},\"typeVersion\":1}],\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Delete Old Gmail\",\"type\":\"main\",\"index\":0}]]},\"Delete Old Gmail\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Merge data for multiple executions", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,330],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1230,430],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet counter = 0;\\ndo {\\n try {\\n const items = $items(\\\"RSS Feed Read\\\", 0, counter).map(item => item.json);\\n allData.push.apply(allData, items);\\n } catch (error) {\\n return [{json: {allData}}]; \\n }\\n\\n counter++;\\n} while(true);\\n\\n\\n\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[470,330],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n url: 'https://medium.com/feed/n8n-io',\\n }\\n },\\n {\\n json: {\\n url: 'https://dev.to/feed/n8n',\\n }\\n }\\n];\"},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[870,330],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[670,330],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1070,520],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Merge Data\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a loop when using the filter by formula option in the Airtable", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[290,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[490,280],\"parameters\":{\"functionCode\":\"return [{\\n json: {\\n \\\"tag\\\":'Thrilling'\\n }\\n},\\n{\\n json: {\\n \\\"tag\\\":'Relaxing'\\n }\\n}\\n]\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[880,430],\"parameters\":{\"table\":\"Adventures\",\"operation\":\"list\",\"application\":\"appXH8F6nJ8Tbpd4Y\",\"additionalOptions\":{\"filterByFormula\":\"={Category}='{{$json[\\\"tag\\\"]}}'\"}},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[690,280],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1}],\"connections\":{\"Airtable\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Configure backup from Portainer and push the file towards an FTP server", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,650],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Portainer URL needs to have the final slash. FTP Backup Folder, if defined, needs to have the final slash too.\",\"position\":[400,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Portainer URL\",\"value\":\"http://localhost:9000/\"},{\"name\":\"Admin Username\",\"value\":\"portainerAdminUsername\"},{\"name\":\"Admin Password\",\"value\":\"portainerAdminPassword\"},{\"name\":\"FTP Backup Folder\",\"value\":\"portainer-backups/\"}]},\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[550,500],\"parameters\":{\"url\":\"={{$json[\\\"Portainer URL\\\"]}}api/auth\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"username\",\"value\":\"={{$json[\\\"Admin Username\\\"]}}\"},{\"name\":\"password\",\"value\":\"={{$json[\\\"Admin Password\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,500],\"parameters\":{\"url\":\"={{$json[\\\"Portainer URL\\\"]}}api/backup\",\"options\":{},\"requestMethod\":\"POST\",\"responseFormat\":\"file\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"Password\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"=Bearer {{$json[\\\"jwt\\\"]}}\"},{\"name\":\"accept\",\"value\":\"application/octet-stream\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[700,660],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"FTP\",\"type\":\"n8n-nodes-base.ftp\",\"position\":[1000,500],\"parameters\":{\"path\":\"={{$node[\\\"Merge\\\"].json[\\\"FTP Backup Folder\\\"]}}portainer-backup_{{new Date().toISOString().replace(\\\":\\\",\\\"-\\\").replace(\\\":\\\",\\\"-\\\")}}.tgz\",\"operation\":\"upload\"},\"credentials\":{\"ftp\":\"Local FTP\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,500],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"FTP\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automated Recognition of Ko-Fi Donors in Telegram", "output": "{\"id\":\"51\",\"name\":\"Ko-Fi - Updates\",\"nodes\":[{\"name\":\"Ko-Fi WebHook\",\"type\":\"n8n-nodes-base.webhook\",\"notes\":\"Recoger donaciones de Ko-Fi\",\"position\":[440,120],\"webhookId\":\"2dc5232b-e348-4505-93b7-d1f950dcd0cc\",\"parameters\":{\"path\":\"2dc5232b-e348-4505-93b7-d1f950dcd0cc\",\"options\":{\"responseData\":\"\",\"responseHeaders\":{\"entries\":[{\"name\":\"from_name\",\"value\":\"=\"}]}},\"httpMethod\":\"POST\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Extraer Items\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[640,200],\"parameters\":{\"functionCode\":\"item = JSON.parse(item.body.data);\\nreturn item;\\n\"},\"typeVersion\":1},{\"name\":\"Agradecimientos\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[990,340],\"parameters\":{\"file\":\"={{$node[\\\"Configuración\\\"].json[\\\"GIF\\\"]}}\",\"chatId\":\"={{$node[\\\"Configuración\\\"].json[\\\"Canal\\\"]}}\",\"operation\":\"sendAnimation\",\"replyMarkup\":\"inlineKeyboard\",\"inlineKeyboard\":{\"rows\":[{\"row\":{\"buttons\":[{\"text\":\"={{$node[\\\"Configuración\\\"].json[\\\"Boton\\\"]}}\",\"additionalFields\":{\"url\":\"=https://ko-fi.com/{{$node[\\\"Configuración\\\"].json[\\\"Ko-fi Usename\\\"]}}\"}}]}}]},\"additionalFields\":{\"caption\":\"={{$node[\\\"Configuración\\\"].json[\\\"Caption\\\"]}}\",\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":\"Aitor Roma Canal - BoT\"},\"typeVersion\":1},{\"name\":\"Configuración\",\"type\":\"n8n-nodes-base.set\",\"position\":[830,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Ko-fi Usename\",\"value\":\"aitorroma\"},{\"name\":\"Caption\",\"value\":\"=🌟Un café a tu salud *{{$node[\\\"Extraer Items\\\"].json[\\\"from_name\\\"]}}*! 🎉🎉\\n*!Muchas Gracias!*\"},{\"name\":\"GIF\",\"value\":\"https://media.giphy.com/media/S6SS09ACRoK0sCPW8R/giphy.gif\"},{\"name\":\"Boton\",\"value\":\"💖 Invítame a un café\"},{\"name\":\"Canal\",\"value\":\"@aitorroma\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Extraer Items\":{\"main\":[[{\"node\":\"Configuración\",\"type\":\"main\",\"index\":0}]]},\"Ko-Fi WebHook\":{\"main\":[[{\"node\":\"Extraer Items\",\"type\":\"main\",\"index\":0}]]},\"Configuración\":{\"main\":[[{\"node\":\"Agradecimientos\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Handle pagination in HTTP Requests", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[200,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[600,470],\"parameters\":{\"url\":\"={{$node[\\\"Config URL\\\"].json[\\\"next\\\"]}}\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"hapikey\",\"value\":\"\"},{\"name\":\"limit\",\"value\":\"100\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[800,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.function\",\"position\":[1000,470],\"parameters\":{\"functionCode\":\"return new Promise((resolve, reject) => {\\n setTimeout(() => { resolve([{ json: {} }]) }, 5000);\\n })\\n\"},\"typeVersion\":1},{\"name\":\"Config URL\",\"type\":\"n8n-nodes-base.function\",\"position\":[400,470],\"parameters\":{\"functionCode\":\"\\nlet next = 'https://api.hubapi.com/crm/v3/objects/contacts'\\n\\nif (items[0].json.next) {\\n next = items[0].json.next\\n}\\n\\nreturn [\\n {\\n json: {\\n next : next\\n }\\n }\\n]\"},\"typeVersion\":1},{\"name\":\"Check if pagination?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1250,470],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"paging\\\"] ? true : false}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Set next URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[890,210],\"parameters\":{\"values\":{\"string\":[{\"name\":\"next\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"paging\\\"][\\\"next\\\"][\\\"link\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Combine all data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1500,560],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet counter = 0;\\ndo {\\n try {\\n const items = $items(\\\"HTTP Request\\\", 0, counter).map(item => item.json.results);\\n \\n const aja = items[0].map(item => {\\n return { json: item }\\n }) \\n \\n allData.push.apply(allData, aja);\\n //allData.push($items(\\\"Increment\\\", 0, counter));\\n } catch (error) {\\n return allData; \\n }\\n\\n counter++;\\n} while(true);\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"NoOp\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Check if pagination?\",\"type\":\"main\",\"index\":0}]]},\"Config URL\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Set next URL\":{\"main\":[[{\"node\":\"Config URL\",\"type\":\"main\",\"index\":0}]]},\"Check if pagination?\":{\"main\":[[{\"node\":\"Set next URL\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Combine all data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Config URL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Example workflow for live stream", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,310],\"parameters\":{\"functionCode\":\"console.log('Execution is working!');\\nreturn [\\n {json: {name: 'Omar', age: 34, city: 'Berlin'}}\\n];\"},\"typeVersion\":1},{\"name\":\"Interval\",\"type\":\"n8n-nodes-base.interval\",\"position\":[250,150],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[250,470],\"webhookId\":\"fa8a79cc-0c86-4c8a-91d8-31fd697e448c\",\"parameters\":{\"path\":\"fa8a79cc-0c86-4c8a-91d8-31fd697e448c\",\"options\":{},\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Interval\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Webhook returning XML", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"302c87d4-2c92-40a0-9a77-cef4ddd7db6d\",\"name\":\"XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[840,440],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{}},\"typeVersion\":1},{\"id\":\"88ba5ee7-4788-452f-9d64-bf192fe90e5f\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[660,440],\"parameters\":{\"values\":{\"number\":[{\"name\":\"number\",\"value\":1}],\"string\":[{\"name\":\"string\",\"value\":\"my text\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"6cda9dc3-0fdd-4f3a-aecf-0ff0efd28c33\",\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1020,440],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"content-type\",\"value\":\"application/xml\"}]}},\"respondWith\":\"text\",\"responseBody\":\"={{ $json.data }}\"},\"typeVersion\":1},{\"id\":\"94644433-fb9b-4532-81d2-d9673eb6e15e\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[480,440],\"webhookId\":\"89fb6783-adc5-4cbc-bacc-dbd7b85df403\",\"parameters\":{\"path\":\"test\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"XML\",\"type\":\"main\",\"index\":0}]]},\"XML\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Split nested items with the Split In Batches node", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[650,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1420,50],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches1\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1060,300],\"parameters\":{\"options\":{\"reset\":\"={{$node[\\\"SplitInBatches1\\\"].context[\\\"noItemsLeft\\\"]}}\"},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1280,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"SplitInBatches1\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Input data\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"const inputData = [\\n {id: 1, data: [{id: 10}, {id: 11}] },\\n {id: 2, data: [{id: 20}, {id: 21}] },\\n {id: 3, data: [{id: 30}, {id: 31}] },\\n];\\n\\nreturn inputData.map((res) => ({json: res}));\"},\"typeVersion\":1},{\"name\":\"Flatify data with parent id\",\"type\":\"n8n-nodes-base.function\",\"position\":[850,300],\"parameters\":{\"functionCode\":\"const res = []\\nitems.forEach((item) => {\\n item.json.data.forEach((d) => {\\n res.push({...d})\\n })\\n})\\nreturn res.map((e) => ({json: e}));\"},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1580,-60],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1780,-160],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Input data\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Flatify data with parent id\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Input data\",\"type\":\"main\",\"index\":0}]]},\"Flatify data with parent id\":{\"main\":[[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Github stars to Raindrop", "output": "{\"id\":6,\"name\":\"Github Stars to Raindrop\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-690,30],\"parameters\":{},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[150,170],\"parameters\":{},\"typeVersion\":1},{\"name\":\"GitHub Events\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-350,90],\"parameters\":{\"url\":\"=https://api.github.com/users/{{$json[\\\"user\\\"]}}/events\",\"options\":{\"splitIntoItems\":true},\"authentication\":\"basicAuth\",\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"user-agent\",\"value\":\"n8n\"}]}},\"credentials\":{\"httpBasicAuth\":\"Github Basic Auth\"},\"typeVersion\":1},{\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.set\",\"position\":[-180,90],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"type\",\"value\":\"={{$json[\\\"type\\\"]}}\"},{\"name\":\"action\",\"value\":\"={{$json[\\\"payload\\\"][\\\"action\\\"]}}\"},{\"name\":\"url\",\"value\":\"={{$json[\\\"repo\\\"][\\\"url\\\"]}}\"}]},\"options\":{\"dotNotation\":true},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"If Stared\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,90],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"type\\\"]}}\",\"value2\":\"WatchEvent\"},{\"value1\":\"={{$json[\\\"action\\\"]}}\",\"value2\":\"started\"}]}},\"typeVersion\":1},{\"name\":\"Filter new items\",\"type\":\"n8n-nodes-base.function\",\"position\":[150,20],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newIds = items.map(item => item.json[\\\"id\\\"]);\\nconst oldIds = staticData.oldIds; \\n\\nif (!oldIds) {\\n staticData.oldIds = newIds;\\n return items;\\n}\\n\\n\\nconst actualNewIds = newIds.filter((id) => !oldIds.includes(id));\\nconst actualNew = items.filter((data) => actualNewIds.includes(data.json['id']));\\nstaticData.oldIds = [...actualNewIds, ...oldIds];\\n\\nreturn actualNew;\\n\"},\"typeVersion\":1},{\"name\":\"GitHub item data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[320,20],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"user-agent\",\"value\":\"n8n\"}]}},\"credentials\":{\"httpBasicAuth\":\"Github Basic Auth\"},\"typeVersion\":1},{\"name\":\"Raindrop Bookmark\",\"type\":\"n8n-nodes-base.raindrop\",\"position\":[490,20],\"parameters\":{\"link\":\"={{$json[\\\"html_url\\\"]}}\",\"resource\":\"bookmark\",\"operation\":\"create\",\"collectionId\":0,\"additionalFields\":{\"tags\":\"github\",\"title\":\"={{$json[\\\"full_name\\\"]}} | {{$json[\\\"description\\\"]}}\"}},\"credentials\":{\"raindropOAuth2Api\":\"Raindrop\"},\"typeVersion\":1},{\"name\":\"Set username\",\"type\":\"n8n-nodes-base.set\",\"position\":[-520,90],\"parameters\":{\"values\":{\"string\":[{\"name\":\"user\",\"value\":\"CHANGE_ME\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Every 30 mins\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-690,180],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":30}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"If Stared\":{\"main\":[[{\"node\":\"Filter new items\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"If Stared\",\"type\":\"main\",\"index\":0}]]},\"Set username\":{\"main\":[[{\"node\":\"GitHub Events\",\"type\":\"main\",\"index\":0}]]},\"Every 30 mins\":{\"main\":[[{\"node\":\"Set username\",\"type\":\"main\",\"index\":0}]]},\"GitHub Events\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Filter new items\":{\"main\":[[{\"node\":\"GitHub item data\",\"type\":\"main\",\"index\":0}]]},\"GitHub item data\":{\"main\":[[{\"node\":\"Raindrop Bookmark\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set username\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Promote new Shopify products on Twitter and Telegram", "output": "{\"nodes\":[{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[720,-220],\"parameters\":{\"text\":\"=Hey there, my design is now on a new product ✨\\nVisit my {{$json[\\\"vendor\\\"]}} shop to get this cool{{$json[\\\"title\\\"]}} (and check out more {{$json[\\\"product_type\\\"]}}) 🛍️\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[720,-20],\"parameters\":{\"text\":\"=Hey there, my design is now on a new product!\\nVisit my {{$json[\\\"vendor\\\"]}} shop to get this cool{{$json[\\\"title\\\"]}} (and check out more {{$json[\\\"product_type\\\"]}})\",\"chatId\":\"123456\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"telegram_habot\"},\"typeVersion\":1},{\"name\":\"product created\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[540,-110],\"webhookId\":\"2a7e0e50-8f09-4a2b-bf54-a849a6ac4fe0\",\"parameters\":{\"topic\":\"products/create\"},\"credentials\":{\"shopifyApi\":\"shopify_nodeqa\"},\"typeVersion\":1}],\"connections\":{\"product created\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0},{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Process Shopify new orders with Zoho CRM and Harvest", "output": "{\"nodes\":[{\"name\":\"Zoho\",\"type\":\"n8n-nodes-base.zohoCrm\",\"position\":[950,610],\"parameters\":{\"lastName\":\"={{$json[\\\"customer_lastname\\\"]}}\",\"resource\":\"contact\",\"operation\":\"upsert\",\"additionalFields\":{\"Email\":\"={{$json[\\\"customer_email\\\"]}}\",\"Phone\":\"={{$json[\\\"customer_phone\\\"]}}\",\"First_Name\":\"={{$json[\\\"customer_firstname\\\"]}}\",\"Mailing_Address\":{\"address_fields\":{\"Mailing_Zip\":\"={{$json[\\\"customer_zipcode\\\"]}}\",\"Mailing_City\":\"={{$json[\\\"customer_city\\\"]}}\",\"Mailing_State\":\"=\",\"Mailing_Street\":\"={{$json[\\\"customer_street\\\"]}}\",\"Mailing_Country\":\"={{$json[\\\"customer_country\\\"]}}\"}}}},\"credentials\":{\"zohoOAuth2Api\":\"zoho_api\"},\"typeVersion\":1},{\"name\":\"Trello\",\"type\":\"n8n-nodes-base.trello\",\"position\":[1160,800],\"parameters\":{\"name\":\"=Shopify order {{$node[\\\"order created\\\"].json[\\\"order_number\\\"]}}\",\"listId\":\"list01\",\"additionalFields\":{\"urlSource\":\"={{$node[\\\"order created\\\"].json[\\\"order_status_url\\\"]}}\"}},\"credentials\":{\"trelloApi\":\"trello_nodeqa\"},\"typeVersion\":1},{\"name\":\"Set fields\",\"type\":\"n8n-nodes-base.set\",\"position\":[760,760],\"parameters\":{\"values\":{\"number\":[{\"name\":\"customer_phone\",\"value\":\"={{$json[\\\"customer\\\"][\\\"default_address\\\"][\\\"phone\\\"]}}\"},{\"name\":\"customer_zipcode\",\"value\":\"={{$json[\\\"shipping_address\\\"][\\\"zip\\\"]}}\"},{\"name\":\"order_value\",\"value\":\"={{$json[\\\"current_total_price\\\"]}}\"}],\"string\":[{\"name\":\"customer_firstname\",\"value\":\"={{$json[\\\"customer\\\"][\\\"first_name\\\"]}}\"},{\"name\":\"customer_lastname\",\"value\":\"={{$json[\\\"customer\\\"][\\\"last_name\\\"]}}\"},{\"name\":\"customer_email\",\"value\":\"={{$json[\\\"customer\\\"][\\\"email\\\"]}}\"},{\"name\":\"customer_country\",\"value\":\"={{$json[\\\"shipping_address\\\"][\\\"country\\\"]}}\"},{\"name\":\"customer_street\",\"value\":\"={{$json[\\\"shipping_address\\\"][\\\"address1\\\"]}}\"},{\"name\":\"customer_city\",\"value\":\"={{$json[\\\"shipping_address\\\"][\\\"city\\\"]}}\"},{\"name\":\"customer_province\",\"value\":\"={{$json[\\\"shipping_address\\\"][\\\"province\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[960,1040],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"order_value\\\"]}}\",\"value2\":50,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Gmail - coupon\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1140,950],\"parameters\":{\"toList\":[\"={{$node[\\\"Set fields\\\"].json[\\\"customer_email\\\"]}}\"],\"message\":\"=Hi {{$json[\\\"customer_firstname\\\"]}},\\n\\nThank you for your order! Here's a 15% coupon code to use for your next order: COUPON15\\n\\nBest,\\nShop Owner\",\"subject\":\"Your Shopify order\",\"resource\":\"message\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":\"gmail\"},\"typeVersion\":1},{\"name\":\"Gmail - thankyou\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1140,1150],\"parameters\":{\"toList\":[\"={{$node[\\\"Set fields\\\"].json[\\\"customer_email\\\"]}}\"],\"message\":\"=Hi {{$node[\\\"Set fields\\\"].json[\\\"customer_firstname\\\"]}},\\nThank you for your order! We're getting it ready for shipping it to you.\\n\\nBest,\\nShop Owner\",\"subject\":\"Your Shopify order\",\"resource\":\"message\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":\"gmail\"},\"typeVersion\":1},{\"name\":\"Mailchimp\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[1340,950],\"parameters\":{\"list\":\"qwertz\",\"tags\":[\"high-order\"],\"email\":\"={{$node[\\\"Set fields\\\"].json[\\\"customer_email\\\"]}}\",\"options\":{},\"resource\":\"memberTag\"},\"credentials\":{\"mailchimpApi\":\"mailchimp_API\"},\"typeVersion\":1},{\"name\":\"order created\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[560,760],\"webhookId\":\"qwertz\",\"parameters\":{\"topic\":\"orders/create\"},\"credentials\":{\"shopifyApi\":\"shopify_nodeqa\"},\"typeVersion\":1},{\"name\":\"Harvest\",\"type\":\"n8n-nodes-base.harvest\",\"position\":[980,800],\"parameters\":{\"clientId\":\"shopify_client\",\"resource\":\"invoice\",\"accountId\":\"12345\",\"operation\":\"create\",\"additionalFields\":{\"currency\":\"={{$node[\\\"order created\\\"].json[\\\"currency\\\"]}}\",\"issue_date\":\"={{$node[\\\"order created\\\"].json[\\\"processed_at\\\"]}}\",\"payment_term\":\"net 15\",\"purchase_order\":\"={{$node[\\\"order created\\\"].json[\\\"order_number\\\"]}}\"}},\"credentials\":{\"harvestApi\":\"harvest_token\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Gmail - coupon\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Gmail - thankyou\",\"type\":\"main\",\"index\":0}]]},\"Harvest\":{\"main\":[[{\"node\":\"Trello\",\"type\":\"main\",\"index\":0}]]},\"Set fields\":{\"main\":[[{\"node\":\"Harvest\",\"type\":\"main\",\"index\":0},{\"node\":\"IF\",\"type\":\"main\",\"index\":0},{\"node\":\"Zoho\",\"type\":\"main\",\"index\":0}]]},\"order created\":{\"main\":[[{\"node\":\"Set fields\",\"type\":\"main\",\"index\":0}]]},\"Gmail - coupon\":{\"main\":[[{\"node\":\"Mailchimp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Run weekly inventories on Shopify sales ", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-700,1500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":10,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"Shopify\",\"type\":\"n8n-nodes-base.shopify\",\"position\":[-500,1500],\"parameters\":{\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"shopifyApi\":\"shopify_nodeqa\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[300,1400],\"parameters\":{\"functionCode\":\"let totalOrders = items.length;\\nlet ordersSum = 0;\\n\\nfor(let i=0; i < items.length; i++) {\\n ordersSum = ordersSum + parseFloat(items[i].json.orderPrice);\\n}\\nreturn [{json:{totalOrders, ordersSum}}]\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[500,1500],\"parameters\":{\"options\":{},\"sheetId\":\"1GVyV1yYwWZu510NTzVgi2RyesrsnuP3RxXmWbX1O7DQ\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google_sheets_oauth\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[500,1300],\"parameters\":{\"text\":\"=Hey team, this week we had {{$json[\\\"totalOrders\\\"]}} orders with a total value of € {{$json[\\\"ordersSum\\\"]}}.\",\"channel\":\"shopify\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"slack_nodeqa\"},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[-300,1500],\"parameters\":{\"value\":\"={{$json[\\\"created_at\\\"]}}\",\"options\":{},\"dataPropertyName\":\"order_date\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[-100,1500],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{$node[\\\"Date & Time\\\"].json[\\\"order_date\\\"]}}\",\"value2\":\"2021-08-17T15:00:53.223Z\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[100,1600],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set price\",\"type\":\"n8n-nodes-base.set\",\"position\":[100,1400],\"parameters\":{\"values\":{\"number\":[{\"name\":\"orderPrice\",\"value\":\"={{$json[\\\"total_price\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set price\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Shopify\",\"type\":\"main\",\"index\":0}]]},\"Shopify\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0},{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Set price\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Date & Time\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Detect toxic language in Telegram messages", "output": "{\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[600,300],\"webhookId\":\"2d0805da-143e-40c9-b327-242b1f052c31\",\"parameters\":{\"updates\":[\"message\",\"edited_message\",\"channel_post\",\"edited_channel_post\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"telegram_habot\"},\"typeVersion\":1},{\"name\":\"Google Perspective\",\"type\":\"n8n-nodes-base.googlePerspective\",\"position\":[800,300],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"][\\\"text\\\"]}}\",\"options\":{\"languages\":\"en\"},\"requestedAttributesUi\":{\"requestedAttributesValues\":[{\"attributeName\":\"identity_attack\"},{\"attributeName\":\"threat\"},{\"attributeName\":\"profanity\"}]}},\"credentials\":{\"googlePerspectiveOAuth2Api\":\"perspective_api\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1000,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"attributeScores\\\"][\\\"PROFANITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1200,150],\"parameters\":{\"text\":\"I don't tolerate toxic language!\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"reply_to_message_id\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"message_id\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"telegram_habot\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1200,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Google Perspective\",\"type\":\"main\",\"index\":0}]]},\"Google Perspective\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Fetch a YouTube playlist and send new items Raindrop", "output": "{\"id\":7,\"name\":\"YouTube to Raindrop\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-610,160],\"parameters\":{},\"typeVersion\":1},{\"name\":\"YouTube\",\"type\":\"n8n-nodes-base.youTube\",\"position\":[-440,240],\"parameters\":{\"part\":[\"snippet\"],\"options\":{},\"resource\":\"playlistItem\",\"operation\":\"getAll\",\"playlistId\":\"CHANGE_ME\"},\"credentials\":{\"youTubeOAuth2Api\":\"Google n8n\"},\"typeVersion\":1},{\"name\":\"Filter new items\",\"type\":\"n8n-nodes-base.function\",\"position\":[-120,240],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newIds = items.map(item => item.json[\\\"resourceId\\\"][\\\"videoId\\\"]);\\nconst oldIds = staticData.oldIds; \\n\\nif (!oldIds) {\\n staticData.oldIds = newIds;\\n return items;\\n}\\n\\n\\nconst actualNewIds = newIds.filter((id) => !oldIds.includes(id));\\nconst actualNew = items.filter((data) => actualNewIds.includes(data.json[\\\"resourceId\\\"][\\\"videoId\\\"]));\\nstaticData.oldIds = [...actualNewIds, ...oldIds];\\n\\nreturn actualNew;\\n\"},\"typeVersion\":1},{\"name\":\"Flatten JSON\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[-280,240],\"parameters\":{\"functionCode\":\"item = item[\\\"snippet\\\"]\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Raindrop Bookmark\",\"type\":\"n8n-nodes-base.raindrop\",\"position\":[40,240],\"parameters\":{\"link\":\"=https://www.youtube.com/watch?v={{$json[\\\"resourceId\\\"][\\\"videoId\\\"]}}\",\"resource\":\"bookmark\",\"operation\":\"create\",\"collectionId\":0,\"additionalFields\":{\"tags\":\"youtube\",\"title\":\"={{$json[\\\"videoOwnerChannelTitle\\\"]}} | {{$json[\\\"title\\\"]}}\"}},\"credentials\":{\"raindropOAuth2Api\":\"Raindrop\"},\"typeVersion\":1},{\"name\":\"Every 30 mins\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-610,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":30}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"YouTube\":{\"main\":[[{\"node\":\"Flatten JSON\",\"type\":\"main\",\"index\":0}]]},\"Flatten JSON\":{\"main\":[[{\"node\":\"Filter new items\",\"type\":\"main\",\"index\":0}]]},\"Every 30 mins\":{\"main\":[[{\"node\":\"YouTube\",\"type\":\"main\",\"index\":0}]]},\"Filter new items\":{\"main\":[[{\"node\":\"Raindrop Bookmark\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"YouTube\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Report phishing websites to Steam and CloudFlare", "output": "{\"name\":\"Steam + CF Report\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[110,200],\"parameters\":{\"path\":\"steam\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\",\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":\"credentials\"},\"retryOnFail\":false,\"typeVersion\":1},{\"name\":\"Add bind-tools\",\"type\":\"n8n-nodes-base.executeCommand\",\"color\":\"#FF8000\",\"notes\":\"Install bind-tools\",\"position\":[480,180],\"parameters\":{\"command\":\"=which dig || apk add bind-tools\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":1000},{\"name\":\"dig check CF\",\"type\":\"n8n-nodes-base.executeCommand\",\"color\":\"#FF8000\",\"notes\":\"Install bind-tools\",\"position\":[1300,-50],\"parameters\":{\"command\":\"=dig NS {{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}} +short | grep cloudflare.com.$ | wc -l\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":1000},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1550,-50],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"= {{$node[\\\"dig check CF\\\"].data[\\\"stdout\\\"]}}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Mail CloudFlare\",\"type\":\"n8n-nodes-base.mailgun\",\"position\":[1830,160],\"parameters\":{\"text\":\"=Hello,\\n\\nI am emailing you to let you know about a Steam phishing website on your network: {{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}}.\\n\\nThank you,\\nYour Name Here\",\"ccEmail\":\"yourCCemail\",\"subject\":\"={{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}} - Steam Phishing Website on your network\",\"toEmail\":\"security@cloudflare.com\",\"fromEmail\":\"yourFROMemail\"},\"credentials\":{\"mailgunApi\":\"Mailgun\"},\"typeVersion\":1},{\"name\":\"Mail Steam\",\"type\":\"n8n-nodes-base.mailgun\",\"position\":[1830,340],\"parameters\":{\"text\":\"=Hello,\\n\\nI am emailing you to let you know about a Steam phishing website: {{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}}.\\n\\nThank you,\\nYour Name Here\",\"ccEmail\":\"yourCCemail\",\"subject\":\"={{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}} - Steam Phishing Website\",\"toEmail\":\"security@valvesoftware.com\",\"fromEmail\":\"yourFROMemail\"},\"credentials\":{\"mailgunApi\":\"Mailgun\"},\"typeVersion\":1},{\"name\":\"dig check if domain is valid\",\"type\":\"n8n-nodes-base.executeCommand\",\"color\":\"#FF8000\",\"notes\":\"Install bind-tools\",\"position\":[720,180],\"parameters\":{\"command\":\"=dig NS {{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}} +short | wc -l\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":1000},{\"name\":\"If it has nameservers\",\"type\":\"n8n-nodes-base.if\",\"position\":[970,180],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"= {{$node[\\\"dig check if domain is valid\\\"].data[\\\"stdout\\\"]}}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[270,200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"q\\\"]}}\",\"value2\":\"/^[a-zA-Z0-9-_.]+$/\",\"operation\":\"regex\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Mail CloudFlare\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"Add bind-tools\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"dig check CF\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Add bind-tools\":{\"main\":[[{\"node\":\"dig check if domain is valid\",\"type\":\"main\",\"index\":0}]]},\"If it has nameservers\":{\"main\":[[{\"node\":\"dig check CF\",\"type\":\"main\",\"index\":0},{\"node\":\"Mail Steam\",\"type\":\"main\",\"index\":0}]]},\"dig check if domain is valid\":{\"main\":[[{\"node\":\"If it has nameservers\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a Pipedrive activity on Calendly event scheduled", "output": "{\"nodes\":[{\"name\":\"Calendly Trigger\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[-600,1700],\"webhookId\":\"f3436daa-42cd-4ac9-93ff-750a9cc28165\",\"parameters\":{\"events\":[\"invitee.created\"]},\"credentials\":{\"calendlyApi\":\"calendly_api\"},\"typeVersion\":1},{\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[-400,1600],\"parameters\":{\"type\":\"call\",\"subject\":\"={{$json[\\\"payload\\\"][\\\"event_type\\\"][\\\"name\\\"]}} with {{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"name\\\"]}} on {{$json[\\\"payload\\\"][\\\"event\\\"][\\\"invitee_start_time\\\"]}}\",\"resource\":\"activity\",\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":\"pipedriveapi\"},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[-400,1800],\"parameters\":{\"value\":\"={{$json[\\\"payload\\\"][\\\"event\\\"][\\\"end_time\\\"]}}\",\"action\":\"calculate\",\"options\":{},\"duration\":15,\"timeUnit\":\"minutes\",\"dataPropertyName\":\"feedback_time\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[0,1800],\"parameters\":{\"text\":\"={{$json[\\\"payload\\\"][\\\"event\\\"][\\\"assigned_to\\\"][0]}}, today you had a {{$json[\\\"payload\\\"][\\\"event_type\\\"][\\\"name\\\"]}} {{$json[\\\"payload\\\"][\\\"event_type\\\"][\\\"kind\\\"]}} meeting with {{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"name\\\"]}}. Please write your notes from the call here [link] and mark this message with ✅ when you're done.\",\"channel\":\"salesteam\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"slack_nodeqa\"},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[-200,1800],\"webhookId\":\"05c224b9-6ca7-40e7-97cb-bc1ddc3b55af\",\"parameters\":{\"resume\":\"specificTime\",\"dateTime\":\"={{$json[\\\"feedback_time\\\"]}}\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Date & Time\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Calendly Trigger\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0},{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Backup workflows to GitHub", "output": "{\"nodes\":[{\"name\":\"GitHub Edit\",\"type\":\"n8n-nodes-base.github\",\"position\":[1190,610],\"parameters\":{\"owner\":\"YOUR_USERNAME\",\"filePath\":\"={{$json[\\\"data\\\"][\\\"name\\\"]}}.json\",\"resource\":\"file\",\"operation\":\"edit\",\"repository\":\"REPO_NAME\",\"fileContent\":\"={{JSON.stringify($json[\\\"data\\\"])}}\",\"commitMessage\":\"=[N8N Backup] {{$json.data[\\\"name\\\"]}} ({{new Date(Date.now()).toLocaleDateString()}})\"},\"credentials\":{\"githubApi\":\"GitHub@harshil1712\"},\"typeVersion\":1},{\"name\":\"Get Files\",\"type\":\"n8n-nodes-base.github\",\"position\":[200,500],\"parameters\":{\"owner\":\"YOUR_USERNAME\",\"filePath\":\"/\",\"resource\":\"file\",\"operation\":\"get\",\"repository\":\"REPO\",\"asBinaryProperty\":false},\"credentials\":{\"githubApi\":\"GitHub@harshil1712\"},\"executeOnce\":true,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Transform\",\"type\":\"n8n-nodes-base.function\",\"position\":[400,500],\"parameters\":{\"functionCode\":\"return items[0].json.map(item => {\\n return {\\n json: item\\n }\\n});\\n\"},\"typeVersion\":1},{\"name\":\"Create file\",\"type\":\"n8n-nodes-base.github\",\"position\":[1240,280],\"parameters\":{\"owner\":\"YOUR_USERNAME\",\"filePath\":\"={{$json[\\\"data\\\"][\\\"name\\\"]}}.json\",\"resource\":\"file\",\"repository\":\"REPO\",\"fileContent\":\"={{JSON.stringify($node['Merge'].json[\\\"data\\\"])}}\",\"commitMessage\":\"=[N8N Backup] {{$json.data[\\\"name\\\"]}}.json ({{new Date(Date.now()).toLocaleDateString()}})\"},\"credentials\":{\"githubApi\":\"GitHub@harshil1712\"},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[930,280],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"data.name\",\"propertyName2\":\"data.name\"},\"typeVersion\":1},{\"name\":\"Get workflows\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[200,300],\"parameters\":{\"url\":\"http://localhost:5678/rest/workflows\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":\"n8n instance auth\"},\"typeVersion\":1},{\"name\":\"Get workflow data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[600,300],\"parameters\":{\"url\":\"=http://localhost:5678/rest/workflows/{{$json[\\\"id\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":\"n8n instance auth\"},\"typeVersion\":1},{\"name\":\"Download Raw Content\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[600,500],\"parameters\":{\"url\":\"={{$json[\\\"download_url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"responseFormat\":\"string\"},\"credentials\":{\"httpHeaderAuth\":\"GitHub Token\"},\"typeVersion\":1},{\"name\":\"transform\",\"type\":\"n8n-nodes-base.function\",\"position\":[390,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nfor (item of items[0].json.data) {\\n newItems.push({json: item});\\n}\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Daily at 23:59\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-20,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":23,\"minute\":59}]}},\"typeVersion\":1},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[970,610],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"data.updatedAt\",\"propertyName2\":\"data.updatedAt\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Create file\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"GitHub Edit\",\"type\":\"main\",\"index\":0}]]},\"Get Files\":{\"main\":[[{\"node\":\"Transform\",\"type\":\"main\",\"index\":0}]]},\"Transform\":{\"main\":[[{\"node\":\"Download Raw Content\",\"type\":\"main\",\"index\":0}]]},\"transform\":{\"main\":[[{\"node\":\"Get workflow data\",\"type\":\"main\",\"index\":0}]]},\"Get workflows\":{\"main\":[[{\"node\":\"transform\",\"type\":\"main\",\"index\":0}]]},\"Daily at 23:59\":{\"main\":[[{\"node\":\"Get workflows\",\"type\":\"main\",\"index\":0}]]},\"Get workflow data\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Download Raw Content\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Capture leads in HubSpot from Typeform", "output": "{\"nodes\":[{\"name\":\"create new contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-300,1200],\"parameters\":{\"email\":\"={{$json[\\\"form_email\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"industry\":\"={{$json[\\\"form_department\\\"]}}\",\"lastName\":\"={{$json[\\\"form_lastname\\\"]}}\",\"firstName\":\"={{$json[\\\"form_firstname\\\"]}}\",\"companyName\":\"={{$json[\\\"form_companyname\\\"]}}\"}},\"credentials\":{\"hubspotApi\":\"hubspot_nodeqa\"},\"typeVersion\":1},{\"name\":\"update lead stage\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[100,1100],\"parameters\":{\"email\":\"={{$node[\\\"create new contact\\\"].json[\\\"properties\\\"][\\\"email\\\"][\\\"value\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"lifeCycleStage\":\"opportunity\"}},\"credentials\":{\"hubspotApi\":\"hubspot_nodeqa\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[100,1300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set values\",\"type\":\"n8n-nodes-base.set\",\"position\":[-500,1200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"form_firstname\",\"value\":\"={{$json[\\\"First up, what's your name?\\\"]}}\"},{\"name\":\"form_lastname\",\"value\":\"={{$json[\\\"And your surname, [field:fda1954c-f7a3-4fd3-a8dc-dcad5160bab5]?\\\"]}}\"},{\"name\":\"form_department\",\"value\":\"={{$json[\\\"And in which department do you work, [field:fda1954c-f7a3-4fd3-a8dc-dcad5160bab5]?\\\"]}}\"},{\"name\":\"form_companyname\",\"value\":\"={{$json[\\\"Great! Now what company are you from?\\\"]}}\"},{\"name\":\"form_email\",\"value\":\"={{$json[\\\"Just a couple more questions left! What's your email address?\\\"]}}\"}],\"boolean\":[{\"name\":\"form_interest\",\"value\":\"={{$json[\\\"And are you currently looking to scale your visual content?\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[-700,1200],\"webhookId\":\"97eb74c8-156c-4329-8679-37b69533f709\",\"parameters\":{\"formId\":\"RPueloJC\"},\"credentials\":{\"typeformApi\":\"typeform\"},\"typeVersion\":1},{\"name\":\"lead interested\",\"type\":\"n8n-nodes-base.if\",\"position\":[-100,1200],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Set values\\\"].json[\\\"form_interest\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"send information\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[300,1100],\"parameters\":{\"toList\":[\"={{$json[\\\"properties\\\"][\\\"email\\\"][\\\"value\\\"]}}\"],\"message\":\"=Hello {{$json[\\\"properties\\\"][\\\"firstname\\\"][\\\"value\\\"]}},\\n\\nI'm glad to hear you're interested in our services. You can schedule a call with me here: [calendly_link].\\nUntil then, check out this presentation about how we can help your business: [presentation_link].\\nLooking forward to talking to you!\\n\\nBest,\\nTeam\",\"subject\":\"So you're interested in growing your business\",\"resource\":\"message\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":\"gmail\"},\"typeVersion\":1}],\"connections\":{\"Set values\":{\"main\":[[{\"node\":\"create new contact\",\"type\":\"main\",\"index\":0}]]},\"lead interested\":{\"main\":[[{\"node\":\"update lead stage\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Set values\",\"type\":\"main\",\"index\":0}]]},\"update lead stage\":{\"main\":[[{\"node\":\"send information\",\"type\":\"main\",\"index\":0}]]},\"create new contact\":{\"main\":[[{\"node\":\"lead interested\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Export new deals from HubSpot to Slack and Airtable", "output": "{\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[630,990],\"parameters\":{\"values\":{\"number\":[{\"name\":\"deal_value\",\"value\":\"={{$json[\\\"properties\\\"][\\\"amount\\\"][\\\"value\\\"]}}\"},{\"name\":\"deal_id\",\"value\":\"={{$json[\\\"dealId\\\"]}}\"}],\"string\":[{\"name\":\"deal_name\",\"value\":\"={{$json[\\\"properties\\\"][\\\"dealname\\\"][\\\"value\\\"]}}\"},{\"name\":\"deal_date\",\"value\":\"={{$json[\\\"properties\\\"][\\\"closedate\\\"][\\\"timestamp\\\"]}}\"},{\"name\":\"deal_description\",\"value\":\"={{$json[\\\"properties\\\"][\\\"description\\\"][\\\"value\\\"]}}\"},{\"name\":\"deal_type\",\"value\":\"={{$json[\\\"properties\\\"][\\\"dealtype\\\"][\\\"value\\\"]}}\"},{\"name\":\"deal_stage\",\"value\":\"={{$json[\\\"properties\\\"][\\\"dealstage\\\"][\\\"value\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[830,740],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"closedwon\"},{\"output\":1,\"value2\":\"presentationscheduled\"},{\"output\":2,\"value2\":\"closedlost\"}]},\"value1\":\"={{$node[\\\"Hubspot\\\"].json[\\\"properties\\\"][\\\"dealstage\\\"][\\\"value\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[830,1140],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"deal_value\\\"]}}\",\"value2\":500,\"operation\":\"larger\"}],\"string\":[{\"value1\":\"={{$json[\\\"deal_type\\\"]}}\",\"value2\":\"newbusiness\"},{\"value1\":\"={{$json[\\\"deal_stage\\\"]}}\",\"value2\":\"closedlost|closedwon\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"high-priority\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1030,1040],\"parameters\":{\"stageId\":\"1\",\"resource\":\"ticket\",\"pipelineId\":\"0\",\"ticketName\":\"=Deal: {{$json[\\\"deal_name\\\"]}}\",\"additionalFields\":{\"priority\":\"HIGH\",\"description\":\"={{$json[\\\"deal_description\\\"]}}\",\"ticketOwnerId\":12345}},\"credentials\":{\"hubspotApi\":\"hubspot_nodeqa\"},\"typeVersion\":1},{\"name\":\"low-priority\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1030,1240],\"parameters\":{\"stageId\":\"1\",\"resource\":\"ticket\",\"pipelineId\":\"0\",\"ticketName\":\"=Deal: {{$json[\\\"deal_name\\\"]}}\",\"additionalFields\":{\"priority\":\"MEDIUM\",\"description\":\"={{$json[\\\"deal_description\\\"]}}\"}},\"credentials\":{\"hubspotApi\":\"hubspot_nodeqa\"},\"typeVersion\":1},{\"name\":\"#closedwon\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1030,590],\"parameters\":{\"text\":\"=We successfully closed the deal {{$node[\\\"Set\\\"].json[\\\"deal_name\\\"]}}!\",\"channel\":\"deals\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"slack_nodeqa\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1030,890],\"parameters\":{\"table\":\"lost_deals\",\"fields\":[\"deal_name\",\"deal_id\",\"deal_type\"],\"options\":{},\"operation\":\"append\",\"application\":\"appqwertz\",\"addAllFields\":false},\"credentials\":{\"airtableApi\":\"airtable_nodeqa\"},\"typeVersion\":1},{\"name\":\"Google Slides\",\"type\":\"n8n-nodes-base.googleSlides\",\"position\":[1030,740],\"parameters\":{\"title\":\"=Presentation for deal {{$node[\\\"Set\\\"].json[\\\"deal_name\\\"]}}\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSlidesOAuth2Api\":\"slides\"},\"typeVersion\":1},{\"name\":\"Hubspot Trigger\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[240,990],\"webhookId\":\"12345\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{\"name\":\"deal.creation\"}]},\"additionalFields\":{}},\"typeVersion\":1},{\"name\":\"Hubspot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[440,990],\"parameters\":{\"dealId\":\"={{$json[\\\"dealId\\\"]}}\",\"operation\":\"get\",\"additionalFields\":{}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"high-priority\",\"type\":\"main\",\"index\":0}],[{\"node\":\"low-priority\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0},{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"#closedwon\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Google Slides\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Hubspot\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Hubspot Trigger\":{\"main\":[[{\"node\":\"Hubspot\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify on new document in Google Drive folder", "output": "{\"id\":3,\"name\":\"New scans\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[450,300],\"parameters\":{\"limit\":500,\"options\":{\"fields\":[\"*\"]},\"operation\":\"list\",\"queryString\":\"='FOLDER_ID_HERE' in parents\",\"authentication\":\"oAuth2\",\"useQueryString\":true},\"credentials\":{\"googleDriveOAuth2Api\":\"Google Drive account\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[],\"dateTime\":[{\"value1\":\"={{$json[\\\"createdTime\\\"]}}\",\"value2\":\"={{$json[\\\"latestRead\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,560],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"*/30 9-17 * * 1-5\"}]}},\"typeVersion\":1},{\"name\":\"Function1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1050,300],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\nstaticData.latestRead = (new Date()).toUTCString();\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[650,300],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nlatestRead = staticData.latestRead;\\nfor (let item of items) {\\n item.json.latestRead = latestRead || '1970-01-01';\\n}\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1250,300],\"parameters\":{\"channelId\":\"57grbom5w7ga7nxfaiuz5m9ezo\",\"attachments\":[{\"title\":\"={{$node[\\\"Google Drive\\\"].json[\\\"name\\\"]}}\",\"title_link\":\"={{$node[\\\"Google Drive\\\"].json[\\\"webViewLink\\\"]}}\"}],\"otherOptions\":{}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Function1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Function1\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]},\"Google Drive\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Use Redis to rate-limit your low-code API", "output": "{\"nodes\":[{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1650,300],\"parameters\":{\"table\":\"Pokemon\",\"operation\":\"list\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"Airtable Credentials @n8n\"},\"typeVersion\":1},{\"name\":\"Redis\",\"type\":\"n8n-nodes-base.redis\",\"position\":[600,600],\"parameters\":{\"key\":\"={{$json[\\\"apiKey\\\"]}}\",\"ttl\":3600,\"expire\":true,\"operation\":\"incr\"},\"credentials\":{\"redis\":\"Redis Cloud Credentials\"},\"typeVersion\":1},{\"name\":\"Redis1\",\"type\":\"n8n-nodes-base.redis\",\"position\":[1200,450],\"parameters\":{\"key\":\"={{$json[\\\"apiKey\\\"]}}\",\"operation\":\"incr\"},\"credentials\":{\"redis\":\"Redis Cloud Credentials\"},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1600,550],\"parameters\":{\"values\":{\"string\":[{\"name\":\"message\",\"value\":\"You exceeded your limit\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Webhook1\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[200,600],\"webhookId\":\"a3167ed7-98d2-422c-bfe2-e3ba599d19f1\",\"parameters\":{\"path\":\"a3167ed7-98d2-422c-bfe2-e3ba599d19f1\",\"options\":{},\"responseMode\":\"lastNode\",\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Credential Example\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1900,300],\"parameters\":{\"functionCode\":\" const limit = `Limit consumed: `+ $node['Redis1'].json[$node[\\\"Set2\\\"].json[\\\"apiKey\\\"]];\\n return [\\n {\\n json: {\\n message:limit,\\n body: items.map(item => {\\n const name= item.json.fields.name\\n const url= item.json.fields.url\\n return {name,url}\\n })\\n }\\n }\\n]\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[400,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"apiKey\",\"value\":\"={{$json[\\\"headers\\\"][\\\"x-api-key\\\"] +'-'+ new Date().getHours() +'-'+ new Date().getMinutes()}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set2\",\"type\":\"n8n-nodes-base.set\",\"position\":[1000,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"apiKey\",\"value\":\"={{$node['Webhook1'].json[\\\"headers\\\"][\\\"x-api-key\\\"] +'-'+ new Date().getHours()}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set3\",\"type\":\"n8n-nodes-base.set\",\"position\":[1000,700],\"parameters\":{\"values\":{\"string\":[{\"name\":\"message\",\"value\":\"You exceeded your limit\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Per hour\",\"type\":\"n8n-nodes-base.if\",\"position\":[1400,450],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[$node[\\\"Set2\\\"].json[\\\"apiKey\\\"]]}}\",\"value2\":60}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"Per minute\",\"type\":\"n8n-nodes-base.if\",\"position\":[800,600],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[$node[\\\"Set\\\"].json[\\\"apiKey\\\"]]}}\",\"value2\":10,\"operation\":\"smallerEqual\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Redis\",\"type\":\"main\",\"index\":0}]]},\"Set2\":{\"main\":[[{\"node\":\"Redis1\",\"type\":\"main\",\"index\":0}]]},\"Redis\":{\"main\":[[{\"node\":\"Per minute\",\"type\":\"main\",\"index\":0}]]},\"Redis1\":{\"main\":[[{\"node\":\"Per hour\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Per hour\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Webhook1\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Per minute\":{\"main\":[[{\"node\":\"Set2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Avoid rate limiting by batching HTTP requests", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[450,300],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[650,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,300],\"parameters\":{\"url\":\"https://jsonplaceholder.typicode.com/posts\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$json[\\\"name\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[950,100],\"webhookId\":\"b809abfb-8e02-4b31-90b9-0005be656312\",\"parameters\":{\"unit\":\"seconds\",\"amount\":4},\"typeVersion\":1},{\"name\":\"Replace Me\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1050,300],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Replace Me\",\"type\":\"main\",\"index\":0},{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Kafka Workflow v.2", "output": "{\"id\":\"98\",\"name\":\"Send updates about the position of the ISS every minute to a topic in Kafka\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[710,300],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,300],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"name\\\"]}}\"},{\"name\":\"Latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"Longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"Timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Kafka\",\"type\":\"n8n-nodes-base.kafka\",\"position\":[1110,300],\"parameters\":{\"topic\":\"iss-position\",\"options\":{}},\"credentials\":{\"kafka\":\"kafka\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Kafka\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Parse Ycombinator news page", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-100,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Get news page\",\"position\":[100,470],\"parameters\":{\"url\":\"=https://news.ycombinator.com/\",\"options\":{\"fullResponse\":true,\"batchInterval\":500},\"responseFormat\":\"file\",\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[]},\"allowUnauthorizedCerts\":true},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"notes\":\"extract news data\",\"position\":[310,470],\"parameters\":{\"options\":{},\"sourceData\":\"binary\",\"extractionValues\":{\"values\":[{\"key\":\"news_title\",\"cssSelector\":\".storylink\",\"returnArray\":true},{\"key\":\"news_url\",\"attribute\":\"href\",\"cssSelector\":\".storylink\",\"returnArray\":true,\"returnValue\":\"attribute\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"list news url\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[500,570],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"news_url\"},\"typeVersion\":1},{\"name\":\"list news title\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[500,390],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"news_title\"},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[700,470],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[870,470],\"parameters\":{\"options\":{\"fileName\":\"=Ycombinator_news_{{new Date().toISOString().split('T', 1)[0]}}.{{$parameter[\\\"fileFormat\\\"]}}\",\"sheetName\":\"Latest news\"},\"operation\":\"toFile\"},\"typeVersion\":1},{\"name\":\"Send email notification\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,470],\"parameters\":{\"text\":\"=Here are the latest news attached!\",\"options\":{},\"subject\":\"Ycombinator news\",\"toEmail\":\"\",\"fromEmail\":\"\",\"attachments\":\"data\"},\"credentials\":{\"smtp\":\"\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"list news title\",\"type\":\"main\",\"index\":0},{\"node\":\"list news url\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"list news url\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"list news title\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Send email notification\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add Netlify Form submissions to Airtable", "output": "{\"nodes\":[{\"name\":\"Netlify Trigger\",\"type\":\"n8n-nodes-base.netlifyTrigger\",\"position\":[450,300],\"webhookId\":\"df7efc17-09bb-4409-9f6f-09bd5e59546e\",\"parameters\":{\"event\":\"submissionCreated\",\"formId\":\"615ad58f9f491e00070abac5\",\"siteId\":\"b585059c-a19a-487c-831f-c57af6f13bd1\"},\"credentials\":{\"netlifyApi\":\"Netlify account\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"name\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Role\",\"value\":\"={{$json[\\\"role\\\"][0]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[850,300],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"apphwBsFxzjDPDBA8\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials @n8n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Netlify Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Deploy site when new content gets added", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"0d36a8db-0177-4501-9f7a-e46b6829d07a\",\"parameters\":{\"path\":\"0d36a8db-0177-4501-9f7a-e46b6829d07a\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Netlify\",\"type\":\"n8n-nodes-base.netlify\",\"position\":[650,300],\"parameters\":{\"siteId\":\"5e15e032-9345-41b8-a98f-509e545f061c\",\"operation\":\"create\",\"additionalFields\":{\"title\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"title\\\"]}}\"}},\"credentials\":{\"netlifyApi\":\"Netlify account\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Netlify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send notification when deployment fails", "output": "{\"nodes\":[{\"name\":\"Netlify Trigger\",\"type\":\"n8n-nodes-base.netlifyTrigger\",\"position\":[450,300],\"webhookId\":\"0654820c-1960-4c8b-80fc-c0a66ab96577\",\"parameters\":{\"event\":\"deployFailed\",\"siteId\":\"ab52947e-a696-4498-a5a1-fae7fbe30c84\"},\"credentials\":{\"netlifyApi\":\"Netlify account\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[650,300],\"parameters\":{\"text\":\"=🚨 Deploy Failed 🚨\\nDeploy for the site {{$json[\\\"name\\\"]}} failed.\\nError Message: {{$json[\\\"error_message\\\"]}}\\nYou can find more information here: https://app.netlify.com/sites/{{$json[\\\"name\\\"]}}/deploys/{{$json[\\\"id\\\"]}}\",\"channel\":\"general\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"read-history\"},\"typeVersion\":1}],\"connections\":{\"Netlify Trigger\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add Google Calendar upcoming events to Discord", "output": "{\"id\":1,\"name\":\"Google Calendar to Discord\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-370,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"GetAllEvents\",\"type\":\"n8n-nodes-base.googleCalendar\",\"notes\":\"Get all events from Google Calendar in a timeframe we set before.\",\"position\":[110,520],\"parameters\":{\"options\":{\"timeMax\":\"={{$json[\\\"event_end\\\"]}}\",\"timeMin\":\"={{$json[\\\"event_start\\\"]}}\",\"singleEvents\":true},\"calendar\":\"xxxxx@group.calendar.google.com\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":\"Google Calendar account\"},\"notesInFlow\":true,\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"SetTimeframe\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Define two dates to act as range filter\",\"position\":[-120,520],\"parameters\":{\"functionCode\":\"// There is a lot of dealing with proper timezone.\\n// I'm sure it can be done much better\\n\\n// Timezone\\nvar timezoneOffset = 3;\\n\\nvar timezoneFormatted = timezoneOffset + \\\":00\\\";\\nif (timezoneOffset.toString().length == 1) {\\n timezoneFormatted = \\\"0\\\" + timezoneFormatted;\\n}\\nif (Math.sign(timezoneOffset) < 0) {\\n timezoneFormatted = \\\"-\\\" + timezoneFormatted ;\\n} else {\\n timezoneFormatted = \\\"+\\\" + timezoneFormatted ;\\n}\\n\\n// Range between two dates\\nvar minutes = 15;\\n\\n// Create dates\\nvar curr = new Date;\\nvar from= (curr.getUTCDate());\\nvar fromDate = new Date(curr.setDate(from) + timezoneOffset * 3600000);\\nvar toDate = new Date(curr.setDate(from) + timezoneOffset * 3600000 + minutes * 60000);\\n\\n// Format dates in a proper format e.g. 2021-10-08T11:15:00+03:00\\nitems[0].json.event_start = fromDate.toISOString().slice(0, 19) + timezoneFormatted;\\nitems[0].json.event_end= toDate.toISOString().slice(0, 19) + timezoneFormatted;\\n//items[0].json.event_start = fromDate.toLocaleString(\\\"sv\\\", { timeZone: timezoneID }).replace(' ', 'T') + \\\":00.000Z\\\";\\n//items[0].json.event_end= toDate.toLocaleString(\\\"sv\\\", { timeZone: timezoneID }).replace(' ', 'T') + \\\":00.000Z\\\";\\n\\n// Debug\\n//console.log(\\\"from \\\" + items[0].json.event_start);\\n//console.log(\\\"to \\\" + items[0].json.event_end);\\n\\nreturn items;\\n\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"PollingInterval\",\"type\":\"n8n-nodes-base.interval\",\"notes\":\"How often we trigger this awesome logic\",\"position\":[-360,520],\"parameters\":{\"unit\":\"minutes\",\"interval\":15},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"IfEventFitsInTimeframe\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Compare each event's start date if it fits in timeframe boundaries.\",\"position\":[550,520],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"start\\\"][\\\"unix\\\"]}}\",\"value2\":\"={{$json[\\\"start\\\"][\\\"from\\\"]}}\",\"operation\":\"largerEqual\"},{\"value1\":\"={{$json[\\\"start\\\"][\\\"unix\\\"]}}\",\"value2\":\"={{$json[\\\"start\\\"][\\\"to\\\"]}}\",\"operation\":\"smallerEqual\"}],\"string\":[],\"boolean\":[],\"dateTime\":[]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"PrepareDatetimes\",\"type\":\"n8n-nodes-base.functionItem\",\"notes\":\"Convert our timeframe and each event's start date to Unix time to make compare a bit easier\",\"position\":[330,520],\"parameters\":{\"functionCode\":\"// Add unitx times for start date and date range from Set Interval node\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nitem.start.unix = parseInt((new Date(item.start.dateTime).getTime() / 1000).toFixed(0));\\nitem.start.from = parseInt((new Date($items(\\\"SetTimeframe\\\")[0][\\\"json\\\"][\\\"event_start\\\"]).getTime() / 1000).toFixed(0));\\nitem.start.to = parseInt((new Date($items(\\\"SetTimeframe\\\")[0][\\\"json\\\"][\\\"event_end\\\"]).getTime() / 1000).toFixed(0));\\n\\nreturn item;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"ComposePayload\",\"type\":\"n8n-nodes-base.functionItem\",\"notes\":\"Create Discord embed object and stylize it's appearance\",\"position\":[770,500],\"parameters\":{\"functionCode\":\"// Debug\\n//console.log(item);\\n\\n// Format Dates (show time only)\\n// Start date\\nif (item.start !== undefined) {\\n item.start.dateTime = new Date(item.start.dateTime).toLocaleTimeString([], {hour: '2-digit', minute:'2-digit', timeZone: 'Europe/Moscow'});\\n}\\n// End date\\nif (item.end !== undefined) {\\n item.end.dateTime = new Date(item.end.dateTime).toLocaleTimeString([], {hour: '2-digit', minute:'2-digit', timeZone: 'Europe/Moscow'});\\n}\\n\\n// Format Attendees list\\nitem.attendeesFormatted = \\\"\\\";\\nif (item.attendees !== undefined && item.attendees.length) {\\n item.attendees.forEach(function (elem) {\\n // Debug\\n //console.log(elem.email);\\n //console.log(elem.displayName);\\n\\n if (elem.displayName !== undefined) {\\n item.attendeesFormatted += elem.displayName + \\\" (\\\" + elem.email + \\\") • \\\";\\n } else {\\n item.attendeesFormatted += elem.email + \\\" • \\\";\\n }\\n });\\n}\\nitem.attendeesFormatted = item.attendeesFormatted.slice(0, -3); \\n\\n// Discord \\nitem.discord = {};\\nitem.discord.username = \\\"Calendar Notifier\\\";\\nitem.discord.avatar_url = \\\"https://i.pravatar.cc/300\\\";\\n\\n// Format Description\\nif (item.description === undefined) {\\n item.description = \\\"\\\";\\n}\\nlet description = \\\"\\\";\\n// Deal if html content is detected\\nif (/<(br|basefont|hr|input|source|frame|param|area|meta|!--|col|link|option|base|img|wbr|!DOCTYPE).*?>|<(a|abbr|acronym|address|applet|article|aside|audio|b|bdi|bdo|big|blockquote|body|button|canvas|caption|center|cite|code|colgroup|command|datalist|dd|del|details|dfn|dialog|dir|div|dl|dt|em|embed|fieldset|figcaption|figure|font|footer|form|frameset|head|header|hgroup|h1|h2|h3|h4|h5|h6|html|i|iframe|ins|kbd|keygen|label|legend|li|map|mark|menu|meter|nav|noframes|noscript|object|ol|optgroup|output|p|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|track|tt|u|ul|var|video).*?<\\\\/\\\\2>/i.test(item.description)) {\\n description = item.description.replace(/<[^p>]*(>|$)|<[^br>]*(>|$)/g, '\\\\n');\\n description = description.replace(/ /g, ' ');\\n description = description.replace(/»|«/g, '\\\"');\\n description = description.replace(/]*?)href\\\\s*=\\\\s*(['\\\"])([^\\\\2]*?)\\\\2\\\\1*>/g, '$3\\\\n');\\n} else if (item.description.length > 0) {\\n description = \\\"\\\\n```\\\" + item.description + \\\"```\\\";\\n}\\n\\ndescription=\\\"`\\\" + item.start.dateTime + \\\" - \\\" + item.end.dateTime + \\\"`\\\" + description + \\\"\\\";\\n\\n// Icon url\\nlet iconURL = \\\"\\\";\\nif (item.conferenceData !== undefined) {\\n iconURL = item.conferenceData.conferenceSolution.iconUri;\\n}\\n\\nitem.discord.embeds = [\\n {\\n title: item.summary,\\n url: item.hangoutLink,\\n description: description,\\n thumbnail: {\\n url: iconURL \\n },\\n footer: {\\n text: item.attendeesFormatted\\n } \\n }\\n];\\n\\nreturn item;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"PostToDiscordWebhook\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Post it to Discord webhook.\\n\\nTHE END.\",\"position\":[1030,500],\"parameters\":{\"url\":\"https://discordapp.com/api/webhooks/xxx/xxxxxx\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"content\"},{\"name\":\"embeds\",\"value\":\"={{$node[\\\"ComposePayload\\\"].json[\\\"discord\\\"][\\\"embeds\\\"]}}\"},{\"name\":\"username\",\"value\":\"={{$json[\\\"discord\\\"][\\\"username\\\"]}}\"},{\"name\":\"avatar_url\",\"value\":\"={{$json[\\\"discord\\\"][\\\"avatar_url\\\"]}}\"}]}},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Europe/Kaliningrad\",\"saveExecutionProgress\":\"DEFAULT\"},\"connections\":{\"GetAllEvents\":{\"main\":[[{\"node\":\"PrepareDatetimes\",\"type\":\"main\",\"index\":0}]]},\"SetTimeframe\":{\"main\":[[{\"node\":\"GetAllEvents\",\"type\":\"main\",\"index\":0}]]},\"ComposePayload\":{\"main\":[[{\"node\":\"PostToDiscordWebhook\",\"type\":\"main\",\"index\":0}]]},\"PollingInterval\":{\"main\":[[{\"node\":\"SetTimeframe\",\"type\":\"main\",\"index\":0}]]},\"PrepareDatetimes\":{\"main\":[[{\"node\":\"IfEventFitsInTimeframe\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"SetTimeframe\",\"type\":\"main\",\"index\":0}]]},\"IfEventFitsInTimeframe\":{\"main\":[[{\"node\":\"ComposePayload\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Post unassigned Zendesk tickets to Slack", "output": "{\"id\":23,\"name\":\"Zendesk-to-slack\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[360,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"color\":\"#068906\",\"position\":[360,560],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":16,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[690,460],\"parameters\":{\"functionCode\":\"// Create our Slack message\\n// This will output a list of Ticket URLs with the status and the subject\\n// 12345 [STATUS] - Ticket Subject\\nlet message = \\\"*Unassigned Tickets*\\\\n\\\\n\\\";\\n\\n// Loop the input items\\nfor (item of items) {\\n // Append the ticket information to the message\\n message += \\\"*<\\\" + item.json.url.replace(\\\"api/v2\\\",\\\"agent\\\").replace(\\\".json\\\",\\\"\\\") + \\\"|\\\" + item.json.id + \\\">* [\\\" + item.json.status.toUpperCase() + \\\"] - \\\" + item.json.subject + \\\"\\\\n\\\"; \\n}\\n\\n// Return our message\\nreturn [{json: {message}}];\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[870,460],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"]}}\",\"channel\":\"jarvis-test\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"2\",\"name\":\"Slack\"}},\"typeVersion\":1},{\"name\":\"Zendesk\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[510,460],\"parameters\":{\"options\":{\"query\":\"assignee:none status0 ? item.json.heldJobsCount + ' jobs waiting':'No jobs waiting') + \\\"\\\\n\\\";\\n}\\n\\nreturn [{json:{message}}];\"},\"typeVersion\":1},{\"name\":\"If Status is not OK\",\"type\":\"n8n-nodes-base.if\",\"position\":[1040,270],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"status\\\"]}}\",\"value2\":\"OK\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Extract Printers\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[860,270],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"printers\"},\"typeVersion\":1},{\"name\":\"Send Message to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1240,90],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"]}}\",\"channel\":\"={{$node[\\\"Set\\\"].json[\\\"notificationChannel\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"2\",\"name\":\"Slack\"}},\"typeVersion\":1},{\"name\":\"Every Hour\",\"type\":\"n8n-nodes-base.cron\",\"position\":[350,370],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"value\":1}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Every Hour\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Extract Printers\",\"type\":\"main\",\"index\":0}]]},\"Build Message\":{\"main\":[[{\"node\":\"Send Message to Slack\",\"type\":\"main\",\"index\":0}]]},\"Extract Printers\":{\"main\":[[{\"node\":\"If Status is not OK\",\"type\":\"main\",\"index\":0}]]},\"If Status is not OK\":{\"main\":[[{\"node\":\"Build Message\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich contact information with HubSpot and ClearBit", "output": "{\"nodes\":[{\"name\":\"Clearbit\",\"type\":\"n8n-nodes-base.clearbit\",\"position\":[850,300],\"parameters\":{\"email\":\"={{$json[\\\"properties\\\"][\\\"email\\\"][\\\"value\\\"]}}\",\"resource\":\"person\",\"additionalFields\":{}},\"credentials\":{\"clearbitApi\":{\"id\":\"296\",\"name\":\"Clearbit account\"}},\"typeVersion\":1},{\"name\":\"Hubspot Trigger\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[450,300],\"webhookId\":\"b9c442e0-6f98-4d6f-8170-7135c4dbd850\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{}]},\"additionalFields\":{}},\"credentials\":{\"hubspotDeveloperApi\":{\"id\":\"295\",\"name\":\"Hubspot Developer account\"}},\"typeVersion\":1},{\"name\":\"Get Contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[650,300],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{$json[\\\"contactId\\\"]}}\",\"operation\":\"get\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"268\",\"name\":\"HubSpot@Test Account\"}},\"typeVersion\":1},{\"name\":\"Update Contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1050,300],\"parameters\":{\"email\":\"={{$json[\\\"email\\\"]}}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"city\":\"={{$json[\\\"geo\\\"][\\\"city\\\"]}}\",\"jobTitle\":\"={{$json[\\\"employment\\\"][\\\"title\\\"]}}\",\"companyName\":\"={{$json[\\\"employment\\\"][\\\"name\\\"]}}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"268\",\"name\":\"HubSpot@Test Account\"}},\"typeVersion\":1}],\"connections\":{\"Clearbit\":{\"main\":[[{\"node\":\"Update Contact\",\"type\":\"main\",\"index\":0}]]},\"Get Contact\":{\"main\":[[{\"node\":\"Clearbit\",\"type\":\"main\",\"index\":0}]]},\"Hubspot Trigger\":{\"main\":[[{\"node\":\"Get Contact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add Calendly invitees to HubSpot", "output": "{\"nodes\":[{\"name\":\"Calendly Trigger\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[450,300],\"webhookId\":\"7f68179c-c88c-4881-bfde-779b17eae5b5\",\"parameters\":{\"events\":[\"invitee.created\"]},\"credentials\":{\"calendlyApi\":{\"id\":\"270\",\"name\":\"Calendly@n8n\"}},\"typeVersion\":1},{\"name\":\"Hubspot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[650,300],\"parameters\":{\"email\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"email\\\"]}}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"268\",\"name\":\"HubSpot@Test Account\"}},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[850,300],\"parameters\":{\"text\":\"=Hello! You have a new meeting scheduled with {{$json[\\\"properties\\\"][\\\"email\\\"][\\\"value\\\"]}} at {{new Date($node[\\\"Calendly Trigger\\\"].json[\\\"payload\\\"][\\\"event\\\"][\\\"invitee_start_time\\\"]).toLocaleString()}}\",\"channel\":\"on-boarding\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"239\",\"name\":\"read-history\"}},\"typeVersion\":1}],\"connections\":{\"Hubspot\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Calendly Trigger\":{\"main\":[[{\"node\":\"Hubspot\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get top 5 products on Product Hunt every hour", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[459,371],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1109,371],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Votes\",\"value\":\"={{$json[\\\"posts\\\"][\\\"node\\\"][\\\"votesCount\\\"]}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"posts\\\"][\\\"node\\\"][\\\"name\\\"]}}\"},{\"name\":\"Description\",\"value\":\"={{$json[\\\"posts\\\"][\\\"node\\\"][\\\"description\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"GraphQL\",\"type\":\"n8n-nodes-base.graphql\",\"position\":[700,370],\"parameters\":{\"query\":\"=query PostRanking{\\n posts(postedAfter:\\\"{{new Date(new Date(Date.now()).getTime() - (1000*60*60*1*24)).toUTCString()}}\\\", order:RANKING, first:5, postedBefore:\\\"{{new Date(Date.now()).toUTCString()}}\\\"){\\n edges {\\n node {\\n name\\n tagline\\n description\\n votesCount\\n reviewsRating\\n }\\n }\\n }\\n}\",\"endpoint\":\"https://api.producthunt.com/v2/api/graphql\",\"requestFormat\":\"json\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"Bearer YOUR-TOKEN\"}]}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[900,370],\"parameters\":{\"options\":{\"destinationFieldName\":\"posts\"},\"fieldToSplitOut\":\"data.posts.edges\"},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1310,370],\"parameters\":{\"text\":\"=Here are the top 5 PH projects:\\n**Name:** {{$json[\\\"Name\\\"]}}\\n**Description:** {{$json[\\\"Description\\\"]}}\\n**Vote:** {{$json[\\\"Votes\\\"]}}\\n-------\",\"webhookUri\":\"DISCORD WEBHOOK URL\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"GraphQL\",\"type\":\"main\",\"index\":0}]]},\"GraphQL\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transform XML data and upload to Dropbox", "output": "{\"nodes\":[{\"name\":\"To JSON\",\"type\":\"n8n-nodes-base.xml\",\"position\":[700,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Change title\",\"type\":\"n8n-nodes-base.set\",\"position\":[900,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"slideshow.title\",\"value\":\"New Title Name\"}]}},\"typeVersion\":1},{\"name\":\"Get XML Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[500,300],\"parameters\":{\"url\":\"https://httpbin.org/xml\",\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Dropbox\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1300,300],\"parameters\":{\"path\":\"/my-xml-file.xml\",\"fileContent\":\"={{$node[\\\"To XML\\\"].data[\\\"data\\\"]}}\"},\"credentials\":{\"dropboxApi\":\"\"},\"typeVersion\":1},{\"name\":\"To XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1100,300],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{}},\"typeVersion\":1}],\"connections\":{\"To XML\":{\"main\":[[{\"node\":\"Dropbox\",\"type\":\"main\",\"index\":0}]]},\"To JSON\":{\"main\":[[{\"node\":\"Change title\",\"type\":\"main\",\"index\":0}]]},\"Change title\":{\"main\":[[{\"node\":\"To XML\",\"type\":\"main\",\"index\":0}]]},\"Get XML Data\":{\"main\":[[{\"node\":\"To JSON\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Turn off all the lights via Philips hue", "output": "{\"id\":\"1\",\"name\":\"turn off all lights\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Philips Hue\",\"type\":\"n8n-nodes-base.philipsHue\",\"position\":[520,300],\"parameters\":{\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"philipsHueOAuth2Api\":\"hue house\"},\"typeVersion\":1},{\"name\":\"Philips Hue1\",\"type\":\"n8n-nodes-base.philipsHue\",\"position\":[1350,270],\"parameters\":{\"on\":false,\"lightId\":\"={{$json[\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"philipsHueOAuth2Api\":\"hue house\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"filter turned on reachable\",\"type\":\"n8n-nodes-base.function\",\"position\":[920,310],\"parameters\":{\"functionCode\":\"return items\\n .filter(light => light.json.reachable)\\n .filter(light => light.json.on)\\n\\n\"},\"typeVersion\":1},{\"name\":\"Parse\",\"type\":\"n8n-nodes-base.function\",\"position\":[720,300],\"parameters\":{\"functionCode\":\"const parse = ({ json }, id) => ({\\n json: {\\n on: json.state.on,\\n reachable: json.state.reachable,\\n updatable: json.swupdate.state !== \\\"noupdates\\\",\\n name: json.name,\\n uniqueid: json.uniqueid,\\n productid: json.productid,\\n id\\n }\\n})\\n\\nconst lights = []\\nlet i = 1\\n\\nreturn items.map(item => parse(item, i++))\\n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Parse\":{\"main\":[[{\"node\":\"filter turned on reachable\",\"type\":\"main\",\"index\":0}]]},\"Philips Hue\":{\"main\":[[{\"node\":\"Parse\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Philips Hue\",\"type\":\"main\",\"index\":0}]]},\"filter turned on reachable\":{\"main\":[[{\"node\":\"Philips Hue1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich Google Sheet contacts with Dropcontact", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[650,300],\"parameters\":{\"email\":\"={{$json[\\\"email\\\"]}}\",\"options\":{\"siren\":true,\"language\":\"fr\"},\"additionalFields\":{\"company\":\"={{$json[\\\"companyName\\\"]}}\",\"website\":\"={{$json[\\\"website\\\"]}}\",\"linkedin\":\"={{$json[\\\"LinkedIn\\\"]}}\",\"full_name\":\"={{$json[\\\"fullName\\\"]}}\",\"last_name\":\"={{$json[\\\"lastName\\\"]}}\",\"first_name\":\"={{$json[\\\"firstName\\\"]}}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"6\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[450,300],\"parameters\":{\"range\":\"A:K\",\"options\":{\"continue\":false},\"sheetId\":\"\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Lemlist\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[850,300],\"parameters\":{\"email\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\",\"resource\":\"lead\",\"campaignId\":\"\",\"additionalFields\":{\"lastName\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"first_name\\\"]}}\",\"companyName\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company\\\"]}}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"9\",\"name\":\"Lemlist account\"}},\"typeVersion\":1}],\"connections\":{\"Dropcontact\":{\"main\":[[{\"node\":\"Lemlist\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Spotify Discover Weekly Archiver", "output": "{\"id\":3,\"name\":\"Spotify Weekly Archiver\",\"nodes\":[{\"name\":\"Save to Archive\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1670,270],\"parameters\":{\"id\":\"={{$item(0).$node[\\\"Create Playlist\\\"].json[\\\"uri\\\"]}}\",\"trackID\":\"={{$json[\\\"track\\\"][\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"1\",\"name\":\"Spotify\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[290,270],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":15}]}},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"Create Playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1350,270],\"parameters\":{\"name\":\"={{$node[\\\"Generate Playlist Name\\\"].json[\\\"name\\\"]}}\",\"resource\":\"playlist\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"1\",\"name\":\"Spotify\"}},\"typeVersion\":1},{\"name\":\"Generate Playlist Name\",\"type\":\"n8n-nodes-base.function\",\"position\":[1190,270],\"parameters\":{\"functionCode\":\"function getWeekNumber(d) {\\n // Copy date so don't modify original\\n d = new Date(Date.UTC(d.getFullYear(), d.getMonth(), d.getDate()));\\n // Set to nearest Thursday: current date + 4 - current day number\\n // Make Sunday's day number 7\\n d.setUTCDate(d.getUTCDate() + 4 - (d.getUTCDay()||7));\\n // Get first day of year\\n var yearStart = new Date(Date.UTC(d.getUTCFullYear(),0,1));\\n // Calculate full weeks to nearest Thursday\\n var weekNo = Math.ceil(( ( (d - yearStart) / 86400000) + 1)/7);\\n // Return array of year and week number\\n return [d.getUTCFullYear(), weekNo];\\n}\\n\\nweek = getWeekNumber(new Date());\\nreturn [{json: {name: `Weekly ${week[0]}/${week[1]}`}}]\\n\"},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[750,270],\"parameters\":{\"type\":\"SHA256\",\"value\":\"={{$json[\\\"string\\\"]}}\",\"encoding\":\"base64\",\"dataPropertyName\":\"hash\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1030,270],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"create\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1510,270],\"parameters\":{\"functionCode\":\"return $items('Get Playlist')\"},\"typeVersion\":1},{\"name\":\"Get Playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[450,270],\"parameters\":{\"id\":\"\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"1\",\"name\":\"Spotify\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Create URI String\",\"type\":\"n8n-nodes-base.function\",\"position\":[600,270],\"parameters\":{\"functionCode\":\"let uriString = '';\\n\\nitems.sort((a, b) => a.json.track.uri.localeCompare(b.json.track.uri))\\n\\nfor (item of items) {\\n uriString += item.json.track.uri\\n}\\n\\nreturn [{json:{string: uriString}}];\"},\"typeVersion\":1},{\"name\":\"Compare Hash\",\"type\":\"n8n-nodes-base.function\",\"position\":[890,270],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\nconst oldHash = staticData.hash || '';\\nconst newHash = items[0].json.hash;\\n\\nlet create = false;\\n\\nif (oldHash != newHash) {\\n create = true;\\n staticData.hash = newHash;\\n}\\n\\nreturn [{json: {create: create, oldHash: oldHash, newHash: newHash}}];\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Generate Playlist Name\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Get Playlist\",\"type\":\"main\",\"index\":0}]]},\"Crypto\":{\"main\":[[{\"node\":\"Compare Hash\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Save to Archive\",\"type\":\"main\",\"index\":0}]]},\"Compare Hash\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Get Playlist\":{\"main\":[[{\"node\":\"Create URI String\",\"type\":\"main\",\"index\":0}]]},\"Create Playlist\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Create URI String\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]},\"Generate Playlist Name\":{\"main\":[[{\"node\":\"Create Playlist\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Serve a static HTML page when a link is accessed", "output": "{\"nodes\":[{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[450,150],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/html; charset=UTF-8\"}]}},\"respondWith\":\"text\",\"responseBody\":\"\\n\\n \\n \\n \\n\\n \\n\\n Hello, world!\\n \\n \\n

Hello, world!

\\n\\n \\n \\n\\n\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[250,150],\"webhookId\":\"db437850-0e90-4eb7-b383-f8438ea1bd66\",\"parameters\":{\"path\":\"my-form\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create WooCommerce coupon", "output": "{\"meta\":{\"instanceId\":\"2872777e468ba025c28c67ebf483f93425a37d897dfc1056e0c00cc75112d703\"},\"nodes\":[{\"id\":\"0ba6ea15-a40d-4e24-8a5a-d0ccacef370c\",\"name\":\"Customer\",\"type\":\"n8n-nodes-base.set\",\"position\":[360,280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email\",\"value\":\"luiz@powertic.com\"},{\"name\":\"percent\",\"value\":\"10\"},{\"name\":\"coupon\",\"value\":\"={{ ((+new Date).toString(36).slice(-5) + Math.random().toString(36).substr(2, 5)) }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"3c01d51f-ece2-4034-93c3-a9f58ace1b8c\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-280,280],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f5a33fef-c7e2-4587-a6d6-6a991cbe863c\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[80,80],\"parameters\":{\"width\":516.4646464646457,\"height\":355.15151515151507,\"content\":\"## Configure Lead / Customer Data\\n\\n- Configure the email;\\n- Configure the discount percentage;\\n- Generate Coupon Code Randomly\"},\"typeVersion\":1},{\"id\":\"e5dbd6be-f445-4b45-934d-067eccac79b4\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[740,80],\"parameters\":{\"width\":536.2121212121212,\"height\":348.1818181818182,\"content\":\"## Calculates Coupon Expiration Time\\n\\n- You can adjust the coupon expiration time by adding days to the current time;\\n- You can adjust this as per your needs.\\n- WooCommerce does not allow using expired coupons.\"},\"typeVersion\":1},{\"id\":\"a97a8e87-1edd-4253-a022-b4627ea27e87\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1420,80],\"parameters\":{\"width\":521.1111111111111,\"height\":350.5050505050506,\"content\":\"## Generate the coupon in WooCommerce\\n\\n- Generates the coupon in WooCommerce;\\n- You can send the coupon to a CRM or by E-mail / WhatsApp;\"},\"typeVersion\":1},{\"id\":\"c8c59fe3-58a2-4b73-8a75-a6fecfaf3f1d\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1700,280],\"parameters\":{\"url\":\"https://woo.luizeof.dev/wp-json/wc/v3/coupons\",\"method\":\"POST\",\"options\":{\"response\":{\"response\":{\"neverError\":true,\"fullResponse\":true,\"responseFormat\":\"json\"}}},\"sendBody\":true,\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"code\",\"value\":\"={{$node[\\\"Customer\\\"].json[\\\"coupon\\\"]}}\"},{\"name\":\"amount\",\"value\":\"={{$node[\\\"Customer\\\"].json[\\\"percent\\\"]}}\"},{\"name\":\"individual_use\",\"value\":\"={{ true }}\"},{\"name\":\"exclude_sale_items\",\"value\":\"={{ true }}\"},{\"name\":\"minimum_amount\",\"value\":\"10\"},{\"name\":\"email_restritions\",\"value\":\"={{ [ $node[\\\"Customer\\\"].json[\\\"email\\\"] ] }}\"},{\"name\":\"usage_limit\",\"value\":\"={{ 1 }}\"},{\"name\":\"date_expires\",\"value\":\"={{$node[\\\"ExpiresCoupon\\\"].json[\\\"expires_at\\\"]}}\"}]},\"nodeCredentialType\":\"wooCommerceApi\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"YcpAeVaFLeA5UeUP\",\"name\":\"WooCommerce account\"}},\"typeVersion\":4.1},{\"id\":\"cae75e87-2b72-4e30-9fa3-06f1d75e1e3f\",\"name\":\"ExpiresCoupon\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1120,280],\"parameters\":{\"options\":{},\"duration\":1,\"magnitude\":\"={{ $today }}\",\"operation\":\"addToDate\",\"outputFieldName\":\"expires_at\"},\"typeVersion\":2},{\"id\":\"69e41f66-f183-4f94-bac8-d306973ebfbb\",\"name\":\"Edit Fields\",\"type\":\"n8n-nodes-base.set\",\"position\":[3180,60],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"email\",\"stringValue\":\"={{ $('Customer').item.json.email }}\"},{\"name\":\"percent\",\"type\":\"numberValue\",\"numberValue\":\"={{ $('Customer').item.json.percent }}\"},{\"name\":\"coupon\",\"stringValue\":\"={{ $('Customer').item.json.coupon }}\"}]},\"include\":\"none\",\"options\":{}},\"typeVersion\":3.2},{\"id\":\"6ea927a7-90ce-4417-8141-4124f0ff1ddd\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[2420,280],\"parameters\":{},\"typeVersion\":1},{\"id\":\"16b56f91-db46-462b-8c85-2ffaa2abd6ba\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2080,80],\"parameters\":{\"width\":542.3131313131311,\"height\":350.47474747474735,\"content\":\"## Checks if the Coupon was generated successfully\\n\\n- You can handle WooCommerce return\\n- If generated successfully, you send it to the lead\\n- If an error occurs, you can send a notification.\"},\"typeVersion\":1},{\"id\":\"0ccfe91b-6033-4e67-b81d-ccc43906adce\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2820,-140],\"parameters\":{\"width\":521.3434343434345,\"height\":343.48484848484867,\"content\":\"# Final step\\n\\n- Here you can be sure that the coupon was created and can send it to your lead using N8N's various integrations.\"},\"typeVersion\":1}],\"pinData\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Edit Fields\",\"type\":\"main\",\"index\":0}]]},\"Customer\":{\"main\":[[{\"node\":\"ExpiresCoupon\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"ExpiresCoupon\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Customer\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get only new RSS with photo", "output": "{\"id\":8,\"name\":\"Get only new RSS with Photo\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[1050,920],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[1220,920],\"parameters\":{\"url\":\"http://www.theverge.com/rss/full.xml\"},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Extract Image1\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1740,920],\"parameters\":{\"options\":{},\"dataPropertyName\":\"=content\",\"extractionValues\":{\"values\":[{\"key\":\"image\",\"attribute\":\"src\",\"cssSelector\":\"img\",\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"name\":\"Filter RSS Data\",\"type\":\"n8n-nodes-base.set\",\"position\":[1390,920],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Title\",\"value\":\"={{$node[\\\"RSS Feed Read\\\"].json[\\\"title\\\"]}}\"},{\"name\":\"Subtitle\",\"value\":\"={{$json[\\\"contentSnippet\\\"]}}\"},{\"name\":\"Author\",\"value\":\"={{$json[\\\"creator\\\"]}}\"},{\"name\":\"URL\",\"value\":\"={{$node[\\\"RSS Feed Read\\\"].json[\\\"link\\\"]}}\"},{\"name\":\"Date\",\"value\":\"={{$node[\\\"RSS Feed Read\\\"].json[\\\"pubDate\\\"]}}\"},{\"name\":\"content\",\"value\":\"={{$json[\\\"content\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Only get new RSS1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1560,920],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newRSSIds = items.map(item => item.json[\\\"Date\\\"]);\\nconst oldRSSIds = staticData.oldRSSIds; \\n\\nif (!oldRSSIds) {\\n staticData.oldRSSIds = newRSSIds;\\n return items;\\n}\\n\\n\\nconst actualNewRSSIds = newRSSIds.filter((id) => !oldRSSIds.includes(id));\\nconst actualNewRSS = items.filter((data) => actualNewRSSIds.includes(data.json['Date']));\\nstaticData.oldRSSIds = [...actualNewRSSIds, ...oldRSSIds];\\n\\nreturn actualNewRSS;\\n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Filter RSS Data\",\"type\":\"main\",\"index\":0}]]},\"Extract Image1\":{\"main\":[[]]},\"Filter RSS Data\":{\"main\":[[{\"node\":\"Only get new RSS1\",\"type\":\"main\",\"index\":0}]]},\"Only get new RSS1\":{\"main\":[[{\"node\":\"Extract Image1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Nextcloud Deck Card from IMAP email", "output": "{\"id\":1,\"name\":\"Create Nextcloud Deck card from email\",\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"notes\":\"Check email\",\"position\":[480,140],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"2\",\"name\":\"todo@yourdomain.com\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Strip HTML code\",\"position\":[730,140],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nfor (item of items) {\\n if (item.json.textHtml) {\\n // Remove HTML, double quotations, line breaks, carriage returns\\n item.json.body = item.json.textHtml.replace(//g, \\\"\\\\\\\\n\\\").replace(/(<([^>]+)>)/g, \\\"\\\").replace(/\\\\\\\"/g, \\\"\\\");\\n //item.json.body = item.json.textHtml.eplace(/(<([^>]+)>)/g, \\\"\\\").replace(/\\\\\\\"/g, \\\"\\\").replace(/\\\\n/g, \\\"\\\").replace(/\\\\r/g, \\\"\\\");\\n } else {\\n // Remove double quotations, line breaks, carriage returns\\n item.json.body = item.json.textPlain.replace(/\\\\\\\"/g, \\\"\\\").replace(/\\\\n/g, \\\"\\\\\\\\n\\\").replace(/\\\\r/g, \\\"\\\");\\n }\\n}\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Add card to Nextcloud Deck App. Configure board / stack id to your environment.\",\"position\":[970,140],\"parameters\":{\"url\":\"https://your.nextcloud.com/index.php/apps/deck/api/v1.0/boards/YOUR-BOARD-ID/stacks/YOUR-STACK-ID/cards\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"title\\\": \\\"{{$json[\\\"subject\\\"]}}\\\",\\n\\\"type\\\": \\\"plain\\\",\\n\\\"order\\\": -1,\\n\\\"description\\\": \\\"{{$json[\\\"body\\\"]}}\\\"\\n}\",\"headerParametersJson\":\"{\\n\\\"OCS-APIRequest\\\": \\\"true\\\",\\n\\\"Content-Type\\\": \\\"application/json\\\"\\n}\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"3\",\"name\":\"Nextcloud credential\"}},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Function\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"IMAP Email\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update contacts & accounts from Airtable with Dropcontact", "output": "{\"nodes\":[{\"name\":\"Airtable Trigger\",\"type\":\"n8n-nodes-base.airtableTrigger\",\"position\":[400,200],\"parameters\":{\"baseId\":\"\",\"tableId\":\"Contacts\",\"pollTimes\":{\"item\":[{\"mode\":\"=everyMinute\"}]},\"triggerField\":\"=last modified time\",\"additionalFields\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[600,200],\"parameters\":{\"email\":\"={{$json[\\\"fields\\\"][\\\"Email\\\"]}}\",\"options\":{\"siren\":true,\"language\":\"fr\"},\"additionalFields\":{\"company\":\"={{$json[\\\"fields\\\"][\\\"companyName\\\"][0]}}\",\"website\":\"={{$json[\\\"fields\\\"][\\\"website\\\"]}}\",\"last_name\":\"={{$json[\\\"fields\\\"][\\\"lastName\\\"]}}\",\"first_name\":\"={{$json[\\\"fields\\\"][\\\"firstName\\\"]}}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Airtable - Contact List\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1590,220],\"parameters\":{\"table\":\"Contacts\",\"operation\":\"list\",\"returnAll\":false,\"application\":\"\",\"additionalOptions\":{\"fields\":[],\"filterByFormula\":\"=fullName=\\\"{{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"fullName\\\"]}}\\\"\"}},\"credentials\":{\"airtableApi\":{\"id\":\"20\",\"name\":\"Airtable's API\"}},\"typeVersion\":1},{\"name\":\"Airtable - Account List\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[790,200],\"parameters\":{\"table\":\"Accounts\",\"operation\":\"list\",\"returnAll\":false,\"application\":\"\",\"additionalOptions\":{\"fields\":[],\"filterByFormula\":\"=Name=\\\"{{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"companyName\\\"][0]}}\\\"\"}},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Airtable - Update Account\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1390,300],\"parameters\":{\"id\":\"={{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Accounts\\\"][0]}}\",\"table\":\"Accounts\",\"fields\":[\"Industry\",\"Company website\",\"Company LinkedIn\",\"Company LinkedIn\",\"HQ address\",\"Name\"],\"options\":{\"typecast\":true},\"operation\":\"update\",\"application\":\"\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Airtable - Update Contacts\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1990,220],\"parameters\":{\"id\":\"={{$node[\\\"Airtable - Contact List\\\"].json[\\\"id\\\"]}}\",\"table\":\"Contacts\",\"fields\":[\"firstName\",\"lastName\",\"linkedInProfile\",\"Email\",\"Phone\"],\"options\":{\"typecast\":true},\"operation\":\"update\",\"application\":\"\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Account ID empty ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[990,200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Airtable - Create Account\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1390,110],\"parameters\":{\"table\":\"Accounts\",\"options\":{\"typecast\":true},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Set - Create Accounts \",\"type\":\"n8n-nodes-base.set\",\"position\":[1200,110],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Industry\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"naf5_des\\\"]}}\"},{\"name\":\"Company website\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"website\\\"]}}\"},{\"name\":\"Company LinkedIn\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company_linkedin\\\"]}}\"},{\"name\":\"HQ address\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"siret_address\\\"]}} {{$node[\\\"Dropcontact\\\"].json[\\\"siret_zip\\\"]}} {{$node[\\\"Dropcontact\\\"].json[\\\"siret_city\\\"]}}\"},{\"name\":\"Name\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company\\\"]}}\"}]},\"options\":{\"dotNotation\":true}},\"typeVersion\":1},{\"name\":\"Set - Update Accounts\",\"type\":\"n8n-nodes-base.set\",\"position\":[1200,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Industry\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"naf5_des\\\"]}}\"},{\"name\":\"Company website\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"website\\\"]}}\"},{\"name\":\"Company LinkedIn\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company_linkedin\\\"]}}\"},{\"name\":\"HQ address\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"siret_address\\\"]}} {{$node[\\\"Dropcontact\\\"].json[\\\"siret_zip\\\"]}} {{$node[\\\"Dropcontact\\\"].json[\\\"siret_city\\\"]}}\"},{\"name\":\"Name\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company\\\"]}}\"}]},\"options\":{\"dotNotation\":true}},\"typeVersion\":1},{\"name\":\"Set - Contacts\",\"type\":\"n8n-nodes-base.set\",\"position\":[1790,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"firstName\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"first_name\\\"]}}\"},{\"name\":\"lastName\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"last_name\\\"]}}\"},{\"name\":\"linkedInProfile\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"linkedin\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"phone\\\"]}}\"}]},\"options\":{\"dotNotation\":true}},\"typeVersion\":1}],\"connections\":{\"Dropcontact\":{\"main\":[[{\"node\":\"Airtable - Account List\",\"type\":\"main\",\"index\":0}]]},\"Set - Contacts\":{\"main\":[[{\"node\":\"Airtable - Update Contacts\",\"type\":\"main\",\"index\":0}]]},\"Airtable Trigger\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Account ID empty ?\":{\"main\":[[{\"node\":\"Set - Create Accounts \",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set - Update Accounts\",\"type\":\"main\",\"index\":0}]]},\"Set - Update Accounts\":{\"main\":[[{\"node\":\"Airtable - Update Account\",\"type\":\"main\",\"index\":0}]]},\"Set - Create Accounts \":{\"main\":[[{\"node\":\"Airtable - Create Account\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Account List\":{\"main\":[[{\"node\":\"Account ID empty ?\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Contact List\":{\"main\":[[{\"node\":\"Set - Contacts\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Create Account\":{\"main\":[[{\"node\":\"Airtable - Contact List\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Update Account\":{\"main\":[[{\"node\":\"Airtable - Contact List\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create HubSpot contacts from LinkedIn post interactions", "output": "{\"id\":121,\"name\":\"Create Email Campaign From LinkedIn Post Interactions\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[280,500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"Exists ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1700,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Airtable - List\\\"].json[\\\"fields\\\"][\\\"Email\\\"]}}\",\"value2\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Airtable - List\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1500,480],\"parameters\":{\"table\":\"Contacts\",\"operation\":\"list\",\"additionalOptions\":{\"fields\":[]}},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Airtable - Update\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[2100,400],\"parameters\":{\"id\":\"={{$node[\\\"Airtable - List\\\"].json[\\\"id\\\"]}}\",\"table\":\"Contacts\",\"options\":{\"typecast\":true},\"operation\":\"update\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Airtable - Create\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[2100,580],\"parameters\":{\"table\":\"Contacts\",\"options\":{\"typecast\":true},\"operation\":\"append\"},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Set - Update\",\"type\":\"n8n-nodes-base.set\",\"position\":[1900,400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"=ID\",\"value\":\"={{$node[\\\"Airtable - List\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"phone\\\"]}}\"},{\"name\":\"LinkedIn\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"linkedin\\\"]}}\"},{\"name\":\"Account\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\"},{\"name\":\"Company website\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"website\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set - New\",\"type\":\"n8n-nodes-base.set\",\"position\":[1900,580],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"full_name\\\"]}}\"},{\"name\":\"Account\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\"},{\"name\":\"Company website\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"website\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"phone\\\"]}}\"},{\"name\":\"LinkedIn\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"linkedin\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Lemlist\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[2300,480],\"parameters\":{\"email\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\",\"resource\":\"lead\",\"campaignId\":\"\",\"additionalFields\":{\"lastName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"first_name\\\"]}}\",\"companyName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"\",\"name\":\"\"}},\"retryOnFail\":false,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Hubspot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[2700,480],\"parameters\":{\"email\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"city\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"siret_city\\\"]}}\",\"gender\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"civility\\\"]}}\",\"lastName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"first_name\\\"]}}\",\"websiteUrl\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"website\\\"]}}\",\"companyName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\",\"phoneNumber\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"phone\\\"]}}\",\"originalSource\":\"SOCIAL_MEDIA\"}},\"credentials\":{\"hubspotApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"LinkedIn Post Commenters\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[480,400],\"parameters\":{\"jsonParameters\":true,\"additionalFields\":{\"manualLaunch\":true}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Get Comments\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[880,400],\"parameters\":{\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[1300,480],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"=\",\"website\":\"\",\"linkedin\":\"\",\"last_name\":\"\",\"first_name\":\"=\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Phantombuster\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[2500,480],\"parameters\":{\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"LinkedIn Post Liker\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[480,600],\"parameters\":{\"jsonParameters\":true,\"additionalFields\":{\"manualLaunch\":true}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Get Likers\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[880,600],\"parameters\":{\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Wait 30s\",\"type\":\"n8n-nodes-base.wait\",\"position\":[680,560],\"webhookId\":\"de87cd0e-ea00-43d8-896c-836494094779\",\"parameters\":{\"unit\":\"seconds\",\"amount\":30},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"LinkedIn Post Commenters\",\"type\":\"main\",\"index\":0},{\"node\":\"LinkedIn Post Liker\",\"type\":\"main\",\"index\":0}]]},\"Lemlist\":{\"main\":[[{\"node\":\"Phantombuster\",\"type\":\"main\",\"index\":0}]]},\"Exists ?\":{\"main\":[[{\"node\":\"Set - Update\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set - New\",\"type\":\"main\",\"index\":0}]]},\"Wait 30s\":{\"main\":[[{\"node\":\"Get Comments\",\"type\":\"main\",\"index\":0}]]},\"Set - New\":{\"main\":[[{\"node\":\"Airtable - Create\",\"type\":\"main\",\"index\":0}]]},\"Get Likers\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"Airtable - List\",\"type\":\"main\",\"index\":0}]]},\"Get Comments\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Set - Update\":{\"main\":[[{\"node\":\"Airtable - Update\",\"type\":\"main\",\"index\":0}]]},\"Phantombuster\":{\"main\":[[{\"node\":\"Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Airtable - List\":{\"main\":[[{\"node\":\"Exists ?\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Create\":{\"main\":[[{\"node\":\"Lemlist\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Update\":{\"main\":[[{\"node\":\"Lemlist\",\"type\":\"main\",\"index\":0}]]},\"LinkedIn Post Commenters\":{\"main\":[[{\"node\":\"Wait 30s\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Find emails with Dropcontact on Typeform submission", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[140,200],\"webhookId\":\"\",\"parameters\":{\"formId\":\"\"},\"credentials\":{\"typeformApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1360,300],\"parameters\":{\"text\":\"🥳 An existing lead has just subscribed!\",\"channel\":\"\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Airtable - Contact List\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[540,200],\"parameters\":{\"table\":\"Contacts\",\"operation\":\"list\",\"returnAll\":false,\"application\":\"\",\"additionalOptions\":{\"fields\":[],\"filterByFormula\":\"=fullName=\\\"{{$json[\\\"full_name\\\"]}}\\\"\"}},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Airtable - Update Contacts1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1150,300],\"parameters\":{\"id\":\"={{$node[\\\"Airtable - Contact List\\\"].json[\\\"id\\\"]}}\",\"table\":\"Contacts\",\"fields\":[\"firstName\",\"lastName\",\"linkedInProfile\",\"Email\",\"Phone\",\"website\",\"LinkedIn Company\",\"Industry\",\"Address\"],\"options\":{\"typecast\":true},\"operation\":\"update\",\"application\":\"\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1360,100],\"parameters\":{\"text\":\"=🎉 A new lead has just subscribed!\",\"channel\":\"\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Set - Contacts to update\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"firstName\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"first_name\\\"]}}\"},{\"name\":\"lastName\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"last_name\\\"]}}\"},{\"name\":\"linkedInProfile\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"linkedin\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"phone\\\"]}}\"},{\"name\":\"website\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"website\\\"]}}\"},{\"name\":\"LinkedIn Company\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company_linkedin\\\"]}}\"},{\"name\":\"Industry\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"naf5_des\\\"]}}\"},{\"name\":\"Address\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"siret_address\\\"]}}, {{$node[\\\"Dropcontact\\\"].json[\\\"siret_zip\\\"]}} {{$node[\\\"Dropcontact\\\"].json[\\\"siret_city\\\"]}}\"}]},\"options\":{\"dotNotation\":true}},\"typeVersion\":1},{\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[340,200],\"parameters\":{\"email\":\"=\",\"options\":{\"siren\":true,\"language\":\"fr\"},\"additionalFields\":{\"company\":\"={{$json[\\\"and your company ?\\\"]}}\",\"website\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"tell me more... What's your website ?\\\"]}}\",\"last_name\":\"={{$json[\\\"Hi [field:1c6436830dfffbf1], what's your last name ?\\\"]}}\",\"first_name\":\"={{$json[\\\"First, what's your name?\\\"]}}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Contact ID empty ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[730,200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Airtable - Create Contacts\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1150,100],\"parameters\":{\"table\":\"Contacts\",\"options\":{\"typecast\":true},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Set - Contacts to create\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"firstName\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"first_name\\\"]}}\"},{\"name\":\"lastName\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"last_name\\\"]}}\"},{\"name\":\"linkedInProfile\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"linkedin\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"phone\\\"]}}\"},{\"name\":\"website\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"website\\\"]}}\"},{\"name\":\"LinkedIn Company\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"company_linkedin\\\"]}}\"},{\"name\":\"Industry\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"naf5_des\\\"]}}\"},{\"name\":\"Address\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"siret_address\\\"]}}, {{$node[\\\"Dropcontact\\\"].json[\\\"siret_zip\\\"]}} {{$node[\\\"Dropcontact\\\"].json[\\\"siret_city\\\"]}}\"}]},\"options\":{\"dotNotation\":true}},\"typeVersion\":1}],\"connections\":{\"Dropcontact\":{\"main\":[[{\"node\":\"Airtable - Contact List\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Contact ID empty ?\":{\"main\":[[{\"node\":\"Set - Contacts to update\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set - Contacts to create\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Contact List\":{\"main\":[[{\"node\":\"Contact ID empty ?\",\"type\":\"main\",\"index\":0}]]},\"Set - Contacts to create\":{\"main\":[[{\"node\":\"Airtable - Update Contacts1\",\"type\":\"main\",\"index\":0}]]},\"Set - Contacts to update\":{\"main\":[[{\"node\":\"Airtable - Create Contacts\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Create Contacts\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Update Contacts1\":{\"main\":[[{\"node\":\"Slack1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transf meeting booking into Notion's Task with verified information", "output": "{\"nodes\":[{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[850,400],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Date|date\",\"range\":true,\"dateEnd\":\"={{$node[\\\"Function\\\"].json[\\\"payload\\\"][\\\"event\\\"][\\\"end_time\\\"]}}\",\"dateStart\":\"={{$node[\\\"Function\\\"].json[\\\"payload\\\"][\\\"event\\\"][\\\"invitee_start_time\\\"]}}\"},{\"key\":\"email|email\",\"emailValue\":\"={{$json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"key\":\"Leads|name\",\"title\":\"={{$json[\\\"full_name\\\"]}}\"},{\"key\":\"LinkedIn Profile|url\",\"urlValue\":\"={{$json[\\\"linkedin\\\"]}}\"},{\"key\":\"Person|people\",\"peopleValue\":[\"22ad678a-175a-405c-b504-978d7804ebb8\"]},{\"key\":\"Website|url\",\"urlValue\":\"={{$json[\\\"website\\\"]}}\"},{\"key\":\"LinkedIn Company|url\",\"urlValue\":\"={{$json[\\\"company_linkedin\\\"]}}\"},{\"key\":\"Civility|rich_text\",\"textContent\":\"={{$json[\\\"civility\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[650,400],\"parameters\":{\"email\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"email\\\"]}}\",\"options\":{\"siren\":true,\"language\":\"fr\"},\"additionalFields\":{\"full_name\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"name\\\"]}}\",\"last_name\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"last_name\\\"]}}\",\"first_name\":\"={{$json[\\\"payload\\\"][\\\"invitee\\\"][\\\"first_name\\\"]}}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Calendly Trigger\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[460,400],\"webhookId\":\"\",\"parameters\":{\"events\":[\"invitee.created\"]},\"typeVersion\":1}],\"connections\":{\"Dropcontact\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"Calendly Trigger\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get a Slack alert when a workflow went wrong", "output": "{\"nodes\":[{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[650,300],\"parameters\":{\"text\":\"=🐞 What?!\\n*This execution{{$node[\\\"Error Trigger\\\"].json[\\\"workflow\\\"][\\\"name\\\"]}} went wrong*\\\\nWhy don't you go take a look {{$node[\\\"Error Trigger\\\"].json[\\\"execution\\\"][\\\"url\\\"]}}\",\"channel\":\"\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[450,300],\"parameters\":{},\"executeOnce\":false,\"retryOnFail\":false,\"typeVersion\":1,\"alwaysOutputData\":true}],\"connections\":{\"Error Trigger\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Use REGEX to select date", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Check for Close Date\",\"type\":\"n8n-nodes-base.if\",\"position\":[660,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"Close Date\\\"]}}\",\"value2\":\"/\\\\d\\\\d\\\\d\\\\d-\\\\d\\\\d-\\\\d\\\\d/i\",\"operation\":\"regex\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Set Close Date 3 Weeks Later\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,370],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Close Date\",\"value\":\"={{new Date(new Date().setDate(new Date().getDate() + 21)).toISOString()}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1140,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set Close Date\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Close Date\",\"value\":\"2021-11-29T00:00:00.000Z\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set Close Date To Original\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,210],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Close Date\",\"value\":\"={{$node[\\\"Set Close Date\\\"].json[\\\"Close Date\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Set Close Date\":{\"main\":[[{\"node\":\"Check for Close Date\",\"type\":\"main\",\"index\":0}]]},\"Check for Close Date\":{\"main\":[[{\"node\":\"Set Close Date To Original\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set Close Date 3 Weeks Later\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set Close Date\",\"type\":\"main\",\"index\":0}]]},\"Set Close Date To Original\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Set Close Date 3 Weeks Later\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Demonstrates the use of the $item(index) method", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"apiKey\",\"value\":\"n8n-secret-keey\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[650,300],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,300],\"parameters\":{\"url\":\"https://webhook.site/f99d65ab-8959-4466-a427-cdd0ad482220\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"name\",\"value\":\"={{$json[\\\"name\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"api-key\",\"value\":\"={{ $item(0).$node[\\\"Set\\\"].json[\\\"apiKey\\\"] }}\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Two-way sync between Pipedrive and HubSpot", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[560,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[760,250],\"parameters\":{\"resource\":\"person\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":{\"id\":\"28\",\"name\":\"pipedrive_api\"}},\"typeVersion\":1},{\"name\":\"Update Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1160,250],\"parameters\":{\"name\":\"={{$json[\\\"properties\\\"][\\\"firstname\\\"][\\\"value\\\"]}}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{$json[\\\"identity-profiles\\\"][0][\\\"identities\\\"][0][\\\"value\\\"]}}\"]}},\"credentials\":{\"pipedriveApi\":{\"id\":\"28\",\"name\":\"pipedrive_api\"}},\"typeVersion\":1},{\"name\":\"HubSpot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[760,450],\"parameters\":{\"resource\":\"contact\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{}},\"credentials\":{\"hubspotApi\":{\"id\":\"21\",\"name\":\"hubspot_account\"}},\"typeVersion\":1},{\"name\":\"Update HubSpot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1160,450],\"parameters\":{\"email\":\"={{$json[\\\"email\\\"][0][\\\"value\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"firstName\":\"={{$json[\\\"first_name\\\"]}}\"}},\"credentials\":{\"hubspotApi\":{\"id\":\"21\",\"name\":\"hubspot_account\"}},\"typeVersion\":1},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[960,250],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"identity-profiles[0].identities[0].value\",\"propertyName2\":\"email[0].value\"},\"typeVersion\":1},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[960,450],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"email[0].value\",\"propertyName2\":\"identity-profiles[0].identities[0].value\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0},{\"node\":\"HubSpot\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Update Pipedrive\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"Update HubSpot\",\"type\":\"main\",\"index\":0}]]},\"HubSpot\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"Pipedrive\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "One-way sync between Pipedrive and HubSpot", "output": "{\"nodes\":[{\"name\":\"Hubspot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[750,900],\"parameters\":{\"resource\":\"contact\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{}},\"credentials\":{\"hubspotApi\":{\"id\":\"21\",\"name\":\"hubspot_nodeqa\"}},\"typeVersion\":1},{\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[750,710],\"parameters\":{\"resource\":\"person\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":{\"id\":\"15\",\"name\":\"asasas\"}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[950,800],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"email[0].value\",\"propertyName2\":\"identity-profiles[0].identities[0].value\"},\"typeVersion\":1},{\"name\":\"HubSpot2\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1150,800],\"parameters\":{\"email\":\"={{$json[\\\"email\\\"][0][\\\"value\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"firstName\":\"={{$json[\\\"first_name\\\"]}}\"}},\"credentials\":{\"hubspotApi\":{\"id\":\"21\",\"name\":\"hubspot_nodeqa\"}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[550,800],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0},{\"node\":\"Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"HubSpot2\",\"type\":\"main\",\"index\":0}]]},\"Hubspot\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Pipedrive\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create OFN product on Open Batra product published event", "output": "{\"id\":4,\"name\":\"product openbatra published to ofn creation\",\"nodes\":[{\"name\":\"Product published\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[300,640],\"webhookId\":\"6d7ebf45-97c0-4d40-8303-178fc9b337c5\",\"parameters\":{\"path\":\"batra/productPublished\",\"options\":{},\"httpMethod\":\"POST\",\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"2\",\"name\":\"Batra publisher\"}},\"typeVersion\":1},{\"name\":\"Lookup gtin in index\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[740,490],\"parameters\":{\"range\":\"products-openbatra-ofn!A:B\",\"options\":{},\"sheetId\":\"1pO1T_BKa0hw_bchBCVYGqPDR_Gfc0vdcMoU3Jn5viaw\",\"operation\":\"lookup\",\"lookupValue\":\"={{$json[\\\"gtin\\\"]}}\",\"lookupColumn\":\"gtin\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Digicirco Google\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1090,830],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get openbatra product\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,490],\"parameters\":{\"url\":\"=https://www.batra.link/01/{{$json[\\\"body\\\"][\\\"id\\\"]}}/{{$json[\\\"body\\\"][\\\"id\\\"]}}.json\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Map product batra to ofn\",\"type\":\"n8n-nodes-base.function\",\"position\":[1280,630],\"parameters\":{\"functionCode\":\"const batraProducts = $items(\\\"Get openbatra product\\\")\\nconst batraProduct = batraProducts[0]\\n\\nconst ofnProductCreate = {\\n name: \\\"test with html dscription\\\",\\n price: \\\"0\\\", // default\\n shipping_category_id: 1, // default\\n supplier_id: $item(0).$node[\\\"Lookup gln in index\\\"].json.ofnId,\\n primary_taxon_id: 1, // default\\n variant_unit: \\\"1\\\",\\n variant_unit_name: \\\" unité\\\"\\n // all above is mandatory\\n //sku: \\\"test\\\", // gtin\\n //display_name: \\\"test\\\",\\n //category_id: 2, // map gs1 ofn categories\\n //description: \\\"test\\\",\\n //description_html: \\\"test\\\",\\n //tax_category_id: 1,\\n //meta_description: \\\"test\\\",\\n //meta_keywords: \\\"test\\\",\\n //variant_unit_scale: 0.1\\n}\\n\\nconst outputItem = {\\n json: ofnProductCreate \\n}\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn [outputItem];\"},\"typeVersion\":1},{\"name\":\"Lookup gln in index\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1100,500],\"parameters\":{\"range\":\"organizations-openbatra-ofn!A:B\",\"options\":{},\"sheetId\":\"1pO1T_BKa0hw_bchBCVYGqPDR_Gfc0vdcMoU3Jn5viaw\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"Get openbatra product\\\"].json[\\\"manufacturer\\\"][\\\"gln\\\"]}}\",\"lookupColumn\":\"gln\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Digicirco Google\"}},\"typeVersion\":1},{\"name\":\"Create ofn product\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1690,500],\"parameters\":{\"url\":\" http://localhost:3000/api/v0/products\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={{$json}}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"OFN api key\"}},\"typeVersion\":1},{\"name\":\"Ofn product request\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1490,630],\"parameters\":{\"functionCode\":\"return {\\n product: item\\n}\"},\"typeVersion\":1},{\"name\":\"Product index\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1870,630],\"parameters\":{\"functionCode\":\"return {\\n gtin: $item(0).$node[\\\"Get openbatra product\\\"].json.gtin,\\n ofnId: item.id.toString()\\n}\"},\"typeVersion\":1},{\"name\":\"Append to product index\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2060,500],\"parameters\":{\"range\":\"products-openbatra-ofn!A:B\",\"options\":{\"valueInputMode\":\"=RAW\"},\"sheetId\":\"1pO1T_BKa0hw_bchBCVYGqPDR_Gfc0vdcMoU3Jn5viaw\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Digicirco Google\"}},\"typeVersion\":1},{\"name\":\"Gtin not found\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,640],\"parameters\":{\"conditions\":{\"number\":[],\"string\":[{\"value1\":\"={{$json[\\\"gtin\\\"]}}\",\"operation\":\"isEmpty\"}],\"boolean\":[]}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Create ofn image\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2110,300],\"parameters\":{\"url\":\"=http://localhost:3000/api/v0/product_images/{{$json[\\\"id\\\"]}}\",\"options\":{\"bodyContentType\":\"multipart-form-data\"},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"sendBinaryData\":true},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"OFN api key\"}},\"typeVersion\":1},{\"name\":\"Get product image\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1890,300],\"parameters\":{\"url\":\"={{$node[\\\"Get openbatra product\\\"].json[\\\"referencedFiles\\\"][\\\"referencedFile\\\"][0][\\\"uniformResourceIdentifier\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Product index\":{\"main\":[[{\"node\":\"Append to product index\",\"type\":\"main\",\"index\":0}]]},\"Gtin not found\":{\"main\":[[{\"node\":\"Lookup gln in index\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Create ofn image\":{\"main\":[[]]},\"Get product image\":{\"main\":[[{\"node\":\"Create ofn image\",\"type\":\"main\",\"index\":0}]]},\"Product published\":{\"main\":[[{\"node\":\"Get openbatra product\",\"type\":\"main\",\"index\":0}]]},\"Create ofn product\":{\"main\":[[{\"node\":\"Product index\",\"type\":\"main\",\"index\":0},{\"node\":\"Get product image\",\"type\":\"main\",\"index\":0}]]},\"Lookup gln in index\":{\"main\":[[{\"node\":\"Map product batra to ofn\",\"type\":\"main\",\"index\":0}]]},\"Ofn product request\":{\"main\":[[{\"node\":\"Create ofn product\",\"type\":\"main\",\"index\":0}]]},\"Lookup gtin in index\":{\"main\":[[{\"node\":\"Gtin not found\",\"type\":\"main\",\"index\":0}]]},\"Get openbatra product\":{\"main\":[[{\"node\":\"Lookup gtin in index\",\"type\":\"main\",\"index\":0}]]},\"Map product batra to ofn\":{\"main\":[[{\"node\":\"Ofn product request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update Twitter banner using HTTP request", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,300],\"parameters\":{\"url\":\"https://unsplash.com/photos/lUDMZUWFUXE/download?ixid=MnwxMjA3fDB8MXxhbGx8Mnx8fHx8fDJ8fDE2MzczMjY4Mjc&force=true\",\"options\":{},\"responseFormat\":\"file\",\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"https://api.twitter.com/1.1/account/update_profile_banner.json\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"oAuth1\",\"jsonParameters\":true,\"sendBinaryData\":true,\"binaryPropertyName\":\"banner:data\"},\"credentials\":{\"oAuth1Api\":{\"id\":\"300\",\"name\":\"Unnamed credential\"}},\"typeVersion\":1}],\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Zoom meeting link from Google Calendar invite", "output": "{\"id\":1,\"name\":\"Google Cal to Zoom meeting\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[0,330],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Zoom\",\"type\":\"n8n-nodes-base.zoom\",\"position\":[380,410],\"parameters\":{\"topic\":\"=Meeting with {{$node[\\\"IF Zoom meeting\\\"].json[\\\"summary\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"duration\":\"={{(Date.parse($node[\\\"IF Zoom meeting\\\"].json[\\\"end\\\"][\\\"dateTime\\\"])-Date.parse($node[\\\"IF Zoom meeting\\\"].json[\\\"start\\\"][\\\"dateTime\\\"]))/(60*1000)}}\",\"settings\":{},\"timeZone\":\"={{$node[\\\"IF Zoom meeting\\\"].json[\\\"start\\\"][\\\"timeZone\\\"]}}\",\"startTime\":\"={{$node[\\\"IF Zoom meeting\\\"].json[\\\"start\\\"][\\\"dateTime\\\"]}}\"}},\"credentials\":{\"zoomOAuth2Api\":{\"id\":\"3\",\"name\":\"Zoom account\"}},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[200,230],\"parameters\":{\"value\":\"={{new Date().toISOString()}}\",\"action\":\"calculate\",\"options\":{},\"duration\":12,\"timeUnit\":\"hours\",\"dataPropertyName\":\"later\"},\"typeVersion\":1},{\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[350,230],\"parameters\":{\"options\":{\"timeMax\":\"={{$node[\\\"Date & Time\\\"].json[\\\"later\\\"]}}\",\"timeMin\":\"={{new Date(new Date().getTime() + (0 * 60 * 60 * 1000)).toISOString()}}\",\"singleEvents\":true},\"calendar\":\"REPLACE_WITH_CALENDAR_ID\",\"operation\":\"getAll\"},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"1\",\"name\":\"Google Calendar account\"}},\"typeVersion\":1},{\"name\":\"IF Zoom meeting\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"filters out:\\n- existing Zoom meetings made by Calendly\\n- in person zoom meetings\\n- signal meetings\\n- canceled Calendly meetings (\\\"transparent\\\")\",\"position\":[180,430],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Google Calendar\\\"].json[\\\"transparency\\\"]}}\",\"value2\":\"transparent\",\"operation\":\"notContains\"},{\"value1\":\"={{$node[\\\"Google Calendar\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"=signal\",\"operation\":\"notContains\"},{\"value1\":\"{{$node[\\\"Google Calendar\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"minute meeting\",\"operation\":\"notContains\"},{\"value1\":\"={{$node[\\\"Google Calendar\\\"].json[\\\"summary\\\"]}}\",\"value2\":\"in person\",\"operation\":\"notContains\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Cron Once a Day\",\"type\":\"n8n-nodes-base.cron\",\"position\":[0,170],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":7}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Date & Time\":{\"main\":[[{\"node\":\"Google Calendar\",\"type\":\"main\",\"index\":0}]]},\"Cron Once a Day\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]},\"Google Calendar\":{\"main\":[[{\"node\":\"IF Zoom meeting\",\"type\":\"main\",\"index\":0}]]},\"IF Zoom meeting\":{\"main\":[[{\"node\":\"Zoom\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Save email attachments to Nextcloud", "output": "{\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[240,420],\"parameters\":{\"format\":\"resolved\",\"mailbox\":\"Invoices\",\"options\":{\"customEmailConfig\":\"[\\\"ALL\\\"]\"}},\"typeVersion\":1},{\"name\":\"Nextcloud\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[940,420],\"parameters\":{\"path\":\"=Documents/Invoices/{{$json[\\\"date\\\"]}}_{{$json[\\\"from\\\"]}}_{{$binary.file.fileName}}\",\"binaryDataUpload\":true,\"binaryPropertyName\":\"file\"},\"typeVersion\":1},{\"name\":\"Map each attachment\",\"type\":\"n8n-nodes-base.function\",\"position\":[620,420],\"parameters\":{\"functionCode\":\"const _ = require('lodash')\\n\\nconst sanitize = str => _.chain(str)\\n .replace(/[^A-Za-z0-9&.-]/g, '-') // sanitise via whitelist of characters\\n .replace(/-(?=-)/g, '') // remove repeated dashes - https://regexr.com/6ag8h\\n .trim('-') // trim any leading/trailing dashes\\n .truncate({\\n length: 60,\\n omission: '-' // when the string ends with '-', you'll know it was truncated\\n })\\n .value()\\n\\nconst result = _.flatMap(items.map(item => {\\n //console.log({item})\\n\\n // Maps each attachment to a separate item\\n return _.values(item.binary).map(file => {\\n console.log(\\\"Saving attachement:\\\", file.fileName, 'from:', ...item.json.from.value)\\n \\n // sanitize filename but exclude extension\\n const filename_parts = file.fileName.split('.')\\n const ext = _.slice(filename_parts, filename_parts.length-1)\\n const filename_main = _.join(_.dropRight(filename_parts), '.')\\n file.fileName = sanitize(filename_main) + '.' + ext\\n \\n return {\\n json: {\\n from: sanitize(item.json.from.value[0].name),\\n date: sanitize(new Date(item.json.date).toISOString().split(\\\"T\\\")[0]) // get date part \\\"2020-01-01\\\"\\n }, \\n binary: { file }\\n }\\n })\\n}))\\n\\n//console.log(result)\\nreturn result\"},\"typeVersion\":1}],\"connections\":{\"IMAP Email\":{\"main\":[[{\"node\":\"Map each attachment\",\"type\":\"main\",\"index\":0}]]},\"Map each attachment\":{\"main\":[[{\"node\":\"Nextcloud\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an issue on GitLab on every GitHub release", "output": "{\"nodes\":[{\"name\":\"Get latest release\",\"type\":\"n8n-nodes-base.github\",\"position\":[540,340],\"parameters\":{\"limit\":1,\"resource\":\"release\",\"operation\":\"getAll\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[740,420],\"parameters\":{},\"typeVersion\":1},{\"name\":\"No issue for release?\",\"type\":\"n8n-nodes-base.function\",\"position\":[920,420],\"parameters\":{\"functionCode\":\"const _ = require('lodash')\\n\\n// differentiate merged inputs (didnt find a way to get both inputs into one function invocation)\\nconst releases = _.filter(items, i => _.has(i, 'json.assets'))\\nif (releases.length != 1) throw new Error(`Invalid release count: ${releases.length}`)\\nconst release = releases[0]\\nconst issues = _.without(items, release)\\n//console.log({release,issues})\\n\\n// check if there's an issue for the release\\nconst matchingIssue = _.find(issues, i => i.json.title.includes(release.json.tag_name))\\n//console.log({release,issues,matchingIssue})\\n\\nif (matchingIssue)\\n return []\\nelse\\n return [release]\"},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Create issue\",\"type\":\"n8n-nodes-base.gitlab\",\"position\":[1100,420],\"parameters\":{\"body\":\"={{$json[\\\"url\\\"]}}\\n\\n{{$json[\\\"body\\\"]}}\",\"owner\":\"txlab\",\"title\":\"=Upstream release: {{$json[\\\"tag_name\\\"]}}\",\"labels\":[],\"repository\":\"docker-linkcheck\",\"assignee_ids\":[]},\"typeVersion\":1},{\"name\":\"List issues\",\"type\":\"n8n-nodes-base.gitlab\",\"position\":[540,500],\"parameters\":{\"owner\":\"txlab\",\"resource\":\"repository\",\"repository\":\"docker-linkcheck\",\"getRepositoryIssuesFilters\":{}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Get latest release\",\"type\":\"main\",\"index\":0},{\"node\":\"List issues\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"No release for issue?\",\"type\":\"main\",\"index\":0}]]},\"Start\":{\"main\":[[{\"node\":\"Get latest release\",\"type\":\"main\",\"index\":0},{\"node\":\"List issues\",\"type\":\"main\",\"index\":0}]]},\"List issues\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Get latest release\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"No release for issue?\":{\"main\":[[{\"node\":\"Create issue\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send workflow error to Telegram message", "output": "{\"nodes\":[{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[240,460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[520,380],\"parameters\":{\"text\":\"=Error in: \\n{{$json[\\\"workflow\\\"][\\\"name\\\"]}}\\n\\nNode: \\\"{{$json[\\\"execution\\\"]['lastNodeExecuted']}}\\\"\\nRetry: {{$json[\\\"execution\\\"]['retryOf']}}\\n\\n
{{JSON.stringify($json[\\\"execution\\\"][\\\"error\\\"], undefined,2)}}
\",\"additionalFields\":{\"parse_mode\":\"HTML\"}},\"typeVersion\":1}],\"connections\":{\"Error Trigger\":{\"main\":[[{\"node\":\"@tennox\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automatically email assignees their overdue incidents from Notion table", "output": "{\"id\":4,\"name\":\"My workflow no trigger\",\"nodes\":[{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[620,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"properties\\\"][\\\"Overdue?\\\"][\\\"formula\\\"][\\\"string\\\"]}}\",\"value2\":\"=OVERDUE\",\"operation\":\"contains\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[440,300],\"parameters\":{\"simple\":false,\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"your db id\"},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1030,280],\"parameters\":{\"text\":\"=\\nIncident no. {{$node[\\\"IF\\\"].json[\\\"properties\\\"][\\\"Incident number\\\"][\\\"formula\\\"][\\\"number\\\"]}} overdue!! {{$node[\\\"IF\\\"].json[\\\"properties\\\"][\\\"Incident description\\\"][\\\"title\\\"][0][\\\"text\\\"][\\\"content\\\"]}}\",\"ccEmail\":\"={{$node[\\\"FunctionItem\\\"].json}}\",\"options\":{},\"subject\":\"=overdue\",\"toEmail\":\"destination email address\",\"fromEmail\":\"your email address\"},\"credentials\":{\"smtp\":{\"id\":\"2\",\"name\":\"SMTP account\"}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[280,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":12,\"mode\":\"everyWeek\",\"minute\":14}]}},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[820,180],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\n//item.myNewField = 1;\\n\\n// You can write logs to the browser console\\n//console.log('Done!');\\n\\n//return item;\\nlet CC_email = \\\"\\\";\\nlet i = 0;\\n//let first_email = $json[\\\"properties\\\"][\\\"Assigned to\\\"][\\\"people\\\"][i][\\\"person\\\"][\\\"email\\\"];\\n\\nwhile (i< $json[\\\"properties\\\"][\\\"Assigned to\\\"][\\\"people\\\"].length) \\n{\\n CC_email += $json[\\\"properties\\\"][\\\"Assigned to\\\"][\\\"people\\\"][i][\\\"person\\\"][\\\"email\\\"] + \\\";\\\";\\n i++;\\n}\\nreturn CC_email ;\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"Notion\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Send Email\":{\"main\":[[]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create dynamic Twitter profile banner", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[260,210],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Fetch new followers\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,210],\"parameters\":{\"url\":\"https://api.twitter.com/2/users/{YOUR_USER_ID}/followers?user.fields=profile_image_url&max_results=3\",\"options\":{},\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"2\",\"name\":\"Twitter Token\"}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[660,210],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"data\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1660,210],\"parameters\":{\"functionCode\":\"const binary = {};\\nfor (let i=0; i < items.length; i++) {\\n binary[`data${i}`] = items[i].binary.avatar;\\n}\\n\\nreturn [\\n {\\n json: {\\n numIcons: items.length,\\n },\\n binary,\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1910,110],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Fetching images\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[860,210],\"parameters\":{\"url\":\"={{$json[\\\"profile_image_url\\\"].replace('normal','400x400')}}\",\"options\":{},\"responseFormat\":\"file\",\"dataPropertyName\":\"avatar\"},\"typeVersion\":1},{\"name\":\"Fetch bg\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1660,-40],\"parameters\":{\"url\":\"{TEMPLATE_IMAGE_URL}\",\"options\":{},\"responseFormat\":\"file\",\"dataPropertyName\":\"bg\"},\"typeVersion\":1},{\"name\":\"Resize\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[1060,210],\"parameters\":{\"width\":200,\"height\":200,\"options\":{},\"operation\":\"resize\",\"dataPropertyName\":\"avatar\"},\"typeVersion\":1},{\"name\":\"Crop\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[1260,210],\"parameters\":{\"options\":{\"format\":\"png\"},\"operation\":\"multiStep\",\"operations\":{\"operations\":[{\"width\":200,\"height\":200,\"operation\":\"create\",\"backgroundColor\":\"#000000ff\"},{\"color\":\"#ffffff00\",\"operation\":\"draw\",\"primitive\":\"circle\",\"endPositionX\":25,\"endPositionY\":50,\"startPositionX\":100,\"startPositionY\":100},{\"operator\":\"In\",\"operation\":\"composite\",\"dataPropertyNameComposite\":\"avatar\"}]},\"dataPropertyName\":\"avatar\"},\"typeVersion\":1},{\"name\":\"Edit Image\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[2110,110],\"parameters\":{\"options\":{},\"operation\":\"multiStep\",\"operations\":{\"operations\":[{\"operation\":\"composite\",\"positionX\":1000,\"positionY\":375,\"dataPropertyNameComposite\":\"data0\"},{\"operation\":\"composite\",\"positionX\":1100,\"positionY\":375,\"dataPropertyNameComposite\":\"data1\"},{\"operation\":\"composite\",\"positionX\":1200,\"positionY\":375,\"dataPropertyNameComposite\":\"data2\"}]},\"dataPropertyName\":\"bg\"},\"typeVersion\":1},{\"name\":\"Resize1\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[1450,210],\"parameters\":{\"width\":75,\"height\":75,\"options\":{},\"operation\":\"resize\",\"dataPropertyName\":\"avatar\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2310,110],\"parameters\":{\"url\":\"https://api.twitter.com/1.1/account/update_profile_banner.json\",\"options\":{\"bodyContentType\":\"multipart-form-data\"},\"requestMethod\":\"POST\",\"authentication\":\"oAuth1\",\"jsonParameters\":true,\"sendBinaryData\":true,\"binaryPropertyName\":\"banner:bg\"},\"credentials\":{\"oAuth1Api\":{\"id\":\"13\",\"name\":\"Twitter OAuth1.0\"}},\"typeVersion\":1}],\"connections\":{\"Crop\":{\"main\":[[{\"node\":\"Resize1\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Edit Image\",\"type\":\"main\",\"index\":0}]]},\"Resize\":{\"main\":[[{\"node\":\"Crop\",\"type\":\"main\",\"index\":0}]]},\"Resize1\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Fetch bg\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Edit Image\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Fetching images\",\"type\":\"main\",\"index\":0}]]},\"Fetching images\":{\"main\":[[{\"node\":\"Resize\",\"type\":\"main\",\"index\":0}]]},\"Fetch new followers\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Fetch new followers\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Join data from Postgres and MySQL", "output": "{\"nodes\":[{\"name\":\"emitirEtiqueta\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[440,1290],\"webhookId\":\"4431a14c-62c6-4602-8e20-e661f1d3d706\",\"parameters\":{\"path\":\"emitirEtiqueta\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"dadosProduto\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1270,1440],\"parameters\":{\"query\":\"=-- CONSULTA DO PRODUTO GRADE\\nWITH pg as (\\n\\tSELECT\\n\\t\\tid,\\n\\t\\tid_produto,\\n\\t\\tid_gradex,\\n\\t\\tid_gradey,\\n\\t\\tcodigo \\n\\tFROM\\n\\t\\tproduto_grade \\n\\tWHERE\\n\\t\\tid = '{{$node[\\\"emitirEtiqueta\\\"].json[\\\"body\\\"][\\\"id_produto_grade\\\"]}}'\\n),\\n\\n-- CONSULTA DO PRODUTO\\np as (\\n\\tSELECT * FROM produto \\n\\tWHERE id IN ( SELECT id_produto FROM pg)\\n\\tAND situacao = 'ATIVO'\\n),\\n\\n-- CONSULTA TECIDO\\nt as (\\n\\tSELECT\\n\\t\\ttoken,\\n\\t\\t JSON_UNQUOTE(json_extract( objeto, '$.largura')) AS largura\\n\\tFROM\\n\\t\\t`{{$node[\\\"PegarConfiguracaoImpressao\\\"].json[\\\"params\\\"][\\\"bancoRelatorio\\\"]}}`.`i_objeto` \\n\\tWHERE\\n\\t\\tmodulo = 'produto_grade_tecido'\\n\\t\\tand token in (select id from pg)\\n\\t\\tand situacao = 'ATIVO'\\n),\\n\\n\\n-- CONSULTA COMPOSICAO\\ncp as (\\n\\t\\n\\tSELECT\\n\\t token,\\n group_concat(concat(cps.participacao,'% ',cps.descricao)) as composicao\\n\\tFROM\\n\\t\\t`{{$node[\\\"PegarConfiguracaoImpressao\\\"].json[\\\"params\\\"][\\\"bancoRelatorio\\\"]}}`.`i_objeto`,\\n\\t\\tJSON_TABLE (\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tobjeto,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t'$[*]' COLUMNS ( \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tparticipacao INT path '$.participacao',\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdescricao TEXT path '$.descricao'\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t\\t\\t) AS cps \\n\\t\\tWHERE modulo = 'produto_grade_tecido_composicao'\\n\\t\\tAND token in (select id from pg)\\n\\t\\tAND situacao = 'ATIVO'\\n\\t\\tAND cps.participacao > 0\\n\\t\\tGROUP BY token\\n\\t\\tORDER BY participacao desc\\n\\t\\t\\n)\\n\\n\\n-- CONSULTA RELATORIO\\nSELECT\\n{{$node[\\\"emitirEtiqueta\\\"].json[\\\"body\\\"][\\\"id_movimentacao_detalhe\\\"]}} as id_movimentacao_detalhe ,\\n pg.id, \\n\\tpg.codigo,\\n\\tp.descricao,\\n\\tm.nome as marca,\\n\\tgx.nome as gradex,\\n\\tgy.nome as gradey,\\n\\tcurdate() as data_entrada,\\n t.largura,\\n\\tcp.composicao\\nFROM\\n\\tpg inner join p on (p.id = pg.id_produto)\\n\\tinner join marca m on(m.id = p.id_marca)\\n\\tleft join grade gx on (gx.id = pg.id_gradex)\\n\\tleft join grade gy on (gy.id = pg.id_gradey)\\n\\tleft join t on (t.token = pg.id)\\n\\tleft join cp on (cp.token = pg.id)\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"2\",\"name\":\"illi\"}},\"typeVersion\":1},{\"name\":\"PegarConfiguracaoImpressao\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[730,1290],\"parameters\":{\"url\":\"http://localhost:1337/parse/config\",\"options\":{},\"jsonParameters\":true,\"headerParametersJson\":\"{\\\"X-Parse-Application-Id\\\": \\\"iwms\\\"}\"},\"typeVersion\":1},{\"name\":\"dadosRolo\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[1260,1220],\"parameters\":{\"query\":\"=select * from \\\"tecido_rolo\\\"\\nwhere \\\"objectId\\\" in ('{{$json[\\\"idRolos\\\"].join(\\\"','\\\")}}')\",\"operation\":\"executeQuery\",\"additionalFields\":{}},\"credentials\":{\"postgres\":{\"id\":\"1\",\"name\":\"Postgres account\"}},\"typeVersion\":1},{\"name\":\"trataRetorno\",\"type\":\"n8n-nodes-base.function\",\"position\":[1010,1220],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n\\n// var produto = items[0].json;\\n\\n\\nvar rolos = $node[\\\"emitirEtiqueta\\\"].json[\\\"body\\\"][\\\"rolos\\\"];\\n\\n\\nvar idRolos = rolos.map(\\n function(rolo){\\n return rolo.objectId\\n });\\n \\nvar retorno = [];\\n\\nretorno.push({json:{\\n // produto:produto,\\n idRolos:idRolos \\n}})\\n\\nreturn retorno;\"},\"typeVersion\":1},{\"name\":\"roloProduto\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1640,1330],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"id_movimentacao_detalhe\",\"propertyName2\":\"id_movimentacao_detalhe\"},\"typeVersion\":1}],\"connections\":{\"dadosRolo\":{\"main\":[[{\"node\":\"roloProduto\",\"type\":\"main\",\"index\":0}]]},\"dadosProduto\":{\"main\":[[{\"node\":\"roloProduto\",\"type\":\"main\",\"index\":1}]]},\"trataRetorno\":{\"main\":[[{\"node\":\"dadosRolo\",\"type\":\"main\",\"index\":0}]]},\"emitirEtiqueta\":{\"main\":[[{\"node\":\"PegarConfiguracaoImpressao\",\"type\":\"main\",\"index\":0}]]},\"PegarConfiguracaoImpressao\":{\"main\":[[{\"node\":\"dadosProduto\",\"type\":\"main\",\"index\":0},{\"node\":\"trataRetorno\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Cron routines with Telegram", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"disabled\":true,\"position\":[70,140],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[70,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[620,210],\"parameters\":{\"text\":\"LIMPOU PACOTES TRANSPORTE-RECEBIDO PONTO MIX\",\"chatId\":\"-657820242\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"5\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[620,460],\"parameters\":{\"text\":\"LIMPOU PACOTES TRANSPORTE-RECEBIDO OBJETIVA\",\"chatId\":\"-657820242\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"5\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[70,480],\"webhookId\":\"7ecb2d2f-5a09-44a5-a7bc-27f188c74e0b\",\"parameters\":{\"path\":\"limparPacotes\",\"options\":{}},\"typeVersion\":1},{\"name\":\"limparPacoteCliente1\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[380,470],\"parameters\":{\"query\":\"-- LIMPAR ETIQUETAS ANTIGAS \\nwith t as (\\nselect token from i_objeto where modulo = 'pacoteProduto' and situacao = 'TRANSPORTE-RECEBIDO' and data <= DATE_SUB(CURDATE(), INTERVAL 1 MONTH)\\n)\\nupdate i_objeto \\nset modulo = 'DELETE'\\nwhere modulo = 'pacoteProduto' and token in (select token from t)\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"4\",\"name\":\"OBJ\"}},\"typeVersion\":1},{\"name\":\"limpaPacoteCliente0\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[380,210],\"parameters\":{\"query\":\"-- LIMPAR ETIQUETAS ANTIGAS \\nwith t as (\\nselect token from i_objeto where modulo = 'pacoteProduto' and situacao = 'TRANSPORTE-RECEBIDO' and data <= DATE_SUB(CURDATE(), INTERVAL 1 MONTH)\\n)\\nupdate i_objeto \\nset modulo = 'DELETE'\\nwhere modulo = 'pacoteProduto' and token in (select token from t)\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"3\",\"name\":\"PPM\"}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"limpaPacoteCliente0\",\"type\":\"main\",\"index\":0},{\"node\":\"limparPacoteCliente1\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"limpaPacoteCliente0\",\"type\":\"main\",\"index\":0},{\"node\":\"limparPacoteCliente1\",\"type\":\"main\",\"index\":0}]]},\"limpaPacoteCliente0\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"limparPacoteCliente1\":{\"main\":[[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"limpaPacoteCliente0\",\"type\":\"main\",\"index\":0},{\"node\":\"limparPacoteCliente1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new user in Notion based on the signup form submission", "output": "{\"nodes\":[{\"name\":\"Extract Name and Email\",\"type\":\"n8n-nodes-base.set\",\"position\":[950,130],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"body\\\"][\\\"name\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"body\\\"][\\\"email\\\"]}}\"}],\"boolean\":[]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Sign Up\",\"type\":\"n8n-nodes-base.webhook\",\"notes\":\"Example Input Data: {\\\"name\\\":\\\"John Doe\\\",\\\"email\\\":\\\"doe.j@northeastern.edu\\\"}\",\"position\":[720,130],\"webhookId\":\"6d60a1b4-6706-4f21-a5fb-bace13c24b53\",\"parameters\":{\"path\":\"sign-up\",\"options\":{\"responseData\":\"\"},\"httpMethod\":\"POST\",\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"11\",\"name\":\"Oasis Basic Auth Creds\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"If user exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[1560,150],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{Object.keys($json).includes(\\\"id\\\") }}\",\"value2\":true}]}},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Create User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1750,240],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"27a30c5b-c418-4200-8f48-d7fb7b043fbe\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"Name\\\"]}}\"},{\"key\":\"Email|email\",\"emailValue\":\"={{$json[\\\"Email\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Oasis Hub Production\"}},\"typeVersion\":1},{\"name\":\"Query for User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1150,230],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Email|email\",\"condition\":\"equals\",\"emailValue\":\"={{$json[\\\"Email\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"27a30c5b-c418-4200-8f48-d7fb7b043fbe\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Oasis Hub Production\"}},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Query Current Semester\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2180,-30],\"parameters\":{\"options\":{\"sort\":{\"sortValue\":[{\"key\":\"created_time\",\"direction\":\"descending\",\"timestamp\":true}]},\"filter\":{\"singleCondition\":{\"key\":\"Is Current?|checkbox\",\"condition\":\"equals\",\"checkboxValue\":true}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"2003319a-bc73-423a-9378-01999b4884fb\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Oasis Hub Production\"}},\"typeVersion\":1},{\"name\":\"Select Semester ID\",\"type\":\"n8n-nodes-base.set\",\"position\":[2370,-30],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"currentSemesterID\",\"value\":\"={{$json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Update Semester for User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[3050,110],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Semesters|relation\",\"relationValue\":[\"={{$json[\\\"allSemesterIDs\\\"].join(',')}}\"]}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Oasis Hub Production\"}},\"typeVersion\":1},{\"name\":\"Merge Semester ID\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2590,110],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Concatenate Semester IDs\",\"type\":\"n8n-nodes-base.function\",\"position\":[2820,110],\"parameters\":{\"functionCode\":\"for (item of items) {\\n // Get the current semester ID\\n const currentSemesterID = item.json[\\\"currentSemesterID\\\"]\\n let allSemesterIDs = [currentSemesterID];\\n\\n // Add semesters that the user is already associated with\\n if (item.json[\\\"Semesters\\\"]?.length > 0) {\\n allSemesterIDs = allSemesterIDs.concat(item.json[\\\"Semesters\\\"].filter(semesterID => semesterID !== currentSemesterID));\\n }\\n\\n // Set allSemesterIDs which is used to update the relation\\n item.json[\\\"allSemesterIDs\\\"] = allSemesterIDs\\n}\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1340,150],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Email\",\"propertyName2\":\"Email\"},\"typeVersion\":1},{\"name\":\"Query User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1950,130],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Email|email\",\"condition\":\"equals\",\"emailValue\":\"={{$json[\\\"Email\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"27a30c5b-c418-4200-8f48-d7fb7b043fbe\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Oasis Hub Production\"}},\"typeVersion\":1,\"alwaysOutputData\":true}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"If user exists\",\"type\":\"main\",\"index\":0}]]},\"Sign Up\":{\"main\":[[{\"node\":\"Extract Name and Email\",\"type\":\"main\",\"index\":0}]]},\"Query User\":{\"main\":[[{\"node\":\"Query Current Semester\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge Semester ID\",\"type\":\"main\",\"index\":1}]]},\"Create User\":{\"main\":[[{\"node\":\"Query User\",\"type\":\"main\",\"index\":0}]]},\"If user exists\":{\"main\":[[{\"node\":\"Query User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create User\",\"type\":\"main\",\"index\":0}]]},\"Query for User\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Merge Semester ID\":{\"main\":[[{\"node\":\"Concatenate Semester IDs\",\"type\":\"main\",\"index\":0}]]},\"Select Semester ID\":{\"main\":[[{\"node\":\"Merge Semester ID\",\"type\":\"main\",\"index\":0}]]},\"Extract Name and Email\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Query for User\",\"type\":\"main\",\"index\":0}]]},\"Query Current Semester\":{\"main\":[[{\"node\":\"Select Semester ID\",\"type\":\"main\",\"index\":0}]]},\"Concatenate Semester IDs\":{\"main\":[[{\"node\":\"Update Semester for User\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new team for a project in Notion", "output": "{\"nodes\":[{\"name\":\"Get Team Members\",\"type\":\"n8n-nodes-base.function\",\"position\":[1030,150],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json.body.teamMembers) {\\n const newItem = { json: item }\\n newItems.push(newItem);\\n}\\n\\nreturn newItems;\\n\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1250,460],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Query Current Semester\",\"type\":\"n8n-nodes-base.notion\",\"position\":[700,20],\"parameters\":{\"options\":{\"sort\":{\"sortValue\":[{\"key\":\"created_time\",\"direction\":\"descending\",\"timestamp\":true}]},\"filter\":{\"singleCondition\":{\"key\":\"Is Current?|checkbox\",\"condition\":\"equals\",\"checkboxValue\":true}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"2003319a-bc73-423a-9378-01999b4884fb\"},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"typeVersion\":1},{\"name\":\"Select Semester ID and Projects Count\",\"type\":\"n8n-nodes-base.set\",\"position\":[1030,330],\"parameters\":{\"values\":{\"number\":[{\"name\":\"projectsCount\",\"value\":\"={{$json[\\\"Projects\\\"].length}}\"}],\"string\":[{\"name\":\"semesterID\",\"value\":\"={{$json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Use Default Name if Not Specified\",\"type\":\"n8n-nodes-base.set\",\"position\":[1470,460],\"parameters\":{\"values\":{\"string\":[{\"name\":\"projectName\",\"value\":\"={{ $json[\\\"projectName\\\"] == \\\"\\\" ? \\\"Project Group \\\" + ($json[\\\"projectsCount\\\"] + 1) : $json[\\\"projectName\\\"] }}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Select Project Showcase ID\",\"type\":\"n8n-nodes-base.set\",\"position\":[1890,460],\"parameters\":{\"values\":{\"string\":[{\"name\":\"projectID\",\"value\":\"={{$json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Get Project Name & Idea\",\"type\":\"n8n-nodes-base.set\",\"position\":[820,480],\"parameters\":{\"values\":{\"string\":[{\"name\":\"projectName\",\"value\":\"={{$json[\\\"body\\\"][\\\"projectName\\\"]}}\"},{\"name\":\"projectIdea\",\"value\":\"={{$json[\\\"body\\\"][\\\"projectIdea\\\"]}}\"}],\"boolean\":[]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Create Project\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1690,460],\"parameters\":{\"blockUi\":{\"blockValues\":[]},\"resource\":\"databasePage\",\"databaseId\":\"f9c8a070-d398-482b-a7a4-5e42c7982e6a\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"projectName\\\"]}}\"},{\"key\":\"Semesters|relation\",\"relationValue\":[\"={{$json[\\\"semesterID\\\"]}}\"]},{\"key\":\"Project Idea|rich_text\",\"textContent\":\"={{$json[\\\"projectIdea\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"typeVersion\":1},{\"name\":\"If user exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[1690,170],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{Object.keys($json).includes(\\\"id\\\") }}\",\"value2\":true}]}},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Create User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1890,270],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"27a30c5b-c418-4200-8f48-d7fb7b043fbe\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"name\\\"]}}\"},{\"key\":\"Email|email\",\"emailValue\":\"={{$json[\\\"email\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"typeVersion\":1},{\"name\":\"Query for User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1250,260],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Email|email\",\"condition\":\"equals\",\"emailValue\":\"={{$json[\\\"email\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"27a30c5b-c418-4200-8f48-d7fb7b043fbe\"},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1460,170],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"email\",\"propertyName2\":\"Email\"},\"typeVersion\":1},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2750,-160],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Update Semester for User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[3240,-160],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Semesters|relation\",\"relationValue\":[\"={{$json[\\\"allSemesterIDs\\\"].join(',')}}\"]}]}},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"typeVersion\":1},{\"name\":\"Query User\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2460,170],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Email|email\",\"condition\":\"equals\",\"emailValue\":\"={{$json[\\\"email\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"27a30c5b-c418-4200-8f48-d7fb7b043fbe\"},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Select Semester ID\",\"type\":\"n8n-nodes-base.set\",\"position\":[1020,-180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"semesterID\",\"value\":\"={{$json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Update Project Relation\",\"type\":\"n8n-nodes-base.notion\",\"position\":[3240,440],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Project|relation\",\"relationValue\":[\"={{$json[\\\"allProjectIDs\\\"].join(\\\",\\\")}}\"]}]}},\"credentials\":{\"notionApi\":\"Oasis Hub Production\"},\"typeVersion\":1},{\"name\":\"Merge3\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2750,440],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Concatenate SemesterIDs\",\"type\":\"n8n-nodes-base.function\",\"position\":[3010,-160],\"parameters\":{\"functionCode\":\"for (item of items) {\\n // Get the current semester ID\\n const currentSemesterID = item.json[\\\"semesterID\\\"]\\n let allSemesterIDs = [currentSemesterID];\\n\\n // Add semesters that the user is already associated with\\n if (item.json[\\\"Semesters\\\"]?.length > 0) {\\n allSemesterIDs = allSemesterIDs.concat(item.json[\\\"Semesters\\\"].filter(semesterID => semesterID !== currentSemesterID));\\n }\\n\\n // Set allSemesterIDs which is used to update the relation\\n item.json[\\\"allSemesterIDs\\\"] = allSemesterIDs\\n}\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Concatenate ProjectIDs\",\"type\":\"n8n-nodes-base.function\",\"position\":[3000,440],\"parameters\":{\"functionCode\":\"for (item of items) {\\n // Get the project id for the new project\\n const newProjectID = item.json[\\\"projectID\\\"]\\n let allProjectIDs = [newProjectID];\\n\\n // Add projects that the user already has\\n if (item.json[\\\"Project\\\"]?.length > 0) {\\n allWorkspaceIDs = allWorkspaceIDs.concat(item.json[\\\"Project\\\"].filter(projectID => projectID !== newProjectID));\\n }\\n\\n // Set allProjectIDs which is used to update the relation\\n item.json[\\\"allProjectIDs\\\"] = allProjectIDs\\n}\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Merge4\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2240,170],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set Email\",\"type\":\"n8n-nodes-base.set\",\"position\":[2060,270],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email\",\"value\":\"={{$json[\\\"Email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Team Creation\",\"type\":\"n8n-nodes-base.webhook\",\"notes\":\"Example Input Data:\\n{\\\"projectIdea\\\":\\\"A hub for all things Oasis\\\",\\\"projectName\\\":\\\"Oasis Hub\\\",\\\"teamMembers\\\":[{\\\"name\\\":\\\"Will Stenzel\\\",\\\"email\\\":\\\"stenzel.w@northeastern.edu\\\"},{\\\"name\\\":\\\"Jane Doe\\\",\\\"email\\\":\\\"doe.j@northeastern.edu\\\"}]}\",\"position\":[460,150],\"webhookId\":\"6f000a46-9bbf-4e1c-8e11-b64d9b8c8fb7\",\"parameters\":{\"path\":\"team-create\",\"options\":{\"responseData\":\"\"},\"httpMethod\":\"POST\",\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":\"Oasis Basic Auth Creds\"},\"notesInFlow\":true,\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Use Default Name if Not Specified\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"If user exists\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"Concatenate SemesterIDs\",\"type\":\"main\",\"index\":0}]]},\"Merge3\":{\"main\":[[{\"node\":\"Concatenate ProjectIDs\",\"type\":\"main\",\"index\":0}]]},\"Merge4\":{\"main\":[[{\"node\":\"Query User\",\"type\":\"main\",\"index\":0}]]},\"Set Email\":{\"main\":[[{\"node\":\"Merge4\",\"type\":\"main\",\"index\":1}]]},\"Query User\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge3\",\"type\":\"main\",\"index\":0}]]},\"Create User\":{\"main\":[[{\"node\":\"Set Email\",\"type\":\"main\",\"index\":0}]]},\"Team Creation\":{\"main\":[[{\"node\":\"Get Project Name & Idea\",\"type\":\"main\",\"index\":0},{\"node\":\"Get Team Members\",\"type\":\"main\",\"index\":0},{\"node\":\"Query Current Semester\",\"type\":\"main\",\"index\":0}]]},\"Create Project\":{\"main\":[[{\"node\":\"Select Project Showcase ID\",\"type\":\"main\",\"index\":0}]]},\"If user exists\":{\"main\":[[{\"node\":\"Merge4\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create User\",\"type\":\"main\",\"index\":0}]]},\"Query for User\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Get Team Members\":{\"main\":[[{\"node\":\"Query for User\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Select Semester ID\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]},\"Concatenate ProjectIDs\":{\"main\":[[{\"node\":\"Update Project Relation\",\"type\":\"main\",\"index\":0}]]},\"Query Current Semester\":{\"main\":[[{\"node\":\"Select Semester ID and Projects Count\",\"type\":\"main\",\"index\":0},{\"node\":\"Select Semester ID\",\"type\":\"main\",\"index\":0}]]},\"Concatenate SemesterIDs\":{\"main\":[[{\"node\":\"Update Semester for User\",\"type\":\"main\",\"index\":0}]]},\"Get Project Name & Idea\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Select Project Showcase ID\":{\"main\":[[{\"node\":\"Merge3\",\"type\":\"main\",\"index\":1}]]},\"Use Default Name if Not Specified\":{\"main\":[[{\"node\":\"Create Project\",\"type\":\"main\",\"index\":0}]]},\"Select Semester ID and Projects Count\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a document in outline for each new GitLab release", "output": "{\"nodes\":[{\"name\":\"Gitlab Trigger\",\"type\":\"n8n-nodes-base.gitlabTrigger\",\"position\":[240,140],\"parameters\":{\"owner\":\"tennox\",\"events\":[\"tag_push\"],\"repository\":\"ci-test\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,40],\"parameters\":{\"url\":\"https://app.getoutline.com/api/documents.create\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={ \\n\\\"collectionId\\\": \\\"PLACEHOLDER\\\",\\n\\\"parentDocumentId\\\": \\\"PLACEHOLDER\\\",\\n\\\"publish\\\": true, \\n\\\"title\\\": {{JSON.stringify(\\\"Release \\\" + $json.body.name)}},\\n\\\"text\\\": {{JSON.stringify($json.body.description + '\\\\n\\\\n\\\\\\\\\\\\n[More info](' + $json.body.url + ')')}}\\n}\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json.body.object_kind}}\",\"value2\":\"release\"}]}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Gitlab Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Share jokes on Twitter automatically", "output": "{\"nodes\":[{\"name\":\"Request blablagues\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[750,250],\"parameters\":{\"url\":\"https://api.blablagues.net/?rub=images\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Recup image\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1000,250],\"parameters\":{\"url\":\"={{$node[\\\"Request blablagues\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"content\\\"][\\\"media\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"At 17H image jokes\",\"type\":\"n8n-nodes-base.cron\",\"position\":[500,250],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":17}]}},\"typeVersion\":1},{\"name\":\"Tweet image jokes\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[1250,250],\"parameters\":{\"text\":\"={{$node[\\\"Request blablagues\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"content\\\"][\\\"text\\\"]}}\",\"additionalFields\":{\"attachments\":\"data\"}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1}],\"connections\":{\"Recup image\":{\"main\":[[{\"node\":\"Tweet image jokes\",\"type\":\"main\",\"index\":0}]]},\"At 17H image jokes\":{\"main\":[[{\"node\":\"Request blablagues\",\"type\":\"main\",\"index\":0}]]},\"Request blablagues\":{\"main\":[[{\"node\":\"Recup image\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract URL from an email address", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Extract domain name\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,300],\"parameters\":{\"functionCode\":\"// Take email and extract the domain name \\nvar email = ($json[\\\"email\\\"]);\\nvar name = email.substring(0, email.lastIndexOf(\\\"@\\\"));\\nvar domain = email.substring(email.lastIndexOf(\\\"@\\\") +1);\\n\\n//To display the final domain name. (result)\\n\\nreturn [{\\n json: { domain }\\n}]\"},\"typeVersion\":1},{\"name\":\"Sample email\",\"type\":\"n8n-nodes-base.set\",\"position\":[460,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email\",\"value\":\"email@domain2.com\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Sample email\":{\"main\":[[{\"node\":\"Extract domain name\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Sample email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create and share temporary passwords via Telegram bot", "output": "{\"id\":\"DxI3c5m8DISJqa2T\",\"meta\":{\"instanceId\":\"48e98d95aab2af437c32c405e45972f4530dc31ea677ecacdd27272a056e4d7b\",\"templateCredsSetupCompleted\":true},\"name\":\"Temporary Passwords\",\"tags\":[{\"id\":\"yx7gJdAhMPDiPsN3\",\"name\":\"The {AI} rtist\",\"createdAt\":\"2024-05-01T10:41:40.435Z\",\"updatedAt\":\"2024-05-01T10:41:40.435Z\"}],\"nodes\":[{\"id\":\"e6f81f3b-a4a6-4a78-8d6c-63ba412f7b0b\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Configuración\",\"position\":[460,620],\"parameters\":{\"values\":{\"number\":[{\"name\":\"expire_after_days\",\"value\":2},{\"name\":\"expire_after_views\",\"value\":10}],\"string\":[{\"name\":\"pwpush_instance\",\"value\":\"https://pwpush.com\"},{\"name\":\"password\",\"value\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"text\\\"].replace(\\\"/password \\\",\\\"\\\")}}\"}]},\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"8132ee04-cf55-4209-aea0-db6f5a0cfa8e\",\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[-40,640],\"webhookId\":\"51a73891-e43a-4759-bd47-9599531e017f\",\"parameters\":{\"updates\":[\"*\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"WoNBx8pFgayM4VbN\",\"name\":\"Password\"}},\"typeVersion\":1},{\"id\":\"acd56613-ae9d-48f2-9b61-aea0a14701f6\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Activation World\",\"position\":[180,640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\",\"value2\":\"/password\",\"operation\":\"contains\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"3ddb41da-4b05-4b54-b516-98c39caba9f6\",\"name\":\"Help Message\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[400,820],\"parameters\":{\"text\":\"=Hello *{{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}*,\\n\\nWelcome to *SecurePassword*, the bot that will help you send passwords securely.\\n\\nTo generate a secure link, you need to write:\\n\\n*/password* Your password\\n\\nRegards,\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"WoNBx8pFgayM4VbN\",\"name\":\"Password\"}},\"typeVersion\":1},{\"id\":\"e963389d-b726-4b64-b1b2-33c612c436ec\",\"name\":\"Send Password\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1140,620],\"parameters\":{\"text\":\"=Hello *{{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}*,\\n\\nI have taken the liberty of saving you the work and creating the message content to send. Click on it to copy.\\n\\n📋 ```Hello,\\n\\nI am attaching the link to access the password securely.\\n\\n{{$node[\\\"GenerateURL\\\"].json[\\\"URL\\\"]}}\\n\\nPlease, once you visit the link, you can click on \\\"delete this secret link now.\\\" This way, it will no longer be available immediately.\\n\\nBest regards,\\n\\n💣 This link will self-destruct in *{{$node[\\\"Set\\\"].json[\\\"expire_after_days\\\"]}}* days after *{{$node[\\\"Set\\\"].json[\\\"expire_after_views\\\"]}}* views!```\\n\\nDon't forget to follow my channel @aitorroma\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"replyMarkup\":\"inlineKeyboard\",\"inlineKeyboard\":{\"rows\":[{\"row\":{\"buttons\":[{\"text\":\"👉 YOUR PASSWORD\",\"additionalFields\":{\"url\":\"={{$node[\\\"GenerateURL\\\"].json[\\\"URL\\\"]}}\"}},{\"text\":\"✅ The { AI } rtist\",\"additionalFields\":{\"url\":\"https://nocodeopensource.io/the-airtist/\"}}]}}]},\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"WoNBx8pFgayM4VbN\",\"name\":\"Password\"}},\"typeVersion\":1},{\"id\":\"4a3bf0b6-755b-4f33-9d82-88fbecbca081\",\"name\":\"Send Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[740,620],\"parameters\":{\"url\":\"={{$node[\\\"Set\\\"].json[\\\"pwpush_instance\\\"]}}/p.json\",\"options\":{\"bodyContentType\":\"form-urlencoded\"},\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"password[payload]\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"password\\\"]}}\"},{\"name\":\"password[expire_after_days]\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"expire_after_days\\\"]}}\"},{\"name\":\"password[expire_after_views]\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"expire_after_views\\\"]}}\"}]},\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"id\":\"773053e4-3bc3-461c-bb15-540033827dd6\",\"name\":\"GenerateURL\",\"type\":\"n8n-nodes-base.set\",\"position\":[960,620],\"parameters\":{\"values\":{\"string\":[{\"name\":\"URL\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"pwpush_instance\\\"]}}/es/p/{{$node[\\\"Send Request\\\"].json[\\\"data\\\"][\\\"url_token\\\"]}}/r\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":true,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"0de3c25a-d7e0-4e0a-abad-74c24d98d78d\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Help Message\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Send Request\",\"type\":\"main\",\"index\":0}]]},\"GenerateURL\":{\"main\":[[{\"node\":\"Send Password\",\"type\":\"main\",\"index\":0}]]},\"Send Request\":{\"main\":[[{\"node\":\"GenerateURL\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Search and download torrents using transmission-daemon", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[310,300],\"webhookId\":\"6be952e8-e30f-4dd7-90b3-bc202ae9f174\",\"parameters\":{\"path\":\"6be952e8-e30f-4dd7-90b3-bc202ae9f174\",\"options\":{\"rawBody\":true},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"SearchTorrent\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[530,300],\"parameters\":{\"functionCode\":\"const TorrentSearchApi = require('torrent-search-api');\\n\\nTorrentSearchApi.enableProvider('KickassTorrents');\\nTorrentSearchApi.enableProvider('Rarbg');\\n\\nitem.title = $node[\\\"Webhook\\\"].json[\\\"body\\\"].title.trim();\\n\\nconst torrents = await TorrentSearchApi.search(item.title, 'All', 5);\\n\\nitem.torrents = torrents;\\nitem.found = true;\\n\\nif(!torrents.length)\\n item.found = false;\\n \\nconsole.log('Done!');\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Start download\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[960,280],\"parameters\":{\"url\":\"http://localhost:9091/transmission/rpc\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"method\\\":\\\"torrent-add\\\",\\\"arguments\\\":{\\\"paused\\\":false,\\\"download-dir\\\":\\\"/media/FILM/TORRENT\\\",\\\"filename\\\":\\\"{{$node[\\\"SearchTorrent\\\"].json[\\\"torrents\\\"][0][\\\"magnet\\\"]}}\\\"}}\",\"headerParametersJson\":\"{\\\"X-Transmission-Session-Id\\\":\\\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\\"}\"},\"credentials\":{\"httpBasicAuth\":\"Transmission-basic-auth\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[740,300],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"found\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Torrent not found\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[960,470],\"parameters\":{\"text\":\"=Film {{$node[\\\"Webhook\\\"].json[\\\"body\\\"].title}} non trovato.\",\"chatId\":\"00000000\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"your_bot_credential\"},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1500,490],\"parameters\":{\"text\":\"=Scarico {{$node[\\\"Webhook\\\"].json[\\\"body\\\"].title}}!\\nTitolo: {{$node[\\\"SearchTorrent\\\"].json[\\\"torrents\\\"][0][\\\"title\\\"]}}\",\"chatId\":\"0000000\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"your_bot_credential\"},\"typeVersion\":1},{\"name\":\"IF2\",\"type\":\"n8n-nodes-base.if\",\"position\":[1150,280],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"=\\\"{{$json[\\\"error\\\"][\\\"statusCode\\\"]}}\\\"\",\"value2\":\"=\\\"409\\\"\"}]}},\"typeVersion\":1},{\"name\":\"Start download new token\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1340,260],\"parameters\":{\"url\":\"http://localhost:9091/transmission/rpc\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"method\\\":\\\"torrent-add\\\",\\\"arguments\\\":{\\\"paused\\\":false,\\\"download-dir\\\":\\\"/media/FILM/TORRENT\\\",\\\"filename\\\":\\\"{{$node[\\\"SearchTorrent\\\"].json[\\\"torrents\\\"][0][\\\"magnet\\\"]}}\\\"}}\",\"headerParametersJson\":\"={\\\"X-Transmission-Session-Id\\\":\\\"{{$node[\\\"Start download\\\"].json[\\\"error\\\"][\\\"response\\\"][\\\"headers\\\"][\\\"x-transmission-session-id\\\"]}}\\\"}\"},\"credentials\":{\"httpBasicAuth\":\"Transmission-basic-auth\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Start download\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Torrent not found\",\"type\":\"main\",\"index\":0}]]},\"IF2\":{\"main\":[[{\"node\":\"Start download new token\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"SearchTorrent\",\"type\":\"main\",\"index\":0}]]},\"SearchTorrent\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Start download\":{\"main\":[[{\"node\":\"IF2\",\"type\":\"main\",\"index\":0}]]},\"Start download new token\":{\"main\":[[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Tripetto Webhook", "output": "{\"id\":74,\"name\":\"Tripetto\",\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[840,440],\"parameters\":{\"functionCode\":\"const result = []\\n\\nfor (const item of items) {\\n result.push({ json: item.json.body })\\n}\\n\\nreturn result;\"},\"typeVersion\":1},{\"name\":\"Webhook Tripetto\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[620,300],\"webhookId\":\"cd2f7bfe-1dfd-4fd3-8f53-cf1b286ad624\",\"parameters\":{\"path\":\"cd2f7bfe-1dfd-4fd3-8f53-cf1b286ad624\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Webhook Tripetto\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Purge n8n execution history located in Postgres", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[700,240],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[700,440],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":3}]}},\"typeVersion\":1},{\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[1060,440],\"parameters\":{\"query\":\"DELETE FROM \\\"execution_entity\\\" WHERE DATE(\\\"stoppedAt\\\") < NOW() - INTERVAL '1 DAY';\\n\",\"operation\":\"executeQuery\",\"additionalFields\":{}},\"credentials\":{\"postgres\":{\"id\":\"3\",\"name\":\"Postgres account\"}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send automated daily reminders on Telegram", "output": "{\"id\":1,\"name\":\"Daily Journal Reminder\",\"nodes\":[{\"name\":\"Morning reminder\",\"type\":\"n8n-nodes-base.cron\",\"notes\":\"Trigger very morning\",\"position\":[220,60],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6}]}},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"format reminder\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[460,60],\"parameters\":{\"functionCode\":\"\\n// Creates message with todays date\\nconst today = new Date()\\nconst yesterday = new Date(today)\\n\\nyesterday.setDate(yesterday.getDate() - 1)\\nconst message = `What did you do: ${yesterday.toISOString().split('T')[0]}`\\n\\nreturn {message};\"},\"typeVersion\":1},{\"name\":\"Send journal reminder\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[700,60],\"parameters\":{\"text\":\"={{$node[\\\"format reminder\\\"].json[\\\"message\\\"]}}\",\"chatId\":\"666884239\",\"additionalFields\":{}},\"credentials\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"format reminder\":{\"main\":[[{\"node\":\"Send journal reminder\",\"type\":\"main\",\"index\":0}]]},\"Morning reminder\":{\"main\":[[{\"node\":\"format reminder\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Save Telegram daily messages to Google Sheets", "output": "{\"id\":4,\"name\":\"Save Telegram reply to journal spreadsheet\",\"nodes\":[{\"name\":\"Add entry to sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[700,240],\"parameters\":{\"options\":{},\"sheetId\":\"YOUR_SPREADSHEET_ID\",\"operation\":\"append\"},\"credentials\":{},\"typeVersion\":1},{\"name\":\"Get journal reply\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[220,240],\"webhookId\":\"fe4a6042-d343-4a02-b443-6d32c38e094d\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{},\"typeVersion\":1},{\"name\":\"Parse message\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[460,240],\"parameters\":{\"functionCode\":\"// When telgram sees a message it will make sure its a reply to its message and from the user. \\n// If thats the case then it will return {entry: string, date: string}\\n\\nconst botUsername = 'BOT_USERNAME'\\nconst user = 'YOUR_USERNAME'\\n\\nconst res = item.message\\n\\nconst isReplyToBot = res.reply_to_message.from.username === botUsername\\nconst isFromUser = res.from.username === user\\n\\n// This assumes your message is formatted as follows: \\\"SOME CUSTOM MESSAGE: YYYY-MM-DD\\\"\\nconst date = res.reply_to_message.text.split(':')[1].replace(/\\\\s/g, '');\\n\\nconst journalEntry = res.text\\n\\nif (isReplyToBot && isFromUser) {\\n return {entry: journalEntry, date}\\n}\\n\\nreturn undefined;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Parse message\":{\"main\":[[{\"node\":\"Add entry to sheet\",\"type\":\"main\",\"index\":0}]]},\"Get journal reply\":{\"main\":[[{\"node\":\"Parse message\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Telegram sheets test", "output": "{\"id\":4,\"name\":\"Save Telegram reply to journal spreadsheet\",\"nodes\":[{\"name\":\"Add entry to sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[700,240],\"parameters\":{\"options\":{},\"sheetId\":\"YOUR_SPREADSHEET_ID\",\"operation\":\"append\"},\"credentials\":{},\"typeVersion\":1},{\"name\":\"Get journal reply\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[220,240],\"webhookId\":\"fe4a6042-d343-4a02-b443-6d32c38e094d\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{},\"typeVersion\":1},{\"name\":\"Parse message\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[460,240],\"parameters\":{\"functionCode\":\"// When telgram sees a message it will make sure its a reply to its message and from the user. \\n// If thats the case then it will return {entry: string, date: string}\\n\\nconst botUsername = 'BOT_USERNAME'\\nconst user = 'YOUR_USERNAME'\\n\\nconst res = item.message\\n\\nconst isReplyToBot = res.reply_to_message.from.username === botUsername\\nconst isFromUser = res.from.username === user\\n\\n// This assumes your message is formatted as follows: \\\"SOME CUSTOM MESSAGE: YYYY-MM-DD\\\"\\nconst date = res.reply_to_message.text.split(':')[1].replace(/\\\\s/g, '');\\n\\nconst journalEntry = res.text\\n\\nif (isReplyToBot && isFromUser) {\\n return {entry: journalEntry, date}\\n}\\n\\nreturn undefined;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Parse message\":{\"main\":[[{\"node\":\"Add entry to sheet\",\"type\":\"main\",\"index\":0}]]},\"Get journal reply\":{\"main\":[[{\"node\":\"Parse message\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract and store text from chat images using AWS S3", "output": "{\"nodes\":[{\"name\":\"AWS Textract\",\"type\":\"n8n-nodes-base.awsTextract\",\"position\":[700,340],\"parameters\":{},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[520,220],\"webhookId\":\"12345\",\"parameters\":{\"updates\":[\"*\"],\"additionalFields\":{\"download\":true,\"imageSize\":\"medium\"}},\"credentials\":{\"telegramApi\":{\"id\":\"49\",\"name\":\"Telegram mybot\"}},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[880,340],\"parameters\":{\"table\":\"receipts\",\"options\":{},\"operation\":\"append\",\"application\":\"qwertz\",\"addAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"6\",\"name\":\"airtable_nodeqa\"}},\"typeVersion\":1},{\"name\":\"AWS S3\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[700,100],\"parameters\":{\"fileName\":\"={{$binary.data.fileName}}\",\"operation\":\"upload\",\"bucketName\":\"textract-demodata\",\"additionalFields\":{}},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1}],\"connections\":{\"AWS Textract\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"AWS S3\",\"type\":\"main\",\"index\":0},{\"node\":\"AWS Textract\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transcribe audio files from Cloud Storage", "output": "{\"nodes\":[{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1240,1120],\"parameters\":{\"range\":\"A:D\",\"options\":{},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1},{\"name\":\"AWS Transcribe 2\",\"type\":\"n8n-nodes-base.awsTranscribe\",\"position\":[920,1120],\"parameters\":{\"operation\":\"get\",\"transcriptionJobName\":\"={{$json[\\\"Key\\\"]}}\"},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"AWS Transcribe 1\",\"type\":\"n8n-nodes-base.awsTranscribe\",\"position\":[600,1120],\"parameters\":{\"options\":{},\"mediaFileUri\":\"=s3://{{$node[\\\"AWS S3 2\\\"].parameter[\\\"bucketName\\\"]}}/{{$json[\\\"Key\\\"]}}\",\"transcriptionJobName\":\"={{$json[\\\"Key\\\"]}}\"},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"AWS S3 1\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[280,1120],\"parameters\":{\"tagsUi\":{\"tagsValues\":[{\"key\":\"source\",\"value\":\"gdrive\"}]},\"fileName\":\"={{$json[\\\"name\\\"]}}\",\"operation\":\"upload\",\"binaryData\":false,\"bucketName\":\"mybucket\",\"fileContent\":\"street\",\"additionalFields\":{}},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"AWS S3 2\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[440,1120],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"bucketName\":\"mybucket\"},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1080,1120],\"parameters\":{\"values\":{\"number\":[{\"name\":\"transcription_date\",\"value\":\"={{$node[\\\"AWS Transcribe 1\\\"].json[\\\"CreationTime\\\"]}}\"}],\"string\":[{\"name\":\"recording_name\",\"value\":\"={{$node[\\\"AWS Transcribe 1\\\"].json[\\\"TranscriptionJobName\\\"]}}\"},{\"name\":\"recording_link\",\"value\":\"={{$node[\\\"Google Drive Trigger\\\"].json[\\\"webContentLink\\\"]}}\"},{\"name\":\"transcription\",\"value\":\"={{$json[\\\"transcript\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Google Drive Trigger1\",\"type\":\"n8n-nodes-base.googleDriveTrigger\",\"position\":[120,1120],\"parameters\":{\"event\":\"fileCreated\",\"options\":{},\"triggerOn\":\"specificFolder\",\"folderToWatch\":\"https://drive.google.com/drive/folders/[your_id]\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"59\",\"name\":\"Google Drive account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[760,1120],\"webhookId\":\"12345\",\"parameters\":{\"resume\":\"webhook\",\"options\":{\"responsePropertyName\":\"transcript\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"AWS Transcribe 2\",\"type\":\"main\",\"index\":0}]]},\"AWS S3 1\":{\"main\":[[{\"node\":\"AWS S3 2\",\"type\":\"main\",\"index\":0}]]},\"AWS S3 2\":{\"main\":[[{\"node\":\"AWS Transcribe 1\",\"type\":\"main\",\"index\":0}]]},\"AWS Transcribe 1\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"AWS Transcribe 2\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Google Drive Trigger1\":{\"main\":[[{\"node\":\"AWS S3 1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Collects images from web search results and send to Google Sheets", "output": "{\"nodes\":[{\"name\":\"AWS Rekognition\",\"type\":\"n8n-nodes-base.awsRekognition\",\"position\":[680,700],\"parameters\":{\"type\":\"detectText\",\"binaryData\":true,\"additionalFields\":{}},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[500,700],\"parameters\":{\"url\":\"https://www.nicepng.com/png/detail/54-542069_motivational-quotes-png.png\",\"options\":{},\"responseFormat\":\"file\",\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"disabled\":true,\"position\":[500,860],\"parameters\":{\"url\":\"https://www.googleapis.com/customsearch/v1?key=[YOUR_KEY]&cx=[YOUR_CX]&q=office&searchType=image\",\"options\":{},\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,700],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"img_name\",\"value\":\"={{$node[\\\"HTTP Request\\\"].binary.data.fileName}}\"},{\"name\":\"img_link\",\"value\":\"={{$node[\\\"HTTP Request\\\"].parameter[\\\"url\\\"]}}\"},{\"name\":\"img_txt\",\"value\":\"={{$json[\\\"TextDetections\\\"][1][\\\"DetectedText\\\"]}} {{$json[\\\"TextDetections\\\"][2][\\\"DetectedText\\\"]}}{{$json[\\\"TextDetections\\\"][3][\\\"DetectedText\\\"]}} {{$json[\\\"TextDetections\\\"][4][\\\"DetectedText\\\"]}} {{$json[\\\"TextDetections\\\"][5][\\\"DetectedText\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Function1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1040,700],\"parameters\":{\"functionCode\":\"for (item of items) {\\n item.json.lowerText = $node[\\\"Set1\\\"].json[\\\"img_txt\\\"].toLowerCase();\\n}\\nconsole.log('Done!');\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1220,700],\"parameters\":{\"options\":{},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1}],\"connections\":{\"Set1\":{\"main\":[[{\"node\":\"Function1\",\"type\":\"main\",\"index\":0}]]},\"Function1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"AWS Rekognition\",\"type\":\"main\",\"index\":0}]]},\"AWS Rekognition\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync data between Google Drive and AWS S3", "output": "{\"nodes\":[{\"name\":\"Google Drive Trigger\",\"type\":\"n8n-nodes-base.googleDriveTrigger\",\"position\":[480,1480],\"parameters\":{\"event\":\"fileUpdated\",\"options\":{},\"triggerOn\":\"specificFolder\",\"folderToWatch\":\"https://drive.google.com/drive/folders/[your_id]\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"12\",\"name\":\"Google Drive account\"}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[680,1560],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"name.value\",\"propertyName2\":\"Key.value\"},\"typeVersion\":1},{\"name\":\"AWS S3 - get\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[480,1660],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"bucketName\":\"mybucket\"},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"AWS S3 - upload\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[860,1560],\"parameters\":{\"tagsUi\":{\"tagsValues\":[{\"key\":\"source\",\"value\":\"gdrive\"}]},\"fileName\":\"={{$json[\\\"name\\\"]}}\",\"operation\":\"upload\",\"binaryData\":false,\"bucketName\":\"mybucket\",\"additionalFields\":{\"serverSideEncryption\":\"AES256\"}},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"AWS S3 - upload\",\"type\":\"main\",\"index\":0}]]},\"AWS S3 - get\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Google Drive Trigger\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Collect and label images and send to Google Sheets", "output": "{\"nodes\":[{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[500,540],\"parameters\":{\"url\":\"https://www.googleapis.com/customsearch/v1?imgType=photo&key=AIzaSyBQry407hE5VwMaDedHogPuwJeIbAIidQU&cx=e51ced3f3563dfac9&q=street&searchType=image\",\"options\":{}},\"typeVersion\":1},{\"name\":\"AWS Rekognition1\",\"type\":\"n8n-nodes-base.awsRekognition\",\"position\":[680,540],\"parameters\":{\"type\":\"detectLabels\",\"binaryData\":true,\"additionalFields\":{}},\"credentials\":{\"aws\":{\"id\":\"9\",\"name\":\"aws\"}},\"typeVersion\":1},{\"name\":\"Google Sheets2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1040,540],\"parameters\":{\"options\":{},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1},{\"name\":\"Set3\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,540],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"img_name\",\"value\":\"={{$node[\\\"HTTP Request1\\\"].json[\\\"items\\\"][0][\\\"title\\\"]}}\"},{\"name\":\"img_link\",\"value\":\"={{$node[\\\"HTTP Request1\\\"].json[\\\"items\\\"][0][\\\"link\\\"]}}\"},{\"name\":\"img_labels\",\"value\":\"={{$node[\\\"AWS Rekognition\\\"][\\\"Labels\\\"][\\\"Name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Set3\":{\"main\":[[{\"node\":\"Google Sheets2\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"AWS Rekognition1\",\"type\":\"main\",\"index\":0}]]},\"AWS Rekognition1\":{\"main\":[[{\"node\":\"Set3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Collect posts from Twitter and send to Airtable", "output": "{\"id\":1003,\"name\":\"New tweets\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[520,160],\"parameters\":{\"limit\":100,\"operation\":\"search\",\"searchText\":\"verstappen\",\"additionalFields\":{\"resultType\":\"mixed\"}},\"typeVersion\":1},{\"name\":\"Set_AT_list\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,360],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Likes\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"favorite_count\\\"] ? $node[\\\"Twitter\\\"].json[\\\"favorite_count\\\"] : 0 }}\"}],\"string\":[{\"name\":\"Tweet\",\"value\":\"={{$node[\\\"get airtable list\\\"].json[\\\"fields\\\"][\\\"Tweet\\\"]}}\"},{\"name\":\"Tweet_id\",\"value\":\"={{$node[\\\"get airtable list\\\"].json[\\\"fields\\\"][\\\"Tweet_id\\\"]}}\"},{\"name\":\"Tweet URL\",\"value\":\"={{$node[\\\"get airtable list\\\"].json[\\\"fields\\\"][\\\"Tweet URL\\\"]}}\"},{\"name\":\"Author\",\"value\":\"={{$node[\\\"get airtable list\\\"].json[\\\"fields\\\"][\\\"Author\\\"]}}\"},{\"name\":\"Time\",\"value\":\"={{$node[\\\"get airtable list\\\"].json[\\\"fields\\\"][\\\"Time\\\"]}}\"}]},\"options\":{\"dotNotation\":false},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"get airtable list\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[520,360],\"parameters\":{\"table\":\"tbl6rexxFBodzKVoC\",\"operation\":\"list\",\"application\":\"app36P08S3Jzki6qJ\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"2\",\"name\":\"airtable_api\"}},\"typeVersion\":1},{\"name\":\"set twitter data\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,160],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Likes\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"favorite_count\\\"]}}\"}],\"string\":[{\"name\":\"Tweet\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"text\\\"]}}\"},{\"name\":\"Tweet_id\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"Tweet URL\",\"value\":\"=https://twitter.com/{{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$node[\\\"Twitter\\\"].json[\\\"id_str\\\"]}}\"},{\"name\":\"Author\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"in_reply_to_screen_name\\\"]}}\"},{\"name\":\"Time\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"created_at\\\"]}}\"}]},\"options\":{\"dotNotation\":false},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Leave only new tweets\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1060,260],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"Tweet_id\",\"propertyName2\":\"Tweet_id\"},\"typeVersion\":1},{\"name\":\"Append new tweets to airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1300,260],\"parameters\":{\"table\":\"tbl6rexxFBodzKVoC\",\"options\":{},\"operation\":\"append\",\"application\":\"app36P08S3Jzki6qJ\",\"addAllFields\":\"={{true}}\"},\"credentials\":{\"airtableApi\":{\"id\":\"2\",\"name\":\"airtable_api\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Twitter\":{\"main\":[[{\"node\":\"set twitter data\",\"type\":\"main\",\"index\":0}]]},\"Set_AT_list\":{\"main\":[[{\"node\":\"Leave only new tweets\",\"type\":\"main\",\"index\":1}]]},\"set twitter data\":{\"main\":[[{\"node\":\"Leave only new tweets\",\"type\":\"main\",\"index\":0}]]},\"get airtable list\":{\"main\":[[{\"node\":\"Set_AT_list\",\"type\":\"main\",\"index\":0}]]},\"Leave only new tweets\":{\"main\":[[{\"node\":\"Append new tweets to airtable\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0},{\"node\":\"get airtable list\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Phantombuster leads to HubSpot", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[280,520],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"Exists ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1480,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Airtable - List\\\"].json[\\\"fields\\\"][\\\"Email\\\"]}}\",\"value2\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Airtable - List\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1280,500],\"parameters\":{\"table\":\"Contacts\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{\"fields\":[]}},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Airtable - Update\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1880,420],\"parameters\":{\"id\":\"={{$node[\\\"Airtable - List\\\"].json[\\\"id\\\"]}}\",\"table\":\"Contacts\",\"options\":{\"typecast\":true},\"operation\":\"update\",\"application\":\"\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Airtable - Create\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1880,610],\"parameters\":{\"table\":\"Contacts\",\"options\":{\"typecast\":true},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Set - Update\",\"type\":\"n8n-nodes-base.set\",\"position\":[1680,420],\"parameters\":{\"values\":{\"string\":[{\"name\":\"=ID\",\"value\":\"={{$node[\\\"Airtable - List\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"phone\\\"]}}\"},{\"name\":\"LinkedIn\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"linkedin\\\"]}}\"},{\"name\":\"Account\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\"},{\"name\":\"Company website\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"website\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set - New\",\"type\":\"n8n-nodes-base.set\",\"position\":[1680,610],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"full_name\\\"]}}\"},{\"name\":\"Account\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\"},{\"name\":\"Company website\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"website\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Phone\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"phone\\\"]}}\"},{\"name\":\"LinkedIn\",\"value\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"linkedin\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Lemlist\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[2080,510],\"parameters\":{\"email\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\",\"resource\":\"lead\",\"campaignId\":\"\",\"additionalFields\":{\"lastName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"first_name\\\"]}}\",\"companyName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"\",\"name\":\"\"}},\"retryOnFail\":false,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Hubspot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[2480,510],\"parameters\":{\"email\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"email\\\"][0][\\\"email\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"city\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"siret_city\\\"]}}\",\"gender\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"civility\\\"]}}\",\"lastName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"first_name\\\"]}}\",\"websiteUrl\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"website\\\"]}}\",\"companyName\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"company\\\"]}}\",\"phoneNumber\":\"={{$node[\\\"Dropcontact - GET\\\"].json[\\\"data\\\"][0][\\\"phone\\\"]}}\",\"originalSource\":\"SOCIAL_MEDIA\"}},\"credentials\":{\"hubspotApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"LinkedIn Post Commenters\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[480,420],\"parameters\":{\"agentId\":\"\",\"jsonParameters\":true,\"additionalFields\":{\"manualLaunch\":true}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Get Comments\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[880,420],\"parameters\":{\"agentId\":\"\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Wait 30s\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Wait 45 secondes\",\"position\":[680,420],\"parameters\":{\"functionCode\":\"function sleep(milliseconds) {\\n return new Promise(\\n resolve => setTimeout(resolve, milliseconds)\\n );\\n}\\n\\nawait sleep(30000);\\n\\n// Output data\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[1080,500],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"=\",\"website\":\"\",\"linkedin\":\"\",\"last_name\":\"\",\"first_name\":\"=\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Phantombuster\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[2280,510],\"parameters\":{\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Wait 30s\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Wait 30 secondes\",\"position\":[680,620],\"parameters\":{\"functionCode\":\"function sleep(milliseconds) {\\n return new Promise(\\n resolve => setTimeout(resolve, milliseconds)\\n );\\n}\\n\\nawait sleep(30000);\\n\\n// Output data\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"LinkedIn Post Liker\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[480,620],\"parameters\":{\"agentId\":\"\",\"jsonParameters\":true,\"additionalFields\":{\"manualLaunch\":true}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":1},{\"name\":\"Get Likers\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[880,620],\"parameters\":{\"agentId\":\"\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"\",\"name\":\"\"}},\"executeOnce\":true,\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"LinkedIn Post Commenters\",\"type\":\"main\",\"index\":0},{\"node\":\"LinkedIn Post Liker\",\"type\":\"main\",\"index\":0}]]},\"Lemlist\":{\"main\":[[{\"node\":\"Phantombuster\",\"type\":\"main\",\"index\":0}]]},\"Exists ?\":{\"main\":[[{\"node\":\"Set - Update\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set - New\",\"type\":\"main\",\"index\":0}]]},\"Wait 30s\":{\"main\":[[{\"node\":\"Get Comments\",\"type\":\"main\",\"index\":0}]]},\"Set - New\":{\"main\":[[{\"node\":\"Airtable - Create\",\"type\":\"main\",\"index\":0}]]},\"Wait 30s2\":{\"main\":[[{\"node\":\"Get Likers\",\"type\":\"main\",\"index\":0}]]},\"Get Likers\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"Airtable - List\",\"type\":\"main\",\"index\":0}]]},\"Get Comments\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Set - Update\":{\"main\":[[{\"node\":\"Airtable - Update\",\"type\":\"main\",\"index\":0}]]},\"Phantombuster\":{\"main\":[[{\"node\":\"Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Airtable - List\":{\"main\":[[{\"node\":\"Exists ?\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Create\":{\"main\":[[{\"node\":\"Lemlist\",\"type\":\"main\",\"index\":0}]]},\"Airtable - Update\":{\"main\":[[{\"node\":\"Lemlist\",\"type\":\"main\",\"index\":0}]]},\"LinkedIn Post Liker\":{\"main\":[[{\"node\":\"Wait 30s2\",\"type\":\"main\",\"index\":0}]]},\"LinkedIn Post Commenters\":{\"main\":[[{\"node\":\"Wait 30s\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Simple file based key value store (WriteKey)", "output": "{\"id\":12,\"name\":\"Storage: WriteKey\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[60,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[420,740],\"parameters\":{\"fileName\":\"={{$node[\\\"Config\\\"].json[\\\"file\\\"]}}\",\"dataPropertyName\":\"=data\"},\"typeVersion\":1},{\"name\":\"Config\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[600,300],\"parameters\":{\"functionCode\":\"return {\\n file: '/home/node/.n8n/local-files' + item.file,\\n key: item.key,\\n value: item.value\\n}\"},\"typeVersion\":1},{\"name\":\"Read Binary Files\",\"type\":\"n8n-nodes-base.readBinaryFiles\",\"position\":[240,520],\"parameters\":{\"fileSelector\":\"={{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"SetKeyValue\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[600,520],\"parameters\":{\"functionCode\":\"const key = $node[\\\"Config\\\"].json[\\\"key\\\"]\\nconst value = $node[\\\"Config\\\"].json[\\\"value\\\"]\\nitem[key] = value\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"BinaryToJSON\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[420,520],\"parameters\":{\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"JSONToBinary\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[240,740],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[420,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Repeat\",\"type\":\"n8n-nodes-base.if\",\"position\":[600,740],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Done\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[800,740],\"parameters\":{\"functionCode\":\"console.log('Done!');\\n\\nreturn item;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Config\":{\"main\":[[{\"node\":\"Read Binary Files\",\"type\":\"main\",\"index\":0}]]},\"Repeat\":{\"main\":[[{\"node\":\"Done\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SetKeyValue\":{\"main\":[[{\"node\":\"JSONToBinary\",\"type\":\"main\",\"index\":0}]]},\"BinaryToJSON\":{\"main\":[[{\"node\":\"SetKeyValue\",\"type\":\"main\",\"index\":0}]]},\"JSONToBinary\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Config\",\"type\":\"main\",\"index\":0}]]},\"Read Binary Files\":{\"main\":[[{\"node\":\"BinaryToJSON\",\"type\":\"main\",\"index\":0}]]},\"Write Binary File\":{\"main\":[[{\"node\":\"Repeat\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Simple file based key value store (GetKey)", "output": "{\"id\":11,\"name\":\"Storage: GetKey\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Config\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[420,280],\"parameters\":{\"functionCode\":\"return {\\n file: '/home/node/.n8n/local-files' + item.file,\\n key: item.key,\\n default: item.default\\n}\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[600,280],\"parameters\":{\"filePath\":\"={{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"BinaryToJSON\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[780,280],\"parameters\":{\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"ReturnValue\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[960,280],\"parameters\":{\"functionCode\":\"const key = $node[\\\"Config\\\"].json[\\\"key\\\"]\\nconst defaultValue = $node[\\\"Config\\\"].json[\\\"default\\\"]\\n\\nlet value\\nif (item) {\\n value = item[key] || defaultValue\\n} else {\\n value = defaultValue\\n}\\n\\nreturn {\\n [ key ]: value\\n}\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Config\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]},\"BinaryToJSON\":{\"main\":[[{\"node\":\"ReturnValue\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"BinaryToJSON\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Config\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Plex automatic QBittorent throttler", "output": "{\"id\":11,\"name\":\"Plex Automatic Throttler\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[60,440],\"webhookId\":\"72a05ff6-05f5-4e7a-9eee-54a350bb6a47\",\"parameters\":{\"path\":\"72a05ff6-05f5-4e7a-9eee-54a350bb6a47\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[640,580],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"media.resume\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"media.play\",\"operation\":\"contains\"},{\"output\":2,\"value2\":\"media.pause\",\"operation\":\"contains\"},{\"output\":3,\"value2\":\"media.stop\",\"operation\":\"contains\"}]},\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"payload\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Resume\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[860,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Check if Local\",\"type\":\"n8n-nodes-base.if\",\"position\":[460,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"payload\\\"]}}\",\"value2\":\"\\\"local\\\":false\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Play\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[860,440],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Don't Do Anything\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[660,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Pause\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[860,680],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Stop\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[860,840],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get QB Cookie\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1260,360],\"parameters\":{\"url\":\"=http://{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"internalIP\\\"]}}:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}/api/v2/auth/login\",\"options\":{\"fullResponse\":true},\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"username\",\"value\":\"={{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"username\\\"]}}\"},{\"name\":\"password\",\"value\":\"={{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"password\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Referer\",\"value\":\"=http://localhost:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Get QB Cookie1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1260,760],\"parameters\":{\"url\":\"=http://{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"internalIP\\\"]}}:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}/api/v2/auth/login\",\"options\":{\"fullResponse\":true},\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"username\",\"value\":\"={{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"username\\\"]}}\"},{\"name\":\"password\",\"value\":\"={{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"password\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Referer\",\"value\":\"=http://localhost:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Global Variables\",\"type\":\"n8n-nodes-base.set\",\"position\":[280,440],\"parameters\":{\"values\":{\"string\":[{\"name\":\"qbittorent.username\",\"value\":\"yourusername\"},{\"name\":\"qbittorent.password\",\"value\":\"yourpassword\"},{\"name\":\"qbittorent.internalIP\",\"value\":\"192.168.1.218\"},{\"name\":\"qbittorent.port\",\"value\":\"2020\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Check Throttle State\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1460,360],\"parameters\":{\"url\":\"=http://{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"internalIP\\\"]}}:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}/api/v2/transfer/speedLimitsMode\",\"options\":{\"fullResponse\":true},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Referer\",\"value\":\"=http://localhost:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}\"},{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]}},\"typeVersion\":1},{\"name\":\"Check if Throttled\",\"type\":\"n8n-nodes-base.if\",\"position\":[1680,360],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"body\\\"]}}\",\"value2\":1,\"operation\":\"equal\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"Do Nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1900,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Check Throttle State2\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1460,760],\"parameters\":{\"url\":\"=http://{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"internalIP\\\"]}}:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}/api/v2/transfer/speedLimitsMode\",\"options\":{\"fullResponse\":true},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie1\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Referer\",\"value\":\"=http://localhost:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}\"},{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie1\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]}},\"typeVersion\":1},{\"name\":\"Check if Throttled1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1660,760],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"body\\\"]}}\",\"value2\":1,\"operation\":\"equal\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"Do Nothing1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1900,860],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Throttle Connection\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1060,360],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Resume Downloads\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1060,760],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Disable Throttle\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1900,660],\"parameters\":{\"url\":\"=http://{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"internalIP\\\"]}}:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}/api/v2/transfer/toggleSpeedLimitsMode\",\"options\":{},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie1\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Referer\",\"value\":\"=http://localhost:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}\"},{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie1\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]}},\"typeVersion\":1},{\"name\":\"Enable Throttle\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1900,440],\"parameters\":{\"url\":\"=http://{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"internalIP\\\"]}}:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}/api/v2/transfer/toggleSpeedLimitsMode\",\"options\":{},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Referer\",\"value\":\"=http://localhost:{{$node[\\\"Global Variables\\\"].json[\\\"qbittorent\\\"][\\\"port\\\"]}}\"},{\"name\":\"Cookie\",\"value\":\"={{$node[\\\"Get QB Cookie\\\"].json[\\\"headers\\\"][\\\"set-cookie\\\"][0].match(/[^;]*/).toString()}}\"}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Play\":{\"main\":[[{\"node\":\"Throttle Connection\",\"type\":\"main\",\"index\":0}]]},\"Stop\":{\"main\":[[{\"node\":\"Resume Downloads\",\"type\":\"main\",\"index\":0}]]},\"Pause\":{\"main\":[[{\"node\":\"Resume Downloads\",\"type\":\"main\",\"index\":0}]]},\"Resume\":{\"main\":[[{\"node\":\"Throttle Connection\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Resume\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Play\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Pause\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Global Variables\",\"type\":\"main\",\"index\":0}]]},\"Get QB Cookie\":{\"main\":[[{\"node\":\"Check Throttle State\",\"type\":\"main\",\"index\":0}]]},\"Check if Local\":{\"main\":[[{\"node\":\"Don't Do Anything\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Get QB Cookie1\":{\"main\":[[{\"node\":\"Check Throttle State2\",\"type\":\"main\",\"index\":0}]]},\"Global Variables\":{\"main\":[[{\"node\":\"Check if Local\",\"type\":\"main\",\"index\":0}]]},\"Resume Downloads\":{\"main\":[[{\"node\":\"Get QB Cookie1\",\"type\":\"main\",\"index\":0}]]},\"Check if Throttled\":{\"main\":[[{\"node\":\"Do Nothing\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Enable Throttle\",\"type\":\"main\",\"index\":0}]]},\"Check if Throttled1\":{\"main\":[[{\"node\":\"Disable Throttle\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do Nothing1\",\"type\":\"main\",\"index\":0}]]},\"Throttle Connection\":{\"main\":[[{\"node\":\"Get QB Cookie\",\"type\":\"main\",\"index\":0}]]},\"Check Throttle State\":{\"main\":[[{\"node\":\"Check if Throttled\",\"type\":\"main\",\"index\":0}]]},\"Check Throttle State2\":{\"main\":[[{\"node\":\"Check if Throttled1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message to Telegram on a new item saved to Reader", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[340,380],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[1680,280],\"parameters\":{\"fileName\":\"={{$node[\\\"Config\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[580,460],\"parameters\":{\"filePath\":\"={{$node[\\\"Config\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1020,460],\"parameters\":{\"url\":\"https://readwise.io/reader/api/state/\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"schemaVersion\",\"value\":\"5\"},{\"name\":\"filter[updated_at][gt]\",\"value\":\"={{$json[\\\"last_synced\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"10\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1480,460],\"parameters\":{\"text\":\"={{$json[\\\"title\\\"]}} by {{$json[\\\"author\\\"]}}\\n\\n{{$json[\\\"summary\\\"]}}\\n\\n{{$json[\\\"url\\\"]}}\",\"chatId\":\"={{$node[\\\"Config\\\"].parameter[\\\"values\\\"][\\\"number\\\"][0][\\\"value\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"2\",\"name\":\"my bot\"}},\"typeVersion\":1},{\"name\":\"Binary to json\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[800,460],\"parameters\":{\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Json to binary\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1480,280],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Set new update time\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1280,280],\"parameters\":{\"functionCode\":\"return {\\n last_synced: new Date().getTime()\\n};\"},\"typeVersion\":1},{\"name\":\"Split into baches\",\"type\":\"n8n-nodes-base.function\",\"position\":[1280,460],\"parameters\":{\"functionCode\":\"const newValue = Object.values(items[0].json.documents).filter(it => it.category === 'article').filter(it => it.children.length === 0).map(it => ({\\n json: {\\n url: it.url,\\n title: it.title,\\n author: it.author,\\n summary: it.summary,\\n saved_at: new Date(it.saved_at),\\n }\\n}))\\n\\n\\nreturn newValue;\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[340,540],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":10}]}},\"typeVersion\":1},{\"name\":\"Config\",\"type\":\"n8n-nodes-base.set\",\"position\":[800,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Telegram chat it\",\"value\":19999}],\"string\":[{\"name\":\"file path\",\"value\":\"/whatever/readwiseLastSynced.json\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Split into baches\",\"type\":\"main\",\"index\":0},{\"node\":\"Set new update time\",\"type\":\"main\",\"index\":0}]]},\"Binary to json\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Json to binary\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Binary to json\",\"type\":\"main\",\"index\":0}]]},\"Split into baches\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Set new update time\":{\"main\":[[{\"node\":\"Json to binary\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an RSS feed based on a website's content", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1120,300],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"post\"},\"typeVersion\":1},{\"name\":\"Extract Posts\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[900,300],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"post\",\"cssSelector\":\".blog-listing__post-content\",\"returnArray\":true,\"returnValue\":\"html\"}]}},\"typeVersion\":1},{\"name\":\"Fetch Website\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[680,300],\"parameters\":{\"url\":\"={{$json[\\\"base_domain\\\"]}}/blog/category/release\",\"options\":{\"timeout\":10000},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Set URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[460,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"base_domain\",\"value\":\"https://baserow.io\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Complete Link\",\"type\":\"n8n-nodes-base.set\",\"position\":[240,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"link\",\"value\":\"={{$item(0).$node[\\\"Set URL\\\"].json[\\\"base_domain\\\"]}}{{$json[\\\"link\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Format Date\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[460,500],\"parameters\":{\"value\":\"={{$json[\\\"date\\\"]}}\",\"options\":{},\"toFormat\":\"YYYY-MM-DD\",\"dataPropertyName\":\"date\"},\"typeVersion\":1},{\"name\":\"Create RSS Items\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[680,500],\"parameters\":{\"functionCode\":\"return {\\n rss_item: \\n`\\n ${item.title}\\n ${item.link}\\n ${item.description}\\n ${item.date}\\n`\\n}\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,100],\"webhookId\":\"27c1e4db-568f-4bf9-9474-0898ce1173f7\",\"parameters\":{\"path\":\"baserow-releases\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1120,500],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"content-type\",\"value\":\"application/xml\"}]}},\"respondWith\":\"text\",\"responseBody\":\"={{$json[\\\"feed\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Prepare Response\",\"type\":\"n8n-nodes-base.function\",\"position\":[900,500],\"parameters\":{\"functionCode\":\"let feed =\\n`\\n\\n\\n\\n Baserow Releases\\n https://baserow.io/blog/category/release\\n Stay up to date with the latest changes and updates of Baserow\\n ${items.map(e => e.json.rss_item).join('\\\\n')}\\n\\n\\n`;\\n\\nreturn [{\\n json: {\\n feed: feed\\n }\\n}];\"},\"typeVersion\":1},{\"name\":\"Extract Fields\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1340,300],\"parameters\":{\"options\":{},\"dataPropertyName\":\"post\",\"extractionValues\":{\"values\":[{\"key\":\"date\",\"cssSelector\":\".blog-listing__post-info > strong\"},{\"key\":\"title\",\"cssSelector\":\".blog-listing__post-title\"},{\"key\":\"link\",\"attribute\":\"href\",\"cssSelector\":\".blog-listing__post-title > a\",\"returnValue\":\"attribute\"},{\"key\":\"description\",\"cssSelector\":\".blog-listing__post-description\"}]}},\"typeVersion\":1}],\"connections\":{\"Set URL\":{\"main\":[[{\"node\":\"Fetch Website\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Set URL\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Extract Fields\",\"type\":\"main\",\"index\":0}]]},\"Format Date\":{\"main\":[[{\"node\":\"Create RSS Items\",\"type\":\"main\",\"index\":0}]]},\"Complete Link\":{\"main\":[[{\"node\":\"Format Date\",\"type\":\"main\",\"index\":0}]]},\"Extract Posts\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Fetch Website\":{\"main\":[[{\"node\":\"Extract Posts\",\"type\":\"main\",\"index\":0}]]},\"Extract Fields\":{\"main\":[[{\"node\":\"Complete Link\",\"type\":\"main\",\"index\":0}]]},\"Create RSS Items\":{\"main\":[[{\"node\":\"Prepare Response\",\"type\":\"main\",\"index\":0}]]},\"Prepare Response\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set URL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Google Calendar to Slack Status and Philips Hue", "output": "{\"id\":118,\"name\":\"Google Calendar to Slack Status & Philips Hue\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"disabled\":true,\"position\":[420,420],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[720,600],\"parameters\":{\"eventId\":\"={{$node[\\\"Event Started\\\"].json[\\\"id\\\"].split(\\\"_\\\")[0]}}\",\"options\":{},\"calendar\":\"youremail@domain.com\",\"operation\":\"get\"},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"15\",\"name\":\"GoogleCalendar - Personal\"}},\"typeVersion\":1},{\"name\":\"Light - Busy\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,180],\"parameters\":{\"url\":\"WEBHOOK1\",\"options\":{},\"requestMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Light - Available\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,600],\"parameters\":{\"url\":\"WEBHOOK3\",\"options\":{},\"requestMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1040,460],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"4dw_doing\",\"operation\":\"startsWith\"},{\"value2\":\"4dw_managing\",\"operation\":\"startsWith\"},{\"value2\":\"4dw_leading\",\"operation\":\"startsWith\"},{\"output\":1,\"value2\":\"4dw_living\",\"operation\":\"startsWith\"}]},\"value1\":\"={{$json[\\\"calColor\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"Light - Personal\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,340],\"parameters\":{\"url\":\"WEBHOOK2\",\"options\":{},\"requestMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Event Started\",\"type\":\"n8n-nodes-base.googleCalendarTrigger\",\"position\":[540,600],\"parameters\":{\"options\":{},\"pollTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]},\"triggerOn\":\"eventStarted\",\"calendarId\":\"youremail@domain.com\"},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"15\",\"name\":\"GoogleCalendar - Personal\"}},\"typeVersion\":1},{\"name\":\"Slack - Status\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1040,720],\"parameters\":{\"resource\":\"userProfile\",\"operation\":\"update\",\"additionalFields\":{\"status_text\":\"={{$json[\\\"summary\\\"]}}\",\"status_emoji\":\"=:{{$json[\\\"calColor\\\"]}}:\"}},\"credentials\":{\"slackApi\":{\"id\":\"17\",\"name\":\"CompanySlack\"}},\"typeVersion\":1},{\"name\":\"Set CalColor\",\"type\":\"n8n-nodes-base.function\",\"position\":[880,600],\"parameters\":{\"functionCode\":\"for (item of items) {\\n\\n switch (item.json.colorId) {\\n case '1':\\n calColor = 'Lavendar';\\n break;\\n case '2':\\n calColor = '4dw_leading';\\n break;\\n case '3':\\n calColor = 'Grape';\\n break;\\n case '4':\\n calColor = 'Flamingo';\\n break;\\n case '5':\\n calColor = '4dw_managing';\\n break;\\n case '6':\\n calColor = 'Tangerine';\\n break;\\n case '7':\\n calColor = '4dw_living';\\n break;\\n case '8':\\n calColor = 'Graphite';\\n break;\\n case '9':\\n calColor = 'Blueberry';\\n break;\\n case '10':\\n calColor = 'Basil';\\n break;\\n case '11':\\n calColor = '4dw_doing';\\n break;\\n default:\\n calColor = 'undefined';\\n }\\n item.json.calColor = calColor;\\n}\\n\\nreturn items;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Switch\":{\"main\":[[{\"node\":\"Light - Busy\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Light - Personal\",\"type\":\"main\",\"index\":0}],[],[{\"node\":\"Light - Available\",\"type\":\"main\",\"index\":0}]]},\"Set CalColor\":{\"main\":[[{\"node\":\"Slack - Status\",\"type\":\"main\",\"index\":0},{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Event Started\":{\"main\":[[{\"node\":\"Google Calendar\",\"type\":\"main\",\"index\":0}]]},\"Google Calendar\":{\"main\":[[{\"node\":\"Set CalColor\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[]]}}}" }, { "input": "Tiny Tiny RSS new stared article saved to wallabag ", "output": "{\"id\":\"4\",\"name\":\"post to wallabag\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[120,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1280,380],\"parameters\":{\"url\":\"=http://{HERE-YOUR-WALLABAG-HOST}/api/entries.json\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"url\",\"value\":\"={{$json[\\\"url\\\"]}}\"}]},\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"=Bearer {{$json[\\\"access_token\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[120,400],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":10}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[900,470],\"parameters\":{\"functionCode\":\"// Get the global workflow static data\\nconst staticData = getWorkflowStaticData('global')\\n\\n// Access its data\\nconst lastStarRssId = staticData.lastStarRssId\\n\\nlet list = []\\n\\nfor (const item of items[0].json.content){\\n let currentId = item.id\\n if(currentId == lastStarRssId) break;\\n list.push({'json':{\\n 'id': currentId,\\n 'lastId': lastStarRssId,\\n 'url': item.link,\\n 'tags': item.tags,\\n 'access_token': items[1].json.access_token\\n }})\\n}\\n\\n\\n// Get the last ID from Rss Feed\\nlet currentStarRssId = items[0].json.content[0].id\\n\\n// TODO: make a loop to get all the items beyond the last saved id\\nif(!lastStarRssId || currentStarRssId != lastStarRssId)\\n{ \\n // Update its data\\n staticData.lastStarRssId = currentStarRssId;\\n \\n}\\nelse { list = [{'json':{ 'id': 'Nan', 'lastId': staticData.lastStarRssId }}] }\\nreturn list;\\n\\n/*return [{'json':{'url': items[0].json.content.pop(), 'wallabag':items[1].json}}]*/\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,470],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"id\\\"]}}\",\"value2\":\"NaN\",\"operation\":\"notEqual\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1290,570],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Auth Wallabag\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[490,590],\"parameters\":{\"url\":\"http://{HERE-YOUR-WALLABAG-HOST}/oauth/v2/token\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"grant_type\",\"value\":\"password\"},{\"name\":\"client_id\",\"value\":\"{HERE-YOUR-CLIENT_ID}\"},{\"name\":\"client_secret\",\"value\":\"{HERE-YOUR-CLIENT_SECRET}\"},{\"name\":\"username\",\"value\":\"{HERE-YOUR-USERNAME}\"},{\"name\":\"password\",\"value\":\"{HERE-YOUR-PASSWORD}\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[710,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get stared articles\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[490,400],\"parameters\":{\"url\":\"http://{HERE-YOUR-TTRSS-HOST}/tt-rss/api/\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"sid\",\"value\":\"={{$json[\\\"content\\\"][\\\"session_id\\\"]}}\"},{\"name\":\"op\",\"value\":\"getHeadLines\"},{\"name\":\"feed_id\",\"value\":\"-1\"}]}},\"typeVersion\":1},{\"name\":\"Auth TTRss\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[320,400],\"parameters\":{\"url\":\"http://{HERE-YOUR-TTRSS-HOST}/tt-rss/api/\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"op\",\"value\":\"login\"},{\"name\":\"user\",\"value\":\"{HERE-YOUR-API-USER}\"},{\"name\":\"password\",\"value\":\"{HERE-YOUR-API-SECRET}\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Auth TTRss\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Auth TTRss\":{\"main\":[[{\"node\":\"Get stared articles\",\"type\":\"main\",\"index\":0}]]},\"Auth Wallabag\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Get stared articles\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Auth TTRss\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a random recipe once a day to Telegram", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[440,440],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1},{\"name\":\"Airtable2\",\"type\":\"n8n-nodes-base.airtable\",\"notes\":\"Grab our list of chats from Airtable to send a random recipe\",\"position\":[660,440],\"parameters\":{\"table\":\"Table 1\",\"operation\":\"list\",\"application\":\"your_sheet_id\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"5\",\"name\":\"Airtable account\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,600],\"parameters\":{\"values\":{\"number\":[{\"name\":\"chatid\",\"value\":\"={{$node[\\\"Airtable2\\\"].json[\\\"fields\\\"][\\\"chatid\\\"]}}\"}],\"string\":[]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Recipe Photo\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1240,440],\"parameters\":{\"file\":\"={{$node[\\\"Get recipes from API\\\"].json[\\\"recipes\\\"][0][\\\"image\\\"]}}\",\"chatId\":\"={{$node[\\\"Set\\\"].json[\\\"chatid\\\"]}}\",\"operation\":\"sendPhoto\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Recipe URL\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1420,440],\"parameters\":{\"text\":\"=\\n{{$node[\\\"Get recipes from API\\\"].json[\\\"recipes\\\"][0][\\\"title\\\"]}}\\n\\n{{$node[\\\"Get recipes from API\\\"].json[\\\"recipes\\\"][0][\\\"sourceUrl\\\"]}}\",\"chatId\":\"={{$node[\\\"Set\\\"].json[\\\"chatid\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"If the chat ID isn't in our airtable, we add it. This is to send a new recipe daily. \",\"position\":[860,-80],\"parameters\":{\"conditions\":{\"number\":[],\"string\":[{\"value1\":\"= {{$node[\\\"Airtable1\\\"].parameter[\\\"fields\\\"][1]}}\",\"value2\":\"= {{$node[\\\"Airtable1\\\"].parameter[\\\"fields\\\"][0]}}\",\"operation\":\"notEqual\"}],\"boolean\":[]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[620,-80],\"parameters\":{\"table\":\"Table 1\",\"operation\":\"list\",\"application\":\"your_sheet_id\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"5\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1340,-100],\"parameters\":{\"table\":\"Table 1\",\"fields\":[\"chatid\",\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"Name\",\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}\"],\"options\":{},\"operation\":\"append\",\"application\":\"your_sheet_id\",\"addAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"5\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"Telegram Recipe Image\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[980,180],\"parameters\":{\"file\":\"={{$node[\\\"Get recipes\\\"].json[\\\"recipes\\\"][0][\\\"image\\\"]}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"operation\":\"sendPhoto\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Telegram Recipe URL\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1180,180],\"parameters\":{\"text\":\"=\\n{{$node[\\\"Get recipes\\\"].json[\\\"recipes\\\"][0][\\\"title\\\"]}}\\n\\n{{$node[\\\"Get recipes\\\"].json[\\\"recipes\\\"][0][\\\"sourceUrl\\\"]}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1120,-100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"chatid\",\"value\":\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\"},{\"name\":\"Name\",\"value\":\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Get recipes from API\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"https://spoonacular.com/food-api/docs\",\"position\":[1080,440],\"parameters\":{\"url\":\"https://api.spoonacular.com/recipes/random?apiKey=APIKEYHERE&number=1&tags=vegan\",\"options\":{\"fullResponse\":false},\"queryParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Get recipes\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"https://spoonacular.com/food-api/docs\",\"position\":[800,180],\"parameters\":{\"url\":\"https://api.spoonacular.com/recipes/random?apiKey=APIKEYHERE&number=1&tags=vegan\",\"options\":{\"fullResponse\":false},\"queryParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Telegram Trigger - people join bot\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[420,140],\"webhookId\":\"your_bot_id\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Telegram - Welcome Message\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[620,180],\"parameters\":{\"text\":\"=Welcome! This bot will send you one vegan recipe a day. Here is your first recipe!\",\"chatId\":\"={{$node[\\\"Telegram Trigger - people join bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Get recipes from API\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Airtable2\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Airtable2\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Get recipes\":{\"main\":[[{\"node\":\"Telegram Recipe Image\",\"type\":\"main\",\"index\":0}]]},\"Recipe Photo\":{\"main\":[[{\"node\":\"Recipe URL\",\"type\":\"main\",\"index\":0}]]},\"Get recipes from API\":{\"main\":[[{\"node\":\"Recipe Photo\",\"type\":\"main\",\"index\":0}]]},\"Telegram Recipe Image\":{\"main\":[[{\"node\":\"Telegram Recipe URL\",\"type\":\"main\",\"index\":0}]]},\"Telegram - Welcome Message\":{\"main\":[[{\"node\":\"Get recipes\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger - people join bot\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0},{\"node\":\"Telegram - Welcome Message\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Reply with Weather", "output": "{\"id\":14,\"name\":\"My weather MS23\",\"nodes\":[{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[1180,220],\"parameters\":{\"cityName\":\"Bologna\",\"language\":\"it\"},\"credentials\":{\"openWeatherMapApi\":{\"id\":\"11\",\"name\":\"OpenWeatherMap account\"}},\"typeVersion\":1},{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"notes\":\"\\\"ascolta\\\" la chat del bot su telegram\",\"position\":[840,220],\"webhookId\":\"706332ee-aa53-4ca6-96f5-e1dcca3246b6\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"10\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1420,220],\"parameters\":{\"text\":\"=The weather right now in {{$node[\\\"OpenWeatherMap\\\"].parameter[\\\"cityName\\\"]}} is {{$json[\\\"weather\\\"][0][\\\"description\\\"]}} \\nThe temperature is {{$json[\\\"main\\\"][\\\"temp\\\"]}} (MIN - MAX : {{$json[\\\"main\\\"][\\\"temp_min\\\"]}} - {{$json[\\\"main\\\"][\\\"temp_max\\\"]}})\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"10\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[840,40],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":15,\"minute\":35}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "OneSongADayDailyTweet", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[450,300],\"parameters\":{\"text\":\"This is a test workflow for the twitter node\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter-credentials\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert JSON to an Excel file", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[340,0],\"webhookId\":\"c1616754-4dec-4b00-a8b5-d1cb5f75bf11\",\"parameters\":{\"path\":\"c1616754-4dec-4b00-a8b5-d1cb5f75bf11\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[560,0],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=body\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[780,0],\"parameters\":{\"options\":{},\"operation\":\"toFile\",\"fileFormat\":\"xlsx\"},\"typeVersion\":1},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1020,0],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"content-disposition\",\"value\":\"=attachment; filename=\\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"filename\\\"]? $node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"filename\\\"] : \\\"Export\\\"}}.xlsx\\\"\"}]}},\"respondWith\":\"binary\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "First Flow Beginner course", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,300],\"parameters\":{\"url\":\"https://internal.users.n8n.cloud/webhook/custom-erp\",\"options\":{\"splitIntoItems\":true},\"authentication\":\"headerAuth\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"unique_id\",\"value\":\"recNa538eIaOiOdU5\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1000,200],\"parameters\":{\"table\":\"processingOrders\",\"options\":{},\"operation\":\"append\",\"application\":\"appBZO5BP7ZzqcTXA\"},\"credentials\":{\"airtableApi\":{\"id\":\"5\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[640,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"orderStatus\\\"]}}\",\"value2\":\"processing\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[820,200],\"parameters\":{\"values\":{\"number\":[{\"name\":\"orderId\",\"value\":\"={{$json[\\\"orderID\\\"]}}\"}],\"string\":[{\"name\":\"employeeName\",\"value\":\"={{$json[\\\"employeeName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[980,460],\"parameters\":{\"functionCode\":\"let totalBooked = items.length;\\nlet bookSum = 0;\\n\\nfor( let i=0; i < items.length; i++) {\\n bookSum = bookSum + items[i].json.orderPrice;\\n}\\n\\nreturn [{json:{totalBooked,bookSum}}];\"},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1200,460],\"parameters\":{\"text\":\"This week we have {{$json[\\\"totalBooked\\\"]}} booked orders with a total value of {{$json[\\\"bookSum\\\"]}}. My unique ID: {{$node[\\\"HTTP Request].parameter[\\\"headerParametersUi\\\"][\\\"parameter\\\"][0][\\\"value\\\"]}}\",\"webhookUri\":\"https://internal.users.n8n.cloud/webhook/course-level-1\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyWeek\"}]}},\"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}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Marvel Comics", "output": "{\"id\":1004,\"name\":\"MarvelMetMd5\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[780,300],\"parameters\":{\"value\":\"={{$json[\\\"ToHash\\\"]}}\",\"dataPropertyName\":\"result\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1020,300],\"parameters\":{\"url\":\"=http://gateway.marvel.com/v1/public/comics?ts={{$node[\\\"FunctionItem\\\"].json[\\\"timestamp\\\"]}}&apikey={{$node[\\\"FunctionItem\\\"].json[\\\"public_key\\\"]}}&hash={{$json[\\\"result\\\"]}}\",\"options\":{},\"responseFormat\":\"=json\"},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[500,300],\"parameters\":{\"functionCode\":\"//md5(ts+privateKey+publicKey)\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\n\\nconst d = Date.now();\\nitem.timestamp = d;\\n\\nconst private_key = '[PrivateKey]';\\nitem.private_key = private_key;\\n\\nconst public_key = '[PublicKey]';\\nitem.public_key = public_key;\\n\\nconst new_value = String(d) + private_key + public_key;\\nitem.ToHash = new_value;\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn item;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Crypto\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Version 2 web", "output": "{\"nodes\":[{\"name\":\"Phantombuster1\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[440,300],\"parameters\":{\"agentId\":\"1401546151136194\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"1\",\"name\":\"Phantombuster account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[640,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Phantombuster1\\\"].json[\\\"fullName\\\"]}}\"},{\"name\":\"=Location\",\"value\":\"={{$node[\\\"Phantombuster1\\\"].json[\\\"location\\\"]}}\"},{\"name\":\"Job\",\"value\":\"={{$node[\\\"Phantombuster1\\\"].json[\\\"job\\\"]}}\"},{\"name\":\"Picture\",\"value\":\"={{$node[\\\"Phantombuster1\\\"].json[\\\"profileImageUrl\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[840,300],\"parameters\":{\"table\":\"NewNew\",\"options\":{},\"operation\":\"append\",\"application\":\"appkgNcOFH2lUHk1y\"},\"credentials\":{\"airtableApi\":{\"id\":\"2\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"Airtable Trigger\",\"type\":\"n8n-nodes-base.airtableTrigger\",\"position\":[140,540],\"parameters\":{\"baseId\":\"appkgNcOFH2lUHk1y\",\"tableId\":\"Input\",\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"triggerField\":\"create\",\"additionalFields\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"2\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"Phantombuster\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[320,540],\"parameters\":{\"agentId\":\"1401546151136194\",\"additionalFields\":{\"argumentsUi\":{\"argumentValues\":[{\"key\":\"search\",\"value\":\"={{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Search\\\"]}}\"},{\"key\":\"sessionCookie\",\"value\":\"=AQEDAQBAzSMDbKg8AAABeQ-g6JcAAAF-w2EC_E4AWS15IcQEGTdef4PwfT5axHHaW_jkQVf-V9yy8X448WX1X3_15u0vMeqIk78Z6kPo8JRTPqwK-XYC-CpdZb3qJuCPblTVxAVPsOaQ19PcU-Ci9fC1\"}]}}},\"credentials\":{\"phantombusterApi\":{\"id\":\"1\",\"name\":\"Phantombuster account\"}},\"typeVersion\":1}],\"connections\":{\"Set1\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Phantombuster1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Airtable Trigger\":{\"main\":[[{\"node\":\"Phantombuster\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Kof Webhook-Tele Interatio", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[520,380],\"parameters\":{\"text\":\"=Error in: \\n{{$json[\\\"workflow\\\"][\\\"name\\\"]}}\\n\\nNode: \\\"{{$json[\\\"execution\\\"]['lastNodeExecuted']}}\\\"\\nRetry: {{$json[\\\"execution\\\"]['retryOf']}}\\n\\n
{{JSON.stringify($json[\\\"execution\\\"][\\\"error\\\"], undefined,2)}}
\",\"additionalFields\":{\"parse_mode\":\"HTML\"}},\"typeVersion\":1}],\"connections\":{\"Error Trigger\":{\"main\":[[{\"node\":\"@tennox\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Handle verification for Twitter webhook", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[460,300],\"webhookId\":\"0db0a40c-e5d1-463f-8252-03599f1303e6\",\"parameters\":{\"path\":\"0db0a40c-e5d1-463f-8252-03599f1303e6\",\"options\":{},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[660,300],\"parameters\":{\"type\":\"SHA256\",\"value\":\"={{$json[\\\"query\\\"][\\\"crc_token\\\"]}}\",\"action\":\"hmac\",\"secret\":\"API KEY SECRET\",\"encoding\":\"base64\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[840,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"response_token\",\"value\":\"=sha256={{$json[\\\"data\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Crypto\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automate assigning GitHub issues", "output": "{\"id\":122,\"name\":\"Automate assigning GitHub issues\",\"nodes\":[{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[720,360],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"opened\"},{\"output\":1,\"value2\":\"created\"}]},\"value1\":\"={{$json[\\\"body\\\"][\\\"action\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF no assignee?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,220],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"issue\\\"][\\\"assignees\\\"].length}}\",\"operation\":\"equal\"}],\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"issue\\\"][\\\"body\\\"]}}\",\"value2\":\"/[a,A]ssign[\\\\w*\\\\s*]*me/gm\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1320,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"IF wants to work?\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,560],\"parameters\":{\"conditions\":{\"number\":[],\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"comment\\\"][\\\"body\\\"]}}\",\"value2\":\"/[a,A]ssign[\\\\w*\\\\s*]*me/gm\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"IF not assigned?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,520],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"issue\\\"][\\\"assignees\\\"].length}}\",\"operation\":\"equal\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"Assign Issue Creator\",\"type\":\"n8n-nodes-base.github\",\"position\":[1320,120],\"parameters\":{\"owner\":\"={{$node[\\\"Switch\\\"].json[\\\"body\\\"][\\\"repository\\\"][\\\"owner\\\"][\\\"login\\\"]}}\",\"operation\":\"edit\",\"editFields\":{\"labels\":[{\"label\":\"assigned\"}],\"assignees\":[{\"assignee\":\"={{$json.body.issue[\\\"user\\\"][\\\"login\\\"]}}\"}]},\"repository\":\"={{$node[\\\"Switch\\\"].json[\\\"body\\\"][\\\"repository\\\"][\\\"name\\\"]}}\",\"issueNumber\":\"={{ $json[\\\"body\\\"][\\\"issue\\\"][\\\"number\\\"] }}\",\"authentication\":\"oAuth2\"},\"credentials\":{\"githubOAuth2Api\":{\"id\":null,\"name\":\"GitHub@Harshil\"}},\"typeVersion\":1},{\"name\":\"Add Comment\",\"type\":\"n8n-nodes-base.github\",\"position\":[1420,660],\"parameters\":{\"body\":\"=Hey @{{$json[\\\"body\\\"][\\\"comment\\\"][\\\"user\\\"][\\\"login\\\"]}},\\n\\nThis issue is already assigned to {{$json[\\\"body\\\"][\\\"issue\\\"][\\\"assignee\\\"][\\\"login\\\"]}} 🙂\",\"owner\":\"={{$json[\\\"body\\\"][\\\"repository\\\"][\\\"owner\\\"][\\\"login\\\"]}}\",\"operation\":\"createComment\",\"repository\":\"={{$json[\\\"body\\\"][\\\"repository\\\"][\\\"name\\\"]}}\",\"issueNumber\":\"={{$json[\\\"body\\\"][\\\"issue\\\"][\\\"number\\\"]}}\",\"authentication\":\"oAuth2\"},\"credentials\":{\"githubOAuth2Api\":{\"id\":null,\"name\":\"GitHub@Harshil\"}},\"typeVersion\":1},{\"name\":\"NoOp1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1120,720],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Assign Commenter\",\"type\":\"n8n-nodes-base.github\",\"position\":[1420,460],\"parameters\":{\"owner\":\"={{$json[\\\"body\\\"][\\\"repository\\\"][\\\"owner\\\"][\\\"login\\\"]}}\",\"operation\":\"edit\",\"editFields\":{\"labels\":[{\"label\":\"assigned\"}],\"assignees\":[{\"assignee\":\"={{$json[\\\"body\\\"][\\\"comment\\\"][\\\"user\\\"][\\\"login\\\"]}}\"}]},\"repository\":\"={{$json[\\\"body\\\"][\\\"repository\\\"][\\\"name\\\"]}}\",\"issueNumber\":\"={{$json[\\\"body\\\"][\\\"issue\\\"][\\\"number\\\"]}}\",\"authentication\":\"oAuth2\"},\"credentials\":{\"githubOAuth2Api\":{\"id\":null,\"name\":\"GitHub@Harshil\"}},\"typeVersion\":1},{\"name\":\"Github Trigger1\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[520,360],\"webhookId\":\"52c5fe44-23ef-4903-b6ae-731edd36127e\",\"parameters\":{\"owner\":\"harshil1712\",\"events\":[\"issue_comment\",\"issues\"],\"repository\":\"build-discord-bot\",\"authentication\":\"oAuth2\"},\"credentials\":{\"githubOAuth2Api\":{\"id\":null,\"name\":\"GitHub Personal Credentials\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Switch\":{\"main\":[[{\"node\":\"IF no assignee?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF wants to work?\",\"type\":\"main\",\"index\":0}]]},\"Github Trigger1\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"IF no assignee?\":{\"main\":[[{\"node\":\"Assign Issue Creator\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"IF not assigned?\":{\"main\":[[{\"node\":\"Assign Commenter\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Add Comment\",\"type\":\"main\",\"index\":0}]]},\"IF wants to work?\":{\"main\":[[{\"node\":\"IF not assigned?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test Workflow ", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-550,450],\"parameters\":{\"path\":\"PuHq2RQsmc3HXB/hook\",\"options\":{\"rawBody\":false},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1260,180],\"parameters\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"company\":1,\"options\":{},\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Find User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[170,260],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Update User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1560,250],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Tag User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[430,670],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"Find User To Tag Sale\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"course\\\"][\\\"name\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Unsubscribe User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[2170,410],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Split Full Name\",\"type\":\"n8n-nodes-base.function\",\"position\":[340,420],\"parameters\":{\"functionCode\":\"const student = items[0].json.student\\nstudent.firstName = student.name ? student.name.split(' ').slice(0, -1).join(' ') : ''\\nstudent.lastName= student.name ? student.name.split(' ').slice(-1).join(' ') : ''\\nitems[0].json.student = student\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"If not found return -1\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,260],\"parameters\":{\"functionCode\":\"items[0].json.id = items[0].json.id || -1\\nreturn items\"},\"typeVersion\":1},{\"name\":\"@MAIN STUDENT DATA\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,400],\"parameters\":{\"join\":\"inner\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Remove unsubscribe\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1770,500],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=-#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Find User To Tag Sale\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[190,670],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"user\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Set userFound\",\"type\":\"n8n-nodes-base.set\",\"position\":[700,260],\"parameters\":{\"values\":{\"string\":[{\"name\":\"userFound\",\"value\":\"={{$node[\\\"If not found return -1\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Switch Webhook Types\",\"type\":\"n8n-nodes-base.switch\",\"position\":[-70,450],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Sale.\",\"operation\":\"contains\"}]},\"value1\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Set Webhook Request\",\"type\":\"n8n-nodes-base.set\",\"position\":[-310,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"student\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"object\\\"]}}\"},{\"name\":\"type\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"type\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF NOT userFound\",\"type\":\"n8n-nodes-base.if\",\"position\":[1090,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"value2\":\"-1\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"Switch User.type\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1380,420],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.updated\"},{\"output\":1,\"value2\":\"User.unsubscribe_from_marketing_emails\"},{\"output\":2,\"value2\":\"=User.subscribe_to_marketing_emails\"}]},\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[1770,250],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"unsubscribe_from_marketing_emails\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set Webhook Request\",\"type\":\"main\",\"index\":0}]]},\"Find User\":{\"main\":[[{\"node\":\"If not found return -1\",\"type\":\"main\",\"index\":0}]]},\"Update User\":{\"main\":[[{\"node\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"main\",\"index\":0}]]},\"Set userFound\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":0}]]},\"Split Full Name\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":1}]]},\"IF NOT userFound\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch User.type\",\"type\":\"main\",\"index\":0}]]},\"Switch User.type\":{\"main\":[[{\"node\":\"Update User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]},\"@MAIN STUDENT DATA\":{\"main\":[[{\"node\":\"IF NOT userFound\",\"type\":\"main\",\"index\":0}]]},\"Set Webhook Request\":{\"main\":[[{\"node\":\"Switch Webhook Types\",\"type\":\"main\",\"index\":0}]]},\"Switch Webhook Types\":{\"main\":[[{\"node\":\"Find User\",\"type\":\"main\",\"index\":0},{\"node\":\"Split Full Name\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Find User To Tag Sale\",\"type\":\"main\",\"index\":0}]]},\"Find User To Tag Sale\":{\"main\":[[{\"node\":\"Tag User\",\"type\":\"main\",\"index\":0}]]},\"If not found return -1\":{\"main\":[[{\"node\":\"Set userFound\",\"type\":\"main\",\"index\":0}]]},\"IF unsubscribe_from_marketing_emails\":{\"main\":[[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Alice Workflow", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-550,450],\"parameters\":{\"path\":\"PuHq2RQsmc3HXB/hook\",\"options\":{\"rawBody\":false},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1260,180],\"parameters\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"company\":1,\"options\":{},\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Find User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[170,260],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Update User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1560,250],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Tag User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[430,670],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"Find User To Tag Sale\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"course\\\"][\\\"name\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Unsubscribe User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[2170,410],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Split Full Name\",\"type\":\"n8n-nodes-base.function\",\"position\":[340,420],\"parameters\":{\"functionCode\":\"const student = items[0].json.student\\nstudent.firstName = student.name ? student.name.split(' ').slice(0, -1).join(' ') : ''\\nstudent.lastName= student.name ? student.name.split(' ').slice(-1).join(' ') : ''\\nitems[0].json.student = student\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"If not found return -1\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,260],\"parameters\":{\"functionCode\":\"items[0].json.id = items[0].json.id || -1\\nreturn items\"},\"typeVersion\":1},{\"name\":\"@MAIN STUDENT DATA\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,400],\"parameters\":{\"join\":\"inner\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Remove unsubscribe\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1770,500],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=-#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Find User To Tag Sale\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[190,670],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"user\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Set userFound\",\"type\":\"n8n-nodes-base.set\",\"position\":[700,260],\"parameters\":{\"values\":{\"string\":[{\"name\":\"userFound\",\"value\":\"={{$node[\\\"If not found return -1\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Switch Webhook Types\",\"type\":\"n8n-nodes-base.switch\",\"position\":[-70,450],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Sale.\",\"operation\":\"contains\"}]},\"value1\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Set Webhook Request\",\"type\":\"n8n-nodes-base.set\",\"position\":[-310,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"student\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"object\\\"]}}\"},{\"name\":\"type\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"type\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF NOT userFound\",\"type\":\"n8n-nodes-base.if\",\"position\":[1090,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"value2\":\"-1\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"Switch User.type\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1380,420],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.updated\"},{\"output\":1,\"value2\":\"User.unsubscribe_from_marketing_emails\"},{\"output\":2,\"value2\":\"=User.subscribe_to_marketing_emails\"}]},\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[1770,250],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"unsubscribe_from_marketing_emails\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set Webhook Request\",\"type\":\"main\",\"index\":0}]]},\"Find User\":{\"main\":[[{\"node\":\"If not found return -1\",\"type\":\"main\",\"index\":0}]]},\"Update User\":{\"main\":[[{\"node\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"main\",\"index\":0}]]},\"Set userFound\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":0}]]},\"Split Full Name\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":1}]]},\"IF NOT userFound\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch User.type\",\"type\":\"main\",\"index\":0}]]},\"Switch User.type\":{\"main\":[[{\"node\":\"Update User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]},\"@MAIN STUDENT DATA\":{\"main\":[[{\"node\":\"IF NOT userFound\",\"type\":\"main\",\"index\":0}]]},\"Set Webhook Request\":{\"main\":[[{\"node\":\"Switch Webhook Types\",\"type\":\"main\",\"index\":0}]]},\"Switch Webhook Types\":{\"main\":[[{\"node\":\"Find User\",\"type\":\"main\",\"index\":0},{\"node\":\"Split Full Name\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Find User To Tag Sale\",\"type\":\"main\",\"index\":0}]]},\"Find User To Tag Sale\":{\"main\":[[{\"node\":\"Tag User\",\"type\":\"main\",\"index\":0}]]},\"If not found return -1\":{\"main\":[[{\"node\":\"Set userFound\",\"type\":\"main\",\"index\":0}]]},\"IF unsubscribe_from_marketing_emails\":{\"main\":[[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Bob Workflow", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-550,450],\"parameters\":{\"path\":\"PuHq2RQsmc3HXB/hook\",\"options\":{\"rawBody\":false},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1260,180],\"parameters\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"company\":1,\"options\":{},\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Find User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[170,260],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Update User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1560,250],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Tag User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[430,670],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"Find User To Tag Sale\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"course\\\"][\\\"name\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Unsubscribe User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[2170,410],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Split Full Name\",\"type\":\"n8n-nodes-base.function\",\"position\":[340,420],\"parameters\":{\"functionCode\":\"const student = items[0].json.student\\nstudent.firstName = student.name ? student.name.split(' ').slice(0, -1).join(' ') : ''\\nstudent.lastName= student.name ? student.name.split(' ').slice(-1).join(' ') : ''\\nitems[0].json.student = student\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"If not found return -1\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,260],\"parameters\":{\"functionCode\":\"items[0].json.id = items[0].json.id || -1\\nreturn items\"},\"typeVersion\":1},{\"name\":\"@MAIN STUDENT DATA\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,400],\"parameters\":{\"join\":\"inner\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Remove unsubscribe\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1770,500],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=-#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Find User To Tag Sale\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[190,670],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"user\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Set userFound\",\"type\":\"n8n-nodes-base.set\",\"position\":[700,260],\"parameters\":{\"values\":{\"string\":[{\"name\":\"userFound\",\"value\":\"={{$node[\\\"If not found return -1\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Switch Webhook Types\",\"type\":\"n8n-nodes-base.switch\",\"position\":[-70,450],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Sale.\",\"operation\":\"contains\"}]},\"value1\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Set Webhook Request\",\"type\":\"n8n-nodes-base.set\",\"position\":[-310,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"student\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"object\\\"]}}\"},{\"name\":\"type\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"type\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF NOT userFound\",\"type\":\"n8n-nodes-base.if\",\"position\":[1090,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"value2\":\"-1\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"Switch User.type\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1380,420],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.updated\"},{\"output\":1,\"value2\":\"User.unsubscribe_from_marketing_emails\"},{\"output\":2,\"value2\":\"=User.subscribe_to_marketing_emails\"}]},\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[1770,250],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"unsubscribe_from_marketing_emails\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set Webhook Request\",\"type\":\"main\",\"index\":0}]]},\"Find User\":{\"main\":[[{\"node\":\"If not found return -1\",\"type\":\"main\",\"index\":0}]]},\"Update User\":{\"main\":[[{\"node\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"main\",\"index\":0}]]},\"Set userFound\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":0}]]},\"Split Full Name\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":1}]]},\"IF NOT userFound\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch User.type\",\"type\":\"main\",\"index\":0}]]},\"Switch User.type\":{\"main\":[[{\"node\":\"Update User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]},\"@MAIN STUDENT DATA\":{\"main\":[[{\"node\":\"IF NOT userFound\",\"type\":\"main\",\"index\":0}]]},\"Set Webhook Request\":{\"main\":[[{\"node\":\"Switch Webhook Types\",\"type\":\"main\",\"index\":0}]]},\"Switch Webhook Types\":{\"main\":[[{\"node\":\"Find User\",\"type\":\"main\",\"index\":0},{\"node\":\"Split Full Name\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Find User To Tag Sale\",\"type\":\"main\",\"index\":0}]]},\"Find User To Tag Sale\":{\"main\":[[{\"node\":\"Tag User\",\"type\":\"main\",\"index\":0}]]},\"If not found return -1\":{\"main\":[[{\"node\":\"Set userFound\",\"type\":\"main\",\"index\":0}]]},\"IF unsubscribe_from_marketing_emails\":{\"main\":[[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Spotify Play List to WordPress Embed Block", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-100,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Spotify\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[120,320],\"parameters\":{\"id\":\"={{$json[\\\"PlaylistURL\\\"]}}\",\"resource\":\"playlist\",\"operation\":\"getTracks\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"1\",\"name\":\"Your Spotify account\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[300,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"TrackName\",\"value\":\"={{$json[\\\"track\\\"][\\\"name\\\"]}}\"},{\"name\":\"ArtistName\",\"value\":\"={{$json[\\\"track\\\"][\\\"artists\\\"][0][\\\"name\\\"]}}\"},{\"name\":\"TrackURL\",\"value\":\"={{$json[\\\"track\\\"][\\\"external_urls\\\"][\\\"spotify\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":\"={{true}}\"},\"typeVersion\":1},{\"name\":\"Wordpress\",\"type\":\"n8n-nodes-base.wordpress\",\"position\":[800,320],\"parameters\":{\"title\":\"Spotify\",\"additionalFields\":{\"content\":\"={{$json[\\\"card\\\"]}}\"}},\"credentials\":{\"wordpressApi\":{\"id\":\"3\",\"name\":\"Your Wordpress\"}},\"typeVersion\":1},{\"name\":\"Create Spotify Card\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[480,320],\"parameters\":{\"functionCode\":\"return {\\nspotify_card: \\n`\\\\n\\n
\\\\n\\n
\\\\n\\n${item.TrackURL}\\\\n\\n
\\\\n\\n`\\n}\"},\"typeVersion\":1},{\"name\":\"Prepare Response1\",\"type\":\"n8n-nodes-base.function\",\"position\":[640,320],\"parameters\":{\"functionCode\":\"let card =\\n`${items.map(e => e.json.spotify_card).join('\\\\n')}`;\\n\\nreturn [{\\n json: {\\n card: card\\n }\\n}];\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Create Spotify Card\",\"type\":\"main\",\"index\":0}]]},\"Spotify\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Prepare Response1\":{\"main\":[[{\"node\":\"Wordpress\",\"type\":\"main\",\"index\":0}]]},\"Create Spotify Card\":{\"main\":[[{\"node\":\"Prepare Response1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Spotify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n-netlify", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"0d36a8db-0177-4501-9f7a-e46b6829d07a\",\"parameters\":{\"path\":\"0d36a8db-0177-4501-9f7a-e46b6829d07a\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Netlify\",\"type\":\"n8n-nodes-base.netlify\",\"position\":[650,300],\"parameters\":{\"siteId\":\"5e15e032-9345-41b8-a98f-509e545f061c\",\"operation\":\"create\",\"additionalFields\":{\"title\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"title\\\"]}}\"}},\"credentials\":{\"netlifyApi\":\"Netlify account\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Netlify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Email body parser", "output": "{\"id\":\"340\",\"name\":\"Email body parser by aprenden8n.com\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Email Parser Snippet\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[670,300],\"parameters\":{\"functionCode\":\"var obj = {};\\nvar labels = item.labels.split(\\\",\\\");\\nitem.labels.split(\\\",\\\").forEach(function(label) {\\n var re = labels.indexOf(label) === labels.length - 1 ? \\\"\\\\\\\\b\\\" + label + \\\"\\\\\\\\b[: ]+([^$]+)\\\" : \\\"\\\\\\\\b\\\" + label + \\\"\\\\\\\\b[: ]+([^\\\\\\\\n$]+)\\\";\\n var found = item.body.match(new RegExp(re, \\\"i\\\"));\\n if (found && found.length > 1) {\\n obj[label] = found[1].trim();\\n }\\n});\\n\\nreturn obj;\"},\"typeVersion\":1},{\"name\":\"Set values\",\"type\":\"n8n-nodes-base.set\",\"position\":[460,300],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"body\",\"value\":\"Name: Miquel\\nEmail: miquel@aprenden8n.com\\nSubject: Welcome aboard\\nMessage: Hi Miquel!\\n\\nThank you for your signup!\"},{\"name\":\"labels\",\"value\":\"Name,Email,Subject,Message\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set values\":{\"main\":[[{\"node\":\"Email Parser Snippet\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set values\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Parse Email Body Message", "output": "{\"id\":\"340\",\"name\":\"Email body parser by aprenden8n.com\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Email Parser Snippet\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[670,300],\"parameters\":{\"functionCode\":\"var obj = {};\\nvar labels = item.labels.split(\\\",\\\");\\nitem.labels.split(\\\",\\\").forEach(function(label) {\\n var re = labels.indexOf(label) === labels.length - 1 ? \\\"\\\\\\\\b\\\" + label + \\\"\\\\\\\\b[: ]+([^$]+)\\\" : \\\"\\\\\\\\b\\\" + label + \\\"\\\\\\\\b[: ]+([^\\\\\\\\n$]+)\\\";\\n var found = item.body.match(new RegExp(re, \\\"i\\\"));\\n if (found && found.length > 1) {\\n obj[label] = found[1].trim();\\n }\\n});\\n\\nreturn obj;\"},\"typeVersion\":1},{\"name\":\"Set values\",\"type\":\"n8n-nodes-base.set\",\"position\":[460,300],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"body\",\"value\":\"Name: Miquel\\nEmail: miquel@aprenden8n.com\\nSubject: Welcome aboard\\nMessage: Hi Miquel!\\n\\nThank you for your signup!\"},{\"name\":\"labels\",\"value\":\"Name,Email,Subject,Message\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set values\":{\"main\":[[{\"node\":\"Email Parser Snippet\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set values\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Toxic Language", "output": "{\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[600,300],\"webhookId\":\"2d0805da-143e-40c9-b327-242b1f052c31\",\"parameters\":{\"updates\":[\"message\",\"edited_message\",\"channel_post\",\"edited_channel_post\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"telegram_habot\"},\"typeVersion\":1},{\"name\":\"Google Perspective\",\"type\":\"n8n-nodes-base.googlePerspective\",\"position\":[800,300],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"][\\\"text\\\"]}}\",\"options\":{\"languages\":\"en\"},\"requestedAttributesUi\":{\"requestedAttributesValues\":[{\"attributeName\":\"identity_attack\"},{\"attributeName\":\"threat\"},{\"attributeName\":\"profanity\"}]}},\"credentials\":{\"googlePerspectiveOAuth2Api\":\"perspective_api\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1000,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"attributeScores\\\"][\\\"PROFANITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1200,150],\"parameters\":{\"text\":\"I don't tolerate toxic language!\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"reply_to_message_id\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"message_id\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"telegram_habot\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1200,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Google Perspective\",\"type\":\"main\",\"index\":0}]]},\"Google Perspective\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Handle GDPR data deletion requests with Slack", "output": "{\"nodes\":[{\"name\":\"Receive Slash Command\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,100],\"webhookId\":\"3c0d3820-5896-41c5-83bf-1cd5e956c32c\",\"parameters\":{\"path\":\"3c0d3820-5896-41c5-83bf-1cd5e956c32c\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Reject\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[680,200],\"parameters\":{\"options\":{\"responseCode\":403},\"respondWith\":\"noData\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,0],\"parameters\":{\"values\":{\"string\":[{\"name\":\"operation\",\"value\":\"={{$json[\\\"body\\\"][\\\"text\\\"].split(\\\" \\\")[0].toLowerCase()}}\"},{\"name\":\"email\",\"value\":\"={{$json[\\\"body\\\"][\\\"text\\\"].split(\\\" \\\")[1].toLowerCase()}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Read Command\",\"type\":\"n8n-nodes-base.switch\",\"position\":[900,0],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"delete\"}]},\"value1\":\"={{$json[\\\"operation\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"Wrong Command Error\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1120,100],\"parameters\":{\"options\":{},\"respondWith\":\"json\",\"responseBody\":\"{\\n \\\"text\\\": \\\"Sorry, I didn't understand your command. You can request data deletion like so: `/gdpr delete `.\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"Acknowledge\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1340,0],\"parameters\":{\"options\":{},\"respondWith\":\"json\",\"responseBody\":\"{\\n \\\"text\\\": \\\"On it!\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"Empty Email?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,-100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"email\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Missing Email Error\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1340,-200],\"parameters\":{\"options\":{},\"respondWith\":\"json\",\"responseBody\":\"{\\n \\\"text\\\": \\\"It looks like the user email address is missing. You can request data deletion like so: `/gdpr delete `.\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"Valid Token?\",\"type\":\"n8n-nodes-base.if\",\"position\":[460,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"token\\\"]}}\",\"value2\":\"foo\"}]}},\"typeVersion\":1},{\"name\":\"Paddle Data Deletion\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[1560,0],\"parameters\":{\"workflowId\":\"1231\"},\"typeVersion\":1},{\"name\":\"Customer.io Data Deletion\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[1780,0],\"parameters\":{\"workflowId\":\"1237\"},\"typeVersion\":1},{\"name\":\"Zendesk Data Deletion\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[2000,0],\"parameters\":{\"workflowId\":\"1240\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1780,200],\"parameters\":{\"table\":\"Log\",\"options\":{},\"operation\":\"append\",\"application\":\"app3wAXUUwalhapFV\"},\"credentials\":{\"airtableApi\":{\"id\":\"12\",\"name\":\"mutedjam@n8n.io\"}},\"typeVersion\":1},{\"name\":\"Prepare Log Entry\",\"type\":\"n8n-nodes-base.function\",\"position\":[1340,200],\"parameters\":{\"functionCode\":\"let deletion_nodes = [\\n 'Paddle Data Deletion',\\n 'Customer.io Data Deletion',\\n 'Zendesk Data Deletion'\\n]\\n\\nconst deletion_results = deletion_nodes.map(node_name => $items(node_name)[0].json);\\nconst deletion_success = deletion_results.filter(json => json.success == true).length == deletion_nodes.length;\\n\\nreturn [{\\n json: {\\n Result: deletion_success ? 'Done' : 'Error',\\n Notes: deletion_results.map(json => json.service + ': ' + json.message).join('\\\\n'),\\n Processed: new Date().toISOString()\\n }\\n}];\"},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[1560,200],\"parameters\":{\"type\":\"SHA256\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"email\\\"]}}\",\"dataPropertyName\":\"Email Hash\"},\"typeVersion\":1},{\"name\":\"Respond to Slack\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2000,200],\"parameters\":{\"url\":\"={{$node[\\\"Receive Slash Command\\\"].json[\\\"body\\\"][\\\"response_url\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"text\",\"value\":\"=GDPR data deletion process finished.\\nStatus: {{$node[\\\"Prepare Log Entry\\\"].json[\\\"Result\\\"] == \\\"Done\\\" ? \\\":white_check_mark: OK\\\" : \\\":x: Error\\\"}}\\nLog: \"},{\"name\":\"delete_original\",\"value\":\"true\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Read Command\",\"type\":\"main\",\"index\":0}]]},\"Crypto\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Respond to Slack\",\"type\":\"main\",\"index\":0}]]},\"Acknowledge\":{\"main\":[[{\"node\":\"Paddle Data Deletion\",\"type\":\"main\",\"index\":0}]]},\"Empty Email?\":{\"main\":[[{\"node\":\"Missing Email Error\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Acknowledge\",\"type\":\"main\",\"index\":0}]]},\"Read Command\":{\"main\":[[{\"node\":\"Empty Email?\",\"type\":\"main\",\"index\":0}],null,null,[{\"node\":\"Wrong Command Error\",\"type\":\"main\",\"index\":0}]]},\"Valid Token?\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Reject\",\"type\":\"main\",\"index\":0}]]},\"Prepare Log Entry\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]},\"Paddle Data Deletion\":{\"main\":[[{\"node\":\"Customer.io Data Deletion\",\"type\":\"main\",\"index\":0}]]},\"Receive Slash Command\":{\"main\":[[{\"node\":\"Valid Token?\",\"type\":\"main\",\"index\":0}]]},\"Zendesk Data Deletion\":{\"main\":[[{\"node\":\"Prepare Log Entry\",\"type\":\"main\",\"index\":0}]]},\"Customer.io Data Deletion\":{\"main\":[[{\"node\":\"Zendesk Data Deletion\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add new customers from WooCommerce to Mautic", "output": "{\"id\":83,\"name\":\"New WooCommerce Customer to Mautic\",\"nodes\":[{\"name\":\"Check for Existing\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[280,480],\"parameters\":{\"options\":{\"search\":\"={{$json[\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"If New\",\"type\":\"n8n-nodes-base.if\",\"position\":[460,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Create Contact\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[680,320],\"parameters\":{\"email\":\"={{$node[\\\"Customer Created\\\"].json[\\\"email\\\"]}}\",\"company\":\"={{$node[\\\"Customer Created\\\"].json[\\\"billing\\\"][\\\"company\\\"]}}\",\"options\":{},\"lastName\":\"={{$node[\\\"Customer Created\\\"].json[\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Customer Created\\\"].json[\\\"first_name\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1},{\"name\":\"Update Contact\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[680,580],\"parameters\":{\"options\":{},\"contactId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"lastName\":\"={{$node[\\\"Customer Created or Updated\\\"].json[\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Customer Created or Updated\\\"].json[\\\"first_name\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1},{\"name\":\"Customer Created or Updated\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[100,480],\"webhookId\":\"5d89e322-a5e0-4cce-9eab-185e8375175b\",\"parameters\":{\"event\":\"customer.updated\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"48\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{\"saveManualExecutions\":true,\"saveExecutionProgress\":true,\"saveDataSuccessExecution\":\"all\"},\"connections\":{\"If New\":{\"main\":[[{\"node\":\"Create Contact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update Contact\",\"type\":\"main\",\"index\":0}]]},\"Check for Existing\":{\"main\":[[{\"node\":\"If New\",\"type\":\"main\",\"index\":0}]]},\"Customer Created or Updated\":{\"main\":[[{\"node\":\"Check for Existing\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify on Slack when new order is registered in WooCommerce", "output": "{\"id\":81,\"name\":\"New WooCommerce order to Slack\",\"nodes\":[{\"name\":\"Order Created\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[340,500],\"webhookId\":\"287b4bf4-67ec-4c97-85d9-c0d3e6f59e6b\",\"parameters\":{\"event\":\"order.created\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"48\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1},{\"name\":\"Send to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[780,480],\"parameters\":{\"text\":\":sparkles: There is a new order :sparkles:\",\"channel\":\"woo-commerce\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#66FF00\",\"fields\":{\"item\":[{\"short\":true,\"title\":\"Order ID\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"short\":true,\"title\":\"Status\",\"value\":\"={{$json[\\\"status\\\"]}}\"},{\"short\":true,\"title\":\"Total\",\"value\":\"={{$json[\\\"currency_symbol\\\"]}}{{$json[\\\"total\\\"]}}\"},{\"short\":false,\"title\":\"Link\",\"value\":\"={{$node[\\\"Order Created\\\"].json[\\\"_links\\\"][\\\"self\\\"][0][\\\"href\\\"]}}\"}]},\"footer\":\"=*Ordered:* {{$json[\\\"date_created\\\"]}} | *Transaction ID:* {{$json[\\\"transaction_id\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1},{\"name\":\"Price over 100\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,500],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"total\\\"]}}\",\"value2\":100,\"operation\":\"largerEqual\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{\"saveManualExecutions\":true,\"saveExecutionProgress\":true,\"saveDataSuccessExecution\":\"all\"},\"connections\":{\"Order Created\":{\"main\":[[{\"node\":\"Price over 100\",\"type\":\"main\",\"index\":0}]]},\"Price over 100\":{\"main\":[[{\"node\":\"Send to Slack\",\"type\":\"main\",\"index\":0}],[]]}}}" }, { "input": "Notify on Slack when new product is added in WooCommerce", "output": "{\"id\":80,\"name\":\"New WooCommerce product to Slack\",\"nodes\":[{\"name\":\"Product Created\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[320,500],\"webhookId\":\"267c4855-6227-4d33-867e-74600097473e\",\"parameters\":{\"event\":\"product.created\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"48\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1},{\"name\":\"Send to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[540,500],\"parameters\":{\"text\":\":new: A new product has been added! :new:\",\"channel\":\"woo-commerce\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#66FF00\",\"fields\":{\"item\":[{\"short\":false,\"title\":\"Name\",\"value\":\"={{$json[\\\"name\\\"]}}\"},{\"short\":true,\"title\":\"Price\",\"value\":\"={{$json[\\\"regular_price\\\"]}}\"},{\"short\":true,\"title\":\"Sale Price\",\"value\":\"={{$json[\\\"sale_price\\\"]}}\"},{\"short\":false,\"title\":\"Link\",\"value\":\"={{$json[\\\"permalink\\\"]}}\"}]},\"footer\":\"=Added: {{$json[\\\"date_created\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Product Created\":{\"main\":[[{\"node\":\"Send to Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify on Telegram and Twitter when new order is added in WooCommerce", "output": "{\"id\":85,\"name\":\"New WooCommerce Product to Twitter and Telegram\",\"nodes\":[{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[720,300],\"parameters\":{\"text\":\"=✨ New Product Announcement ✨\\nWe have just added {{$json[\\\"name\\\"]}}, Head to {{$json[\\\"permalink\\\"]}} to find out more.\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"37\",\"name\":\"joffcom\"}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[720,500],\"parameters\":{\"text\":\"=✨ New Product Announcement ✨\\nWe have just added {{$json[\\\"name\\\"]}}, Head to {{$json[\\\"permalink\\\"]}} to find out more.\",\"chatId\":\"123456\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"56\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"WooCommerce Trigger\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[540,400],\"webhookId\":\"ab7b134b-9b2d-4e0d-b496-1aee30db0808\",\"parameters\":{\"event\":\"product.created\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"48\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"WooCommerce Trigger\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0},{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify on Slack when refund is registered in WooCommerce", "output": "{\"id\":82,\"name\":\"New WooCommerce refund to Slack\",\"nodes\":[{\"name\":\"Order Updated\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[320,500],\"webhookId\":\"f7736be3-e978-4a17-b936-7ce9f8ccdb72\",\"parameters\":{\"event\":\"order.updated\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"48\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1},{\"name\":\"If Refund and Over 100\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,500],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"total\\\"]}}\",\"value2\":100,\"operation\":\"largerEqual\"}],\"string\":[{\"value1\":\"={{$json[\\\"status\\\"]}}\",\"value2\":\"refunded\"}]}},\"typeVersion\":1},{\"name\":\"Send to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[780,480],\"parameters\":{\"text\":\":x: A refund has been issued :x:\",\"channel\":\"woo-commerce\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#FF0000\",\"fields\":{\"item\":[{\"short\":true,\"title\":\"Order ID\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"short\":true,\"title\":\"Status\",\"value\":\"={{$json[\\\"status\\\"]}}\"},{\"short\":true,\"title\":\"Total\",\"value\":\"={{$json[\\\"currency_symbol\\\"]}}{{$json[\\\"total\\\"]}}\"}]},\"footer\":\"=*Order updated:* {{$json[\\\"date_modified\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{\"saveManualExecutions\":true,\"saveExecutionProgress\":true,\"saveDataSuccessExecution\":\"all\"},\"connections\":{\"Order Updated\":{\"main\":[[{\"node\":\"If Refund and Over 100\",\"type\":\"main\",\"index\":0}]]},\"If Refund and Over 100\":{\"main\":[[{\"node\":\"Send to Slack\",\"type\":\"main\",\"index\":0}],[]]}}}" }, { "input": "Validate email of new contacts in Hubspot", "output": "{\"id\":88,\"name\":\"Check for valid Hubspot contact email\",\"nodes\":[{\"name\":\"When contact created\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[540,480],\"webhookId\":\"d24ffb14-1e00-4d4e-b3b8-a812690c40d5\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{}]},\"additionalFields\":{}},\"credentials\":{\"hubspotDeveloperApi\":{\"id\":\"58\",\"name\":\"Hubspot Developer account\"}},\"typeVersion\":1},{\"name\":\"Get contact email address\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[720,480],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{$json[\\\"contactId\\\"] ? 151 : 151}}\",\"operation\":\"get\",\"additionalFields\":{\"properties\":[\"email\"],\"propertyMode\":\"valueOnly\"}},\"credentials\":{\"hubspotApi\":{\"id\":\"57\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"name\":\"validate the email\",\"type\":\"n8n-nodes-base.oneSimpleApi\",\"position\":[900,480],\"parameters\":{\"resource\":\"utility\",\"emailAddress\":\"={{$json[\\\"properties\\\"][\\\"email\\\"][\\\"value\\\"]}}\"},\"credentials\":{\"oneSimpleApi\":{\"id\":\"33\",\"name\":\"One Simple account\"}},\"typeVersion\":1},{\"name\":\"If email is suspicious\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"IF\\ndeliverability is not good\\nOR\\nDomain is not valid\\nOR\\nEmail is Disposable\",\"position\":[1080,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"deliverability\\\"]}}\",\"value2\":\"GOOD\",\"operation\":\"notEqual\"}],\"boolean\":[{\"value1\":\"={{$json[\\\"is_domain_valid\\\"]}}\"},{\"value1\":\"={{$json[\\\"is_email_disposable\\\"]}}\",\"value2\":true}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Send to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1280,460],\"parameters\":{\"text\":\"=:warning: New Contact with Suspicious Email :warning:\\n*Name: * {{$node[\\\"Item Lists\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"firstname\\\"][\\\"normalizedValue\\\"]}} {{$node[\\\"Item Lists\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"lastname\\\"][\\\"normalizedValue\\\"]}}\\n*Email: * {{$node[\\\"Item Lists\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"normalizedValue\\\"]}}\\n*Creator: * {{$node[\\\"Item Lists\\\"].json[\\\"contact\\\"][\\\"createdByUser\\\"]}}\",\"channel\":\"#hubspot-alerts\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"validate the email\":{\"main\":[[{\"node\":\"If email is suspicious\",\"type\":\"main\",\"index\":0}]]},\"When contact created\":{\"main\":[[{\"node\":\"Get contact email address\",\"type\":\"main\",\"index\":0}]]},\"If email is suspicious\":{\"main\":[[{\"node\":\"Send to Slack\",\"type\":\"main\",\"index\":0}]]},\"Get contact email address\":{\"main\":[[{\"node\":\"validate the email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Validate email of new contacts in Mautic", "output": "{\"id\":86,\"name\":\"Check for valid Mautic contact email\",\"nodes\":[{\"name\":\"If is not new contact\",\"type\":\"n8n-nodes-base.if\",\"position\":[780,460],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"mautic.lead_post_save_new\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"On Contact Identified\",\"type\":\"n8n-nodes-base.mauticTrigger\",\"position\":[600,460],\"webhookId\":\"a3ee0f93-2870-44e2-bb2f-0175433263b3\",\"parameters\":{\"events\":[\"mautic.lead_post_save_new\"],\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1},{\"name\":\"extract information\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[980,480],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"mautic.lead_post_save_new\"},\"typeVersion\":1},{\"name\":\"validate email\",\"type\":\"n8n-nodes-base.oneSimpleApi\",\"position\":[1180,480],\"parameters\":{\"resource\":\"utility\",\"emailAddress\":\"={{$json[\\\"lead\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"value\\\"]}}\"},\"credentials\":{\"oneSimpleApi\":{\"id\":\"33\",\"name\":\"One Simple account\"}},\"typeVersion\":1},{\"name\":\"If the email is suspicious\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"IF\\ndeliverability is not good\\nOR\\nDomain is not valid\\nOR\\nEmail is Disposable\",\"position\":[1360,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"deliverability\\\"]}}\",\"value2\":\"GOOD\",\"operation\":\"notEqual\"}],\"boolean\":[{\"value1\":\"={{$json[\\\"is_domain_valid\\\"]}}\"},{\"value1\":\"={{$json[\\\"is_email_disposable\\\"]}}\",\"value2\":true}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Send to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1560,460],\"parameters\":{\"text\":\"=:warning: New Contact with Suspicious Email :warning:\\n*Name: * {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"firstname\\\"][\\\"normalizedValue\\\"]}} {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"lastname\\\"][\\\"normalizedValue\\\"]}}\\n*Email: * {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"normalizedValue\\\"]}}\\n*Link: * https://mautic.my.domain.com/s/contacts/view/{{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"id\\\"]}}\\n*Creator: * {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"createdByUser\\\"]}}\",\"channel\":\"#mautic-alerts\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"validate email\":{\"main\":[[{\"node\":\"If the email is suspicious\",\"type\":\"main\",\"index\":0}]]},\"extract information\":{\"main\":[[{\"node\":\"validate email\",\"type\":\"main\",\"index\":0}]]},\"If is not new contact\":{\"main\":[[],[{\"node\":\"extract information\",\"type\":\"main\",\"index\":0}]]},\"On Contact Identified\":{\"main\":[[{\"node\":\"If is not new contact\",\"type\":\"main\",\"index\":0}]]},\"If the email is suspicious\":{\"main\":[[{\"node\":\"Send to Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Validate website of new companies in Hubspot", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"9a0c7f24-a344-4955-8bdc-b129e5d8d619\",\"name\":\"Check Result\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"IF\\ndeliverability is not good\\nOR\\nDomain is not valid\\nOR\\nEmail is Disposable\",\"position\":[860,420],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"statusCode\\\"]}}\",\"value2\":\"200\"}],\"boolean\":[]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"b4d3619e-1327-4b79-a81b-caed93efa5aa\",\"name\":\"Post to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1060,440],\"parameters\":{\"text\":\"=:warning: New Company with suspicious domain :warning:\\n*Name: * {{$node[\\\"Get company information\\\"].json[\\\"properties\\\"][\\\"name\\\"][\\\"value\\\"]}}\\n*Domain: * {{$node[\\\"Get company information\\\"].json[\\\"properties\\\"][\\\"website\\\"][\\\"value\\\"]}}\\n*ID: * {{$node[\\\"Get company information\\\"].json[\\\"companyId\\\"]}}\",\"channel\":\"#hubspot-alerts\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"39\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1},{\"id\":\"f0e82b09-8311-49c5-b295-694ea5147b50\",\"name\":\"On new company created\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[320,420],\"webhookId\":\"748453fc-65ef-48bc-bae9-a5a6d13ade54\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{\"name\":\"company.creation\"}]},\"additionalFields\":{}},\"credentials\":{\"hubspotDeveloperApi\":{\"id\":\"44\",\"name\":\"Hubspot Developer account\"}},\"typeVersion\":1},{\"id\":\"81dd8835-e61f-44de-b650-23b35fbebb0d\",\"name\":\"Get company information\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[500,420],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{$json[\\\"companyId\\\"]}}\",\"operation\":\"get\",\"additionalFields\":{}},\"credentials\":{\"hubspotApi\":{\"id\":\"43\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"id\":\"62017a8b-a6cd-452f-a8a4-576dbd10dc4e\",\"name\":\"Try to load the domain\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[660,420],\"parameters\":{\"url\":\"={{$json[\\\"properties\\\"][\\\"domain\\\"][\\\"value\\\"]}}\",\"options\":{\"response\":{\"response\":{\"fullResponse\":true,\"responseFormat\":\"text\"}}}},\"typeVersion\":3}],\"connections\":{\"Check Result\":{\"main\":[null,[{\"node\":\"Post to Slack\",\"type\":\"main\",\"index\":0}]]},\"On new company created\":{\"main\":[[{\"node\":\"Get company information\",\"type\":\"main\",\"index\":0}]]},\"Try to load the domain\":{\"main\":[[{\"node\":\"Check Result\",\"type\":\"main\",\"index\":0}]]},\"Get company information\":{\"main\":[[{\"node\":\"Try to load the domain\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Find and share mentions from Twitter and Slack", "output": "{\"id\":95,\"name\":\"Scrape Twitter for mentions of company\",\"nodes\":[{\"name\":\"Filter Tweet Data\",\"type\":\"n8n-nodes-base.set\",\"position\":[1260,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Tweet\",\"value\":\"={{$node[\\\"Get last 50 mentions\\\"].json[\\\"text\\\"]}}\"},{\"name\":\"Tweet URL\",\"value\":\"=https://twitter.com/{{$node[\\\"Get last 50 mentions\\\"].json[\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$node[\\\"Get last 50 mentions\\\"].json[\\\"id_str\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Run Every 10 Minutes\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":10}]}},\"typeVersion\":1},{\"name\":\"Now - 10 minutes\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[620,320],\"parameters\":{\"value\":\"={{Date()}}\",\"action\":\"calculate\",\"options\":{},\"duration\":\"={{$node[\\\"Run Every 10 Minutes\\\"].parameter[\\\"triggerTimes\\\"][\\\"item\\\"][0][\\\"value\\\"]}}\",\"timeUnit\":\"={{$node[\\\"Run Every 10 Minutes\\\"].parameter[\\\"triggerTimes\\\"][\\\"item\\\"][0][\\\"unit\\\"]}}\",\"operation\":\"subtract\"},\"typeVersion\":1},{\"name\":\"Get last 50 mentions\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[820,320],\"parameters\":{\"operation\":\"search\",\"searchText\":\"={{$node[\\\"Setup\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"27\",\"name\":\"86-88 Twitter\"}},\"typeVersion\":1},{\"name\":\"Created since last run?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1020,320],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{$json[\\\"created_at\\\"]}}\",\"value2\":\"={{$items(\\\"Now - 10 minutes\\\", 0, 0)[0].json.data}}\"}]}},\"typeVersion\":1},{\"name\":\"Setup\",\"type\":\"n8n-nodes-base.set\",\"position\":[440,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"slackChannel\",\"value\":\"#recent-tweets\"},{\"name\":\"twitterSearchValue\",\"value\":\"@n8n_io\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Post to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1440,300],\"parameters\":{\"text\":\"=New Mention!: {{$node[\\\"Filter Tweet Data\\\"].json[\\\"Tweet\\\"]}}.\\nSee it here: {{$node[\\\"Filter Tweet Data\\\"].json[\\\"Tweet URL\\\"]}}\",\"channel\":\"={{$node[\\\"Setup\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Setup\":{\"main\":[[{\"node\":\"Now - 10 minutes\",\"type\":\"main\",\"index\":0}]]},\"Now - 10 minutes\":{\"main\":[[{\"node\":\"Get last 50 mentions\",\"type\":\"main\",\"index\":0}]]},\"Filter Tweet Data\":{\"main\":[[{\"node\":\"Post to Slack\",\"type\":\"main\",\"index\":0}]]},\"Get last 50 mentions\":{\"main\":[[{\"node\":\"Created since last run?\",\"type\":\"main\",\"index\":0}]]},\"Run Every 10 Minutes\":{\"main\":[[{\"node\":\"Setup\",\"type\":\"main\",\"index\":0}]]},\"Created since last run?\":{\"main\":[[{\"node\":\"Filter Tweet Data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Collect absences from Google Calendars", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"6f869392-1501-49b9-be86-4b767f7ec597\",\"name\":\"Previous Month\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[360,420],\"parameters\":{\"value\":\"={{Date()}}\",\"action\":\"calculate\",\"options\":{},\"duration\":1,\"timeUnit\":\"months\",\"operation\":\"subtract\"},\"typeVersion\":1},{\"id\":\"1446eb44-bd1e-4dad-9ecc-c2a1e8cb2ca6\",\"name\":\"1st of Every month at 8am\",\"type\":\"n8n-nodes-base.cron\",\"position\":[180,420],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8,\"mode\":\"everyMonth\"}]}},\"typeVersion\":1},{\"id\":\"a044ac76-49d9-4046-b008-2b4adf6512b1\",\"name\":\"Check Summary for Illness or Holiday\",\"type\":\"n8n-nodes-base.switch\",\"position\":[760,420],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Holiday\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Illness\",\"operation\":\"contains\"}]},\"value1\":\"={{$json[\\\"summary\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"6b40beab-7938-4aaa-a8a8-7a1e364dc2de\",\"name\":\"Holiday\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[980,220],\"parameters\":{},\"typeVersion\":1},{\"id\":\"b069f3ce-66d1-4f64-946b-f9fda27db46b\",\"name\":\"Illness\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[980,400],\"parameters\":{},\"typeVersion\":1},{\"id\":\"5725626b-2bfd-47a0-947e-efd28f0c29fe\",\"name\":\"Filter Holiday Days\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"description\\\"].split(\\\",\\\")[0]}}\"},{\"name\":\"Days\",\"value\":\"={{(new Date($json[\\\"end\\\"][\\\"date\\\"]).getTime() - new Date($json[\\\"start\\\"][\\\"date\\\"]).getTime()) / (1000 * 3600 * 24)}}\"},{\"name\":\"Type\",\"value\":\"Holiday\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"3114eb4f-a5be-452c-9729-b94d2904eb4b\",\"name\":\"Filter Illness Days\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"description\\\"].split(\\\",\\\")[0]}}\"},{\"name\":\"Days\",\"value\":\"={{(new Date($json[\\\"end\\\"][\\\"date\\\"]).getTime() - new Date($json[\\\"start\\\"][\\\"date\\\"]).getTime()) / (1000 * 3600 * 24)}}\"},{\"name\":\"Type\",\"value\":\"Illness\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"04617849-c162-4af5-9634-ab8ffd925625\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1620,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"daf227d9-938d-4110-9a47-5bf8bb661586\",\"name\":\"Get previous months events\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[560,420],\"parameters\":{\"options\":{\"timeMax\":\"={{new Date().toISOString()}}\",\"timeMin\":\"={{$json[\\\"data\\\"]}}\"},\"calendar\":\"[Select Cal]\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"50\",\"name\":\"Google Calendar account\"}},\"typeVersion\":1},{\"id\":\"19ec862a-e71a-49f9-b799-26f73a410553\",\"name\":\"Send email to payroll\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1980,320],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"]}}\",\"options\":{},\"subject\":\"Absences from last month\",\"toEmail\":\"payroll-team@mydomain.tld\",\"fromEmail\":\"n8n@mydomain.tld\"},\"credentials\":{\"smtp\":{\"id\":\"16\",\"name\":\"mailtrap\"}},\"typeVersion\":1},{\"id\":\"5805b2e1-e723-4803-a7e0-8df5fd4cf84d\",\"name\":\"Combine Holiday Counts\",\"type\":\"n8n-nodes-base.code\",\"position\":[1380,220],\"parameters\":{\"jsCode\":\"let names = $input.all().map(e => e.json.Name);\\nlet unique_names = [...new Set(names)];\\nlet results = [];\\n\\nfor (thisName of unique_names) {\\n let result = {\\n \\\"Name\\\": thisName,\\n \\\"Days\\\": 0,\\n \\\"Type\\\": \\\"Holiday\\\"\\n }\\n\\n for (matching_item of $input.all().filter(e => e.json.Name === thisName)) {\\n result.Days += parseInt(matching_item.json.Days);\\n }\\n \\n results.push(result);\\n}\\n\\nreturn results.map(e => { return {json: e} });\"},\"typeVersion\":1},{\"id\":\"c30345ae-1a19-4453-a67b-eda71cb7326e\",\"name\":\"Combine Illness Counts\",\"type\":\"n8n-nodes-base.code\",\"position\":[1380,400],\"parameters\":{\"jsCode\":\"let names = $input.all().map(e => e.json.Name);\\nlet unique_names = [...new Set(names)];\\nlet results = [];\\n\\nfor (thisName of unique_names) {\\n let result = {\\n \\\"Name\\\": thisName,\\n \\\"Days\\\": 0,\\n \\\"Type\\\": \\\"Illness\\\"\\n }\\n\\n for (matching_item of $input.all().filter(e => e.json.Name === thisName)) {\\n result.Days += parseInt(matching_item.json.Days);\\n }\\n \\n results.push(result);\\n}\\n\\nreturn results.map(e => { return {json: e} });\"},\"typeVersion\":1},{\"id\":\"7bac2604-ca55-4300-a7a5-38fc96830ba6\",\"name\":\"Build the message to send\",\"type\":\"n8n-nodes-base.code\",\"position\":[1800,320],\"parameters\":{\"jsCode\":\"let illnessMessage = \\\"\\\";\\nlet holidayMessage = \\\"\\\";\\nlet message = \\\"Here is a breakdown of absences for the last month.\\\\n\\\\n\\\";\\n\\n// Loop the input items\\nfor (item of $input.all()) {\\n if (item.json.Type == \\\"Holiday\\\") {\\n holidayMessage += item.json.Name + \\\" had \\\" + item.json.Days + \\\" days\\\\n\\\";\\n }\\n if (item.json.Type == \\\"Illness\\\") {\\n illnessMessage += item.json.Name + \\\" had \\\" + item.json.Days + \\\" days\\\\n\\\";\\n }\\n}\\n\\nif (holidayMessage != \\\"\\\") {\\n message += \\\"Holiday Events\\\\n\\\";\\n message += holidayMessage + \\\"\\\\n\\\";\\n} else {\\n message += \\\"No Holiday Events\\\\n\\\";\\n}\\n\\nif (illnessMessage != \\\"\\\") {\\n message += \\\"Illness Events\\\\n\\\";\\n message += illnessMessage;\\n} else {\\n message += \\\"No Illness Events\\\\n\\\";\\n}\\n\\n// Return our message\\nreturn [{json: {message}}];\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Build the message to send\",\"type\":\"main\",\"index\":0}]]},\"Holiday\":{\"main\":[[{\"node\":\"Filter Holiday Days\",\"type\":\"main\",\"index\":0}]]},\"Illness\":{\"main\":[[{\"node\":\"Filter Illness Days\",\"type\":\"main\",\"index\":0}]]},\"Previous Month\":{\"main\":[[{\"node\":\"Get previous months events\",\"type\":\"main\",\"index\":0}]]},\"Filter Holiday Days\":{\"main\":[[{\"node\":\"Combine Holiday Counts\",\"type\":\"main\",\"index\":0}]]},\"Filter Illness Days\":{\"main\":[[{\"node\":\"Combine Illness Counts\",\"type\":\"main\",\"index\":0}]]},\"Combine Holiday Counts\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Combine Illness Counts\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"1st of Every month at 8am\":{\"main\":[[{\"node\":\"Previous Month\",\"type\":\"main\",\"index\":0}]]},\"Build the message to send\":{\"main\":[[{\"node\":\"Send email to payroll\",\"type\":\"main\",\"index\":0}]]},\"Get previous months events\":{\"main\":[[{\"node\":\"Check Summary for Illness or Holiday\",\"type\":\"main\",\"index\":0}]]},\"Check Summary for Illness or Holiday\":{\"main\":[[{\"node\":\"Holiday\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Illness\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract expenses from emails and add to Google Sheets", "output": "{\"id\":90,\"name\":\"Extract expenses from emails and add to Google Sheet\",\"nodes\":[{\"name\":\"Check subject\",\"type\":\"n8n-nodes-base.if\",\"position\":[800,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"subject\\\"].toLowerCase()}}\",\"value2\":\"=/{{$json[\\\"subjectPatterns\\\"].toLowerCase()}}/\",\"operation\":\"regex\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Setup Variables\",\"type\":\"n8n-nodes-base.set\",\"position\":[620,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"subjectPatterns\",\"value\":\"(expenses|reciept)\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Check for new emails\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[440,300],\"parameters\":{\"format\":\"resolved\",\"mailbox\":\"Inbox\",\"options\":{\"allowUnauthorizedCerts\":true}},\"credentials\":{\"imap\":{\"id\":\"24\",\"name\":\"GMAIL\"}},\"typeVersion\":1},{\"name\":\"Read Receipts\",\"type\":\"n8n-nodes-base.mindee\",\"position\":[1020,280],\"parameters\":{\"binaryPropertyName\":\"attachment_0\"},\"credentials\":{\"mindeeReceiptApi\":{\"id\":\"61\",\"name\":\"Mindee Receipt account\"}},\"typeVersion\":1},{\"name\":\"Set column data\",\"type\":\"n8n-nodes-base.set\",\"position\":[1200,280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Date\",\"value\":\"={{$json[\\\"date\\\"]}}\"},{\"name\":\"Description\",\"value\":\"={{$node[\\\"Check for new emails\\\"].json[\\\"subject\\\"].split(\\\"-\\\")[1]}}\"},{\"name\":\"Category\",\"value\":\"={{$json[\\\"category\\\"]}}\"},{\"name\":\"Currency\",\"value\":\"={{$json[\\\"currency\\\"]}}\"},{\"name\":\"Amount\",\"value\":\"={{$json[\\\"total\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Add to Google Sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1380,280],\"parameters\":{\"range\":\"A:E\",\"options\":{},\"sheetId\":\"1xAtx1ORZYKu4urgqpOe3DawFjiWeOZO0VCVvOlQYnaE\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"8\",\"name\":\"Sheets\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Check subject\":{\"main\":[[{\"node\":\"Read Receipts\",\"type\":\"main\",\"index\":0}]]},\"Read Receipts\":{\"main\":[[{\"node\":\"Set column data\",\"type\":\"main\",\"index\":0}]]},\"Set column data\":{\"main\":[[{\"node\":\"Add to Google Sheet\",\"type\":\"main\",\"index\":0}]]},\"Setup Variables\":{\"main\":[[{\"node\":\"Check subject\",\"type\":\"main\",\"index\":0}]]},\"Check for new emails\":{\"main\":[[{\"node\":\"Setup Variables\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify on new emails with invoices in Slack", "output": "{\"id\":91,\"name\":\"New invoice email notification\",\"nodes\":[{\"name\":\"Check for new emails\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[500,300],\"parameters\":{\"format\":\"resolved\",\"mailbox\":\"Inbox\",\"options\":{\"allowUnauthorizedCerts\":true}},\"credentials\":{\"imap\":{\"id\":\"24\",\"name\":\"GMAIL\"}},\"typeVersion\":1},{\"name\":\"If email body contains invoice\",\"type\":\"n8n-nodes-base.if\",\"position\":[700,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"text\\\"].toLowerCase()}}\",\"value2\":\"invoice\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Extract the total amount\",\"type\":\"n8n-nodes-base.mindee\",\"position\":[900,280],\"parameters\":{\"rawData\":true,\"resource\":\"invoice\",\"binaryPropertyName\":\"attachment_0\"},\"credentials\":{\"mindeeInvoiceApi\":{\"id\":\"62\",\"name\":\"Mindee Invoice account\"}},\"typeVersion\":1},{\"name\":\"Send new invoice notification\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1580,300],\"parameters\":{\"text\":\":new: There is a new invoice to pay :new:\",\"channel\":\"team-accounts\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#FFBF00\",\"fields\":{\"item\":[{\"short\":true,\"title\":\"Amount\",\"value\":\"={{$node[\\\"If Amount > 1000\\\"].json[\\\"predictions\\\"][0][\\\"total_incl\\\"][\\\"amount\\\"]}}\"},{\"short\":false,\"title\":\"From\",\"value\":\"={{$node[\\\"Check for new emails\\\"].json[\\\"from\\\"][\\\"value\\\"][0][\\\"address\\\"]}}\"},{\"short\":true,\"title\":\"Subject\",\"value\":\"={{$node[\\\"Check for new emails\\\"].json[\\\"subject\\\"]}}\"}]},\"footer\":\"=*Date:* {{$node[\\\"Check for new emails\\\"].json[\\\"date\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1},{\"name\":\"Send email to finance manager\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1340,120],\"parameters\":{\"text\":\"Hi,\\n\\nThere is a new high value invoice to be paid that you may need to approve.\\n\\n~ n8n workflow\",\"options\":{},\"subject\":\"New high value invoice\",\"toEmail\":\"finance-manager@company.tld\",\"fromEmail\":\"n8n@noreply.tld\",\"attachments\":\"attachment_0\"},\"credentials\":{\"smtp\":{\"id\":\"26\",\"name\":\"mailtrap\"}},\"typeVersion\":1},{\"name\":\"If Amount > 1000\",\"type\":\"n8n-nodes-base.if\",\"position\":[1080,280],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"predictions\\\"][0][\\\"total_incl\\\"][\\\"amount\\\"]}}\",\"value2\":1000,\"operation\":\"larger\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"If Amount > 1000\":{\"main\":[[{\"node\":\"Send email to finance manager\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send new invoice notification\",\"type\":\"main\",\"index\":0}]]},\"Check for new emails\":{\"main\":[[{\"node\":\"If email body contains invoice\",\"type\":\"main\",\"index\":0}]]},\"Extract the total amount\":{\"main\":[[{\"node\":\"If Amount > 1000\",\"type\":\"main\",\"index\":0}]]},\"Send email to finance manager\":{\"main\":[[{\"node\":\"Send new invoice notification\",\"type\":\"main\",\"index\":0}]]},\"If email body contains invoice\":{\"main\":[[{\"node\":\"Extract the total amount\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update HubSpot when a new invoice is registered in Stripe", "output": "{\"id\":100,\"name\":\"On new Stripe Invoice Payment update Hubspot and notify the team in Slack\",\"nodes\":[{\"name\":\"When Invoice Paid\",\"type\":\"n8n-nodes-base.stripeTrigger\",\"position\":[400,460],\"webhookId\":\"47727266-5233-48e5-b7f7-e47252840a4e\",\"parameters\":{\"events\":[\"invoice.payment_succeeded\"]},\"credentials\":{\"stripeApi\":{\"id\":\"39\",\"name\":\"Stripe account\"}},\"typeVersion\":1},{\"name\":\"Update Deal to Paid\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1240,500],\"parameters\":{\"dealId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"Yes\",\"property\":\"paid\"}]}},\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"60\",\"name\":\"Hubspot account 2\"}},\"typeVersion\":1},{\"name\":\"Find Deal based on PO Number\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[820,480],\"parameters\":{\"operation\":\"search\",\"filterGroupsUi\":{\"filterGroupsValues\":[{\"filtersUi\":{\"filterValues\":[{\"value\":\"={{$json[\\\"data\\\"][\\\"object\\\"][\\\"custom_fields\\\"][0][\\\"value\\\"]}}\",\"propertyName\":\"po_number\"}]}}]},\"additionalFields\":{}},\"credentials\":{\"hubspotApi\":{\"id\":\"57\",\"name\":\"Hubspot account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"If no PO Number\",\"type\":\"n8n-nodes-base.if\",\"position\":[600,460],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"data\\\"][\\\"object\\\"][\\\"custom_fields\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"If no deal found for PO\",\"type\":\"n8n-nodes-base.if\",\"position\":[1020,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Send invoice paid message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1420,500],\"parameters\":{\"text\":\":sparkles: An invoice has been paid :sparkles:\",\"channel\":\"team-accounts\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#00FF04\",\"fields\":{\"item\":[{\"short\":true,\"title\":\"Amount\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"amount_paid\\\"]/100}}\"},{\"short\":true,\"title\":\"Currency\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"currency\\\"]}}\"},{\"short\":false,\"title\":\"Customer Name\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"customer_name\\\"]}}\"},{\"short\":false,\"title\":\"Customer Email\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"customer_email\\\"]}}\"},{\"short\":true,\"title\":\"PO Number\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"custom_fields\\\"][0][\\\"value\\\"]}}\"},{\"short\":true,\"title\":\"\",\"value\":\"=\"}]},\"footer\":\"=*Transaction ID:* {{$node[\\\"When Invoice Paid\\\"].json[\\\"id\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1},{\"name\":\"Send no PO Message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[800,240],\"parameters\":{\"text\":\":x: Stripe Payment with no PO Number :x:\",\"channel\":\"team-accounts\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#FF3C00\",\"fields\":{\"item\":[{\"short\":true,\"title\":\"Amount\",\"value\":\"={{$json[\\\"data\\\"][\\\"object\\\"][\\\"amount_paid\\\"] / 100}}\"},{\"short\":true,\"title\":\"Currency\",\"value\":\"={{$json[\\\"data\\\"][\\\"object\\\"][\\\"currency\\\"]}}\"},{\"short\":false,\"title\":\"Customer Name\",\"value\":\"={{$json[\\\"data\\\"][\\\"object\\\"][\\\"customer_name\\\"]}}\"},{\"short\":false,\"title\":\"Customer Email\",\"value\":\"={{$json[\\\"data\\\"][\\\"object\\\"][\\\"customer_email\\\"]}}\"}]},\"footer\":\"=*Transaction ID:* {{$json[\\\"id\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1},{\"name\":\"Send Deal not found message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1180,240],\"parameters\":{\"text\":\":x: Unable to find Deal for the below payment :x:\",\"channel\":\"team-accounts\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#FF3C00\",\"fields\":{\"item\":[{\"short\":true,\"title\":\"Amount\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"amount_paid\\\"]/100}}\"},{\"short\":true,\"title\":\"Currency\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"currency\\\"]}}\"},{\"short\":false,\"title\":\"Customer Name\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"customer_name\\\"]}}\"},{\"short\":false,\"title\":\"Customer Email\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"customer_email\\\"]}}\"},{\"short\":true,\"title\":\"PO Number\",\"value\":\"={{$node[\\\"When Invoice Paid\\\"].json[\\\"data\\\"][\\\"object\\\"][\\\"custom_fields\\\"][0][\\\"value\\\"]}}\"}]},\"footer\":\"=*Transaction ID:* {{$node[\\\"When Invoice Paid\\\"].json[\\\"id\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"If no PO Number\":{\"main\":[[{\"node\":\"Send no PO Message\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Find Deal based on PO Number\",\"type\":\"main\",\"index\":0}]]},\"When Invoice Paid\":{\"main\":[[{\"node\":\"If no PO Number\",\"type\":\"main\",\"index\":0}]]},\"Update Deal to Paid\":{\"main\":[[{\"node\":\"Send invoice paid message\",\"type\":\"main\",\"index\":0}]]},\"If no deal found for PO\":{\"main\":[[{\"node\":\"Send Deal not found message\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update Deal to Paid\",\"type\":\"main\",\"index\":0}]]},\"Find Deal based on PO Number\":{\"main\":[[{\"node\":\"If no deal found for PO\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Post RSS feed items from yesterday to Slack", "output": "{\"id\":89,\"name\":\"Post RSS feed items from yesterday to Slack\",\"nodes\":[{\"name\":\"Build our message\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,400],\"parameters\":{\"functionCode\":\"// Create our Slack message\\n// This will output a list of RSS items in the following format\\n// Title - Description\\nlet message = \\\"*:new: Posts from yesterday :new:*\\\\n\\\\n\\\";\\n\\n// Loop the input items\\nfor (item of items) {\\n message += \\\"*<\\\" + item.json.link + \\\"|\\\" + item.json.title + \\\">*\\\\n\\\" + item.json.contentSnippet + \\\"\\\\n\\\\n\\\"; \\n}\\n\\n// Return our message\\nreturn [{json: {message}}];\"},\"typeVersion\":1},{\"name\":\"Every Morning\",\"type\":\"n8n-nodes-base.cron\",\"position\":[380,420],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"Get Yesterdays Date\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[560,420],\"parameters\":{\"value\":\"={{Date()}}\",\"action\":\"calculate\",\"options\":{},\"duration\":1,\"operation\":\"subtract\"},\"typeVersion\":1},{\"name\":\"Get the RSS Feed\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[740,420],\"parameters\":{\"url\":\"https://n8n.io/blog/rss\"},\"typeVersion\":1},{\"name\":\"If it was published after yesterday\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,420],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{$item(0).$node[\\\"Get Yesterdays Date\\\"].json.data}}\",\"value2\":\"={{$json[\\\"pubDate\\\"]}}\",\"operation\":\"before\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Post to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1340,400],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"]}}\",\"channel\":\"#news\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Every Morning\":{\"main\":[[{\"node\":\"Get Yesterdays Date\",\"type\":\"main\",\"index\":0}]]},\"Get the RSS Feed\":{\"main\":[[{\"node\":\"If it was published after yesterday\",\"type\":\"main\",\"index\":0}]]},\"Build our message\":{\"main\":[[{\"node\":\"Post to Slack\",\"type\":\"main\",\"index\":0}]]},\"Get Yesterdays Date\":{\"main\":[[{\"node\":\"Get the RSS Feed\",\"type\":\"main\",\"index\":0}]]},\"If it was published after yesterday\":{\"main\":[[{\"node\":\"Build our message\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Message on website content changed in Telegram", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,440],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[680,440],\"webhookId\":\"e5f84b2f-2568-4f5b-a72b-ed54838c768b\",\"parameters\":{\"unit\":\"minutes\",\"amount\":5},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[880,440],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,440],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}} {{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}}\",\"value2\":\"=\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[320,440],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1320,520],\"parameters\":{\"text\":\"Something got changed\",\"chatId\":\"1234\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"4\",\"name\":\"n8n test bot\"}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1320,320],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Standup bot (1/4): Initialize", "output": "{\"id\":111,\"name\":\"Standup Bot - Initialize\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[880,300],\"parameters\":{\"fileName\":\"/home/node/.n8n/standup-bot-config.json\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[660,300],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"encoding\":\"utf8\",\"fileName\":\"standup-bot-config.json\"}},\"typeVersion\":1},{\"name\":\"Use Default Config\",\"type\":\"n8n-nodes-base.set\",\"position\":[440,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"config.slashCmdToken\",\"value\":\"xxxxx\"},{\"name\":\"config.mattermostBaseUrl\",\"value\":\"https://mattermost.yourdomain.tld\"},{\"name\":\"config.botUserToken\",\"value\":\"xxxxx\"},{\"name\":\"config.n8nWebhookUrl\",\"value\":\"https://n8n.yourdomain.tld/webhook/standup-bot/action/f6f9b174745fa4651f750c36957d674c\"},{\"name\":\"config.botUserId\",\"value\":\"xxxxx\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Move Binary Data\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Use Default Config\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Use Default Config\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Standup bot (2/4): Read Config", "output": "{\"id\":112,\"name\":\"Standup Bot - Read Config\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Config File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[420,300],\"parameters\":{\"filePath\":\"/home/node/.n8n/standup-bot-config.json\",\"dataPropertyName\":\"config\"},\"typeVersion\":1},{\"name\":\"Convert to JSON\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[600,300],\"parameters\":{\"options\":{\"encoding\":\"utf8\"},\"sourceKey\":\"config\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Read Config File\":{\"main\":[[{\"node\":\"Convert to JSON\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Config File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Standup bot (3/4): Override Config", "output": "{\"id\":113,\"name\":\"Standup Bot - Override Config\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[600,300],\"parameters\":{\"fileName\":\"/home/node/.n8n/standup-bot-config.json\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[420,300],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"encoding\":\"utf8\",\"fileName\":\"standup-bot-config.json\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Move Binary Data\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Standup bot (4/4): Worker", "output": "{\"id\":114,\"name\":\"Standup Bot - Worker\",\"nodes\":[{\"name\":\"publish report\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1840,1040],\"parameters\":{\"message\":\"={{$node[\\\"Prep Report\\\"].json[\\\"post\\\"]}}\",\"channelId\":\"={{$node[\\\"Prep Report\\\"].json[\\\"channel\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":{\"id\":\"2\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"get user data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1400,1040],\"parameters\":{\"url\":\"={{$node[\\\"Read Config 2\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/users/{{$node[\\\"Action from MM\\\"].json[\\\"body\\\"][\\\"user_id\\\"]}}\",\"options\":{},\"jsonParameters\":true,\"headerParametersJson\":\"={\\n\\\"Authorization\\\": \\\"Bearer {{$item(0).$node[\\\"Read Config 2\\\"].json[\\\"config\\\"][\\\"botUserToken\\\"]}}\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"open-standup-dialog?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1180,1260],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Action from MM\\\"].json[\\\"body\\\"][\\\"context\\\"][\\\"action\\\"]}}\",\"value2\":\"open-standup-dialog\"}]}},\"typeVersion\":1},{\"name\":\"Action from MM\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[520,820],\"webhookId\":\"6a28d86b-9f74-4825-9785-57e0d43b198f\",\"parameters\":{\"path\":\"standup-bot/action/f6f9b174745fa4651f750c36957d674c\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Slash Cmd from MM\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[520,600],\"webhookId\":\"72732516-1143-430f-8465-d193fe657311\",\"parameters\":{\"path\":\"standup-bot/slashCmd\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"config?\",\"type\":\"n8n-nodes-base.if\",\"position\":[740,600],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Slash Cmd from MM\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"config\"}]}},\"typeVersion\":1},{\"name\":\"open config dialog\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1360,580],\"parameters\":{\"url\":\"={{$node[\\\"Read Config 1\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/actions/dialogs/open\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={{$json}}\"},\"typeVersion\":1},{\"name\":\"Prep Config Dialog\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,580],\"parameters\":{\"functionCode\":\"const channelId =\\n $item(0).$node['Slash Cmd from MM'].json['body']['channel_id'];\\n\\nconst configuredStandups =\\n $item(0).$node['Read Config 1'].json['standups'] ?? [];\\n\\nlet standup = configuredStandups.find(\\n (standup) => standup.channelId == channelId\\n);\\n\\n// define default values:\\nif (!standup) {\\n standup = {\\n title: 'Team Standup',\\n time: '09:00',\\n days: [1, 2, 3, 4, 5],\\n questions: [\\n 'What have you accomplished since your last report?',\\n 'What do you want to accomplish until your next report?',\\n 'Is anything blocking your progress?',\\n ],\\n users: [],\\n };\\n}\\n\\nconst payload = {\\n trigger_id: $item(0).$node['Slash Cmd from MM'].json['body']['trigger_id'],\\n url: $item(0).$node['Read Config 1'].json['config']['n8nWebhookUrl'],\\n dialog: {\\n callback_id: 'standup-config',\\n title: 'Standup Configuration',\\n submit_label: 'Save',\\n notify_on_cancel: false,\\n state: JSON.stringify({ standupId: channelId }),\\n elements: [\\n {\\n display_name: 'Standup title',\\n name: 'title',\\n type: 'text',\\n placeholder: 'Team Standup',\\n default: standup.title,\\n optional: true,\\n help_text:\\n '💡 The standup can be deleted by setting its title to an empty string!',\\n },\\n {\\n display_name: 'Time',\\n name: 'time',\\n type: 'select',\\n default: standup.time,\\n options: [\\n {\\n text: '06:00',\\n value: '06:00',\\n },\\n {\\n text: '07:00',\\n value: '07:00',\\n },\\n {\\n text: '08:00',\\n value: '08:00',\\n },\\n {\\n text: '09:00',\\n value: '09:00',\\n },\\n {\\n text: '10:00',\\n value: '10:00',\\n },\\n {\\n text: '11:00',\\n value: '11:00',\\n },\\n {\\n text: '12:00',\\n value: '12:00',\\n },\\n {\\n text: '13:00',\\n value: '13:00',\\n },\\n {\\n text: '14:00',\\n value: '14:00',\\n },\\n {\\n text: '15:00',\\n value: '15:00',\\n },\\n {\\n text: '16:00',\\n value: '16:00',\\n },\\n {\\n text: '17:00',\\n value: '17:00',\\n },\\n ],\\n },\\n {\\n display_name: 'Days',\\n name: 'days',\\n type: 'text',\\n placeholder: '1,2,3,4,5',\\n help_text:\\n 'comma-separated; 0=Sun | 1=Mon | 2=Tue | 3=Wed | 4=Thu | 5=Fri | 6=Sat',\\n default: standup.days.join(','),\\n },\\n {\\n display_name: 'Questions',\\n name: 'questions',\\n type: 'textarea',\\n help_text: 'Max 5 questions, one question per line;',\\n default: standup.questions.join('\\\\n'),\\n },\\n {\\n display_name: 'Users',\\n name: 'users',\\n type: 'textarea',\\n help_text: 'One user per line',\\n default: standup.users.join('\\\\n'),\\n },\\n ],\\n },\\n};\\n\\nreturn [{ json: payload }];\\n\\n\"},\"typeVersion\":1},{\"name\":\"callback ID?\",\"type\":\"n8n-nodes-base.switch\",\"position\":[960,820],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"standup-config\"},{\"output\":1,\"value2\":\"standup-answers\"}]},\"value1\":\"={{$node[\\\"Action from MM\\\"].json[\\\"body\\\"][\\\"callback_id\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"standup-config\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1180,820],\"parameters\":{},\"typeVersion\":1},{\"name\":\"standup-answers\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1180,1040],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Prep Config Override\",\"type\":\"n8n-nodes-base.function\",\"position\":[1400,820],\"parameters\":{\"functionCode\":\"const mattermostInput = $item(0).$node['Action from MM'].json['body'];\\nconst config = $item(0).$node['Read Config 2'].json;\\n\\n// ensure there is a \\\"standups\\\" array:\\nconfig['standups'] = config['standups'] ?? [];\\n\\n// remove the standup from the list:\\nconfig['standups'] = config['standups'].filter(\\n (standup) => standup.channelId != mattermostInput.channel_id\\n);\\n\\nconst textToArray = (text, separator) => {\\n return text\\n .split(separator)\\n .map((e) => e.trim())\\n .filter((e) => e.length > 0);\\n};\\n\\n// a standup can be deleted by updating its title to \\\"\\\"\\nif (mattermostInput.submission.title.length > 0) {\\n const newStandup = {\\n channelId: mattermostInput.channel_id,\\n title: mattermostInput.submission.title,\\n time: mattermostInput.submission.time,\\n days: textToArray(mattermostInput.submission.days, ',').map((e) =>\\n parseInt(e)\\n ),\\n users: textToArray(mattermostInput.submission.users, '\\\\n'),\\n questions: textToArray(mattermostInput.submission.questions, '\\\\n'),\\n };\\n\\n config['standups'].push(newStandup);\\n}\\n\\nreturn [{ json: config }];\\n\\n\"},\"typeVersion\":1},{\"name\":\"Override Config\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[1620,820],\"parameters\":{\"workflowId\":\"1005\"},\"typeVersion\":1},{\"name\":\"Read Config 1\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[960,580],\"parameters\":{\"workflowId\":\"1004\"},\"typeVersion\":1},{\"name\":\"Read Config 2\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[740,820],\"parameters\":{\"workflowId\":\"1004\"},\"typeVersion\":1},{\"name\":\"confirm success\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1840,820],\"parameters\":{\"userId\":\"={{$node[\\\"Action from MM\\\"].json[\\\"body\\\"][\\\"user_id\\\"]}}\",\"message\":\"new standup config was saved successfully\",\"channelId\":\"={{$node[\\\"Action from MM\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"operation\":\"postEphemeral\"},\"credentials\":{\"mattermostApi\":{\"id\":\"2\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Read Config 3\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[740,380],\"parameters\":{\"workflowId\":\"1004\"},\"typeVersion\":1},{\"name\":\"Filter Due Standups\",\"type\":\"n8n-nodes-base.function\",\"position\":[960,380],\"parameters\":{\"functionCode\":\"const config = $item(0).$node['Read Config 3'].json;\\n\\n// ensure there is a \\\"standups\\\" array:\\nconfig['standups'] = config['standups'] ?? [];\\n\\nconst now = new Date();\\nconst duePattern = `${now.getDay()}_${now\\n .getHours()\\n .toString()\\n .padStart(2, '0')}:00`; // e.g. 1_13:00 => Monday 1 p.m.\\n \\nconsole.log(duePattern);\\n\\n// filter standups that are due now:\\nconst dueStandups = config.standups.filter((standup) =>\\n //true\\n standup.days.map((day) => `${day}_${standup.time}`).includes(duePattern)\\n);\\n\\nreturn dueStandups.map((standup) => ({\\n json: standup,\\n}));\\n\\n\"},\"typeVersion\":1},{\"name\":\"Prep Request Standup\",\"type\":\"n8n-nodes-base.function\",\"position\":[1180,380],\"parameters\":{\"functionCode\":\"const reminders = items.reduce((prev, curr) => {\\n return prev.concat(\\n curr.json.users.map((user) => ({\\n channelId: curr.json.channelId,\\n title: curr.json.title,\\n user: user,\\n }))\\n );\\n}, []);\\n\\nreturn reminders.map((reminder) => ({\\n json: reminder,\\n}));\\n\"},\"typeVersion\":1},{\"name\":\"Create Channel\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1620,380],\"parameters\":{\"url\":\"={{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/channels/direct\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"=[\\\"{{$node[\\\"Get User\\\"].json[\\\"id\\\"]}}\\\", \\\"{{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"botUserId\\\"]}}\\\"]\",\"headerParametersJson\":\"={\\n \\\"Authorization\\\": \\\"Bearer {{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"botUserToken\\\"]}}\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"Remind Users\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2060,380],\"parameters\":{\"url\":\"={{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/posts\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={{$json}}\",\"headerParametersJson\":\"={\\n\\\"Authorization\\\": \\\"Bearer {{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"botUserToken\\\"]}}\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"Get User\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1400,380],\"parameters\":{\"url\":\"={{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/users/username/{{$node[\\\"Prep Request Standup\\\"].json[\\\"user\\\"]}}\",\"options\":{},\"jsonParameters\":true,\"headerParametersJson\":\"={\\n \\\"Authorization\\\": \\\"Bearer {{$item(0).$node[\\\"Read Config 3\\\"].json[\\\"config\\\"][\\\"botUserToken\\\"]}}\\\"\\n}\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Prep Reminder\",\"type\":\"n8n-nodes-base.function\",\"position\":[1840,380],\"parameters\":{\"functionCode\":\"const webhookUrl =\\n $item(0).$node['Read Config 3'].json['config']['n8nWebhookUrl']; // e.g. https://xyz.app.n8n.cloud/webhook-test/standup-bot/action/top-secret-api-key\\n\\nconst botUserToken =\\n $item(0).$node['Read Config 3'].json['config']['botUserToken'];\\n\\nlet itemIndex = 0;\\n\\nfor (item of items) {\\n const directChannelId = item.json.id;\\n\\n const payload = {\\n channel_id: directChannelId,\\n props: {\\n attachments: [\\n {\\n pretext: \\\"Hi there! It's time for standup!\\\",\\n text: `Please provide your input for: **${\\n $item(itemIndex).$node['Prep Request Standup'].json['title']\\n }**`,\\n actions: [\\n {\\n id: webhookUrl.includes('test') ? 'webhook-test' : 'webhook',\\n name: 'Provide Update',\\n integration: {\\n url: webhookUrl,\\n context: {\\n action: 'open-standup-dialog',\\n secret: botUserToken, // not ideal but good enough for now...\\n standupId:\\n $item(itemIndex).$node['Prep Request Standup'].json[\\n 'channelId'\\n ],\\n },\\n },\\n },\\n ],\\n },\\n ],\\n },\\n };\\n\\n item.json = payload;\\n\\n itemIndex++;\\n}\\n\\nreturn items;\\n\\n\"},\"typeVersion\":1},{\"name\":\"Prep Standup Dialog\",\"type\":\"n8n-nodes-base.function\",\"position\":[1400,1240],\"parameters\":{\"functionCode\":\"const standupId =\\n $item(0).$node['Action from MM'].json['body']['context']['standupId'];\\n\\nconst postId = $item(0).$node['Action from MM'].json['body']['post_id'];\\n\\nconst configuredStandups =\\n $item(0).$node['Read Config 2'].json['standups'] ?? [];\\n\\nlet standup = configuredStandups.find(\\n (standup) => (standup.channelId == standupId)\\n);\\n\\nconst renderQuestions = (questions) => {\\n let questionId = 1;\\n\\n return questions.map((question) => ({\\n display_name: question,\\n name: `q${questionId++}`,\\n type: 'textarea',\\n }));\\n};\\n\\nconst payload = {\\n trigger_id: $item(0).$node['Action from MM'].json['body']['trigger_id'],\\n url: $item(0).$node['Read Config 2'].json['config']['n8nWebhookUrl'],\\n dialog: {\\n callback_id: 'standup-answers',\\n title: `Report for: ${standup.title}`,\\n submit_label: 'Submit',\\n notify_on_cancel: false,\\n state: JSON.stringify({ standupId, reminderPostId: postId }),\\n elements: renderQuestions(standup.questions),\\n },\\n};\\n\\nreturn [{ json: payload }];\\n\"},\"typeVersion\":1},{\"name\":\"open standup dialog\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1600,1240],\"parameters\":{\"url\":\"={{$node[\\\"Read Config 2\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/actions/dialogs/open\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={{$json}}\"},\"typeVersion\":1},{\"name\":\"Prep Report\",\"type\":\"n8n-nodes-base.function\",\"position\":[1620,1040],\"parameters\":{\"functionCode\":\"const { standupId, reminderPostId } = JSON.parse(\\n $item(0).$node['Action from MM'].json['body']['state']\\n);\\nconst submission = $item(0).$node['Action from MM'].json['body']['submission'];\\n\\nconst configuredStandups = $item(0).$node['Read Config 2'].json['standups'];\\n\\nconst standup = configuredStandups.find(\\n (standup) => standup.channelId == standupId\\n);\\n\\nconst emptyAnswers = [\\n '-',\\n '/',\\n ' ',\\n 'x',\\n 'n/a',\\n 'nope',\\n 'nopes',\\n 'no',\\n 'none',\\n 'no.',\\n 'nothing',\\n];\\n\\nfunction capitalize(text) {\\n return text.charAt(0).toUpperCase() + text.slice(1);\\n}\\n\\nconst renderPost = (submission, standup) => {\\n let postText = `### ${capitalize(\\n $item(0).$node['get user data'].json['username']\\n )}\\\\n`;\\n\\n let questionIndex = 0;\\n\\n postText += standup.questions\\n .map((question) => {\\n questionIndex++;\\n\\n if (\\n !submission[`q${questionIndex}`] ||\\n emptyAnswers.includes(submission[`q${questionIndex}`].toLowerCase())\\n ) {\\n return '';\\n }\\n\\n return `#### ${question}\\\\n${submission[`q${questionIndex}`]}`;\\n })\\n .join('\\\\n');\\n\\n return postText;\\n};\\n\\nreturn [\\n {\\n json: {\\n post: renderPost(submission, standup),\\n channel: standupId,\\n reminderPostId,\\n standupTitle: standup.title,\\n },\\n },\\n];\\n\\n\"},\"typeVersion\":1},{\"name\":\"Delete ReminderPost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[2280,1040],\"parameters\":{\"postId\":\"={{$node[\\\"Prep Report\\\"].json[\\\"reminderPostId\\\"]}}\",\"operation\":\"delete\"},\"credentials\":{\"mattermostApi\":{\"id\":\"2\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Update Post\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2060,1040],\"parameters\":{\"url\":\"={{$node[\\\"Read Config 2\\\"].json[\\\"config\\\"][\\\"mattermostBaseUrl\\\"]}}/api/v4/posts/{{$node[\\\"Prep Report\\\"].json[\\\"reminderPostId\\\"]}}\",\"options\":{},\"requestMethod\":\"PUT\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"id\\\":\\\"{{$node[\\\"Prep Report\\\"].json[\\\"reminderPostId\\\"]}}\\\",\\n\\\"message\\\": \\\"Thank you for providing your report for {{$node[\\\"Prep Report\\\"].json[\\\"standupTitle\\\"]}}\\\"\\n}\",\"headerParametersJson\":\"={\\n\\\"Content-Type\\\":\\\"application/json\\\",\\n\\\"Authorization\\\": \\\"Bearer {{$item(0).$node[\\\"Read Config 2\\\"].json[\\\"config\\\"][\\\"botUserToken\\\"]}}\\\"\\n}\"},\"typeVersion\":1},{\"name\":\"Every hour\",\"type\":\"n8n-nodes-base.cron\",\"position\":[520,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"0 0 6-12 * * 1-5\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"config?\":{\"main\":[[{\"node\":\"Read Config 1\",\"type\":\"main\",\"index\":0}]]},\"Get User\":{\"main\":[[{\"node\":\"Create Channel\",\"type\":\"main\",\"index\":0}]]},\"Every hour\":{\"main\":[[{\"node\":\"Read Config 3\",\"type\":\"main\",\"index\":0}]]},\"Prep Report\":{\"main\":[[{\"node\":\"publish report\",\"type\":\"main\",\"index\":0}]]},\"callback ID?\":{\"main\":[[{\"node\":\"standup-config\",\"type\":\"main\",\"index\":0}],[{\"node\":\"standup-answers\",\"type\":\"main\",\"index\":0}],[],[{\"node\":\"open-standup-dialog?\",\"type\":\"main\",\"index\":0}]]},\"Prep Reminder\":{\"main\":[[{\"node\":\"Remind Users\",\"type\":\"main\",\"index\":0}]]},\"Read Config 1\":{\"main\":[[{\"node\":\"Prep Config Dialog\",\"type\":\"main\",\"index\":0}]]},\"Read Config 2\":{\"main\":[[{\"node\":\"callback ID?\",\"type\":\"main\",\"index\":0}]]},\"Read Config 3\":{\"main\":[[{\"node\":\"Filter Due Standups\",\"type\":\"main\",\"index\":0}]]},\"get user data\":{\"main\":[[{\"node\":\"Prep Report\",\"type\":\"main\",\"index\":0}]]},\"Action from MM\":{\"main\":[[{\"node\":\"Read Config 2\",\"type\":\"main\",\"index\":0}]]},\"Create Channel\":{\"main\":[[{\"node\":\"Prep Reminder\",\"type\":\"main\",\"index\":0}]]},\"publish report\":{\"main\":[[{\"node\":\"Update Post\",\"type\":\"main\",\"index\":0}]]},\"standup-config\":{\"main\":[[{\"node\":\"Prep Config Override\",\"type\":\"main\",\"index\":0}]]},\"Override Config\":{\"main\":[[{\"node\":\"confirm success\",\"type\":\"main\",\"index\":0}]]},\"standup-answers\":{\"main\":[[{\"node\":\"get user data\",\"type\":\"main\",\"index\":0}]]},\"Slash Cmd from MM\":{\"main\":[[{\"node\":\"config?\",\"type\":\"main\",\"index\":0}]]},\"Prep Config Dialog\":{\"main\":[[{\"node\":\"open config dialog\",\"type\":\"main\",\"index\":0}]]},\"Filter Due Standups\":{\"main\":[[{\"node\":\"Prep Request Standup\",\"type\":\"main\",\"index\":0}]]},\"Prep Standup Dialog\":{\"main\":[[{\"node\":\"open standup dialog\",\"type\":\"main\",\"index\":0}]]},\"Prep Config Override\":{\"main\":[[{\"node\":\"Override Config\",\"type\":\"main\",\"index\":0}]]},\"Prep Request Standup\":{\"main\":[[{\"node\":\"Get User\",\"type\":\"main\",\"index\":0}]]},\"open-standup-dialog?\":{\"main\":[[{\"node\":\"Prep Standup Dialog\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Coda and Sheets test", "output": "{\"id\":\"102\",\"name\":\"Insert data into a new row for a table in Coda\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Coda\",\"type\":\"n8n-nodes-base.coda\",\"position\":[650,300],\"parameters\":{\"docId\":\"\",\"options\":{},\"tableId\":\"\"},\"credentials\":{\"codaApi\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Column 1\",\"value\":\"This is column 1 data\"},{\"name\":\"Column 2\",\"value\":\"This is column 2 data\"},{\"name\":\"Column 3\",\"value\":\"This is column 3 data\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Coda\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "waterflow_n8n_datahub", "output": "{\"id\":1,\"name\":\"My workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[300,80],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"python script running through n8n\\n\",\"position\":[680,280],\"parameters\":{\"command\":\"python E:/oneWaterX/cjsw_swjApp/swjapp/hnsw_app.py\",\"executeOnce\":false},\"executeOnce\":false,\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"notes\":\"定时任务\",\"position\":[300,280],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\",\"minute\":5}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"cjsw-swapp\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"python script running through n8n\",\"position\":[900,280],\"parameters\":{\"command\":\"python E:/oneWaterX/cjsw_swjApp/swjapp/swj_app.py\"},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1120,280],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]},\"cjsw-swapp\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Execute Command\":{\"main\":[[{\"node\":\"cjsw-swapp\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Archive empty pages in Notion database", "output": "{\"id\":115,\"name\":\"Archive empty pages in Notion Database\",\"nodes\":[{\"name\":\"Get All Databases\",\"type\":\"n8n-nodes-base.notion\",\"position\":[240,300],\"parameters\":{\"resource\":\"database\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"notionApi\":{\"id\":\"36\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"Get All Database Pages\",\"type\":\"n8n-nodes-base.notion\",\"position\":[420,300],\"parameters\":{\"simple\":false,\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"={{$json[\\\"id\\\"]}}\"},\"credentials\":{\"notionApi\":{\"id\":\"36\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"Get Page Blocks\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1180,280],\"parameters\":{\"blockId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"block\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"notionApi\":{\"id\":\"36\",\"name\":\"Notion account\"}},\"typeVersion\":2,\"alwaysOutputData\":true},{\"name\":\"Process Blocks\",\"type\":\"n8n-nodes-base.function\",\"position\":[1360,280],\"parameters\":{\"functionCode\":\"let returnData = {\\n json: {\\n toDelete: false,\\n pageID: $node[\\\"SplitInBatches\\\"].json[\\\"id\\\"],\\n }\\n};\\n\\nif (!items[0].json.id) {\\n returnData.json.toDelete = true;\\n return [returnData];\\n}\\n\\nfor (item of items) {\\n \\n let toDelete = false;\\n\\n let type = item.json.type;\\n let data = item.json[type];\\n\\n if (!toDelete) {\\n if (data.text.length == 0) {\\n toDelete = true;\\n } else {\\n returnData.json.toDelete = false;\\n break;\\n }\\n }\\n\\n returnData.json.toDelete = toDelete;\\n}\\n\\nreturn [returnData];\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1000,280],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Check for empty properties\",\"type\":\"n8n-nodes-base.function\",\"position\":[600,300],\"parameters\":{\"functionCode\":\"for (item of items) {\\n\\n let toDelete = false;\\n for (const key in item.json.properties) {\\n let type = item.json.properties[key].type;\\n let data = item.json.properties[key][type];\\n \\n if (!data || data.length == 0) {\\n toDelete = true;\\n } else {\\n toDelete = false;\\n break;\\n }\\n }\\n\\n item.json.toDelete = toDelete;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Archive Page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1760,260],\"parameters\":{\"pageId\":\"={{$json[\\\"pageID\\\"]}}\",\"operation\":\"archive\"},\"credentials\":{\"notionApi\":{\"id\":\"36\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"If toDelete\",\"type\":\"n8n-nodes-base.if\",\"position\":[1560,280],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"toDelete\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"If Empty Properties\",\"type\":\"n8n-nodes-base.if\",\"position\":[760,300],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"toDelete\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Every day @ 2am\",\"type\":\"n8n-nodes-base.cron\",\"position\":[80,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":2}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"If toDelete\":{\"main\":[[{\"node\":\"Archive Page\",\"type\":\"main\",\"index\":0}]]},\"Process Blocks\":{\"main\":[[{\"node\":\"If toDelete\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Get Page Blocks\",\"type\":\"main\",\"index\":0}]]},\"Every day @ 2am\":{\"main\":[[{\"node\":\"Get All Databases\",\"type\":\"main\",\"index\":0}]]},\"Get Page Blocks\":{\"main\":[[{\"node\":\"Process Blocks\",\"type\":\"main\",\"index\":0}]]},\"Get All Databases\":{\"main\":[[{\"node\":\"Get All Database Pages\",\"type\":\"main\",\"index\":0}]]},\"If Empty Properties\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Get All Database Pages\":{\"main\":[[{\"node\":\"Check for empty properties\",\"type\":\"main\",\"index\":0}]]},\"Check for empty properties\":{\"main\":[[{\"node\":\"If Empty Properties\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send SMS from Twilio from HubSpot when the contact property is changed", "output": "{\"name\":\"A workflow with the Twilio node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[430,300],\"parameters\":{},\"credentials\":{\"twilioApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "rrat (edit site criticalopsgame)", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,440],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[680,440],\"webhookId\":\"e5f84b2f-2568-4f5b-a72b-ed54838c768b\",\"parameters\":{\"unit\":\"minutes\",\"amount\":5},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[880,440],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,440],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}} {{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}}\",\"value2\":\"=\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[320,440],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1320,520],\"parameters\":{\"text\":\"Something got changed\",\"chatId\":\"1234\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"4\",\"name\":\"n8n test bot\"}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1320,320],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "jjjjsdafafsadfsafsd", "output": "{\"name\":\"A workflow with the Twilio node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[430,300],\"parameters\":{},\"credentials\":{\"twilioApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Mass messaging using Sms77", "output": "{\"id\":17,\"name\":\"Wish my friends\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-300,40],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Contacts\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[-60,40],\"parameters\":{\"fields\":[\"phoneNumbers\",\"names\"],\"options\":{},\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleContactsOAuth2Api\":{\"id\":\"19\",\"name\":\"Google Contacts account\"}},\"typeVersion\":1},{\"name\":\"Sms77\",\"type\":\"n8n-nodes-base.sms77\",\"position\":[580,20],\"parameters\":{\"to\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"phoneNumbers\\\"][\\\"undefined\\\"][0]}}\",\"from\":\"+491771783130\",\"message\":\"Hey Pradyumna , This is kaushik\",\"options\":{}},\"credentials\":{\"sms77Api\":{\"id\":\"20\",\"name\":\"Sms77 account\"}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[160,40],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"names\\\"][\\\"displayName\\\"].toLowerCase()}}\",\"value2\":\"germany\",\"operation\":\"notContains\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"All Contacts display\",\"type\":\"n8n-nodes-base.set\",\"position\":[100,-140],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Mobile Number\",\"value\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"phoneNumbers\\\"][\\\"undefined\\\"][0]}}\"}],\"string\":[{\"name\":\"Recipient Name\",\"value\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"names\\\"][\\\"displayName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Recipients\",\"type\":\"n8n-nodes-base.set\",\"position\":[380,20],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Mobile Number\",\"value\":\"={{$node[\\\"IF\\\"].json[\\\"phoneNumbers\\\"][\\\"undefined\\\"][0]}}\"}],\"string\":[{\"name\":\"Recipient Name\",\"value\":\"={{$node[\\\"IF\\\"].json[\\\"names\\\"][\\\"displayName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Recipients\",\"type\":\"main\",\"index\":0}]]},\"Recipients\":{\"main\":[[{\"node\":\"Sms77\",\"type\":\"main\",\"index\":0}]]},\"Google Contacts\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0},{\"node\":\"All Contacts display\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Contacts\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Creates a time tracking project from Syncro to Clockify", "output": "{\"id\":\"2\",\"name\":\"Syncro to Clockify\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[490,300],\"webhookId\":\"43d196b0-63c4-440a-aaf6-9d893907cf3c\",\"parameters\":{\"path\":\"43d196b0-63c4-440a-aaf6-9d893907cf3c\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Clockify\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[690,300],\"parameters\":{\"name\":\"=Ticket {{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"number\\\"]}} - {{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"customer_business_then_name\\\"]}} [{{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}]\",\"workspaceId\":\"xxx\",\"additionalFields\":{}},\"credentials\":{\"clockifyApi\":\"Clockify\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Clockify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync timer entries from Clockify to Syncro", "output": "{\"id\":\"3\",\"name\":\"Clockify to Syncro\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[280,350],\"webhookId\":\"82b654d7-aeb2-4cc1-97a8-0ebd1a729202\",\"parameters\":{\"path\":\"82b654d7-aeb2-4cc1-97a8-0ebd1a729202\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1830,350],\"parameters\":{\"range\":\"A:B\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"xxx\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"Google\"},\"typeVersion\":1},{\"name\":\"ForGoogle\",\"type\":\"n8n-nodes-base.set\",\"position\":[1650,350],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Syncro\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Clockify\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"ForSyncro\",\"type\":\"n8n-nodes-base.set\",\"position\":[730,350],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"body\\\"][\\\"project\\\"][\\\"name\\\"].match(/\\\\[(\\\\d+)]/)[1] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"FindMatch\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1130,350],\"parameters\":{\"range\":\"A:B\",\"options\":{\"valueRenderMode\":\"UNFORMATTED_VALUE\",\"returnAllMatches\":true},\"sheetId\":\"xxx\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"lookupColumn\":\"=Clockify\"},\"credentials\":{\"googleApi\":\"Google\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1300,350],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{!!Object.keys($node[\\\"FindMatch\\\"].data).length}}\",\"value2\":true}]}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"NewSyncroTimer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1490,350],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/tickets/{{$node[\\\"ForSyncro\\\"].json[\\\"id\\\"]}}/timer_entry\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"start_at\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}}\"},{\"name\":\"end_at\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\"},{\"name\":\"notes\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"description\\\"]}}\"},{\"name\":\"user_id\",\"value\":\"={{$node[\\\"MatchTechnician\\\"].json[\\\"id\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"UpdateSyncroTimer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1490,580],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/tickets/{{$node[\\\"ForSyncro\\\"].json[\\\"id\\\"]}}/update_timer_entry\",\"options\":{\"followRedirect\":true},\"requestMethod\":\"PUT\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"timer_entry_id\",\"value\":\"={{$node[\\\"IF\\\"].json[\\\"Syncro\\\"]}}\"},{\"name\":\"start_time\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}}\"},{\"name\":\"end_time\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\"},{\"name\":\"notes\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"description\\\"]}}\"},{\"name\":\"user_id\",\"value\":\"={{$node[\\\"MatchTechnician\\\"].json[\\\"id\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"EnvVariables\",\"type\":\"n8n-nodes-base.set\",\"position\":[580,350],\"parameters\":{\"values\":{\"string\":[{\"name\":\"syncro_baseurl\",\"value\":\"https://subdomain.syncromsp.com\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"SetTechnicians\",\"type\":\"n8n-nodes-base.set\",\"position\":[870,350],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Tech 1\",\"value\":\"1234\"},{\"name\":\"Tech 2\",\"value\":\"5678\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"MatchTechnician\",\"type\":\"n8n-nodes-base.function\",\"position\":[1000,350],\"parameters\":{\"functionCode\":\"\\nconst results = [];\\n\\nconst user = $node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"user\\\"];\\n\\nconst persons = items[0].json\\n\\nfor (key of Object.keys(persons)) {\\n if (key === user.name) {\\n results.push({ json: { id: persons[key], name: key } })\\n }\\n}\\n\\nreturn results;\"},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[420,350],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"project\\\"][\\\"name\\\"]}}\",\"value2\":\"Ticket\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[480,520],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"UpdateSyncroTimer\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NewSyncroTimer\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"EnvVariables\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"FindMatch\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"ForGoogle\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"ForSyncro\":{\"main\":[[{\"node\":\"SetTechnicians\",\"type\":\"main\",\"index\":0}]]},\"EnvVariables\":{\"main\":[[{\"node\":\"ForSyncro\",\"type\":\"main\",\"index\":0}]]},\"NewSyncroTimer\":{\"main\":[[{\"node\":\"ForGoogle\",\"type\":\"main\",\"index\":0}]]},\"SetTechnicians\":{\"main\":[[{\"node\":\"MatchTechnician\",\"type\":\"main\",\"index\":0}]]},\"MatchTechnician\":{\"main\":[[{\"node\":\"FindMatch\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update specific post-call information on Syncro", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"1e603735-dd86-4691-8ece-c81fff396161\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[370,250],\"webhookId\":\"484b94c9-8285-4ec9-aa52-f5a41eb84d1a\",\"parameters\":{\"path\":\"timersyncro\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"id\":\"2b243a13-a258-4198-9cad-057c6117b50a\",\"name\":\"EnvVariables\",\"type\":\"n8n-nodes-base.set\",\"position\":[570,250],\"parameters\":{\"values\":{\"string\":[{\"name\":\"syncro_baseurl\",\"value\":\"https://subdomain.syncromsp.com\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"0108d71b-ae26-4e64-9a52-9b6de15c4fbd\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[750,250],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"xxx\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"call_id\\\"]}}\",\"lookupColumn\":\"Call\"},\"credentials\":{\"googleApi\":{\"id\":null,\"name\":\"Google\"}},\"typeVersion\":1},{\"id\":\"6747ff1c-f7f0-48a2-9aa2-fd1c72401233\",\"name\":\"ConfirmMatch\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,250],\"parameters\":{\"conditions\":{\"number\":[],\"string\":[{\"value1\":\"={{$node[\\\"Google Sheets\\\"].json[\\\"Ticket\\\"]}}\",\"operation\":\"isEmpty\"}],\"boolean\":[]}},\"typeVersion\":1},{\"id\":\"207192d8-f8f4-4f23-af61-91e254cbeee9\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1060,100],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7cd7ba20-951d-4654-82b5-2e8081774723\",\"name\":\"AddTimertoSyncro\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1080,420],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}/api/v1/tickets/{{$node[\\\"Google Sheets\\\"].json[\\\"Ticket\\\"]}}/timer_entry\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"authentication\":\"genericCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"start_at\",\"value\":\"={{new Date(parseInt($node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"date_started\\\"])).toISOString()}}\"},{\"name\":\"end_at\",\"value\":\"={{new Date(parseInt($node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"date_ended\\\"])).toISOString()}}\"},{\"name\":\"notes\",\"value\":\"=Phone call from {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"contact\\\"][\\\"name\\\"]}} ({{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"contact\\\"][\\\"phone\\\"]}}).\"},{\"name\":\"user_id\",\"value\":\"24223\"}]},\"genericAuthType\":\"httpHeaderAuth\"},\"typeVersion\":3}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"EnvVariables\",\"type\":\"main\",\"index\":0}]]},\"ConfirmMatch\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"AddTimertoSyncro\",\"type\":\"main\",\"index\":0}]]},\"EnvVariables\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"ConfirmMatch\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Push Dialpad call information to Syncro", "output": "{\"id\":\"1\",\"name\":\"Dialpad to Syncro\",\"nodes\":[{\"name\":\"GetCustomer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[350,180],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/search?query={{$json[\\\"body\\\"][\\\"external_number\\\"].replace(/\\\\+/g, '').replace(/^[01]/, '')}}\",\"options\":{},\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-60,180],\"webhookId\":\"ec452bb5-58d9-4e0d-9cd2-c6df1c2cd957\",\"parameters\":{\"path\":\"moezdialpad\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"CreateTicket\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1190,110],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/tickets\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"customer_id\",\"value\":\"={{$node[\\\"Contacts\\\"].json[\\\"contacts\\\"][0][\\\"customer_id\\\"]}}\"},{\"name\":\"subject\",\"value\":\"=Phone call from {{$node[\\\"Function\\\"].json[\\\"contacts\\\"][0][\\\"firstname\\\"]}} {{$node[\\\"Function\\\"].json[\\\"contacts\\\"][0][\\\"lastname\\\"]}} ({{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"contact\\\"][\\\"phone\\\"]}})\"},{\"name\":\"status\",\"value\":\"In Progress\"},{\"name\":\"contact_id\",\"value\":\"={{$node[\\\"Contacts\\\"].json[\\\"contacts\\\"][0][\\\"id\\\"]}}\"},{\"name\":\"user_id\",\"value\":\"={{$node[\\\"EnvVariables\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"GetTicket\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[860,40],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/tickets?contact_id={{$json[\\\"contacts\\\"][0][\\\"id\\\"]}}&status=Not%20Closed\",\"options\":{},\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"IFMoreThanOne\",\"type\":\"n8n-nodes-base.if\",\"position\":[1000,40],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"GetTicket\\\"].json[\\\"tickets\\\"].length}}\",\"value2\":1,\"operation\":\"equal\"}],\"boolean\":[{\"value1\":\"={{$json[\\\"tickets\\\"]}}\",\"value2\":true}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1480,-40],\"parameters\":{\"range\":\"A:B\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"xxx\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"Google\"},\"typeVersion\":1},{\"name\":\"ForGoogle\",\"type\":\"n8n-nodes-base.set\",\"position\":[1340,-40],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Call\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"call_id\\\"]}}\"},{\"name\":\"Ticket\",\"value\":\"={{$node[\\\"GetTicket\\\"].json[\\\"tickets\\\"][0][\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"UpdateTicket\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1190,-40],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/tickets/{{$json[\\\"tickets\\\"][0][\\\"id\\\"]}}/comment\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"subject\",\"value\":\"=Phone call from {{$node[\\\"GetCustomer\\\"].json[\\\"results\\\"][0][\\\"table\\\"][\\\"_source\\\"][\\\"table\\\"][\\\"firstname\\\"]}} {{$node[\\\"GetCustomer\\\"].json[\\\"results\\\"][0][\\\"table\\\"][\\\"_source\\\"][\\\"table\\\"][\\\"lastname\\\"]}} ({{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"contact\\\"][\\\"phone\\\"]}})\"},{\"name\":\"body\",\"value\":\"={{$node[\\\"GetCustomer\\\"].json[\\\"results\\\"][0][\\\"table\\\"][\\\"_source\\\"][\\\"table\\\"][\\\"firstname\\\"]}} {{$node[\\\"GetCustomer\\\"].json[\\\"results\\\"][0][\\\"table\\\"][\\\"_source\\\"][\\\"table\\\"][\\\"lastname\\\"]}} called.\"},{\"name\":\"hidden\",\"value\":\"true\"},{\"name\":\"user_id\",\"value\":\"={{$node[\\\"EnvVariables\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"ForGoogle1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1340,110],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Call\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"call_id\\\"]}}\"},{\"name\":\"Ticket\",\"value\":\"={{$node[\\\"CreateTicket\\\"].json[\\\"ticket\\\"][\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1480,110],\"parameters\":{\"range\":\"A:B\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"xxx\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"Google\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[830,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Contacts\",\"type\":\"n8n-nodes-base.function\",\"position\":[510,180],\"parameters\":{\"functionCode\":\"const { json: { results } } = items[0];\\n\\nconst getData = (results, type) => results.filter(r => r.table._index === type).map(x => ({\\n id: x.table._id,\\n firstname: x.table._source.table.firstname,\\n lastname: x.table._source.table.lastname,\\n customer_id: x.table._source.table.customer_id,\\n email: x.table._source.table.email,\\n business_name: x.table._source.table.business_name,\\n phones: x.table._source.table.phones\\n }));\\n \\nreturn [ { json: { contacts: getData(results, 'contacts') } } ];\\n\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"IFContacts\",\"type\":\"n8n-nodes-base.if\",\"position\":[670,180],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Contacts\\\"].json[\\\"contacts\\\"].length}}\",\"value2\":1,\"operation\":\"equal\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Customers\",\"type\":\"n8n-nodes-base.function\",\"position\":[510,370],\"parameters\":{\"functionCode\":\"const { json: { results } } = items[0];\\n\\nconst getData = (results, type) => results.filter(r => r.table._index === type).map(x => ({\\n id: x.table._id,\\n firstname: x.table._source.table.firstname,\\n lastname: x.table._source.table.lastname,\\n customer_id: x.table._source.table.customer_id,\\n email: x.table._source.table.email,\\n business_name: x.table._source.table.business_name,\\n phones: x.table._source.table.phones\\n }));\\n \\nreturn [ { json: { customers: getData(results, 'customers') } } ];\\n\"},\"typeVersion\":1},{\"name\":\"IFCustomers\",\"type\":\"n8n-nodes-base.if\",\"position\":[670,370],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Customers\\\"].json[\\\"customers\\\"].length}}\",\"value2\":1,\"operation\":\"equal\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"NoOp1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,520],\"parameters\":{},\"typeVersion\":1},{\"name\":\"CreateTicketForCustomer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[860,360],\"parameters\":{\"url\":\"={{$node[\\\"EnvVariables\\\"].json[\\\"syncro_baseurl\\\"]}}/api/v1/tickets\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"customer_id\",\"value\":\"={{$node[\\\"Customers\\\"].json[\\\"customers\\\"][0][\\\"id\\\"]}}\"},{\"name\":\"subject\",\"value\":\"=Phone call from {{$node[\\\"Customers\\\"].json[\\\"customers\\\"][0][\\\"business_name\\\"]}} ({{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"contact\\\"][\\\"phone\\\"]}})\"},{\"name\":\"status\",\"value\":\"In Progress\"},{\"name\":\"user_id\",\"value\":\"={{$node[\\\"EnvVariables\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":\"Syncro\"},\"typeVersion\":1},{\"name\":\"ForGoogle2\",\"type\":\"n8n-nodes-base.set\",\"position\":[1040,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Call\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"call_id\\\"]}}\"},{\"name\":\"Ticket\",\"value\":\"={{$node[\\\"CreateTicketForCustomer\\\"].json[\\\"ticket\\\"][\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Google Sheets2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1210,360],\"parameters\":{\"range\":\"A:B\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"xxx\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"Google\"},\"typeVersion\":1},{\"name\":\"EnvVariables\",\"type\":\"n8n-nodes-base.set\",\"position\":[210,180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"syncro_baseurl\",\"value\":\"https://subdomain.syncromsp.com\"},{\"name\":\"user_id\",\"value\":\"1234\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[70,180],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"direction\\\"]}}\",\"value2\":\"inbound\"}]}},\"typeVersion\":1},{\"name\":\"NoOp2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[70,370],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"EnvVariables\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp2\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Contacts\":{\"main\":[[{\"node\":\"IFContacts\",\"type\":\"main\",\"index\":0}]]},\"Customers\":{\"main\":[[{\"node\":\"IFCustomers\",\"type\":\"main\",\"index\":0}]]},\"ForGoogle\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"GetTicket\":{\"main\":[[{\"node\":\"IFMoreThanOne\",\"type\":\"main\",\"index\":0}]]},\"ForGoogle1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"ForGoogle2\":{\"main\":[[{\"node\":\"Google Sheets2\",\"type\":\"main\",\"index\":0}]]},\"IFContacts\":{\"main\":[[{\"node\":\"GetTicket\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"GetCustomer\":{\"main\":[[{\"node\":\"Contacts\",\"type\":\"main\",\"index\":0},{\"node\":\"Customers\",\"type\":\"main\",\"index\":0}]]},\"IFCustomers\":{\"main\":[[{\"node\":\"CreateTicketForCustomer\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp1\",\"type\":\"main\",\"index\":0}]]},\"CreateTicket\":{\"main\":[[{\"node\":\"ForGoogle1\",\"type\":\"main\",\"index\":0}]]},\"EnvVariables\":{\"main\":[[{\"node\":\"GetCustomer\",\"type\":\"main\",\"index\":0}]]},\"UpdateTicket\":{\"main\":[[{\"node\":\"ForGoogle\",\"type\":\"main\",\"index\":0}]]},\"IFMoreThanOne\":{\"main\":[[{\"node\":\"UpdateTicket\",\"type\":\"main\",\"index\":0}],[{\"node\":\"CreateTicket\",\"type\":\"main\",\"index\":0}]]},\"CreateTicketForCustomer\":{\"main\":[[{\"node\":\"ForGoogle2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Triage alerts from Syncro and submit to OpsGenie", "output": "{\"id\":117,\"name\":\"Syncro Alert to OpsGenie\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[460,380],\"webhookId\":\"fromsyncro\",\"parameters\":{\"path\":\"fromsyncro\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,380],\"parameters\":{\"values\":{\"string\":[{\"name\":\"AlertID\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}\"},{\"name\":\"Description\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"computer_name\\\"]}} ({{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"customer\\\"][\\\"business_then_name\\\"]}}): {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"formatted_output\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Create Alert\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1180,260],\"parameters\":{\"url\":\"https://api.opsgenie.com/v2/alerts\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"message\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"computer_name\\\"]}} ({{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"customer\\\"][\\\"business_then_name\\\"]}}): {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"formatted_output\\\"]}}\"},{\"name\":\"alias\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}\"},{\"name\":\"description\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\\n{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"link\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":null,\"name\":\"OpsGenie\"}},\"typeVersion\":1},{\"name\":\"Close Alert\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1180,460],\"parameters\":{\"url\":\"=https://api.opsgenie.com/v2/alerts/{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}/close?identifierType=alias\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"note\",\"value\":\"Issue resolved automatically according to Syncro.\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":null,\"name\":\"OpsGenie\"}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[780,560],\"parameters\":{},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,380],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"resolved\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[620,380],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"agent_offline_trigger\"}]},\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"properties\\\"][\\\"trigger\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create Alert\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Close Alert\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update time-tracking projects based on Syncro status changes", "output": "{\"id\":\"5\",\"name\":\"Syncro Status Update Clockify\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[560,310],\"webhookId\":\"3300d16f-5d43-4ae7-887e-376eecaeec17\",\"parameters\":{\"path\":\"4500d16f-5d43-4ae7-887e-376eecaeec17\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Clockify\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[960,310],\"parameters\":{\"operation\":\"getAll\",\"returnAll\":true,\"workspaceId\":\"xxx\",\"additionalFields\":{\"name\":\"=Ticket {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"number\\\"]}} - {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"customer_business_then_name\\\"]}} [{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}]\",\"archived\":true}},\"credentials\":{\"clockifyApi\":\"Clockify\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1130,310],\"parameters\":{\"url\":\"=https://api.clockify.me/api/v1/workspaces/{{$node[\\\"Clockify\\\"].parameter[\\\"workspaceId\\\"]}}/projects/{{$json[\\\"id\\\"]}}\",\"options\":{},\"requestMethod\":\"PUT\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"archived\",\"value\":\"false\"},{\"name\":\"isPublic\",\"value\":\"true\"}]},\"headerParametersUi\":{\"parameter\":[]}},\"credentials\":{\"httpHeaderAuth\":\"Clockify API\"},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[730,310],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"status\\\"]}}\",\"value2\":\"Resolved\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Clockify1\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[960,540],\"parameters\":{\"operation\":\"getAll\",\"returnAll\":true,\"workspaceId\":\"xxx\",\"additionalFields\":{\"name\":\"=Ticket {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"number\\\"]}} - {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"customer_business_then_name\\\"]}} [{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}]\",\"archived\":false}},\"credentials\":{\"clockifyApi\":\"Clockify\"},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1130,540],\"parameters\":{\"url\":\"=https://api.clockify.me/api/v1/workspaces/{{$node[\\\"Clockify1\\\"].parameter[\\\"workspaceId\\\"]}}/projects/{{$node[\\\"Clockify1\\\"].json[\\\"id\\\"]}}\",\"options\":{},\"requestMethod\":\"PUT\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"archived\",\"value\":\"true\"},{\"name\":\"isPublic\",\"value\":\"true\"}]},\"headerParametersUi\":{\"parameter\":[]}},\"credentials\":{\"httpHeaderAuth\":\"Clockify API\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF1\":{\"main\":[[{\"node\":\"Clockify\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Clockify1\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Clockify\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Clockify1\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Novo Studio n8n Test workflow", "output": "{\"id\":1001,\"name\":\"Novo workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[160,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[460,300],\"webhookId\":\"a0becafc-a41d-496a-87e0-5dff573209f3\",\"parameters\":{\"formId\":\"LyEp6vAe\"},\"credentials\":{\"typeformApi\":{\"id\":\"1\",\"name\":\"Typeform account\"}},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[440,620],\"parameters\":{\"resource\":\"database\",\"operation\":\"getAll\"},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"Notion account\"}},\"notesInFlow\":true,\"typeVersion\":2},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[780,340],\"parameters\":{\"attachments\":[],\"otherOptions\":{}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"executionTimeout\":-1,\"saveExecutionProgress\":true},\"connections\":{\"Notion\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0},{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sum or aggregate a column of spreadsheet or table data", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,80],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mock data\",\"type\":\"n8n-nodes-base.function\",\"position\":[420,80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n\\nreturn [ { json: { amount_USD: 50 } }, { json: { amount_USD: 20 } }, { json: { amount_USD: 60 } } ];\"},\"typeVersion\":1},{\"name\":\"Summing function\",\"type\":\"n8n-nodes-base.function\",\"position\":[660,80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n//Setup an empty variable to hold the count\\nlet total = 0;\\n\\n//Loop over the incoming items of data\\nfor (item of items) {\\n //For each item of data, add the amount_USD to our total counter\\n total += item.json.amount_USD;\\n}\\n\\n//Returns a well formed JSON object with just the total_value . You can either add more data to this returned object OR use the set node afterwards to do it in a no-code way.\\nreturn [ { json: { total_value: total } } ];\"},\"typeVersion\":1}],\"connections\":{\"Mock data\":{\"main\":[[{\"node\":\"Summing function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mock data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test-workflow", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[310,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Peekalink\",\"type\":\"n8n-nodes-base.peekalink\",\"position\":[510,300],\"parameters\":{\"url\":\"https://n8n1.io\",\"operation\":\"isAvailable\"},\"credentials\":{\"peekalinkApi\":\"Peekalink API Credentials\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[710,300],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$json[\\\"isAvailable\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Peekalink1\",\"type\":\"n8n-nodes-base.peekalink\",\"position\":[910,200],\"parameters\":{\"url\":\"={{$node[\\\"Peekalink\\\"].parameter[\\\"url\\\"]}}\"},\"credentials\":{\"peekalinkApi\":\"Peekalink API Credentials\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[910,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Peekalink1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Peekalink\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Peekalink\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Telegram commands to spotify test", "output": "{\"id\":30,\"name\":\"Telegram commands to spotify\",\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[-120,40],\"webhookId\":\"33d2e5c1-6de7-483e-80be-77eea5b6030e\",\"parameters\":{\"updates\":[\"message\",\"*\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"48\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Get Text\",\"type\":\"n8n-nodes-base.set\",\"position\":[40,40],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Text\",\"value\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Get Track name\",\"type\":\"n8n-nodes-base.set\",\"position\":[540,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Track name\",\"value\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ')[1]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[200,40],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"resume\"},{\"output\":1,\"value2\":\"play\"},{\"output\":2,\"value2\":\"pause\"}]},\"value1\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ')[0]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[760,20],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Track name\\\"].json[\\\"Track name\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Switch1\",\"type\":\"n8n-nodes-base.switch\",\"position\":[960,40],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"track\"},{\"output\":1,\"value2\":\"album\"},{\"output\":2,\"value2\":\"playlist\"},{\"output\":3,\"value2\":\"artist\"}]},\"value1\":\"={{$node[\\\"Get Track name\\\"].json[\\\"Track name\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Search track\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1360,-220],\"parameters\":{\"limit\":1,\"query\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ').slice(2).join(' ')}}\",\"filters\":{},\"resource\":\"track\",\"operation\":\"search\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Search album\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1360,-20],\"parameters\":{\"limit\":1,\"query\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ').slice(2).join(' ')}}\",\"filters\":{},\"resource\":\"album\",\"operation\":\"search\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Search playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1360,160],\"parameters\":{\"limit\":1,\"query\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ').slice(2).join(' ')}}\",\"filters\":{},\"resource\":\"playlist\",\"operation\":\"search\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Search artist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1360,360],\"parameters\":{\"limit\":1,\"query\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ').slice(2).join(' ')}}\",\"filters\":{},\"resource\":\"artist\",\"operation\":\"search\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Switch2\",\"type\":\"n8n-nodes-base.switch\",\"position\":[320,440],\"parameters\":{\"rules\":{\"rules\":[{\"output\":1,\"value2\":\"next\"},{\"output\":2,\"value2\":\"previous\"},{\"output\":3,\"value2\":\"get\"},{\"value2\":\"stop\"}]},\"value1\":\"={{$node[\\\"Get Text\\\"].json[\\\"Text\\\"].split(' ')[0]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"Play Next\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[840,360],\"parameters\":{\"operation\":\"nextSong\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Play Previous\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[840,540],\"parameters\":{\"operation\":\"previousSong\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Pause player\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[660,180],\"parameters\":{\"operation\":\"pause\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Resume Player\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[920,-420],\"parameters\":{\"operation\":\"resume\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Play Track\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1640,-220],\"parameters\":{\"id\":\"=spotify:track:{{$node[\\\"Search track\\\"].json[\\\"id\\\"]}}\",\"operation\":\"startMusic\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Play Album\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1640,-20],\"parameters\":{\"id\":\"=spotify:album:{{$node[\\\"Search album\\\"].json[\\\"id\\\"]}}\",\"operation\":\"startMusic\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Play Playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1640,160],\"parameters\":{\"id\":\"=spotify:playlist:{{$node[\\\"Search playlist\\\"].json[\\\"id\\\"]}}\",\"operation\":\"startMusic\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Play Artist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1660,360],\"parameters\":{\"id\":\"=spotify:artist:{{$node[\\\"Search artist\\\"].json[\\\"id\\\"]}}\",\"operation\":\"startMusic\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Get my playlists\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[840,740],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getUserPlaylists\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"17\",\"name\":\"Spotify account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Resume Player\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch1\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Resume Player\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get Track name\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Pause player\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch2\",\"type\":\"main\",\"index\":0}]]},\"Switch1\":{\"main\":[[{\"node\":\"Search track\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Search album\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Search playlist\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Search artist\",\"type\":\"main\",\"index\":0}]]},\"Switch2\":{\"main\":[[{\"node\":\"Pause player\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Play Next\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Play Previous\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get my playlists\",\"type\":\"main\",\"index\":0}]]},\"Get Text\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Search album\":{\"main\":[[{\"node\":\"Play Album\",\"type\":\"main\",\"index\":0}]]},\"Search track\":{\"main\":[[{\"node\":\"Play Track\",\"type\":\"main\",\"index\":0}]]},\"Search artist\":{\"main\":[[{\"node\":\"Play Artist\",\"type\":\"main\",\"index\":0}]]},\"Get Track name\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Search playlist\":{\"main\":[[{\"node\":\"Play Playlist\",\"type\":\"main\",\"index\":0}]]},\"Get my playlists\":{\"main\":[[]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Get Text\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "User Enablement Demo", "output": "{\"id\":1063,\"name\":\"User Empowerment Demo\",\"nodes\":[{\"name\":\"Create Response Page\",\"type\":\"n8n-nodes-base.set\",\"position\":[1340,420],\"parameters\":{\"values\":{\"string\":[{\"name\":\"html\",\"value\":\"=\\n\\n \\n Shopper Updated\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n

Shopper Updated

\\n
\\n
\\n
\\n

{{$json[\\\"Name\\\"]}} is Going Shopping

\\n \\n
\\n
\\n \\n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Change Shopper Form Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[500,220],\"webhookId\":\"a9aaa1e8-be11-49ab-9acd-f5ca7c652e2f\",\"parameters\":{\"path\":\"newshopper\",\"options\":{\"responsePropertyName\":\"html\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Submit Shopper\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[500,420],\"webhookId\":\"a9aaa1e8-be11-49ab-9acd-f5ca7c652e2f\",\"parameters\":{\"path\":\"submit-shopper\",\"options\":{\"responsePropertyName\":\"html\"},\"httpMethod\":\"POST\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Set New Shopper Info\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,420],\"parameters\":{\"values\":{\"number\":[{\"name\":\"recordID\",\"value\":\"={{$json[\\\"id\\\"]}}\"}],\"string\":[{\"name\":\"name\",\"value\":\"={{$node[\\\"Submit Shopper\\\"].json[\\\"body\\\"][\\\"fname\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$node[\\\"Submit Shopper\\\"].json[\\\"body\\\"][\\\"eaddress\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Get Present Shopper\",\"type\":\"n8n-nodes-base.baserow\",\"position\":[720,220],\"parameters\":{\"limit\":1,\"tableId\":47541,\"databaseId\":22298,\"additionalOptions\":{}},\"credentials\":{\"baserowApi\":{\"id\":\"47\",\"name\":\"Baserow account\"}},\"typeVersion\":1},{\"name\":\"Get Former Shopper\",\"type\":\"n8n-nodes-base.baserow\",\"position\":[720,420],\"parameters\":{\"limit\":1,\"tableId\":47541,\"databaseId\":22298,\"additionalOptions\":{}},\"credentials\":{\"baserowApi\":{\"id\":\"47\",\"name\":\"Baserow account\"}},\"typeVersion\":1},{\"name\":\"Update Shopper\",\"type\":\"n8n-nodes-base.baserow\",\"position\":[1140,420],\"parameters\":{\"rowId\":\"={{$json[\\\"recordID\\\"]}}\",\"tableId\":47541,\"fieldsUi\":{\"fieldValues\":[{\"fieldId\":268715,\"fieldValue\":\"={{$json[\\\"name\\\"]}}\"},{\"fieldId\":268716,\"fieldValue\":\"={{$json[\\\"email\\\"]}}\"}]},\"operation\":\"update\",\"databaseId\":22298},\"credentials\":{\"baserowApi\":{\"id\":\"47\",\"name\":\"Baserow account\"}},\"typeVersion\":1},{\"name\":\"Create Shopper Form\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"html\",\"value\":\"=\\n\\n \\n Change Shopper\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n

Change Shopper

\\n
\\n
\\nThe present shopper is {{$json[\\\"Name\\\"]}} ({{$json[\\\"Email\\\"]}}).
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n \\n
\\n \\n \\n \\n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[500,-420],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"name\":\"Get Shopping List\",\"type\":\"n8n-nodes-base.baserow\",\"position\":[720,-420],\"parameters\":{\"tableId\":47540,\"returnAll\":true,\"databaseId\":22298,\"additionalOptions\":{}},\"credentials\":{\"baserowApi\":{\"id\":\"47\",\"name\":\"Baserow account\"}},\"typeVersion\":1},{\"name\":\"Format Shopping List\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[940,-420],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"Item\"}]}},\"typeVersion\":1},{\"name\":\"Send Shopping List\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1360,-420],\"parameters\":{\"html\":\"=Please purchase the following items this week:

\\n

  • \\n{{$node[\\\"Format Shopping List\\\"].json[\\\"Item\\\"].join(\\\"
  • \\\")}}\\n
\\nThanks!\",\"options\":{},\"subject\":\"This Week's Shopping List\",\"toEmail\":\"={{$json[\\\"Email\\\"]}}\",\"fromEmail\":\"admin@example.com\"},\"credentials\":{\"smtp\":{\"id\":\"23\",\"name\":\"Google Mail\"}},\"typeVersion\":1},{\"name\":\"Baserow\",\"type\":\"n8n-nodes-base.baserow\",\"position\":[1160,-420],\"parameters\":{\"limit\":1,\"tableId\":47541,\"databaseId\":22298,\"additionalOptions\":{}},\"credentials\":{\"baserowApi\":{\"id\":\"47\",\"name\":\"Baserow account\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Get Shopping List\",\"type\":\"main\",\"index\":0}]]},\"Baserow\":{\"main\":[[{\"node\":\"Send Shopping List\",\"type\":\"main\",\"index\":0}]]},\"Submit Shopper\":{\"main\":[[{\"node\":\"Get Former Shopper\",\"type\":\"main\",\"index\":0}]]},\"Update Shopper\":{\"main\":[[{\"node\":\"Create Response Page\",\"type\":\"main\",\"index\":0}]]},\"Get Shopping List\":{\"main\":[[{\"node\":\"Format Shopping List\",\"type\":\"main\",\"index\":0}]]},\"Get Former Shopper\":{\"main\":[[{\"node\":\"Set New Shopper Info\",\"type\":\"main\",\"index\":0}]]},\"Get Present Shopper\":{\"main\":[[{\"node\":\"Create Shopper Form\",\"type\":\"main\",\"index\":0}]]},\"Format Shopping List\":{\"main\":[[{\"node\":\"Baserow\",\"type\":\"main\",\"index\":0}]]},\"Set New Shopper Info\":{\"main\":[[{\"node\":\"Update Shopper\",\"type\":\"main\",\"index\":0}]]},\"Change Shopper Form Webhook\":{\"main\":[[{\"node\":\"Get Present Shopper\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add liked songs to a Spotify monthly playlist", "output": "{\"id\":1,\"name\":\"Spotify\",\"nodes\":[{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1680,630],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"playlistId\\\"]}}\",\"value2\":\"=null\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Get current date\",\"type\":\"n8n-nodes-base.function\",\"position\":[1080,830],\"parameters\":{\"functionCode\":\"const monthNames = [\\n 'January',\\n 'February',\\n 'March',\\n 'April',\\n 'May',\\n 'June',\\n 'July',\\n 'August',\\n 'September',\\n 'October',\\n 'November',\\n 'December',\\n]\\n\\nconst date = new Date()\\nconst year = date.getFullYear()\\nconst month = date.getMonth()\\n\\nlet currentDate = {\\n month: month,\\n year: year,\\n text: `${monthNames[month]} '${year.toString().slice(-2)}`\\n}\\n\\nitems[0].json.currentDate = currentDate\\n\\nreturn items\\n\"},\"typeVersion\":1},{\"name\":\"Get liked tracks\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1080,1030],\"parameters\":{\"resource\":\"library\"},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"2\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Get playlists\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1080,620],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getUserPlaylists\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"2\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Merge liked tracks\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1280,930],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Merge playlists\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1280,630],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Create playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1880,730],\"parameters\":{\"name\":\"={{$node[\\\"Get current date\\\"].json[\\\"currentDate\\\"][\\\"text\\\"]}}\",\"resource\":\"playlist\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"2\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Get created playlist ID\",\"type\":\"n8n-nodes-base.function\",\"position\":[2030,730],\"parameters\":{\"functionCode\":\"output= [{ json: {playlistId: items[0].json.id} }]\\nreturn output\\n\\n\\n/*return items.map(item => {\\n let playlistName = item.json.name\\n if (item.json.currentDate.text === playlistName) {\\n return {json: {id: item.json.id}}\\n }\\n})*/\\n\"},\"typeVersion\":1},{\"name\":\"Get playlist ID\",\"type\":\"n8n-nodes-base.function\",\"position\":[1480,630],\"parameters\":{\"functionCode\":\"let playlistId\\nlet playlist = items.find(item => item.json.name === item.json.currentDate.text)\\n\\nif (playlist === undefined) playlistId = \\\"null\\\"\\nelse playlistId = playlist.json.id\\n\\noutput= [{ json: {playlistId: playlistId} }]\\nreturn output\\n\\n\\n/*return items.map(item => {\\n let playlistName = item.json.name\\n if (item.json.currentDate.text === playlistName) {\\n return {json: {id: item.json.id}}\\n }\\n})*/\\n\"},\"typeVersion\":1},{\"name\":\"Get last liked tracks\",\"type\":\"n8n-nodes-base.function\",\"position\":[1480,920],\"parameters\":{\"functionCode\":\"return items.filter(item => {\\n let date = new Date(item.json.added_at)\\n let currentMonth= date.getMonth()\\n if (item.json.currentDate.month === currentMonth) {\\n return {json: item.json}\\n }\\n})\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2180,930],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2080,580],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get tracks in playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1880,480],\"parameters\":{\"id\":\"={{$json[\\\"playlistId\\\"]}}\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"2\",\"name\":\"Spotify account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[2380,580],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"result\\\"]}}\",\"value2\":\"null\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2580,580],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2530,730],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Interval\",\"type\":\"n8n-nodes-base.interval\",\"position\":[880,830],\"parameters\":{\"unit\":\"minutes\",\"interval\":5},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Add to created playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[2330,930],\"parameters\":{\"id\":\"={{$json[\\\"playlistId\\\"]}}\",\"trackID\":\"={{$json[\\\"track\\\"][\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"2\",\"name\":\"Spotify account\"}},\"typeVersion\":1},{\"name\":\"Get new track URI\",\"type\":\"n8n-nodes-base.function\",\"position\":[2220,580],\"parameters\":{\"functionCode\":\"let result\\nlet output= []\\nlet tracks = items;\\n\\nlet tracksUri = tracks.filter(track => track.json.track != undefined).map(track => track.json.track.uri)\\n\\nlet newTracks = tracksUri.filter(uri=> {\\n return tracksUri.indexOf(uri) === tracksUri.lastIndexOf(uri)\\n});\\n\\nif (newTracks.length === 0) output.push({json: {result: \\\"null\\\"}})\\nelse {\\n newTracks.forEach(uri=> {\\n output.push({json: {uri: uri}})\\n })\\n}\\n//else result = newTracks.map(track => ({uri: track}))\\n\\nreturn output\\n\\n\\n\\n\"},\"typeVersion\":1},{\"name\":\"Add to playlist\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[2680,730],\"parameters\":{\"id\":\"={{$json[\\\"playlistId\\\"]}}\",\"trackID\":\"={{$json[\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":\"2\",\"name\":\"Spotify account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Get tracks in playlist\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create playlist\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Add to created playlist\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Get new track URI\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"Add to playlist\",\"type\":\"main\",\"index\":0}]]},\"Interval\":{\"main\":[[{\"node\":\"Get playlists\",\"type\":\"main\",\"index\":0},{\"node\":\"Get current date\",\"type\":\"main\",\"index\":0},{\"node\":\"Get liked tracks\",\"type\":\"main\",\"index\":0}]]},\"Get playlists\":{\"main\":[[{\"node\":\"Merge playlists\",\"type\":\"main\",\"index\":0}]]},\"Create playlist\":{\"main\":[[{\"node\":\"Get created playlist ID\",\"type\":\"main\",\"index\":0}]]},\"Get playlist ID\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"Merge playlists\":{\"main\":[[{\"node\":\"Get playlist ID\",\"type\":\"main\",\"index\":0}]]},\"Get current date\":{\"main\":[[{\"node\":\"Merge liked tracks\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge playlists\",\"type\":\"main\",\"index\":1}]]},\"Get liked tracks\":{\"main\":[[{\"node\":\"Merge liked tracks\",\"type\":\"main\",\"index\":1}]]},\"Get new track URI\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Merge liked tracks\":{\"main\":[[{\"node\":\"Get last liked tracks\",\"type\":\"main\",\"index\":0}]]},\"Get last liked tracks\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Get tracks in playlist\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Get created playlist ID\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a monthly summary of days off to payroll by checking Google Calendar events", "output": "{\"id\":97,\"name\":\"Collect Absences each month from Google Calendars\",\"nodes\":[{\"name\":\"Previous Month\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[620,480],\"parameters\":{\"value\":\"={{Date()}}\",\"action\":\"calculate\",\"options\":{},\"duration\":1,\"timeUnit\":\"months\",\"operation\":\"subtract\"},\"typeVersion\":1},{\"name\":\"1st of Every month at 8am\",\"type\":\"n8n-nodes-base.cron\",\"position\":[440,480],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8,\"mode\":\"everyMonth\"}]}},\"typeVersion\":1},{\"name\":\"Check Summary for Illness or Holiday\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1020,480],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Holiday\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Illness\",\"operation\":\"contains\"}]},\"value1\":\"={{$json[\\\"summary\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Holiday\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1240,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Illness\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1240,460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Filter Holiday Days\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"description\\\"].split(\\\",\\\")[0]}}\"},{\"name\":\"Days\",\"value\":\"={{(new Date($json[\\\"end\\\"][\\\"date\\\"]).getTime() - new Date($json[\\\"start\\\"][\\\"date\\\"]).getTime()) / (1000 * 3600 * 24)}}\"},{\"name\":\"Type\",\"value\":\"Holiday\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Filter Illness Days\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,460],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"description\\\"].split(\\\",\\\")[0]}}\"},{\"name\":\"Days\",\"value\":\"={{(new Date($json[\\\"end\\\"][\\\"date\\\"]).getTime() - new Date($json[\\\"start\\\"][\\\"date\\\"]).getTime()) / (1000 * 3600 * 24)}}\"},{\"name\":\"Type\",\"value\":\"Illness\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1880,380],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Combine Holiday Counts\",\"type\":\"n8n-nodes-base.function\",\"position\":[1640,280],\"parameters\":{\"functionCode\":\"let names = items.map(e => e.json.Name);\\nlet unique_names = [...new Set(names)];\\nlet results = [];\\n\\nfor (thisName of unique_names) {\\n let result = {\\n \\\"Name\\\": thisName,\\n \\\"Days\\\": 0,\\n \\\"Type\\\": \\\"Holiday\\\"\\n }\\n\\n for (matching_item of items.filter(e => e.json.Name === thisName)) {\\n result.Days += parseInt(matching_item.json.Days);\\n }\\n \\n results.push(result);\\n}\\n\\nreturn results.map(e => { return {json: e} });\"},\"typeVersion\":1},{\"name\":\"Combine Illness Counts\",\"type\":\"n8n-nodes-base.function\",\"position\":[1640,460],\"parameters\":{\"functionCode\":\"let names = items.map(e => e.json.Name);\\nlet unique_names = [...new Set(names)];\\nlet results = [];\\n\\nfor (thisName of unique_names) {\\n let result = {\\n \\\"Name\\\": thisName,\\n \\\"Days\\\": 0,\\n \\\"Type\\\": \\\"Illness\\\"\\n }\\n\\n for (matching_item of items.filter(e => e.json.Name === thisName)) {\\n result.Days += parseInt(matching_item.json.Days);\\n }\\n \\n results.push(result);\\n}\\n\\nreturn results.map(e => { return {json: e} });\"},\"typeVersion\":1},{\"name\":\"Get previous months events\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[820,480],\"parameters\":{\"options\":{\"timeMax\":\"={{new Date().toISOString()}}\",\"timeMin\":\"={{$json[\\\"data\\\"]}}\"},\"calendar\":\"your-calendar-id\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"64\",\"name\":\"Google Calendar account\"}},\"typeVersion\":1},{\"name\":\"Build the message to send\",\"type\":\"n8n-nodes-base.function\",\"position\":[2060,380],\"parameters\":{\"functionCode\":\"let illnessMessage = \\\"\\\";\\nlet holidayMessage = \\\"\\\";\\nlet message = \\\"Here is a breakdown of absences for the last month.\\\\n\\\\n\\\";\\n\\n// Loop the input items\\nfor (item of items) {\\n if (item.json.Type == \\\"Holiday\\\") {\\n holidayMessage += item.json.Name + \\\" had \\\" + item.json.Days + \\\" days\\\\n\\\";\\n }\\n if (item.json.Type == \\\"Illness\\\") {\\n illnessMessage += item.json.Name + \\\" had \\\" + item.json.Days + \\\" days\\\\n\\\";\\n }\\n}\\n\\nif (holidayMessage != \\\"\\\") {\\n message += \\\"Holiday Events\\\\n\\\";\\n message += holidayMessage + \\\"\\\\n\\\";\\n} else {\\n message += \\\"No Holiday Events\\\\n\\\";\\n}\\n\\nif (illnessMessage != \\\"\\\") {\\n message += \\\"Illness Events\\\\n\\\";\\n message += illnessMessage;\\n} else {\\n message += \\\"No Illness Events\\\\n\\\";\\n}\\n\\n// Return our message\\nreturn [{json: {message}}];\"},\"typeVersion\":1},{\"name\":\"Send email to payroll\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[2240,380],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"]}}\",\"options\":{},\"subject\":\"Absences from last month\",\"toEmail\":\"payroll-team@mydomain.tld\",\"fromEmail\":\"n8n@mydomain.tld\"},\"credentials\":{\"smtp\":{\"id\":\"26\",\"name\":\"mailtrap\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Build the message to send\",\"type\":\"main\",\"index\":0}]]},\"Holiday\":{\"main\":[[{\"node\":\"Filter Holiday Days\",\"type\":\"main\",\"index\":0}]]},\"Illness\":{\"main\":[[{\"node\":\"Filter Illness Days\",\"type\":\"main\",\"index\":0}]]},\"Previous Month\":{\"main\":[[{\"node\":\"Get previous months events\",\"type\":\"main\",\"index\":0}]]},\"Filter Holiday Days\":{\"main\":[[{\"node\":\"Combine Holiday Counts\",\"type\":\"main\",\"index\":0}]]},\"Filter Illness Days\":{\"main\":[[{\"node\":\"Combine Illness Counts\",\"type\":\"main\",\"index\":0}]]},\"Combine Holiday Counts\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Combine Illness Counts\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"1st of Every month at 8am\":{\"main\":[[{\"node\":\"Previous Month\",\"type\":\"main\",\"index\":0}]]},\"Build the message to send\":{\"main\":[[{\"node\":\"Send email to payroll\",\"type\":\"main\",\"index\":0}]]},\"Get previous months events\":{\"main\":[[{\"node\":\"Check Summary for Illness or Holiday\",\"type\":\"main\",\"index\":0}]]},\"Check Summary for Illness or Holiday\":{\"main\":[[{\"node\":\"Holiday\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Illness\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract text from PDF with the Read Binary File and Read PDF node", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[680,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[880,400],\"parameters\":{\"filePath\":\"/data/pdf.pdf\"},\"typeVersion\":1},{\"name\":\"Read PDF\",\"type\":\"n8n-nodes-base.readPDF\",\"position\":[1090,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Read PDF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Validate emails in Mautic with the One Simple API node", "output": "{\"id\":86,\"name\":\"Check for valid Mautic contact email\",\"nodes\":[{\"name\":\"If is not new contact\",\"type\":\"n8n-nodes-base.if\",\"position\":[780,460],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"mautic.lead_post_save_new\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"On Contact Identified\",\"type\":\"n8n-nodes-base.mauticTrigger\",\"position\":[600,460],\"webhookId\":\"a3ee0f93-2870-44e2-bb2f-0175433263b3\",\"parameters\":{\"events\":[\"mautic.lead_post_save_new\"],\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1},{\"name\":\"extract information\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[980,480],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"mautic.lead_post_save_new\"},\"typeVersion\":1},{\"name\":\"validate email\",\"type\":\"n8n-nodes-base.oneSimpleApi\",\"position\":[1180,480],\"parameters\":{\"resource\":\"utility\",\"emailAddress\":\"={{$json[\\\"lead\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"value\\\"]}}\"},\"credentials\":{\"oneSimpleApi\":{\"id\":\"33\",\"name\":\"One Simple account\"}},\"typeVersion\":1},{\"name\":\"If the email is suspicious\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"IF\\ndeliverability is not good\\nOR\\nDomain is not valid\\nOR\\nEmail is Disposable\",\"position\":[1360,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"deliverability\\\"]}}\",\"value2\":\"GOOD\",\"operation\":\"notEqual\"}],\"boolean\":[{\"value1\":\"={{$json[\\\"is_domain_valid\\\"]}}\"},{\"value1\":\"={{$json[\\\"is_email_disposable\\\"]}}\",\"value2\":true}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Send to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1560,460],\"parameters\":{\"text\":\"=:warning: New Contact with Suspicious Email :warning:\\n*Name: * {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"firstname\\\"][\\\"normalizedValue\\\"]}} {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"lastname\\\"][\\\"normalizedValue\\\"]}}\\n*Email: * {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"normalizedValue\\\"]}}\\n*Link: * https://mautic.my.domain.com/s/contacts/view/{{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"id\\\"]}}\\n*Creator: * {{$node[\\\"extract information\\\"].json[\\\"contact\\\"][\\\"createdByUser\\\"]}}\",\"channel\":\"#mautic-alerts\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"53\",\"name\":\"Slack Access Token\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"validate email\":{\"main\":[[{\"node\":\"If the email is suspicious\",\"type\":\"main\",\"index\":0}]]},\"extract information\":{\"main\":[[{\"node\":\"validate email\",\"type\":\"main\",\"index\":0}]]},\"If is not new contact\":{\"main\":[[],[{\"node\":\"extract information\",\"type\":\"main\",\"index\":0}]]},\"On Contact Identified\":{\"main\":[[{\"node\":\"If is not new contact\",\"type\":\"main\",\"index\":0}]]},\"If the email is suspicious\":{\"main\":[[{\"node\":\"Send to Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Telegram messages on RSS feed read", "output": "{\"id\":2,\"name\":\"RSS to Telegram\",\"nodes\":[{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[440,30],\"parameters\":{\"text\":\"=💹 #日幣匯率 {{$json[\\\"title\\\"]}}\\n\\n{{$json[\\\"link\\\"]}}\",\"chatId\":\"\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[-359.5,130],\"parameters\":{\"url\":\"\"},\"typeVersion\":1},{\"name\":\"Latest Read\",\"type\":\"n8n-nodes-base.function\",\"position\":[-160,130],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nlatestRead = staticData.latestRead;\\n\\nfor (let item of items) {\\n item.json.latestRead = latestRead || '2021-06-01';\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[40,130],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{new Date($node[\\\"Latest Read\\\"].data[\\\"latestRead\\\"]).getTime()}}\",\"value2\":\"={{new Date($node[\\\"RSS Feed Read\\\"].data[\\\"isoDate\\\"]).getTime()}}\"}],\"string\":[{\"value1\":\"={{$json[\\\"title\\\"]}}\",\"value2\":\"\",\"operation\":\"contains\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Write Latest Read\",\"type\":\"n8n-nodes-base.function\",\"position\":[240,30],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nif (items.length > 0) {\\n staticData.latestRead = items[0].json.isoDate || staticData.latestRead;\\n}\\n\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[230,270],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-560,130],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"value\":1}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Asia/Taipei\",\"errorWorkflow\":\"3\",\"saveExecutionProgress\":\"DEFAULT\"},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Write Latest Read\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"Latest Read\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Latest Read\",\"type\":\"main\",\"index\":0}]]},\"Write Latest Read\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Order to shipment - OFN - Purplship [WIP]", "output": "{\"id\":5,\"name\":\"Order to shipment - OFN - Purplship\",\"nodes\":[{\"name\":\"Map list\",\"type\":\"n8n-nodes-base.function\",\"position\":[600,220],\"parameters\":{\"functionCode\":\"return items[0].json.orders.map(item => {\\n return {\\n json: item\\n }\\n});\\n\"},\"typeVersion\":1},{\"name\":\"Time trigger\",\"type\":\"n8n-nodes-base.cron\",\"position\":[100,150],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"Lookup order\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[760,220],\"parameters\":{\"range\":\"orders!A:A\",\"options\":{},\"sheetId\":\"1mP7r4GhvB5TLV8KLtdKi7LW21wk2fL0IRrA2V1uc3Is\",\"operation\":\"lookup\",\"lookupValue\":\"={{$json[\\\"number\\\"]}}\",\"lookupColumn\":\"ofnOrderNumber\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Digicirco Google\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Get subscriptions\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[280,220],\"parameters\":{\"range\":\"order-to-shipment-ofn-purplship!A:B\",\"options\":{},\"sheetId\":\"14UW1VPd6AMLknrcV-nzJyN82QdZBuwDYFvq5y40si_w\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Digicirco Google\"}},\"typeVersion\":1},{\"name\":\"Get orders\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,220],\"parameters\":{\"url\":\"http://localhost:3001/api/v0/orders\",\"options\":{\"splitIntoItems\":false},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"q[created_at_gt]\",\"value\":\"={{new Date(new Date().setDate(new Date().getDate()-1)).toISOString().slice(0, 10)}}\"},{\"name\":\"q[distributor_id_eq]\",\"value\":\"={{$json[\\\"ofnCustomerId\\\"]}}\"},{\"name\":\"q[state_eq]\",\"value\":\"complete\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"OFN api key\"}},\"typeVersion\":1},{\"name\":\"Exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,220],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1060,100],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get order\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1100,320],\"parameters\":{\"url\":\"=http://localhost:3001/api/v0/orders/{{$node[\\\"Map list\\\"].json[\\\"number\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"OFN api key\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Exists\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get order\",\"type\":\"main\",\"index\":0}]]},\"Map list\":{\"main\":[[{\"node\":\"Lookup order\",\"type\":\"main\",\"index\":0}]]},\"Get orders\":{\"main\":[[{\"node\":\"Map list\",\"type\":\"main\",\"index\":0}]]},\"Lookup order\":{\"main\":[[{\"node\":\"Exists\",\"type\":\"main\",\"index\":0}]]},\"Time trigger\":{\"main\":[[{\"node\":\"Get subscriptions\",\"type\":\"main\",\"index\":0}]]},\"Get subscriptions\":{\"main\":[[{\"node\":\"Get orders\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Share Fedora Magazine blog posts to LinkedIn", "output": "{\"id\":4,\"name\":\"Fedora Magazineshare to Linkedin\",\"nodes\":[{\"name\":\"Diff\",\"type\":\"n8n-nodes-base.function\",\"position\":[130,470],\"parameters\":{\"functionCode\":\"const articles_new = items[0].json.articles;\\nconst articles_old = items[1].json.articles;\\n/*const difference = articles_new.filter((el) => {\\n *return articles_old.some((f) => {\\n * return f.link === el.link && f.title === el.title && f.description === el.description;\\n * });\\n *});\\n */\\n//const difference = articles_new.filter(x.link => !articles_old.includes(x.link));\\nconst difference = articles_new.filter(({ link: id1 }) => !articles_old.some(({ link: id2 }) => id2 === id1));\\nconsole.log(difference);\\nreturn [{ json: {\\n \\\"old\\\": articles_old,\\n \\\"new\\\": articles_new,\\n \\\"diff\\\": difference\\n} }];\"},\"typeVersion\":1},{\"name\":\"Get Sitemap\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-530,470],\"parameters\":{\"url\":\"https://fedoramagazine.org/feed/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Extract URLs\",\"type\":\"n8n-nodes-base.function\",\"position\":[-240,460],\"parameters\":{\"functionCode\":\"const articles = [];\\nfor (const item of items) {\\n for (const url of item.json.rss.channel.item) {\\n articles.push( { title: url.title.replace(/[?&#x?[0-9]+;]?/gm, ''), link: url.link, description: url.description.replace(/<(?:.|\\\\n)*?>/gm, '').replace(/[?&#x?[0-9]+;]?/gm, '') });\\n }\\n}\\nreturn [ { json: { articles: articles}} ];\\n\"},\"typeVersion\":1},{\"name\":\"Old and New\",\"type\":\"n8n-nodes-base.merge\",\"position\":[-50,580],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Old\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[-530,650],\"parameters\":{\"filePath\":\"/home/node/.n8n/old_fedora.json\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Write Old\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[450,650],\"parameters\":{\"fileName\":\"/home/node/.n8n/old_fedora.json\"},\"typeVersion\":1},{\"name\":\"Select New\",\"type\":\"n8n-nodes-base.function\",\"position\":[130,650],\"parameters\":{\"functionCode\":\"return [ items[0] ];\"},\"typeVersion\":1},{\"name\":\"XML to JSON\",\"type\":\"n8n-nodes-base.xml\",\"position\":[-380,470],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Data to JSON\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[-380,650],\"parameters\":{\"options\":{\"keepSource\":false}},\"typeVersion\":1},{\"name\":\"JSON to Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[290,650],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-740,470],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[290,470],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Diff\\\"].json[\\\"diff\\\"].length}}\",\"operation\":\"larger\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"Clear Old\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[-210,900],\"parameters\":{\"fileName\":\"/home/node/.n8n/old_fedora.json\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-540,900],\"parameters\":{\"functionCode\":\"items[0].json.articles = [];\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"JSON to Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[-370,900],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"LinkedIn\",\"type\":\"n8n-nodes-base.linkedIn\",\"position\":[660,450],\"parameters\":{\"text\":\"={{$json[\\\"description\\\"]}}\",\"person\":\"SnT0gtcclr\",\"postAs\":\"person\",\"additionalFields\":{\"title\":\"={{$json[\\\"title\\\"]}}\",\"visibility\":\"PUBLIC\",\"originalUrl\":\"= {{$json[\\\"link\\\"]}}\"},\"shareMediaCategory\":\"ARTICLE\"},\"credentials\":{\"linkedInOAuth2Api\":{\"id\":\"1\",\"name\":\"LinkedIn Profile\"}},\"typeVersion\":1},{\"name\":\"UnEscape HTML texts\",\"type\":\"n8n-nodes-base.function\",\"position\":[460,440],\"parameters\":{\"functionCode\":\"const articles = [];\\nfor ( item in items[0].json.diff ) {\\n items[0].json.diff[item].description = unescape(items[0].json.diff[item].description) + \\\"\\\\n\\\\n\\\\n\\\" + \\\"Read more on the following blog article!\\\";\\n items[0].json.diff[item].title = unescape(items[0].json.diff[item].title) + \\\"\\\\n\\\\n\\\";\\n articles.push(items[0].json.diff[item]);\\n}\\nreturn articles.map(item => {\\n return {\\n json: item\\n }\\n});\\n\"},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Europe/Bucharest\",\"saveManualExecutions\":true,\"saveExecutionProgress\":true},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"UnEscape HTML texts\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Get Sitemap\",\"type\":\"main\",\"index\":0}]]},\"Diff\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"JSON to Data1\",\"type\":\"main\",\"index\":0}]]},\"Read Old\":{\"main\":[[{\"node\":\"Data to JSON\",\"type\":\"main\",\"index\":0}]]},\"Select New\":{\"main\":[[{\"node\":\"JSON to Data\",\"type\":\"main\",\"index\":0}]]},\"Get Sitemap\":{\"main\":[[{\"node\":\"XML to JSON\",\"type\":\"main\",\"index\":0}]]},\"Old and New\":{\"main\":[[{\"node\":\"Diff\",\"type\":\"main\",\"index\":0},{\"node\":\"Select New\",\"type\":\"main\",\"index\":0}]]},\"XML to JSON\":{\"main\":[[{\"node\":\"Extract URLs\",\"type\":\"main\",\"index\":0}]]},\"Data to JSON\":{\"main\":[[{\"node\":\"Old and New\",\"type\":\"main\",\"index\":1}]]},\"Extract URLs\":{\"main\":[[{\"node\":\"Old and New\",\"type\":\"main\",\"index\":0}]]},\"JSON to Data\":{\"main\":[[{\"node\":\"Write Old\",\"type\":\"main\",\"index\":0}]]},\"JSON to Data1\":{\"main\":[[{\"node\":\"Clear Old\",\"type\":\"main\",\"index\":0}]]},\"UnEscape HTML texts\":{\"main\":[[{\"node\":\"LinkedIn\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an email to telegram", "output": "{\"id\":2,\"name\":\"Send an email to telegram\",\"nodes\":[{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[800,340],\"parameters\":{\"text\":\"={{$node[\\\"IMAP Email\\\"].json[\\\"subject\\\"]}} \\n{{$node[\\\"IMAP Email\\\"].json[\\\"textPlain\\\"]}}\",\"chatId\":\"CHAT_ID\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[360,300],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"2\",\"name\":\"IMAP account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IMAP Email\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Typeforms leads via Whatsapp (Twilio)", "output": "{\"id\":1,\"name\":\"Send Typeforms leads via Whatsapp (Twilio)\",\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[460,300],\"webhookId\":\"a3c4dab3-6550-4e82-906f-db7f73ab35a5\",\"parameters\":{\"formId\":\"agRe2poK\",\"onlyAnswers\":false,\"authentication\":\"oAuth2\"},\"credentials\":{\"typeformOAuth2Api\":{\"id\":\"2\",\"name\":\"Typeform account\"}},\"retryOnFail\":true,\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[900,300],\"parameters\":{\"to\":\"+33659104857\",\"from\":\"+16065954936\",\"message\":\"=Hello, Here is a new customer who is looking for a Test : \\n\\n{{$json[\\\"Data\\\"]}}\\n\\nRegards, HelloSafe\"},\"credentials\":{\"twilioApi\":{\"id\":\"1\",\"name\":\"Twilio account\"}},\"retryOnFail\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Data\",\"value\":\"=Last name : {{$node[\\\"Typeform Trigger\\\"].json[\\\"form_response\\\"][\\\"answers\\\"][\\\"And your *last name*?\\\"]}}\\nFirst name :{{$node[\\\"Typeform Trigger\\\"].json[\\\"form_response\\\"][\\\"answers\\\"][\\\"Let's start with your* first name.*\\\"]}}\\nNumber of child : {{$node[\\\"Typeform Trigger\\\"].json[\\\"form_response\\\"][\\\"answers\\\"][\\\"How many child do you have ?\\\"]}}\\nCountry : {{$node[\\\"Typeform Trigger\\\"].json[\\\"form_response\\\"][\\\"answers\\\"][\\\"Lastly, [field:d566770d2197a78b], what country do you live in?\\\"]}}\\nMail adress : {{$node[\\\"Typeform Trigger\\\"].json[\\\"form_response\\\"][\\\"answers\\\"][\\\"What *email address* can we reach you at? This is only to get in touch, not to send spam.\\\"]}}\\nBirth date : {{$node[\\\"Typeform Trigger\\\"].json[\\\"form_response\\\"][\\\"answers\\\"][\\\"What is your birth date ?\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]},\"Twilio\":{\"main\":[[]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "inkyfourteen", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[0,150],\"parameters\":{},\"typeVersion\":1},{\"name\":\"dataArray\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nfor (item of items[0].json.data) {\\n newItems.push({json: item});\\n}\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"N8N Workflows\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[300,300],\"parameters\":{\"url\":\"http://localhost:8443/rest/workflows\",\"options\":{}},\"typeVersion\":1},{\"name\":\"GitHub\",\"type\":\"n8n-nodes-base.github\",\"position\":[800,130],\"parameters\":{\"owner\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"owner\\\"]}}\",\"filePath\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"path\\\"]}}{{$json[\\\"name\\\"]}}.json\",\"resource\":\"file\",\"operation\":\"get\",\"repository\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"name\\\"]}}\",\"asBinaryProperty\":false},\"credentials\":{\"githubApi\":\"GitHub\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1000,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"N8N Workflow Detail\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[800,460],\"parameters\":{\"url\":\"=http://localhost:8443/rest/workflows/{{$json[\\\"id\\\"]}}\",\"options\":{}},\"typeVersion\":1},{\"name\":\"github_status\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1300,300],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"same\"},{\"output\":1,\"value2\":\"different\"},{\"output\":2,\"value2\":\"new\"}]},\"value1\":\"={{$json[\\\"github_status\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"same\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,130],\"parameters\":{},\"typeVersion\":1},{\"name\":\"different\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"new\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"GitHub Edit\",\"type\":\"n8n-nodes-base.github\",\"position\":[1700,180],\"parameters\":{\"owner\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"owner\\\"]}}\",\"filePath\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"path\\\"]}}{{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json\",\"resource\":\"file\",\"operation\":\"edit\",\"repository\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"name\\\"]}}\",\"fileContent\":\"={{$node[\\\"isDiffOrNew\\\"].json[\\\"n8n_data_stringy\\\"]}}\",\"commitMessage\":\"=[N8N Backup] {{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json ({{$json[\\\"github_status\\\"]}})\"},\"credentials\":{\"githubApi\":\"GitHub\"},\"typeVersion\":1},{\"name\":\"GitHub Create\",\"type\":\"n8n-nodes-base.github\",\"position\":[1700,460],\"parameters\":{\"owner\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"owner\\\"]}}\",\"filePath\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"path\\\"]}}{{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json\",\"resource\":\"file\",\"repository\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"name\\\"]}}\",\"fileContent\":\"={{$node[\\\"isDiffOrNew\\\"].json[\\\"n8n_data_stringy\\\"]}}\",\"commitMessage\":\"=[N8N Backup] {{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json ({{$json[\\\"github_status\\\"]}})\"},\"credentials\":{\"githubApi\":\"GitHub\"},\"typeVersion\":1},{\"name\":\"isDiffOrNew\",\"type\":\"n8n-nodes-base.function\",\"position\":[1150,300],\"parameters\":{\"functionCode\":\"// File Returned with Content\\nif (Object.keys(items[0].json).includes(\\\"content\\\")) {\\n // Get JSON Objects\\n var origWorkflow = eval(\\\"(\\\"+Buffer.from(items[0].json.content, 'base64').toString()+\\\")\\\");\\n var n8nWorkflow = (items[1].json.data);\\n \\n // Order JSON Objects\\n var orderedOriginal = {}\\n var orderedActual = {}\\n \\n Object.keys(origWorkflow).sort().forEach(function(key) {\\n orderedOriginal[key] = origWorkflow[key];\\n });\\n \\n Object.keys(n8nWorkflow).sort().forEach(function(key) {\\n orderedActual[key] = n8nWorkflow[key];\\n });\\n \\n // Determine Difference\\n if ( JSON.stringify(orderedOriginal) === JSON.stringify(orderedActual) ) {\\n items[0].json.github_status = \\\"same\\\";\\n items[0].json.content_decoded = orderedOriginal;\\n } else {\\n items[0].json.github_status = \\\"different\\\";\\n items[0].json.content_decoded = orderedOriginal;\\n items[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n }\\n// No File Returned / New Workflow\\n} else {\\n // Order JSON Object\\n var n8nWorkflow = (items[1].json.data);\\n var orderedActual = {}\\n Object.keys(n8nWorkflow).sort().forEach(function(key) {\\n orderedActual[key] = n8nWorkflow[key];\\n });\\n \\n // Proper Formatting\\n items[0].json.github_status = \\\"new\\\";\\n items[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n}\\n\\n// Return Items\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Daily @ 20:00\",\"type\":\"n8n-nodes-base.cron\",\"position\":[0,450],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":20,\"minute\":11}]}},\"typeVersion\":1},{\"name\":\"OneAtATime\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[600,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Globals\",\"type\":\"n8n-nodes-base.set\",\"position\":[150,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"repo.owner\",\"value\":\"octocat\"},{\"name\":\"repo.name\",\"value\":\"Hello-World\"},{\"name\":\"repo.path\",\"value\":\"my-team/n8n/workflows/\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"new\":{\"main\":[[{\"node\":\"GitHub Create\",\"type\":\"main\",\"index\":0}]]},\"same\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"isDiffOrNew\",\"type\":\"main\",\"index\":0}]]},\"GitHub\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Globals\":{\"main\":[[{\"node\":\"N8N Workflows\",\"type\":\"main\",\"index\":0}]]},\"dataArray\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"different\":{\"main\":[[{\"node\":\"GitHub Edit\",\"type\":\"main\",\"index\":0}]]},\"OneAtATime\":{\"main\":[[{\"node\":\"GitHub\",\"type\":\"main\",\"index\":0},{\"node\":\"N8N Workflow Detail\",\"type\":\"main\",\"index\":0}]]},\"GitHub Edit\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"isDiffOrNew\":{\"main\":[[{\"node\":\"github_status\",\"type\":\"main\",\"index\":0}]]},\"Daily @ 20:00\":{\"main\":[[{\"node\":\"Globals\",\"type\":\"main\",\"index\":0}]]},\"GitHub Create\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"N8N Workflows\":{\"main\":[[{\"node\":\"dataArray\",\"type\":\"main\",\"index\":0}]]},\"github_status\":{\"main\":[[{\"node\":\"same\",\"type\":\"main\",\"index\":0}],[{\"node\":\"different\",\"type\":\"main\",\"index\":0}],[{\"node\":\"new\",\"type\":\"main\",\"index\":0}]]},\"N8N Workflow Detail\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Globals\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Bulk Emails with personalized attachment", "output": "{\"id\":1,\"name\":\"My workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[320,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1520,300],\"parameters\":{\"options\":{\"allowUnauthorizedCerts\":true},\"subject\":\"Certificate For Course\",\"toEmail\":\"={{$node[\\\"SplitInBatches\\\"].json[\\\"email\\\"]}}\",\"fromEmail\":\"bhavabhuthi@riseup.net\",\"attachments\":\"data\"},\"credentials\":{\"smtp\":{\"id\":\"1\",\"name\":\"SMTP account\"}},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[560,300],\"parameters\":{\"filePath\":\"/home/shashikanth/Documents/Cert-Gen-Test/data.csv\",\"dataPropertyName\":\"csv\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[840,300],\"parameters\":{\"options\":{\"headerRow\":true},\"binaryPropertyName\":\"csv\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1080,300],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":5},\"typeVersion\":1},{\"name\":\"Read Binary File1\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[1300,300],\"parameters\":{\"filePath\":\"=/home/shashikanth/Documents/Cert-Gen-Test/generator-output/{{$json[\\\"name\\\"]}}.png\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"SplitInBatches\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File1\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "New WooCommerce Customer to Mautic 2", "output": "{\"id\":83,\"name\":\"New WooCommerce Customer to Mautic2\",\"nodes\":[{\"name\":\"Check for Existing\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[280,480],\"parameters\":{\"options\":{\"search\":\"={{$json[\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"If New\",\"type\":\"n8n-nodes-base.if\",\"position\":[460,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Create Contact\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[680,320],\"parameters\":{\"email\":\"={{$node[\\\"Customer Created\\\"].json[\\\"email\\\"]}}\",\"company\":\"={{$node[\\\"Customer Created\\\"].json[\\\"billing\\\"][\\\"company\\\"]}}\",\"options\":{},\"lastName\":\"={{$node[\\\"Customer Created\\\"].json[\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Customer Created\\\"].json[\\\"first_name\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1},{\"name\":\"Update Contact\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[680,580],\"parameters\":{\"options\":{},\"contactId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"lastName\":\"={{$node[\\\"Customer Created or Updated\\\"].json[\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"Customer Created or Updated\\\"].json[\\\"first_name\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":{\"id\":\"54\",\"name\":\"Mautic account\"}},\"typeVersion\":1},{\"name\":\"Customer Created or Updated\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[100,480],\"webhookId\":\"5d89e322-a5e0-4cce-9eab-185e8375175b\",\"parameters\":{\"event\":\"customer.updated\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"48\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{\"saveManualExecutions\":true,\"saveExecutionProgress\":true,\"saveDataSuccessExecution\":\"all\"},\"connections\":{\"If New\":{\"main\":[[{\"node\":\"Create Contact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update Contact\",\"type\":\"main\",\"index\":0}]]},\"Check for Existing\":{\"main\":[[{\"node\":\"If New\",\"type\":\"main\",\"index\":0}]]},\"Customer Created or Updated\":{\"main\":[[{\"node\":\"Check for Existing\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "tESTDDDDDDDD", "output": "{\"nodes\":[{\"name\":\"Run Query\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[450,450],\"parameters\":{\"query\":\"SELECT name, ean FROM product\",\"operation\":\"executeQuery\"},\"credentials\":{\"postgres\":\"postgres\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[600,450],\"parameters\":{\"operation\":\"toFile\"},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[750,450],\"parameters\":{\"fileName\":\"spreadsheet.xls\"},\"typeVersion\":1}],\"connections\":{\"Run Query\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Phone Number Clean Up", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"DataFilter\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[770,290],\"parameters\":{\"functionCode\":\"item.cleaned_phone = item.mobile.replace ( /[^0-9]/g, '');\\nitem.cleaned_phone = item.cleaned_phone.replace( /[0]/, '44');\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[600,290],\"parameters\":{\"values\":{\"string\":[{\"name\":\"mobile\",\"value\":\"07000 111111 Mr\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"DataFilter\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Name Clean Up", "output": "{\"nodes\":[{\"name\":\"Extract First Last Name\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[740,300],\"parameters\":{\"functionCode\":\"function startcase(str){\\n// does contain space\\nif (str.indexOf(' ') >= 0)\\n{\\n var strings = str.split(' ');\\n // loop through words\\n for (var i=0; i < strings.length;i++)\\n {\\n // startcase word in array\\n strings[i] = strings[i].charAt(0).toUpperCase() + strings[i].slice(1);\\n }\\n //rejoin array into string, seperated by space\\n return strings.join(' ')\\n}else{\\n// if no space, sentence case one word\\nreturn str.charAt(0).toUpperCase() + str.slice(1);\\n}\\n}\\n\\n\\nvar string = item.name;\\n\\n// Startcase\\nstring = startcase(string);\\nvar strings;\\n\\n// check if contains space\\nif (string.indexOf(' ') >= 0)\\n{\\n// split string by space\\nstrings = string.split(' ');\\nitem.title_name = strings[0];\\nitem.first_name = strings[1];\\nitem.last_name = strings[2];\\n}else\\n// If not contain name, then set full_name to first name\\n{\\nitem.first_name = item.name;\\n}\\n\\nreturn item;\\n\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[550,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"mr john smith\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Extract First Last Name\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "OpenAI-powered tweet generator", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"// hashtag list\\nconst Hashtags = [\\n \\\"#techtwitter\\\",\\n \\\"#n8n\\\"\\n];\\n\\n// random output function\\nconst randomHashtag = Hashtags[Math.floor(Math.random() * Hashtags.length)];\\nitem.hashtag = randomHashtag;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"https://api.openai.com/v1/engines/text-davinci-001/completions\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"prompt\\\": \\\"Generate a tweet, with under 100 characters, about and including the hashtag {{$node[\\\"FunctionItem\\\"].json[\\\"hashtag\\\"]}}:\\\",\\n \\\"temperature\\\": 0.7,\\n \\\"max_tokens\\\": 64,\\n \\\"top_p\\\": 1,\\n \\\"frequency_penalty\\\": 0,\\n \\\"presence_penalty\\\": 0\\n}\"},\"credentials\":{\"httpHeaderAuth\":\"\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1050,300],\"parameters\":{\"table\":\"main\",\"options\":{},\"operation\":\"append\",\"application\":\"appOaG8kEA8FAABOr\"},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Hashtag\",\"value\":\"={{$node[\\\"FunctionItem\\\"].json[\\\"hashtag\\\"]}}\"},{\"name\":\"Content\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"choices\\\"][0][\\\"text\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workflow test 1", "output": "{\"nodes\":[],\"connections\":{}}" }, { "input": "Plex to discord and google sheet", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[40,1040],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[40,820],\"webhookId\":\"a00f54d8-6c1a-4bac-bd6d-8b1dd0c7459f\",\"parameters\":{\"path\":\"plex\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Play\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,160],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Reprise\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Stop\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,480],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Pause\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,640],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Décode Payload\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[240,820],\"parameters\":{\"functionCode\":\"return JSON.parse(item.body.payload);\"},\"typeVersion\":1},{\"name\":\"Films\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[900,380],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Switch - Events - Films\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1300,380],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"media.play\"},{\"output\":1,\"value2\":\"media.resume\"},{\"output\":2,\"value2\":\"media.stop\"},{\"output\":3,\"value2\":\"media.pause\"}]},\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"event\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Films - Play\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,160],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} regarde le film {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Films - Reprise\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,320],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} reprend la lecture du film {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Films - Stop\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,480],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} stop la lecture du film {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Films - Pause\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,640],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} met en pause le film {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Séries\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[880,1020],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Play1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,980],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Reprise1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,1140],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Stop1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,1300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Pause1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,1460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Switch - Events - Séries\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1300,1200],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"media.play\"},{\"output\":1,\"value2\":\"media.resume\"},{\"output\":2,\"value2\":\"media.stop\"},{\"output\":3,\"value2\":\"media.pause\"}]},\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"event\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Séries - Play\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,980],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} regarde la série {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} épisode {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} de la saison {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Séries - Reprise\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,1140],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} reprend la lecture de la série {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} épisode {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} de la saison {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Séries - Stop\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,1300],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} stop la lecture de la série {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} épisode {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} de la saison {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Séries - Pause\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,1460],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} met en pause la série {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} épisode {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} de la saison {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Musiques\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[880,1840],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Play2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,1760],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Reprise2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,1920],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Stop2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,2080],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Pause2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,2240],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Switch - Events - Musiques\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1300,1980],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"media.play\"},{\"output\":1,\"value2\":\"media.resume\"},{\"output\":2,\"value2\":\"media.stop\"},{\"output\":3,\"value2\":\"media.pause\"}]},\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"event\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Musiques - Play\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,1760],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} écoute {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} par {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} de l'album {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Musiques - Reprise\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,1920],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} reprend l'écoute de {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} par {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} de l'album {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Musiques - Stop\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,2080],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} stop l'écoute de {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} par {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} de l'album {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord - Plex - Musiques - Pause\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1820,2240],\"parameters\":{\"text\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Account\\\"][\\\"title\\\"]}} met en pause l'écoute de {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}} par {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}} de l'album {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}} sur le serveur {{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}} à partir de la bibliothèque {{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}} avec le périphérique {{$node[\\\"Décode Payload\\\"].json[\\\"Player\\\"][\\\"title\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Switch - Type Médias\",\"type\":\"n8n-nodes-base.switch\",\"position\":[620,820],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"movie\"},{\"output\":1,\"value2\":\"show\"},{\"output\":2,\"value2\":\"artist\"}]},\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionType\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF - Nouveaux Films\",\"type\":\"n8n-nodes-base.if\",\"position\":[1080,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"event\\\"]}}\",\"value2\":\"library.new\"}]}},\"typeVersion\":1},{\"name\":\"IF - Nouvelles séries\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,1020],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"event\\\"]}}\",\"value2\":\"library.new\"}]}},\"typeVersion\":1},{\"name\":\"Ajout1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,840],\"parameters\":{},\"typeVersion\":1},{\"name\":\"IF Ajout Musiques\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,1840],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"event\\\"]}}\",\"value2\":\"library.new\"}]}},\"typeVersion\":1},{\"name\":\"Ajout2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,1620],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets - Plex Ajout Films1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2420,840],\"parameters\":{\"range\":\"Séries TV!A:E\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Google Account N8N \"}},\"typeVersion\":1},{\"name\":\"Ajouts Séries\",\"type\":\"n8n-nodes-base.set\",\"position\":[2060,840],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Serveurs\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}}\"},{\"name\":\"Bibliothèques\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}}\"},{\"name\":\"Séries\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}}\"},{\"name\":\"Saisons\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}}\"},{\"name\":\"Episodes\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Google Sheets - Plex Ajout Films2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2400,1620],\"parameters\":{\"range\":\"Musiques!A:D\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Google Account N8N \"}},\"typeVersion\":1},{\"name\":\"Ajouts Musiques\",\"type\":\"n8n-nodes-base.set\",\"position\":[2060,1620],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Serveurs\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}}\"},{\"name\":\"Bibliothèques\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}}\"},{\"name\":\"Artistes\",\"value\":\"=2CELLOS\"},{\"name\":\"Albums\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Google Sheets - Plex Traitements1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[600,1300],\"parameters\":{\"range\":\"Traitement!A:E\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Google Account N8N \"}},\"typeVersion\":1},{\"name\":\"Set Ligne Traitement\",\"type\":\"n8n-nodes-base.set\",\"position\":[400,1300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"SERVEUR\",\"value\":\"={{$json[\\\"Server\\\"][\\\"title\\\"]}}\"},{\"name\":\"EVENT\",\"value\":\"={{$json[\\\"event\\\"]}}\"},{\"name\":\"ACCOUNT\",\"value\":\"={{$json[\\\"Account\\\"][\\\"title\\\"]}}\"},{\"name\":\"BIBLIOTHEQUE\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}}\"},{\"name\":\"TITLE\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Ajout\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1560,20],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Ajouts Films\",\"type\":\"n8n-nodes-base.set\",\"position\":[2060,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Serveurs\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Server\\\"][\\\"title\\\"]}}\"},{\"name\":\"Bibliothèques\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"librarySectionTitle\\\"]}}\"},{\"name\":\"Films\",\"value\":\"={{$node[\\\"Décode Payload\\\"].json[\\\"Metadata\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Google Sheets - Plex Ajout Films\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2400,20],\"parameters\":{\"range\":\"Films!A:C\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":{\"id\":\"3\",\"name\":\"Google Account N8N \"}},\"typeVersion\":1}],\"connections\":{\"Play\":{\"main\":[[{\"node\":\"Discord - Plex - Films - Play\",\"type\":\"main\",\"index\":0}]]},\"Stop\":{\"main\":[[{\"node\":\"Discord - Plex - Films - Stop\",\"type\":\"main\",\"index\":0}]]},\"Ajout\":{\"main\":[[{\"node\":\"Ajouts Films\",\"type\":\"main\",\"index\":0}]]},\"Films\":{\"main\":[[{\"node\":\"IF - Nouveaux Films\",\"type\":\"main\",\"index\":0}]]},\"Pause\":{\"main\":[[{\"node\":\"Discord - Plex - Films - Pause\",\"type\":\"main\",\"index\":0}]]},\"Play1\":{\"main\":[[{\"node\":\"Discord - Plex - Séries - Play\",\"type\":\"main\",\"index\":0}]]},\"Play2\":{\"main\":[[{\"node\":\"Discord - Plex - Musiques - Play\",\"type\":\"main\",\"index\":0}]]},\"Stop1\":{\"main\":[[{\"node\":\"Discord - Plex - Séries - Stop\",\"type\":\"main\",\"index\":0}]]},\"Stop2\":{\"main\":[[{\"node\":\"Discord - Plex - Musiques - Stop\",\"type\":\"main\",\"index\":0}]]},\"Ajout1\":{\"main\":[[{\"node\":\"Ajouts Séries\",\"type\":\"main\",\"index\":0}]]},\"Ajout2\":{\"main\":[[{\"node\":\"Ajouts Musiques\",\"type\":\"main\",\"index\":0}]]},\"Pause1\":{\"main\":[[{\"node\":\"Discord - Plex - Séries - Pause\",\"type\":\"main\",\"index\":0}]]},\"Pause2\":{\"main\":[[{\"node\":\"Discord - Plex - Musiques - Pause\",\"type\":\"main\",\"index\":0}]]},\"Reprise\":{\"main\":[[{\"node\":\"Discord - Plex - Films - Reprise\",\"type\":\"main\",\"index\":0}]]},\"Séries\":{\"main\":[[{\"node\":\"IF - Nouvelles séries\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Décode Payload\",\"type\":\"main\",\"index\":0}]]},\"Musiques\":{\"main\":[[{\"node\":\"IF Ajout Musiques\",\"type\":\"main\",\"index\":0}]]},\"Reprise1\":{\"main\":[[{\"node\":\"Discord - Plex - Séries - Reprise\",\"type\":\"main\",\"index\":0}]]},\"Reprise2\":{\"main\":[[{\"node\":\"Discord - Plex - Musiques - Reprise\",\"type\":\"main\",\"index\":0}]]},\"Ajouts Films\":{\"main\":[[{\"node\":\"Google Sheets - Plex Ajout Films\",\"type\":\"main\",\"index\":0}]]},\"Ajouts Séries\":{\"main\":[[{\"node\":\"Google Sheets - Plex Ajout Films1\",\"type\":\"main\",\"index\":0}]]},\"Ajouts Musiques\":{\"main\":[[{\"node\":\"Google Sheets - Plex Ajout Films2\",\"type\":\"main\",\"index\":0}]]},\"Décode Payload\":{\"main\":[[{\"node\":\"Switch - Type Médias\",\"type\":\"main\",\"index\":0},{\"node\":\"Set Ligne Traitement\",\"type\":\"main\",\"index\":0}]]},\"IF Ajout Musiques\":{\"main\":[[{\"node\":\"Ajout2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch - Events - Musiques\",\"type\":\"main\",\"index\":0}]]},\"IF - Nouveaux Films\":{\"main\":[[{\"node\":\"Ajout\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch - Events - Films\",\"type\":\"main\",\"index\":0}]]},\"Set Ligne Traitement\":{\"main\":[[{\"node\":\"Google Sheets - Plex Traitements1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Décode Payload\",\"type\":\"main\",\"index\":0}]]},\"Switch - Type Médias\":{\"main\":[[{\"node\":\"Films\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Séries\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Musiques\",\"type\":\"main\",\"index\":0}]]},\"IF - Nouvelles séries\":{\"main\":[[{\"node\":\"Ajout1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch - Events - Séries\",\"type\":\"main\",\"index\":0}]]},\"Switch - Events - Films\":{\"main\":[[{\"node\":\"Play\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Reprise\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Pause\",\"type\":\"main\",\"index\":0}]]},\"Switch - Events - Séries\":{\"main\":[[{\"node\":\"Play1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Reprise1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Pause1\",\"type\":\"main\",\"index\":0}]]},\"Switch - Events - Musiques\":{\"main\":[[{\"node\":\"Play2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Reprise2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Pause2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a Onfleet task for a new added row in Airtable", "output": "{\"id\":9,\"name\":\"Airtable -> Onfleet\",\"nodes\":[{\"name\":\"Airtable Trigger\",\"type\":\"n8n-nodes-base.airtableTrigger\",\"position\":[280,600],\"parameters\":{\"pollTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":10}]},\"triggerField\":\"Address_Line1\",\"additionalFields\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"Onfleet\",\"type\":\"n8n-nodes-base.onfleet\",\"position\":[500,600],\"parameters\":{\"operation\":\"create\",\"destination\":{\"destinationProperties\":{\"address\":\"={{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Address_Line1\\\"]}}, {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"City/Town\\\"]}}, {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"State/Province\\\"]}}, {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Country\\\"]}}, {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Postal_Code\\\"]}}\",\"unparsed\":true}},\"additionalFields\":{\"notes\":\"={{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Task_Details\\\"][1]}} \\n{{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Task_Details\\\"][0]}}\",\"recipient\":{\"recipientProperties\":{\"recipientName\":\"={{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Recipient_Name\\\"]}}\",\"recipientNotes\":\"={{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Recipient_Notes\\\"]}}\",\"recipientPhone\":\"=+1{{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"Recipient_Phone\\\"]}}\"}},\"completeAfter\":\"= {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"completeAfter\\\"]}}\",\"completeBefore\":\"= {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"completeBefore\\\"]}}\"}},\"credentials\":{\"onfleetApi\":{\"id\":\"2\",\"name\":\"Onfleet API Key\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Airtable Trigger\":{\"main\":[[{\"node\":\"Onfleet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a Whatsapp message via Twilio when a certain Onfleet event happens", "output": "{\"id\":7,\"name\":\"Onfleet Trigger --> Twilio Whatsapp\",\"nodes\":[{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[680,300],\"parameters\":{\"message\":\"=Your delivery is on the way, please visit {{$json[\\\"body\\\"][\\\"data\\\"][\\\"task\\\"][\\\"trackingURL\\\"]}} to track your driver's location.\",\"options\":{},\"toWhatsapp\":true},\"credentials\":{\"twilioApi\":{\"id\":\"5\",\"name\":\"Twilio account\"}},\"typeVersion\":1},{\"name\":\"Onfleet Trigger\",\"type\":\"n8n-nodes-base.onfleetTrigger\",\"position\":[460,300],\"webhookId\":\"db02ef2c-fda1-43f0-84d5-ba4ad7d5dea3\",\"parameters\":{\"triggerOn\":\"taskCreated\",\"additionalFields\":{}},\"credentials\":{\"onfleetApi\":{\"id\":\"2\",\"name\":\"Onfleet API Key\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Onfleet Trigger\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Replace Character with Function Node", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[500,440],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[660,440],\"parameters\":{\"values\":{\"string\":[{\"name\":\"myText\",\"value\":\"n8n is amazing\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[880,440],\"parameters\":{\"functionCode\":\"// With this code, we are replacing the space with hypen in the given variable value\\n\\nconst search = ' ';\\nconst replaceWith = '-';\\n\\nfor (item of items) {\\n item.json.myNewText = $node[\\\"Set\\\"].json[\\\"myText\\\"].split(search).join(replaceWith);;\\n}\\n\\nreturn items;\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a Discord message when a certain Onfleet event happens", "output": "{\"id\":10,\"name\":\"Onfleet --> Discord\",\"nodes\":[{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[680,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Onfleet Trigger\",\"type\":\"n8n-nodes-base.onfleetTrigger\",\"position\":[460,300],\"webhookId\":\"58f99515-a1d6-4c56-8ecc-e9d921fa3276\",\"parameters\":{\"triggerOn\":\"taskStarted\",\"additionalFields\":{}},\"credentials\":{\"onfleetApi\":{\"id\":\"2\",\"name\":\"Onfleet API Key\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Onfleet Trigger\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Onfleet tasks from local Spreadsheets", "output": "{\"id\":12,\"name\":\"Create Onfleet tasks from Spreadsheets\",\"nodes\":[{\"name\":\"Onfleet\",\"type\":\"n8n-nodes-base.onfleet\",\"position\":[900,280],\"parameters\":{\"operation\":\"create\",\"destination\":{\"destinationProperties\":{\"address\":\"={{$json[\\\"Address_Line1\\\"]}}, {{$json[\\\"Address_Line2\\\"]}}, {{$json[\\\"City/Town\\\"]}} {{$json[\\\"State/Province\\\"]}}, {{$json[\\\"Country\\\"]}}, {{$json[\\\"Postal_Code\\\"]}}\",\"unparsed\":true,\"addressNotes\":\"=\",\"addressApartment\":\"={{$json[\\\"Address_Line2\\\"]}}\"}},\"additionalFields\":{\"notes\":\"={{$json[\\\"Task_Details\\\"]}}\",\"recipient\":{\"recipientProperties\":{\"recipientName\":\"={{$json[\\\"Recipient_Name\\\"]}}\",\"recipientNotes\":\"={{$json[\\\"Recipient_Notes\\\"]}}\",\"recipientPhone\":\"=+1{{$json[\\\"Recipient_Phone\\\"]}}\"}}}},\"credentials\":{\"onfleetApi\":{\"id\":\"2\",\"name\":\"Onfleet API Key\"}},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[500,280],\"parameters\":{\"filePath\":\"=/Users/jamesli/Downloads/Onfleet Import Google Sheet.xlsx\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[700,280],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"Onfleet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a Onfleet task for a new Shopify fulfilment", "output": "{\"id\":13,\"name\":\"Creating an Onfleet Task for a new Shopify Fulfillment\",\"nodes\":[{\"name\":\"Shopify Trigger\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[240,440],\"webhookId\":\"576e8785-bbb4-426b-a922-da671efced68\",\"parameters\":{\"topic\":\"fulfillments/create\"},\"credentials\":{\"shopifyApi\":{\"id\":\"6\",\"name\":\"Shopify account\"}},\"typeVersion\":1},{\"name\":\"Onfleet\",\"type\":\"n8n-nodes-base.onfleet\",\"position\":[460,440],\"parameters\":{\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"onfleetApi\":{\"id\":\"2\",\"name\":\"Onfleet API Key\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Shopify Trigger\":{\"main\":[[{\"node\":\"Onfleet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Onfleet driver signup messages in Slack", "output": "{\"id\":14,\"name\":\"Onfleet Driver signup message in Slack\",\"nodes\":[{\"name\":\"Onfleet Trigger\",\"type\":\"n8n-nodes-base.onfleetTrigger\",\"position\":[460,300],\"webhookId\":\"a005e163-13a2-4ea2-a127-6e00e30a82f4\",\"parameters\":{\"triggerOn\":\"workerCreated\",\"additionalFields\":{}},\"credentials\":{\"onfleetApi\":{\"id\":\"2\",\"name\":\"Onfleet API Key\"}},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[680,300],\"parameters\":{\"text\":\"A new driver has signed up!\",\"channel\":\"#new-driver-signup\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"7\",\"name\":\"Slack account\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Onfleet Trigger\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "ddsadsadasd", "output": "{\"id\":\"97\",\"name\":\"List data from a table in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[450,300],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Back Up Your n8n Workflows To Github", "output": "{\"nodes\":[{\"id\":\"421824c2-59a2-441b-aacc-7dadf2ec153b\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[900,1180],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c6024a57-1957-4714-84e3-8d326c83cd89\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[420,1560],\"parameters\":{\"color\":6,\"width\":1910.7813046051347,\"height\":731.7039821513649,\"content\":\"## Subworkflow\"},\"typeVersion\":1},{\"id\":\"07691901-a8d2-4891-860b-1d672361021b\",\"name\":\"Execute Workflow Trigger\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"position\":[480,1940],\"parameters\":{},\"typeVersion\":1},{\"id\":\"2b1dd138-7872-42ea-9882-8750ef4cf227\",\"name\":\"n8n\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[1300,1280],\"parameters\":{\"filters\":{},\"requestOptions\":{}},\"credentials\":{\"n8nApi\":{\"id\":\"t2YEgbUMXHjsykeF\",\"name\":\"admin\"}},\"typeVersion\":1},{\"id\":\"96c0c6a7-2a11-441d-8177-e0a18030daf9\",\"name\":\"Return\",\"type\":\"n8n-nodes-base.set\",\"position\":[2140,1760],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"8d513345-6484-431f-afb7-7cf045c90f4f\",\"name\":\"Done\",\"type\":\"boolean\",\"value\":true}]}},\"typeVersion\":3.3},{\"id\":\"6715d1ff-a1f0-4e1a-b96e-f680d1495047\",\"name\":\"Get File\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1100,1640],\"parameters\":{\"url\":\"={{ $json.download_url }}\",\"options\":{}},\"typeVersion\":4.2},{\"id\":\"443b18e8-c05b-444f-b323-dea0b3041939\",\"name\":\"If file too large\",\"type\":\"n8n-nodes-base.if\",\"position\":[860,1660],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"45ce825e-9fa6-430c-8931-9aaf22c42585\",\"operator\":{\"type\":\"string\",\"operation\":\"empty\",\"singleValue\":true},\"leftValue\":\"={{ $json.content }}\",\"rightValue\":\"\"},{\"id\":\"9619a55f-7fb1-4f24-b1a7-7aeb82365806\",\"operator\":{\"type\":\"string\",\"operation\":\"notExists\",\"singleValue\":true},\"leftValue\":\"={{ $json.error }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2},{\"id\":\"e460a2cd-f7af-4551-8ea2-84d9b9e5cb7f\",\"name\":\"Merge Items\",\"type\":\"n8n-nodes-base.merge\",\"position\":[860,1920],\"parameters\":{},\"typeVersion\":2},{\"id\":\"f795180a-66aa-4a86-acb0-96cf8c487db0\",\"name\":\"isDiffOrNew\",\"type\":\"n8n-nodes-base.code\",\"position\":[1060,1920],\"parameters\":{\"jsCode\":\"const orderJsonKeys = (jsonObj) => {\\n const ordered = {};\\n Object.keys(jsonObj).sort().forEach(key => {\\n ordered[key] = jsonObj[key];\\n });\\n return ordered;\\n}\\n\\n// Check if file returned with content\\nif (Object.keys($input.all()[0].json).includes(\\\"content\\\")) {\\n // Decode base64 content and parse JSON\\n const origWorkflow = JSON.parse(Buffer.from($input.all()[0].json.content, 'base64').toString());\\n const n8nWorkflow = $input.all()[1].json;\\n \\n // Order JSON objects\\n const orderedOriginal = orderJsonKeys(origWorkflow);\\n const orderedActual = orderJsonKeys(n8nWorkflow);\\n\\n // Determine difference\\n if (JSON.stringify(orderedOriginal) === JSON.stringify(orderedActual)) {\\n $input.all()[0].json.github_status = \\\"same\\\";\\n } else {\\n $input.all()[0].json.github_status = \\\"different\\\";\\n $input.all()[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n }\\n $input.all()[0].json.content_decoded = orderedOriginal;\\n// No file returned / new workflow\\n} else if (Object.keys($input.all()[0].json).includes(\\\"data\\\")) {\\n const origWorkflow = JSON.parse($input.all()[0].json.data);\\n const n8nWorkflow = $input.all()[1].json;\\n \\n // Order JSON objects\\n const orderedOriginal = orderJsonKeys(origWorkflow);\\n const orderedActual = orderJsonKeys(n8nWorkflow);\\n\\n // Determine difference\\n if (JSON.stringify(orderedOriginal) === JSON.stringify(orderedActual)) {\\n $input.all()[0].json.github_status = \\\"same\\\";\\n } else {\\n $input.all()[0].json.github_status = \\\"different\\\";\\n $input.all()[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n }\\n $input.all()[0].json.content_decoded = orderedOriginal;\\n\\n} else {\\n // Order JSON object\\n const n8nWorkflow = $input.all()[1].json;\\n const orderedActual = orderJsonKeys(n8nWorkflow);\\n \\n // Proper formatting\\n $input.all()[0].json.github_status = \\\"new\\\";\\n $input.all()[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n}\\n\\n// Return items\\nreturn $input.all();\\n\"},\"typeVersion\":1},{\"id\":\"30e7d6fc-327e-4693-95ce-376a3b1f145c\",\"name\":\"Check Status\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1460,1920],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"same\"},{\"output\":1,\"value2\":\"different\"},{\"output\":2,\"value2\":\"new\"}]},\"value1\":\"={{$json.github_status}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"36f12309-c7fe-446f-9571-bd1005c18ed8\",\"name\":\"Same file - Do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1680,1760],\"parameters\":{},\"typeVersion\":1},{\"id\":\"45f0eaa7-259b-4908-b567-af2b3b5abb6d\",\"name\":\"File is different\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1680,1920],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d16ec06b-7a3f-486e-8328-935ed3b4d565\",\"name\":\"File is new\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1680,2120],\"parameters\":{},\"typeVersion\":1},{\"id\":\"cdc7f306-b7d2-4de1-8e44-0bd8d49a679f\",\"name\":\"Create new file\",\"type\":\"n8n-nodes-base.github\",\"position\":[1900,2120],\"parameters\":{\"owner\":{\"__rl\":true,\"mode\":\"\",\"value\":\"={{ $('Config').first().item.repo_owner }}\"},\"filePath\":\"={{ $('Config').first().item.repo_path }}{{ $json.subPath }}{{$('Execute Workflow Trigger').first().json.id}}.json\",\"resource\":\"file\",\"repository\":{\"__rl\":true,\"mode\":\"\",\"value\":\"={{ $('Config').first().item.repo_name }}\"},\"fileContent\":\"={{$('isDiffOrNew').item.json[\\\"n8n_data_stringy\\\"]}}\",\"commitMessage\":\"={{$('Execute Workflow Trigger').first().json.name}} ({{$json.github_status}})\"},\"typeVersion\":1},{\"id\":\"9785333a-4a86-448d-afc2-58b0aa50ea96\",\"name\":\"Edit existing file\",\"type\":\"n8n-nodes-base.github\",\"position\":[1900,1920],\"parameters\":{\"owner\":{\"__rl\":true,\"mode\":\"\",\"value\":\"={{ $('Config').first().item.repo_owner }}\"},\"filePath\":\"={{ $('Config').first().item.repo_path }}{{ $json.subPath }}{{$('Execute Workflow Trigger').first().json.id}}.json\",\"resource\":\"file\",\"operation\":\"edit\",\"repository\":{\"__rl\":true,\"mode\":\"\",\"value\":\"={{ $('Config').first().item.repo_name }}\"},\"fileContent\":\"={{$('isDiffOrNew').item.json[\\\"n8n_data_stringy\\\"]}}\",\"commitMessage\":\"={{$('Execute Workflow Trigger').first().json.name}} ({{$json.github_status}})\"},\"typeVersion\":1},{\"id\":\"806db72c-c9f6-461d-be1a-1e6867a25382\",\"name\":\"Loop Over Items\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1500,1280],\"parameters\":{\"options\":{}},\"typeVersion\":3},{\"id\":\"e5c433e4-bf56-4a0a-906c-7d74f6fe7287\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[900,1380],\"parameters\":{\"rule\":{\"interval\":[{\"triggerAtHour\":1,\"triggerAtMinute\":33}]}},\"typeVersion\":1.2},{\"id\":\"f6b566cb-0a15-4792-ba27-d6cd2a6c9453\",\"name\":\"Create sub path\",\"type\":\"n8n-nodes-base.set\",\"position\":[1260,1920],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"dae43d3b-56e5-4098-b602-862ebf5cd073\",\"name\":\"subPath\",\"type\":\"string\",\"value\":\"={{ $('Execute Workflow Trigger').first().json.createdAt.split('-')[0] }}/{{ $('Execute Workflow Trigger').first().json.createdAt.split('-')[1] }}/\"}]},\"includeOtherFields\":true},\"typeVersion\":3.3},{\"id\":\"9e2412f6-df25-4c12-8faf-0200558b537c\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[420,1100],\"parameters\":{\"color\":4,\"width\":385,\"height\":417,\"content\":\"## Backup to GitHub \\nThis workflow will backup all instance workflows to GitHub every 24 hours.\\n\\nThe files are saved into folders using `YYYY/MM/` for the directory path and `ID.json` for the filename.\\n\\nThe Repo Owner, Repo Name and Main folder are set using the **Variables** feature but can be replaced with the `Config` node in the subworkflow. \\n\\nThe workflow runs calls itself to help reduce memory usage, Once the workflow has completed it will send an optional notification to Slack.\\n\\n### Time to Run\\nTested with 1423 workflows on `1.44.1` it took under 30 minutes for the first run and under 12 minutes once the initial run is complete.\"},\"typeVersion\":1},{\"id\":\"00fdb977-4f3e-49f6-81c3-bc7f9520914f\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[860,1100],\"parameters\":{\"color\":7,\"width\":1272.6408145680155,\"height\":416.1856906618075,\"content\":\"## Main workflow loop\"},\"typeVersion\":1},{\"id\":\"0c00a374-566a-49c7-80de-66a991c4bf69\",\"name\":\"Starting Message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1140,1280],\"webhookId\":\"c02eb407-5547-4aa0-9ebf-46dab67b63b6\",\"parameters\":{\"text\":\"=:information_source: Starting Workflow Backup [{{ $execution.id }}]\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#notifications\"},\"otherOptions\":{\"includeLinkToWorkflow\":false}},\"typeVersion\":2.2},{\"id\":\"eb7d15be-7f5d-4e39-837b-06d740685af3\",\"name\":\"Execute Workflow\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"onError\":\"continueErrorOutput\",\"position\":[1720,1300],\"parameters\":{\"mode\":\"each\",\"options\":{},\"workflowId\":\"={{ $workflow.id }}\"},\"typeVersion\":1},{\"id\":\"c831a0eb-95e1-46b3-bbf8-5d5bd928ca0a\",\"name\":\"Completed Notification\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1720,1120],\"webhookId\":\"a0c6e8c8-5d71-40fa-b02b-63a7ed5726c4\",\"parameters\":{\"text\":\"=✅ Backup has completed - {{ $('n8n').all().length }} workflows have been processed.\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#notifications\"},\"otherOptions\":{}},\"executeOnce\":true,\"typeVersion\":2.2},{\"id\":\"00864cb8-c8e4-4324-be1b-7d093e1bc3bf\",\"name\":\"Failed Flows\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1920,1320],\"webhookId\":\"2a092edb-de12-490f-931b-34d70e7d7696\",\"parameters\":{\"text\":\"=:x: Failed to backup {{ $('Loop Over Items').item.json.id }}\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#notifications\"},\"otherOptions\":{\"includeLinkToWorkflow\":false}},\"typeVersion\":2.2},{\"id\":\"e4d70af5-5c21-4340-8054-7ba0203f3ee1\",\"name\":\"Get file data\",\"type\":\"n8n-nodes-base.github\",\"position\":[660,1660],\"parameters\":{\"owner\":{\"__rl\":true,\"mode\":\"\",\"value\":\"={{ $('Config').first().item.repo_owner }}\"},\"filePath\":\"={{ $('Config').first().item.repo_path }}{{ $('Execute Workflow Trigger').first().json.createdAt.split('-')[0] }}/{{ $('Execute Workflow Trigger').first().json.createdAt.split('-')[1] }}/{{$json.id}}.json\",\"resource\":\"file\",\"operation\":\"get\",\"repository\":{\"__rl\":true,\"mode\":\"\",\"value\":\"={{ $('Config').first().item.repo_name }}\"},\"asBinaryProperty\":false,\"additionalParameters\":{}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"42ad4762-26fb-4686-9016-729e95c95324\",\"name\":\"Config\",\"type\":\"n8n-nodes-base.set\",\"position\":[660,1940],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"8f6d1741-772f-462a-811f-4c334185e4f0\",\"name\":\"repo_owner\",\"type\":\"string\",\"value\":\"={{ $vars.repo_owner }}\"},{\"id\":\"8cac215c-4fd7-422f-9fd2-6b2d1e5e0383\",\"name\":\"repo_name\",\"type\":\"string\",\"value\":\"={{ $vars.repo_name }}\"},{\"id\":\"eee305e9-4164-462a-86bd-80f0d58a31ae\",\"name\":\"repo_path\",\"type\":\"string\",\"value\":\"={{ $vars.repo_path }}\"}]},\"includeOtherFields\":true},\"typeVersion\":3.4}],\"pinData\":{},\"connections\":{\"n8n\":{\"main\":[[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}]]},\"Config\":{\"main\":[[{\"node\":\"Get file data\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge Items\",\"type\":\"main\",\"index\":1}]]},\"Get File\":{\"main\":[[{\"node\":\"Merge Items\",\"type\":\"main\",\"index\":0}]]},\"File is new\":{\"main\":[[{\"node\":\"Create new file\",\"type\":\"main\",\"index\":0}]]},\"Merge Items\":{\"main\":[[{\"node\":\"isDiffOrNew\",\"type\":\"main\",\"index\":0}]]},\"isDiffOrNew\":{\"main\":[[{\"node\":\"Create sub path\",\"type\":\"main\",\"index\":0}]]},\"Check Status\":{\"main\":[[{\"node\":\"Same file - Do nothing\",\"type\":\"main\",\"index\":0}],[{\"node\":\"File is different\",\"type\":\"main\",\"index\":0}],[{\"node\":\"File is new\",\"type\":\"main\",\"index\":0}]]},\"Failed Flows\":{\"main\":[[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}]]},\"Get file data\":{\"main\":[[{\"node\":\"If file too large\",\"type\":\"main\",\"index\":0}]]},\"Create new file\":{\"main\":[[{\"node\":\"Return\",\"type\":\"main\",\"index\":0}]]},\"Create sub path\":{\"main\":[[{\"node\":\"Check Status\",\"type\":\"main\",\"index\":0}]]},\"Loop Over Items\":{\"main\":[[{\"node\":\"Completed Notification\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Execute Workflow\",\"type\":\"main\",\"index\":0}]]},\"Execute Workflow\":{\"main\":[[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Failed Flows\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Starting Message\",\"type\":\"main\",\"index\":0}]]},\"Starting Message\":{\"main\":[[{\"node\":\"n8n\",\"type\":\"main\",\"index\":0}]]},\"File is different\":{\"main\":[[{\"node\":\"Edit existing file\",\"type\":\"main\",\"index\":0}]]},\"If file too large\":{\"main\":[[{\"node\":\"Get File\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Merge Items\",\"type\":\"main\",\"index\":0}]]},\"Edit existing file\":{\"main\":[[{\"node\":\"Return\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Starting Message\",\"type\":\"main\",\"index\":0}]]},\"Same file - Do nothing\":{\"main\":[[{\"node\":\"Return\",\"type\":\"main\",\"index\":0}]]},\"Execute Workflow Trigger\":{\"main\":[[{\"node\":\"Config\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automate testimonials in Strapi with n8n", "output": "{\"nodes\":[{\"name\":\"Simplify Result\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Content\",\"value\":\"={{$json[\\\"full_text\\\"].replace(/(?:https?|ftp):\\\\/\\\\/[\\\\n\\\\S]+/g, '')}}\"},{\"name\":\"Author\",\"value\":\"={{$json[\\\"user\\\"][\\\"name\\\"]}} (@{{$json[\\\"user\\\"][\\\"screen_name\\\"]}})\"},{\"name\":\"Created\",\"value\":\"={{new Date($json[\\\"created_at\\\"]).toISOString()}}\"},{\"name\":\"URL\",\"value\":\"=https://twitter.com/{{$json[\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$json[\\\"id_str\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Store in Strapi\",\"type\":\"n8n-nodes-base.strapi\",\"position\":[1780,100],\"parameters\":{\"columns\":\"Content,Author,Created,URL\",\"operation\":\"create\",\"contentType\":\"posts\"},\"credentials\":{\"strapiApi\":{\"id\":\"136\",\"name\":\"Strapi Demo\"}},\"typeVersion\":1},{\"name\":\"Every 30 Minutes\",\"type\":\"n8n-nodes-base.interval\",\"position\":[240,100],\"parameters\":{\"unit\":\"minutes\",\"interval\":30},\"typeVersion\":1},{\"name\":\"Is Retweet or Old?\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"Content\\\"]}}\",\"value2\":\"RT @\",\"operation\":\"startsWith\"}],\"dateTime\":[{\"value1\":\"={{$json[\\\"Created\\\"]}}\",\"value2\":\"={{new Date(new Date().getTime() - 30 * 60 * 1000)}}\",\"operation\":\"before\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Search Tweets\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[460,100],\"parameters\":{\"operation\":\"search\",\"searchText\":\"(strapi OR n8n.io) AND lang:en\",\"additionalFields\":{\"tweetMode\":\"extended\",\"resultType\":\"recent\"}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"15\",\"name\":\"@MutedJam\"}},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,-120],\"webhookId\":\"6f833370-9068-44ef-8e56-4ceb563a851e\",\"parameters\":{\"path\":\"6f833370-9068-44ef-8e56-4ceb563a851e\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Simplify Webhook Result\",\"type\":\"n8n-nodes-base.set\",\"position\":[460,-120],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Content\",\"value\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"fields\\\"][1][\\\"value\\\"]}}\"},{\"name\":\"Author\",\"value\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"fields\\\"][0][\\\"value\\\"]}}\"},{\"name\":\"Created\",\"value\":\"={{new Date().toISOString()}}\"},{\"name\":\"URL\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Analyze Form Submission\",\"type\":\"n8n-nodes-base.googleCloudNaturalLanguage\",\"position\":[680,-220],\"parameters\":{\"content\":\"={{$json[\\\"Content\\\"]}}\",\"options\":{}},\"credentials\":{\"googleCloudNaturalLanguageOAuth2Api\":{\"id\":\"138\",\"name\":\"Google Cloud Natural Language account\"}},\"typeVersion\":1},{\"name\":\"Analyze Tweet\",\"type\":\"n8n-nodes-base.googleCloudNaturalLanguage\",\"position\":[1120,200],\"parameters\":{\"content\":\"={{$json[\\\"Content\\\"]}}\",\"options\":{}},\"credentials\":{\"googleCloudNaturalLanguageOAuth2Api\":{\"id\":\"138\",\"name\":\"Google Cloud Natural Language account\"}},\"typeVersion\":1},{\"name\":\"Merge Form Sentiment with Source\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,-120],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Merge Tweet Sentiment with Source\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1340,100],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Positive Form Sentiment?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,-120],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\",\"value2\":0.4,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Store Form Submission in Strapi\",\"type\":\"n8n-nodes-base.strapi\",\"position\":[1340,-120],\"parameters\":{\"columns\":\"Content,Author,Created,URL\",\"operation\":\"create\",\"contentType\":\"posts\"},\"credentials\":{\"strapiApi\":{\"id\":\"136\",\"name\":\"Strapi Demo\"}},\"typeVersion\":1},{\"name\":\"Positive Tweet Sentiment?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1560,100],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"documentSentiment\\\"][\\\"score\\\"]}}\",\"value2\":0.3,\"operation\":\"larger\"}]}},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Simplify Webhook Result\",\"type\":\"main\",\"index\":0}]]},\"Analyze Tweet\":{\"main\":[[{\"node\":\"Merge Tweet Sentiment with Source\",\"type\":\"main\",\"index\":1}]]},\"Search Tweets\":{\"main\":[[{\"node\":\"Simplify Result\",\"type\":\"main\",\"index\":0}]]},\"Simplify Result\":{\"main\":[[{\"node\":\"Is Retweet or Old?\",\"type\":\"main\",\"index\":0}]]},\"Every 30 Minutes\":{\"main\":[[{\"node\":\"Search Tweets\",\"type\":\"main\",\"index\":0}]]},\"Is Retweet or Old?\":{\"main\":[null,[{\"node\":\"Analyze Tweet\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge Tweet Sentiment with Source\",\"type\":\"main\",\"index\":0}]]},\"Analyze Form Submission\":{\"main\":[[{\"node\":\"Merge Form Sentiment with Source\",\"type\":\"main\",\"index\":0}]]},\"Simplify Webhook Result\":{\"main\":[[{\"node\":\"Analyze Form Submission\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge Form Sentiment with Source\",\"type\":\"main\",\"index\":1}]]},\"Positive Form Sentiment?\":{\"main\":[[{\"node\":\"Store Form Submission in Strapi\",\"type\":\"main\",\"index\":0}]]},\"Positive Tweet Sentiment?\":{\"main\":[[{\"node\":\"Store in Strapi\",\"type\":\"main\",\"index\":0}]]},\"Merge Form Sentiment with Source\":{\"main\":[[{\"node\":\"Positive Form Sentiment?\",\"type\":\"main\",\"index\":0}]]},\"Merge Tweet Sentiment with Source\":{\"main\":[[{\"node\":\"Positive Tweet Sentiment?\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert FileMaker Data API to Flat File Array", "output": "{\"nodes\":[{\"name\":\"FileMaker response.data\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[600,-580],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=response.data\"},\"typeVersion\":1},{\"name\":\"Return item.fieldData\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[800,-580],\"parameters\":{\"functionCode\":\"return item.fieldData;\\n\"},\"typeVersion\":1},{\"name\":\"FileMaker Data API Contacts\",\"type\":\"n8n-nodes-base.function\",\"position\":[400,-580],\"parameters\":{\"functionCode\":\"return [{ json: \\n\\n{\\n\\t\\\"response\\\": {\\n\\t\\t\\\"dataInfo\\\": {\\n\\t\\t\\t\\\"database\\\": \\\"WorkflowSampleData\\\",\\n\\t\\t\\t\\\"layout\\\": \\\"Contacts\\\",\\n\\t\\t\\t\\\"table\\\": \\\"Contacts\\\",\\n\\t\\t\\t\\\"totalRecordCount\\\": 500,\\n\\t\\t\\t\\\"foundCount\\\": 500,\\n\\t\\t\\t\\\"returnedCount\\\": 100\\n\\t\\t},\\n\\t\\t\\\"data\\\": [{\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"James\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Butt\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Benton, John B Jr\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"6649 N Blue Gum St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New Orleans\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Orleans\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"LA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"70116\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"504-621-8927\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"504-845-1427\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"jbutt@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.bentonjohnbjr.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 1\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"1\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Josephine\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Darakjy\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Chanay, Jeffrey A Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4 B Blue Ridge Blvd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Brighton\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Livingston\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"48116\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"810-292-9388\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"810-374-9840\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"josephine_darakjy@darakjy.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.chanayjeffreyaesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 2\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"2\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Art\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Venere\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Chemel, James L Cpa\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"8 W Cerritos Ave #54\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Bridgeport\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Gloucester\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"08014\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"856-636-8749\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"856-264-4130\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"art@venere.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.chemeljameslcpa.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 3\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"3\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Lenna\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Paprocki\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Feltz Printing Service\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"639 Main St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Anchorage\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Anchorage\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"AK\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"99501\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"907-385-4412\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"907-921-2010\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"lpaprocki@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.feltzprintingservice.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 4\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"4\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Donette\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Foller\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Printing Dimensions\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"34 Center St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Hamilton\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Butler\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"45011\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"513-570-1893\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"513-549-4561\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"donette.foller@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.printingdimensions.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 5\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"5\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Simona\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Morasca\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Chapman, Ross E Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"3 Mcauley Dr\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Ashland\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Ashland\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"44805\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"419-503-2484\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"419-800-6759\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"simona@morasca.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.chapmanrosseesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 6\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"6\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Mitsue\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Tollner\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Morlong Associates\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"7 Eads St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Chicago\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Cook\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"IL\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"60632\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"773-573-6914\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"773-924-8565\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"mitsue_tollner@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.morlongassociates.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 7\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"7\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Leota\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Dilliard\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Commercial Press\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"7 W Jackson Blvd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Jose\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Santa Clara\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"95111\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"408-752-3500\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"408-813-1105\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"leota@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.commercialpress.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 8\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"8\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Sage\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Wieser\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Truhlar And Truhlar Attys\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"5 Boston Ave #88\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Sioux Falls\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Minnehaha\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"SD\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"57105\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"605-414-2147\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"605-794-4895\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"sage_wieser@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.truhlarandtruhlarattys.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 9\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"9\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Kris\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Marrier\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"King, Christopher A Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"228 Runamuck Pl #2808\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Baltimore\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Baltimore City\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MD\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"21224\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"410-655-8723\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"410-804-4694\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"kris@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.kingchristopheraesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 10\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"10\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Minna\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Amigon\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Dorl, James J Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2371 Jerrold Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Kulpsville\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Montgomery\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19443\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"215-874-1229\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"215-422-8694\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"minna_amigon@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.dorljamesjesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 11\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"11\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Abel\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Maclead\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Rangoni Of Florence\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"37275 St Rt 17m M\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Middle Island\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Suffolk\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"11953\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"631-335-3414\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"631-677-3675\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"amaclead@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.rangoniofflorence.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 12\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"12\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Kiley\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Caldarera\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Feiner Bros\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"25 E 75th St #69\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"90034\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"310-498-5651\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"310-254-3084\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"kiley.caldarera@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.feinerbros.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 13\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"13\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Graciela\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Ruta\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Buckley Miller & Wright\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"98 Connecticut Ave Nw\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Chagrin Falls\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Geauga\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"44023\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"440-780-8425\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"440-579-7763\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"gruta@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.buckleymillerwright.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 14\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"14\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Cammy\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Albares\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Rousseaux, Michael Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"56 E Morehead St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Laredo\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Webb\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"78045\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"956-537-6195\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"956-841-7216\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"calbares@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.rousseauxmichaelesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 15\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"15\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Mattie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Poquette\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Century Communications\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"73 State Road 434 E\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Phoenix\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Maricopa\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"AZ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"85013\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"602-277-4385\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"602-953-6360\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"mattie@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.centurycommunications.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 16\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"16\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Meaghan\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Garufi\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Bolton, Wilbur Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"69734 E Carrillo St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Mc Minnville\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Warren\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TN\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"37110\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"931-313-9635\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"931-235-7959\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"meaghan@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.boltonwilburesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 17\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"17\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Gladys\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Rim\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"T M Byxbee Company Pc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"322 New Horizon Blvd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Milwaukee\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Milwaukee\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"WI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"53207\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"414-661-9598\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"414-377-2880\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"gladys.rim@rim.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.tmbyxbeecompanypc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 18\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"18\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Yuki\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Whobrey\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Farmers Insurance Group\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"1 State Route 27\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Taylor\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Wayne\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"48180\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"313-288-7937\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"313-341-4470\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"yuki_whobrey@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.farmersinsurancegroup.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 19\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"19\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Fletcher\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Flosi\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Post Box Services Plus\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"394 Manchester Blvd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Rockford\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Winnebago\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"IL\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"61109\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"815-828-2147\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"815-426-5657\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"fletcher.flosi@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.postboxservicesplus.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 20\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"20\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Bette\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Nicka\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Sport En Art\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"6 S 33rd St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Aston\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Delaware\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19014\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"610-545-3615\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"610-492-4643\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"bette_nicka@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.sportenart.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 21\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"21\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Veronika\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Inouye\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"C 4 Network Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"6 Greenleaf Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Jose\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Santa Clara\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"95111\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"408-540-1785\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"408-813-4592\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"vinouye@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.cnetworkinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 22\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"22\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Willard\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Kolmetz\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Ingalls, Donald R Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"618 W Yakima Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Irving\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Dallas\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"75062\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"972-303-9197\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"972-896-4882\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"willard@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.ingallsdonaldresq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 23\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"23\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Maryann\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Royster\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Franklin, Peter L Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"74 S Westgate St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Albany\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Albany\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"12204\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"518-966-7987\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"518-448-8982\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"mroyster@royster.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.franklinpeterlesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 24\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"24\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Alisha\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Slusarski\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Wtlz Power 107 Fm\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"3273 State St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Middlesex\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Middlesex\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"08846\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"732-658-3154\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"732-635-3453\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"alisha@slusarski.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.wtlzpowerfm.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 25\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"25\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Allene\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Iturbide\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Ledecky, David Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"1 Central Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Stevens Point\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Portage\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"WI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"54481\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"715-662-6764\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"715-530-9863\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"allene_iturbide@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.ledeckydavidesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 26\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"26\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Chanel\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Caudy\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Professional Image Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"86 Nw 66th St #8673\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Shawnee\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Johnson\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"KS\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"66218\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"913-388-2079\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"913-899-1103\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"chanel.caudy@caudy.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.professionalimageinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 27\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"27\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Ezekiel\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Chui\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Sider, Donald C Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2 Cedar Ave #84\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Easton\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Talbot\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MD\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"21601\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"410-669-1642\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"410-235-8738\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"ezekiel@chui.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.siderdonaldcesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 28\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"28\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Willow\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Kusko\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"U Pull It\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"90991 Thorburn Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"10011\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"212-582-4976\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"212-934-5167\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"wkusko@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.upullit.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 29\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"29\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Bernardo\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Figeroa\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Clark, Richard Cpa\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"386 9th Ave N\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Conroe\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Montgomery\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"77301\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"936-336-3951\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"936-597-3614\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"bfigeroa@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.clarkrichardcpa.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 30\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"30\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Ammie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Corrio\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Moskowitz, Barry S\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"74874 Atlantic Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Columbus\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Franklin\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"43215\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"614-801-9788\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"614-648-3265\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"ammie@corrio.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.moskowitzbarrys.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 31\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"31\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Francine\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Vocelka\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Cascade Realty Advisors Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"366 South Dr\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Las Cruces\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Dona Ana\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NM\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"88011\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"505-977-3911\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"505-335-5293\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"francine_vocelka@vocelka.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.cascaderealtyadvisorsinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 32\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"32\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Ernie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Stenseth\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Knwz Newsradio\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"45 E Liberty St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Ridgefield Park\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Bergen\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"07660\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"201-709-6245\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"201-387-9093\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"ernie_stenseth@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.knwznewsradio.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 33\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"33\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Albina\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Glick\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Giampetro, Anthony D\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4 Ralph Ct\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Dunellen\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Middlesex\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"08812\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"732-924-7882\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"732-782-6701\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"albina@glick.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.giampetroanthonyd.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 34\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"34\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Alishia\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Sergi\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Milford Enterprises Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2742 Distribution Way\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"10025\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"212-860-1579\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"212-753-2740\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"asergi@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.milfordenterprisesinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 35\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"35\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Solange\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Shinko\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Mosocco, Ronald A\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"426 Wolf St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Metairie\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Jefferson\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"LA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"70002\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"504-979-9175\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"504-265-8174\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"solange@shinko.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.mosoccoronalda.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 36\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"36\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Jose\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Stockham\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Tri State Refueler Co\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"128 Bransten Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"10011\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"212-675-8570\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"212-569-4233\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"jose@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.tristaterefuelerco.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 37\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"37\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Rozella\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Ostrosky\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Parkway Company\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"17 Morena Blvd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Camarillo\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Ventura\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"93012\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"805-832-6163\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"805-609-1531\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"rozella.ostrosky@ostrosky.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.parkwaycompany.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 38\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"38\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Valentine\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Gillian\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Fbs Business Finance\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"775 W 17th St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Antonio\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Bexar\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"78204\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"210-812-9597\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"210-300-6244\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"valentine_gillian@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.fbsbusinessfinance.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 39\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"39\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Kati\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Rulapaugh\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Eder Assocs Consltng Engrs Pc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"6980 Dorsett Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Abilene\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Dickinson\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"KS\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"67410\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"785-463-7829\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"785-219-7724\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"kati.rulapaugh@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.ederassocsconsltngengrspc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 40\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"40\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Youlanda\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Schemmer\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Tri M Tool Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2881 Lewis Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Prineville\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Crook\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OR\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"97754\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"541-548-8197\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"541-993-2611\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"youlanda@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.trimtoolinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 41\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"41\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Dyan\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Oldroyd\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"International Eyelets Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"7219 Woodfield Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Overland Park\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Johnson\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"KS\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"66204\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"913-413-4604\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"913-645-8918\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"doldroyd@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.internationaleyeletsinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 42\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"42\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Roxane\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Campain\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Rapid Trading Intl\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"1048 Main St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Fairbanks\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Fairbanks North Star\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"AK\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"99708\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"907-231-4722\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"907-335-6568\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"roxane@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.rapidtradingintl.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 43\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"43\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Lavera\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Perin\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Abc Enterprises Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"678 3rd Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Miami\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Miami-Dade\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"FL\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"33196\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"305-606-7291\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"305-995-2078\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"lperin@perin.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.abcenterprisesinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 44\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"44\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Erick\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Ferencz\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Cindy Turner Associates\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"20 S Babcock St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Fairbanks\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Fairbanks North Star\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"AK\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"99712\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"907-741-1044\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"907-227-6777\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"erick.ferencz@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.cindyturnerassociates.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 45\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"45\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Fatima\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Saylors\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Stanton, James D Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2 Lighthouse Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Hopkins\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Hennepin\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MN\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"55343\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"952-768-2416\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"952-479-2375\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"fsaylors@saylors.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.stantonjamesdesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 46\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"46\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Jina\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Briddick\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Grace Pastries Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"38938 Park Blvd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Boston\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Suffolk\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"02128\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"617-399-5124\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"617-997-5771\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"jina_briddick@briddick.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.gracepastriesinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 47\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"47\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Kanisha\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Waycott\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Schroer, Gene E Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"5 Tomahawk Dr\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"90006\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"323-453-2780\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"323-315-7314\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"kanisha_waycott@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.schroergeneeesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 48\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"48\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Emerson\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Bowley\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Knights Inn\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"762 S Main St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Madison\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Dane\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"WI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"53711\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"608-336-7444\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"608-658-7940\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"emerson.bowley@bowley.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.knightsinn.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 49\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"49\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Blair\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Malet\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Bollinger Mach Shp & Shipyard\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"209 Decker Dr\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Philadelphia\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Philadelphia\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19132\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"215-907-9111\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"215-794-4519\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"bmalet@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.bollingermachshpshipyard.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 50\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"50\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Brock\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Bolognia\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Orinda News\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4486 W O St #1\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"10003\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"212-402-9216\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"212-617-5063\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"bbolognia@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.orindanews.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 51\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"51\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Lorrie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Nestle\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Ballard Spahr Andrews\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"39 S 7th St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Tullahoma\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Coffee\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TN\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"37388\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"931-875-6644\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"931-303-6041\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"lnestle@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.ballardspahrandrews.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 52\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"52\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Sabra\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Uyetake\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Lowy Limousine Service\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"98839 Hawthorne Blvd #6101\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Columbia\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Richland\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"SC\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"29201\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"803-925-5213\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"803-681-3678\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"sabra@uyetake.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.lowylimousineservice.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 53\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"53\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Marjory\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Mastella\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Vicon Corporation\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"71 San Mateo Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Wayne\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Delaware\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19087\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"610-814-5533\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"610-379-7125\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"mmastella@mastella.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.viconcorporation.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 54\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"54\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Karl\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Klonowski\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Rossi, Michael M\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"76 Brooks St #9\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Flemington\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Hunterdon\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"08822\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"908-877-6135\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"908-470-4661\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"karl_klonowski@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.rossimichaelm.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 55\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"55\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Tonette\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Wenner\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Northwest Publishing\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4545 Courthouse Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Westbury\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Nassau\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"11590\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"516-968-6051\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"516-333-4861\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"twenner@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.northwestpublishing.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 56\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"56\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Amber\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Monarrez\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Branford Wire & Mfg Co\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"14288 Foster Ave #4121\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Jenkintown\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Montgomery\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19046\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"215-934-8655\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"215-329-6386\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"amber_monarrez@monarrez.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.branfordwiremfgco.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 57\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"57\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Shenika\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Seewald\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"East Coast Marketing\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4 Otis St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Van Nuys\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"91405\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"818-423-4007\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"818-749-8650\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"shenika@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.eastcoastmarketing.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 58\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"58\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Delmy\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Ahle\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Wye Technologies Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"65895 S 16th St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Providence\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Providence\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"RI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"02909\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"401-458-2547\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"401-559-8961\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"delmy.ahle@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.wyetechnologiesinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 59\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"59\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Deeanna\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Juhas\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Healy, George W Iv\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"14302 Pennsylvania Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Huntingdon Valley\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Montgomery\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19006\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"215-211-9589\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"215-417-9563\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"deeanna_juhas@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.healygeorgewiv.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 60\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"60\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Blondell\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Pugh\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Alpenlite Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"201 Hawk Ct\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Providence\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Providence\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"RI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"02904\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"401-960-8259\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"401-300-8122\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"bpugh@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.alpenliteinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 61\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"61\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Jamal\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Vanausdal\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Hubbard, Bruce Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"53075 Sw 152nd Ter #615\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Monroe Township\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Middlesex\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"08831\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"732-234-1546\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"732-904-2931\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"jamal@vanausdal.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.hubbardbruceesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 62\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"62\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Cecily\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Hollack\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Arthur A Oliver & Son Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"59 N Groesbeck Hwy\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Austin\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Travis\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"78731\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"512-486-3817\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"512-861-3814\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"cecily@hollack.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.arthuraoliversoninc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 63\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"63\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Carmelina\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Lindall\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"George Jessop Carter Jewelers\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2664 Lewis Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Littleton\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Douglas\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CO\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"80126\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"303-724-7371\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"303-874-5160\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"carmelina_lindall@lindall.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.georgejessopcarterjewelers.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 64\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"64\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Maurine\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Yglesias\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Schultz, Thomas C Md\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"59 Shady Ln #53\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Milwaukee\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Milwaukee\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"WI\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"53214\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"414-748-1374\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"414-573-7719\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"maurine_yglesias@yglesias.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.schultzthomascmd.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 65\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"65\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Tawna\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Buvens\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"H H H Enterprises Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"3305 Nabell Ave #679\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"New York\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"10009\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"212-674-9610\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"212-462-9157\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"tawna@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.hhhenterprisesinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 66\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"66\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Penney\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Weight\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Hawaiian King Hotel\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"18 Fountain St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Anchorage\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Anchorage\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"AK\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"99515\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"907-797-9628\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"907-873-2882\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"penney_weight@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.hawaiiankinghotel.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 67\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"67\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Elly\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Morocco\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Killion Industries\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"7 W 32nd St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Erie\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Erie\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"16502\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"814-393-5571\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"814-420-3553\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"elly_morocco@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.killionindustries.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 68\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"68\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Ilene\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Eroman\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Robinson, William J Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2853 S Central Expy\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Glen Burnie\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Anne Arundel\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MD\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"21061\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"410-914-9018\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"410-937-4543\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"ilene.eroman@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.robinsonwilliamjesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 69\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"69\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Vallie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Mondella\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Private Properties\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"74 W College St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Boise\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Ada\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"ID\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"83707\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"208-862-5339\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"208-737-8439\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"vmondella@mondella.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.privateproperties.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 70\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"70\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Kallie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Blackwood\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Rowley Schlimgen Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"701 S Harrison Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Francisco\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"San Francisco\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"94104\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"415-315-2761\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"415-604-7609\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"kallie.blackwood@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.rowleyschlimgeninc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 71\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"71\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Johnetta\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Abdallah\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Forging Specialties\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"1088 Pinehurst St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Chapel Hill\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Orange\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NC\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"27514\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"919-225-9345\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"919-715-3791\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"johnetta_abdallah@aol.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.forgingspecialties.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 72\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"72\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Bobbye\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Rhym\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Smits, Patricia Garity\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"30 W 80th St #1995\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Carlos\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"San Mateo\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"94070\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"650-528-5783\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"650-811-9032\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"brhym@rhym.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.smitspatriciagarity.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 73\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"73\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Micaela\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Rhymes\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"H Lee Leonard Attorney At Law\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"20932 Hedley St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Concord\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Contra Costa\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"94520\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"925-647-3298\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"925-522-7798\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"micaela_rhymes@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.hleeleonardattorneyatlaw.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 74\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"74\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Tamar\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Hoogland\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"A K Construction Co\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"2737 Pistorio Rd #9230\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"London\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Madison\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"43140\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"740-343-8575\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"740-526-5410\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"tamar@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.akconstructionco.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 75\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"75\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Moon\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Parlato\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Ambelang, Jessica M Md\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"74989 Brandon St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Wellsville\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Allegany\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"14895\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"585-866-8313\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"585-498-4278\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"moon@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.ambelangjessicammd.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 76\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"76\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Laurel\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Reitler\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Q A Service\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"6 Kains Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Baltimore\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Baltimore City\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"MD\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"21215\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"410-520-4832\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"410-957-6903\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"laurel_reitler@reitler.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.qaservice.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 77\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"77\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Delisa\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Crupi\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Wood & Whitacre Contractors\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"47565 W Grand Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Newark\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Essex\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"07105\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"973-354-2040\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"973-847-9611\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"delisa.crupi@crupi.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.woodwhitacrecontractors.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 78\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"78\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Viva\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Toelkes\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Mark Iv Press Ltd\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4284 Dorigo Ln\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Chicago\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Cook\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"IL\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"60647\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"773-446-5569\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"773-352-3437\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"viva.toelkes@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.markivpressltd.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 79\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"79\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Elza\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Lipke\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Museum Of Science & Industry\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"6794 Lake Dr E\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Newark\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Essex\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NJ\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"07104\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"973-927-3447\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"973-796-3667\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"elza@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.museumofscienceindustry.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 80\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"80\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Devorah\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Chickering\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Garrison Ind\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"31 Douglas Blvd #950\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Clovis\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Curry\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NM\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"88101\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"505-975-8559\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"505-950-1763\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"devorah@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.garrisonind.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 81\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"81\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Timothy\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Mulqueen\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Saronix Nymph Products\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"44 W 4th St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Staten Island\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Richmond\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"NY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"10309\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"718-332-6527\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"718-654-7063\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"timothy_mulqueen@mulqueen.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.saronixnymphproducts.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 82\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"82\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Arlette\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Honeywell\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Smc Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"11279 Loytan St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Jacksonville\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Duval\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"FL\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"32254\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"904-775-4480\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"904-514-9918\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"ahoneywell@honeywell.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.smcinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 83\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"83\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Dominque\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Dickerson\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"E A I Electronic Assocs Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"69 Marquette Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Hayward\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Alameda\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"94545\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"510-993-3758\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"510-901-7640\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"dominque.dickerson@dickerson.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.eaielectronicassocsinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 84\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"84\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Lettie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Isenhower\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Conte, Christopher A Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"70 W Main St\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Beachwood\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Cuyahoga\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"44122\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"216-657-7668\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"216-733-8494\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"lettie_isenhower@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.contechristopheraesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 85\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"85\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Myra\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Munns\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Anker Law Office\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"461 Prospect Pl #316\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Euless\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Tarrant\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"76040\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"817-914-7518\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"817-451-3518\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"mmunns@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.ankerlawoffice.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 86\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"86\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Stephaine\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Barfield\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Beutelschies & Company\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"47154 Whipple Ave Nw\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Gardena\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"90247\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"310-774-7643\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"310-968-1219\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"stephaine@barfield.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.beutelschiescompany.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 87\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"87\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Lai\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Gato\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Fligg, Kenneth I Jr\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"37 Alabama Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Evanston\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Cook\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"IL\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"60201\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"847-728-7286\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"847-957-4614\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"lai.gato@gato.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.fliggkennethijr.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 88\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"88\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Stephen\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Emigh\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Sharp, J Daniel Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"3777 E Richmond St #900\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Akron\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Summit\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"OH\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"44302\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"330-537-5358\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"330-700-2312\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"stephen_emigh@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.sharpjdanielesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 89\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"89\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Tyra\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Shields\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Assink, Anne H Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"3 Fort Worth Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Philadelphia\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Philadelphia\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"PA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"19106\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"215-255-1641\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"215-228-8264\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"tshields@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.assinkannehesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 90\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"90\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Tammara\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Wardrip\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Jewel My Shop Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"4800 Black Horse Pike\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Burlingame\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"San Mateo\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"94010\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"650-803-1936\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"650-216-5075\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"twardrip@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.jewelmyshopinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 91\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"91\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Cory\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Gibes\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Chinese Translation Resources\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"83649 W Belmont Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Gabriel\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Los Angeles\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"91776\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"626-572-1096\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"626-696-2777\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"cory.gibes@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.chinesetranslationresources.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 92\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"92\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Danica\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Bruschke\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Stevens, Charles T\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"840 15th Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Waco\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"McLennan\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"TX\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"76708\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"254-782-8569\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"254-205-1422\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"danica_bruschke@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.stevenscharlest.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 93\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"93\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Wilda\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Giguere\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Mclaughlin, Luther W Cpa\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"1747 Calle Amanecer #2\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Anchorage\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Anchorage\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"AK\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"99501\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"907-870-5536\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"907-914-9482\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"wilda@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.mclaughlinlutherwcpa.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 94\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"94\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Elvera\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Benimadho\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Tree Musketeers\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"99385 Charity St #840\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Jose\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Santa Clara\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"95110\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"408-703-8505\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"408-440-8447\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"elvera.benimadho@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.treemusketeers.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 95\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"95\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Carma\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Vanheusen\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Springfield Div Oh Edison Co\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"68556 Central Hwy\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"San Leandro\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Alameda\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"CA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"94577\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"510-503-7169\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"510-452-4835\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"carma@cox.net\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.springfielddivohedisonco.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 96\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"96\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Malinda\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Hochard\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Logan Memorial Hospital\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"55 Riverside Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Indianapolis\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Marion\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"IN\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"46202\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"317-722-5066\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"317-472-2412\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"malinda.hochard@yahoo.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.loganmemorialhospital.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 97\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"97\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Natalie\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Fern\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Kelly, Charles G Esq\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"7140 University Ave\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Rock Springs\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Sweetwater\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"WY\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"82901\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"307-704-8713\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"307-279-3793\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"natalie.fern@hotmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.kellycharlesgesq.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 98\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"98\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Lisha\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Centini\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Industrial Paper Shredders Inc\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"64 5th Ave #1153\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"Mc Lean\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Fairfax\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"VA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"22102\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"703-235-3937\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"703-475-7568\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"lisha@centini.org\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.industrialpapershreddersinc.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 99\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"99\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}, {\\n\\t\\t\\t\\\"fieldData\\\": {\\n\\t\\t\\t\\t\\\"first_name\\\": \\\"Arlene\\\",\\n\\t\\t\\t\\t\\\"last_name\\\": \\\"Klusman\\\",\\n\\t\\t\\t\\t\\\"company_name\\\": \\\"Beck Horizon Builders\\\",\\n\\t\\t\\t\\t\\\"address\\\": \\\"3 Secor Rd\\\",\\n\\t\\t\\t\\t\\\"city\\\": \\\"New Orleans\\\",\\n\\t\\t\\t\\t\\\"county\\\": \\\"Orleans\\\",\\n\\t\\t\\t\\t\\\"state\\\": \\\"LA\\\",\\n\\t\\t\\t\\t\\\"zip\\\": \\\"70112\\\",\\n\\t\\t\\t\\t\\\"phone1\\\": \\\"504-710-5840\\\",\\n\\t\\t\\t\\t\\\"phone2\\\": \\\"504-946-1807\\\",\\n\\t\\t\\t\\t\\\"email\\\": \\\"arlene_klusman@gmail.com\\\",\\n\\t\\t\\t\\t\\\"web\\\": \\\"http://www.beckhorizonbuilders.com\\\",\\n\\t\\t\\t\\t\\\"ID\\\": 100\\n\\t\\t\\t},\\n\\t\\t\\t\\\"portalData\\\": {},\\n\\t\\t\\t\\\"recordId\\\": \\\"100\\\",\\n\\t\\t\\t\\\"modId\\\": \\\"1\\\"\\n\\t\\t}]\\n\\t},\\n\\t\\\"messages\\\": [{\\n\\t\\t\\\"code\\\": \\\"0\\\",\\n\\t\\t\\\"message\\\": \\\"OK\\\"\\n\\t}]\\n}\\n\\n}];\"},\"typeVersion\":1}],\"connections\":{\"FileMaker response.data\":{\"main\":[[{\"node\":\"Return item.fieldData\",\"type\":\"main\",\"index\":0}]]},\"FileMaker Data API Contacts\":{\"main\":[[{\"node\":\"FileMaker response.data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send new tweets to Discord", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[260,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[420,100],\"parameters\":{\"operation\":\"search\",\"searchText\":\"from:n8n_io\",\"additionalFields\":{\"resultType\":\"recent\"}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"4\",\"name\":\"Twitter OAuth account\"}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,100],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[740,100],\"parameters\":{\"functionCode\":\"const new_items = [];\\nconst data = this.getWorkflowStaticData('node');\\n\\ndata.ids = data.ids || [];\\n\\nfor (var i=0; i item.json.id)\\nreturn new_items;\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[580,100],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":\"={{$json[\\\"id\\\"]}}\"}],\"string\":[{\"name\":\"url\",\"value\":\"=https://twitter.com/{{$json[\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$json[\\\"id_str\\\"]}}\"},{\"name\":\"tweet\",\"value\":\"={{$json[\\\"text\\\"]}}\"},{\"name\":\"username\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"screen_name\\\"]}}\"},{\"name\":\"photo\",\"value\":\"={{$json[\\\"user\\\"][\\\"profile_image_url_https\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$json[\\\"user\\\"][\\\"name\\\"]}}\"},{\"name\":\"color\",\"value\":\"={{$json[\\\"user\\\"][\\\"profile_link_color\\\"]}}\"},{\"name\":\"retweetedUrl\",\"value\":\"=https://twitter.com/{{$json[\\\"retweeted_status\\\"][\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$json[\\\"retweeted_status\\\"][\\\"id_str\\\"]}}\"}],\"boolean\":[{\"name\":\"retweeted\",\"value\":\"={{ $json[\\\"retweeted_status\\\"] ? true : false }}\"}]},\"options\":{\"dotNotation\":true},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[900,100],\"parameters\":{\"text\":\"={{ $json[\\\"retweeted\\\"] ? 'RT: ' + $json[\\\"retweetedUrl\\\"] : $json[\\\"url\\\"] }}\",\"webhookUri\":\"WEBHOOK_URI_HERE\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]},\"Twitter\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Warzywniak 2.0", "output": "{\"id\":\"55\",\"name\":\"Convert the JSON data received from the CocktailDB API in XML\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,260],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[850,260],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"XML\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Listen on new emails on a IMAP mailbox", "output": "{\"id\":\"1\",\"name\":\"ImapEmail, XmlToJson, POST-HTTP-Request\",\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[450,450],\"parameters\":{\"options\":{\"allowUnauthorizedCerts\":true},\"downloadAttachments\":true},\"credentials\":{\"imap\":\"\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[600,450],\"parameters\":{\"options\":{\"encoding\":\"utf8\",\"keepSource\":false},\"sourceKey\":\"attachment_0\",\"setAllData\":false,\"destinationKey\":\"xml\"},\"typeVersion\":1},{\"name\":\"XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[800,450],\"parameters\":{\"options\":{\"ignoreAttrs\":true,\"explicitRoot\":true},\"dataPropertyName\":\"xml\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1210,450],\"parameters\":{\"url\":\"http://localhost:5679/api/sales-order\",\"options\":{\"bodyContentType\":\"form-urlencoded\"},\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"orderRequest\",\"value\":\"={{$node[\\\"Set\\\"].data}}\"}]},\"dataPropertyName\":\"status\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[960,450],\"parameters\":{\"values\":{\"number\":[]}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"errorWorkflow\":\"2\"},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"XML\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"IMAP Email\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"XML\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send new subreddit posts to Discord", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-130,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Filter RSS Data\",\"type\":\"n8n-nodes-base.set\",\"position\":[280,340],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Title\",\"value\":\"={{$json[\\\"title\\\"]}}\"},{\"name\":\"Date\",\"value\":\"={{$json[\\\"pubDate\\\"]}}\"},{\"name\":\"URL\",\"value\":\"={{$json[\\\"link\\\"]}}\"},{\"name\":\"Author\",\"value\":\"={{$json[\\\"author\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-127.5,340],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":1}]}},\"typeVersion\":1},{\"name\":\"Reddit RSS Feed\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[70,340],\"parameters\":{\"url\":\"=https://www.reddit.com/r/selfhosted/new/.rss\"},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"New RSS\",\"type\":\"n8n-nodes-base.function\",\"position\":[470,340],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newRSSIds = items.map(item => item.json[\\\"Date\\\"]);\\nconst oldRSSIds = staticData.oldRSSIds; \\n\\nif (!oldRSSIds) {\\n staticData.oldRSSIds = newRSSIds;\\n return [items[0]];\\n}\\n\\nconst actualNewRSSIds = newRSSIds.filter((id) => !oldRSSIds.includes(id));\\nconst actualNewRSS = items.filter((data) => actualNewRSSIds.includes(data.json['Date']));\\nstaticData.oldRSSIds = [...actualNewRSSIds, ...oldRSSIds];\\n\\nreturn actualNewRSS;\\n\"},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[660,340],\"parameters\":{\"text\":\"=[{{$json[\\\"Title\\\"]}}]({{$json[\\\"URL\\\"]}}) by {{$json[\\\"Author\\\"]}}\",\"webhookUri\":\"WEBHOOK_URI_HERE\"},\"typeVersion\":1}],\"connections\":{\"Cron1\":{\"main\":[[{\"node\":\"Reddit RSS Feed\",\"type\":\"main\",\"index\":0}]]},\"New RSS\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Filter RSS Data\":{\"main\":[[{\"node\":\"New RSS\",\"type\":\"main\",\"index\":0}]]},\"Reddit RSS Feed\":{\"main\":[[{\"node\":\"Filter RSS Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Reddit RSS Feed\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Todoist to Notion", "output": "{\"id\":\"100\",\"name\":\"Create a new task in Todoist\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[550,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Todoist\",\"type\":\"n8n-nodes-base.todoist\",\"position\":[750,250],\"parameters\":{\"content\":\"\",\"options\":{}},\"credentials\":{\"todoistApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Todoist\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update Shopify order tags when a Onfleet event happens", "output": "{\"name\":\"Updating Shopify tags on Onfleet events\",\"nodes\":[{\"name\":\"Onfleet Trigger\",\"type\":\"n8n-nodes-base.onfleetTrigger\",\"position\":[460,300],\"webhookId\":\"6d6a2bee-f83e-4ebd-a1d5-8708c34393dc\",\"parameters\":{\"triggerOn\":\"taskDelayed\",\"additionalFields\":{}},\"typeVersion\":1},{\"name\":\"Shopify\",\"type\":\"n8n-nodes-base.shopify\",\"position\":[680,300],\"parameters\":{\"operation\":\"update\",\"updateFields\":{\"tags\":\"\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Onfleet Trigger\":{\"main\":[[{\"node\":\"Shopify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a QuickBooks invoice on a new Onfleet Task creation", "output": "{\"name\":\"Create a QuickBooks invoice on a new Onfleet Task creation\",\"nodes\":[{\"name\":\"Onfleet Trigger\",\"type\":\"n8n-nodes-base.onfleetTrigger\",\"position\":[460,300],\"webhookId\":\"6d6a2bee-f83e-4ebd-a1d5-8708c34393dc\",\"parameters\":{\"triggerOn\":\"taskCreated\",\"additionalFields\":{}},\"typeVersion\":1},{\"name\":\"QuickBooks Online\",\"type\":\"n8n-nodes-base.quickbooks\",\"position\":[680,300],\"parameters\":{\"Line\":[],\"resource\":\"invoice\",\"operation\":\"create\",\"additionalFields\":{\"Balance\":0,\"TxnDate\":\"\",\"ShipAddr\":\"\",\"BillEmail\":\"\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Onfleet Trigger\":{\"main\":[[{\"node\":\"QuickBooks Online\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an Onfleet task when a file in Google Drive is updated", "output": "{\"name\":\"Create an Onfleet task when a file in Google Drive is updated\",\"nodes\":[{\"name\":\"Google Drive Trigger\",\"type\":\"n8n-nodes-base.googleDriveTrigger\",\"position\":[460,300],\"parameters\":{\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"triggerOn\":\"specificFile\",\"fileToWatch\":\"\"},\"typeVersion\":1},{\"name\":\"Onfleet\",\"type\":\"n8n-nodes-base.onfleet\",\"position\":[680,300],\"parameters\":{\"operation\":\"create\",\"additionalFields\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Google Drive Trigger\":{\"main\":[[{\"node\":\"Onfleet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Syncro to Clockify", "output": "{\"id\":\"2\",\"name\":\"Syncro to Clockify\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[490,300],\"webhookId\":\"43d196b0-63c4-440a-aaf6-9d893907cf3c\",\"parameters\":{\"path\":\"43d196b0-63c4-440a-aaf6-9d893907cf3c\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Clockify\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[690,300],\"parameters\":{\"name\":\"=Ticket {{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"number\\\"]}} - {{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"customer_business_then_name\\\"]}} [{{$json[\\\"body\\\"][\\\"attributes\\\"][\\\"id\\\"]}}]\",\"workspaceId\":\"xxx\",\"additionalFields\":{}},\"credentials\":{\"clockifyApi\":\"Clockify\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Clockify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "TestLogan123", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[460,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1140,400],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1136,602],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Extract URIs Sync\",\"type\":\"n8n-nodes-base.function\",\"position\":[940,600],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Spotify Get Tracks Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[736,602],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"SpotifyAPI\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Spotify Add Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1330,400],\"parameters\":{\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Remove Item Mirror\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1340,600],\"parameters\":{\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\",\"operation\":\"delete\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Spotify Get Saved Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[740,400],\"parameters\":{\"resource\":\"library\",\"returnAll\":true},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Get URI - Filter liked albums\",\"type\":\"n8n-nodes-base.function\",\"position\":[950,400],\"parameters\":{\"functionCode\":\"let albums = items.map(item => ({track : item.json.track.uri,\\n album: item.json.track.album.uri,\\n type: item.json.track.album.album_type,\\n tracks: item.json.track.album.total_tracks}))\\n\\nlet album_id = albums.filter(item => (item.type === 'album')).map(item => item.album + \\\":\\\" + item.tracks)\\n\\nvar count = {};\\nalbum_id.forEach(function(i) { count[i] = (count[i]||0) + 1;});\\n\\nlet duplicated_albums = Object.keys(count).map( function(key,index) { return parseInt(key.split(':')[3]) == count[key] ? key.split(':').slice(0,3).join(':') : false} )\\n .filter(item => item);\\n\\nlet only_tracks = albums.filter(item => !duplicated_albums.includes(item.album))\\n .map(item => ({json: {uri: item.track}}))\\nreturn only_tracks\\n\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Spotify Add Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Spotify Remove Item Mirror\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Sync\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Spotify Get Saved Tracks\",\"type\":\"main\",\"index\":0},{\"node\":\"Spotify Get Tracks Mirror\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Saved Tracks\":{\"main\":[[{\"node\":\"Get URI - Filter liked albums\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks Mirror\":{\"main\":[[{\"node\":\"Extract URIs Sync\",\"type\":\"main\",\"index\":0}]]},\"Get URI - Filter liked albums\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "ClickUp <> Sheets", "output": "{\"id\":\"105\",\"name\":\"Create a task in ClickUp\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"ClickUp\",\"type\":\"n8n-nodes-base.clickUp\",\"position\":[450,300],\"parameters\":{\"list\":\"\",\"name\":\"\",\"team\":\"\",\"space\":\"\",\"folder\":\"\",\"additionalFields\":{}},\"credentials\":{\"clickUpApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get data from multiple RSS feeds to Telegram", "output": "{\"nodes\":[{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[420,-20],\"parameters\":{\"url\":\"={{$node[\\\"SplitInBatches\\\"].json[\\\"url\\\"]}}\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[200,-20],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-240,-20],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":10}]}},\"typeVersion\":1},{\"name\":\"only get new RSS\",\"type\":\"n8n-nodes-base.function\",\"position\":[640,-20],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newRSSIds = items.map(item => item.json[\\\"isoDate\\\"]);\\nconst oldRSSIds = staticData.oldRSSIds; \\n\\nif (!oldRSSIds) {\\n staticData.oldRSSIds = newRSSIds;\\n return items;\\n}\\n\\n\\nconst actualNewRSSIds = newRSSIds.filter((id) => !oldRSSIds.includes(id));\\nconst actualNewRSS = items.filter((data) => actualNewRSSIds.includes(data.json['isoDate']));\\nstaticData.oldRSSIds = [...actualNewRSSIds, ...oldRSSIds];\\n\\nreturn actualNewRSS;\\n\"},\"typeVersion\":1},{\"name\":\"Telegram_IT\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1220,460],\"parameters\":{\"text\":\"={{$json[\\\"title\\\"]}}\\n{{$json[\\\"link\\\"]}}\",\"chatId\":\"TelegramID\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"2\",\"name\":\"IT_RSS\"}},\"typeVersion\":1},{\"name\":\"Telegram_Security\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1220,220],\"parameters\":{\"text\":\"={{$json[\\\"title\\\"]}}\\n{{$json[\\\"link\\\"]}}\",\"chatId\":\"TelegramID\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"4\",\"name\":\"Security_RSS\"}},\"typeVersion\":1},{\"name\":\"RSS Source\",\"type\":\"n8n-nodes-base.function\",\"position\":[-20,-20],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n url: 'https://feeds.feedburner.com/UnikosHardware',\\n }\\n },\\n {\\n json: {\\n url: 'http://www.ithome.com.tw/rss.php',\\n }\\n },\\n {\\n json: {\\n url: 'http://feeds.feedburner.com/playpc',\\n }\\n },\\n {\\n json: {\\n url: 'https://lab.ocf.tw/feed/',\\n }\\n },\\n {\\n json: {\\n url: 'https://techcommunity.microsoft.com/plugins/custom/microsoft/o365/custom-blog-rss?tid=3754543230341459569&board=microsoft_365blog',\\n }\\n }\\n];\"},\"typeVersion\":1},{\"name\":\"Telegram_M365\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1220,-40],\"parameters\":{\"text\":\"={{$json[\\\"title\\\"]}}\\n{{$json[\\\"link\\\"]}}\",\"chatId\":\"TelegramID\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"5\",\"name\":\"M365_RSS\"}},\"typeVersion\":1},{\"name\":\"IF-2\",\"type\":\"n8n-nodes-base.if\",\"position\":[880,240],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"title\\\"]}}\",\"value2\":\"資安|資訊安全|安全|外洩|監控|威脅|漏洞|封鎖|修補|攻擊|入侵|個資|隱私|私密|騙|社交工程|釣魚|駭|Security|security|Secure|secure\",\"operation\":\"regex\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"IF-1\",\"type\":\"n8n-nodes-base.if\",\"position\":[880,-20],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"link\\\"]}}\",\"value2\":\"techcommunity.microsoft.com\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Clear Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-20,-180],\"parameters\":{\"functionCode\":\"// Get the global workflow static data\\nconst staticData = getWorkflowStaticData('global');\\n// Update its data\\nstaticData.oldRSSIds = new Date().getTime();\\n// Delete data\\ndelete staticData.oldRSSIds;\\n\\nreturn [\\n {\\n json: {}\\n }\\n]\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"RSS Source\",\"type\":\"main\",\"index\":0}]]},\"IF-1\":{\"main\":[[{\"node\":\"Telegram_M365\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF-2\",\"type\":\"main\",\"index\":0}]]},\"IF-2\":{\"main\":[[{\"node\":\"Telegram_Security\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Telegram_IT\",\"type\":\"main\",\"index\":0}]]},\"RSS Source\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0},{\"node\":\"only get new RSS\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"only get new RSS\":{\"main\":[[{\"node\":\"IF-1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Dev001-first-flow", "output": "{\"id\":\"69\",\"name\":\"Creating your first workflow\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,250],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[450,250],\"parameters\":{\"cityName\":\"berlin,de\"},\"credentials\":{\"openWeatherMapApi\":\"Weather\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,250],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}\",\"value2\":18}]}},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[850,150],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"=Wear a sweater today, it is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}°C outside right now.\"},\"credentials\":{\"twilioApi\":\"Twilio\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[850,350],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Gmail important emails' summary to the team chat (Zulip, Slack, etc)", "output": "{\"id\":15,\"name\":\"Gmail important to Zulip\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"=message\",\"value\":\"=From: {{$json[\\\"body\\\"][\\\"sender\\\"]}} <{{$json[\\\"body\\\"][\\\"fromAddress\\\"]}}>\\nSubject: {{$json[\\\"body\\\"][\\\"subject\\\"]}}\\nSummary: {{$json[\\\"body\\\"][\\\"summary\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Zulip\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[900,300],\"parameters\":{\"to\":[\"user11@slack.crewnew.com\"],\"content\":\"={{$node[\\\"Set\\\"].json[\\\"message\\\"]}}\"},\"credentials\":{\"zulipApi\":{\"id\":\"26\",\"name\":\"Zulip account\"}},\"typeVersion\":1},{\"name\":\"Webhook from Zoho\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[460,300],\"webhookId\":\"fe526767-8414-40d7-b392-52c2e4d0fd53\",\"parameters\":{\"path\":\"fe526767-8414-40d7-b392-52c2e4d0fd53\",\"options\":{},\"httpMethod\":\"POST\",\"responseCode\":\"={{200}}\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Zulip\",\"type\":\"main\",\"index\":0}]]},\"Webhook from Zoho\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "text examplea text examplea ", "output": "{\"id\":2,\"name\":\"RSS to Telegram\",\"nodes\":[{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[440,30],\"parameters\":{\"text\":\"=💹 #日幣匯率 {{$json[\\\"title\\\"]}}\\n\\n{{$json[\\\"link\\\"]}}\",\"chatId\":\"\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[-359.5,130],\"parameters\":{\"url\":\"\"},\"typeVersion\":1},{\"name\":\"Latest Read\",\"type\":\"n8n-nodes-base.function\",\"position\":[-160,130],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nlatestRead = staticData.latestRead;\\n\\nfor (let item of items) {\\n item.json.latestRead = latestRead || '2021-06-01';\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[40,130],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{new Date($node[\\\"Latest Read\\\"].data[\\\"latestRead\\\"]).getTime()}}\",\"value2\":\"={{new Date($node[\\\"RSS Feed Read\\\"].data[\\\"isoDate\\\"]).getTime()}}\"}],\"string\":[{\"value1\":\"={{$json[\\\"title\\\"]}}\",\"value2\":\"\",\"operation\":\"contains\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Write Latest Read\",\"type\":\"n8n-nodes-base.function\",\"position\":[240,30],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nif (items.length > 0) {\\n staticData.latestRead = items[0].json.isoDate || staticData.latestRead;\\n}\\n\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[230,270],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-560,130],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"value\":1}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Asia/Taipei\",\"errorWorkflow\":\"3\",\"saveExecutionProgress\":\"DEFAULT\"},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Write Latest Read\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"Latest Read\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Latest Read\",\"type\":\"main\",\"index\":0}]]},\"Write Latest Read\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get execute command data and transfer to JSON", "output": "{\"nodes\":[{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[600,350],\"parameters\":{\"command\":\"echo \\\"{ \\\\\\\"value1\\\\\\\": true, \\\\\\\"value2\\\\\\\": 1 }\\\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[800,450],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{JSON.parse($node[\\\"Execute Command\\\"].data[\\\"stdout\\\"]).value1}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"To Flow Data\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[800,250],\"parameters\":{\"functionCode\":\"item = JSON.parse(item.stdout);\\nreturn item;\"},\"typeVersion\":1}],\"connections\":{\"Execute Command\":{\"main\":[[{\"node\":\"To Flow Data\",\"type\":\"main\",\"index\":0},{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Bewerberinfo", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,300],\"parameters\":{\"formId\":\"UXuY0A\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Sheets\\\"].data[\\\"Severity\\\"]}}\",\"value2\":7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"Problems!A:D\",\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,400],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"subject\":\"User Reported Problem\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"smtp\":\"\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1050,200],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"channel\":\"problems\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Prueba1-Mautic", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-550,450],\"parameters\":{\"path\":\"PuHq2RQsmc3HXB/hook\",\"options\":{\"rawBody\":false},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1260,180],\"parameters\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"company\":1,\"options\":{},\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Find User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[170,260],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Update User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1560,250],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"email\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"email\\\"]}}\",\"lastName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"lastName\\\"]}}\",\"firstName\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"firstName\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Tag User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[430,670],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"Find User To Tag Sale\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"course\\\"][\\\"name\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Unsubscribe User\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[2170,410],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Split Full Name\",\"type\":\"n8n-nodes-base.function\",\"position\":[340,420],\"parameters\":{\"functionCode\":\"const student = items[0].json.student\\nstudent.firstName = student.name ? student.name.split(' ').slice(0, -1).join(' ') : ''\\nstudent.lastName= student.name ? student.name.split(' ').slice(-1).join(' ') : ''\\nitems[0].json.student = student\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"If not found return -1\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,260],\"parameters\":{\"functionCode\":\"items[0].json.id = items[0].json.id || -1\\nreturn items\"},\"typeVersion\":1},{\"name\":\"@MAIN STUDENT DATA\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,400],\"parameters\":{\"join\":\"inner\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Remove unsubscribe\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[1770,500],\"parameters\":{\"options\":{},\"contactId\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":\"=-#unsubscribe\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"typeVersion\":1},{\"name\":\"Find User To Tag Sale\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[190,670],\"parameters\":{\"limit\":1,\"options\":{\"search\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"student\\\"][\\\"user\\\"][\\\"email\\\"]}}\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"OAuth2 Mautic\"},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Set userFound\",\"type\":\"n8n-nodes-base.set\",\"position\":[700,260],\"parameters\":{\"values\":{\"string\":[{\"name\":\"userFound\",\"value\":\"={{$node[\\\"If not found return -1\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Switch Webhook Types\",\"type\":\"n8n-nodes-base.switch\",\"position\":[-70,450],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Sale.\",\"operation\":\"contains\"}]},\"value1\":\"={{$node[\\\"Set Webhook Request\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Set Webhook Request\",\"type\":\"n8n-nodes-base.set\",\"position\":[-310,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"student\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"object\\\"]}}\"},{\"name\":\"type\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"type\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF NOT userFound\",\"type\":\"n8n-nodes-base.if\",\"position\":[1090,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"userFound\\\"]}}\",\"value2\":\"-1\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"Switch User.type\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1380,420],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"User.updated\"},{\"output\":1,\"value2\":\"User.unsubscribe_from_marketing_emails\"},{\"output\":2,\"value2\":\"=User.subscribe_to_marketing_emails\"}]},\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"type\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[1770,250],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"@MAIN STUDENT DATA\\\"].json[\\\"student\\\"][\\\"unsubscribe_from_marketing_emails\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set Webhook Request\",\"type\":\"main\",\"index\":0}]]},\"Find User\":{\"main\":[[{\"node\":\"If not found return -1\",\"type\":\"main\",\"index\":0}]]},\"Update User\":{\"main\":[[{\"node\":\"IF unsubscribe_from_marketing_emails\",\"type\":\"main\",\"index\":0}]]},\"Set userFound\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":0}]]},\"Split Full Name\":{\"main\":[[{\"node\":\"@MAIN STUDENT DATA\",\"type\":\"main\",\"index\":1}]]},\"IF NOT userFound\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch User.type\",\"type\":\"main\",\"index\":0}]]},\"Switch User.type\":{\"main\":[[{\"node\":\"Update User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]},\"@MAIN STUDENT DATA\":{\"main\":[[{\"node\":\"IF NOT userFound\",\"type\":\"main\",\"index\":0}]]},\"Set Webhook Request\":{\"main\":[[{\"node\":\"Switch Webhook Types\",\"type\":\"main\",\"index\":0}]]},\"Switch Webhook Types\":{\"main\":[[{\"node\":\"Find User\",\"type\":\"main\",\"index\":0},{\"node\":\"Split Full Name\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Find User To Tag Sale\",\"type\":\"main\",\"index\":0}]]},\"Find User To Tag Sale\":{\"main\":[[{\"node\":\"Tag User\",\"type\":\"main\",\"index\":0}]]},\"If not found return -1\":{\"main\":[[{\"node\":\"Set userFound\",\"type\":\"main\",\"index\":0}]]},\"IF unsubscribe_from_marketing_emails\":{\"main\":[[{\"node\":\"Unsubscribe User\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove unsubscribe\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Mojang Name Availability Checker", "output": "{\"id\":4,\"name\":\"Mojang Name Availability Checker\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[190,270],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[710,270],\"parameters\":{\"conditions\":{\"number\":[],\"boolean\":[{\"value1\":\"={{$json[\\\"notify\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[540,270],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\nconst oldCode = staticData.statusCode || 0;\\nconst newCode = items[0].json.statusCode;\\nconst name = $node[\\\"Check Name Availability\\\"].parameter[\\\"url\\\"].split('/').splice(-1)[0];\\n\\nlet notify = false;\\n\\nif (oldCode != newCode) {\\n notify = true;\\n staticData.statusCode = newCode;\\n}\\n\\nlet message = `Name \\\\`${name}\\\\` is now ${newCode === 204 ? '' : 'un'}available.`;\\n\\nreturn [{json: {notify: notify, message: message, oldCode: oldCode, newCode: newCode}}];\\n\"},\"typeVersion\":1},{\"name\":\"Check Name Availability\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[370,270],\"parameters\":{\"url\":\"https://api.mojang.com/users/profiles/minecraft/\",\"options\":{\"fullResponse\":true}},\"typeVersion\":1},{\"name\":\"Send Webhook\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[910,270],\"parameters\":{\"url\":\"\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"content\\\": \\\"{{$json[\\\"message\\\"]}}\\\"}\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Send Webhook\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Check Name Availability\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Check Name Availability\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "get emails from irist", "output": "{\"id\":\"175\",\"name\":\"Get messages with a certain label, remove the label, and add a new one\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[450,300],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"additionalFields\":{\"format\":\"full\",\"labelIds\":[\"Label_103811885290186237\"]}},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[650,300],\"parameters\":{\"labelIds\":[\"Label_103811885290186237\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\",\"operation\":\"remove\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail2\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[850,300],\"parameters\":{\"labelIds\":[\"Label_140673791182006844\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"Gmail1\",\"type\":\"main\",\"index\":0}]]},\"Gmail1\":{\"main\":[[{\"node\":\"Gmail2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "teste share", "output": "{\"nodes\":[{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[760,160],\"parameters\":{\"text\":\"=Hello World! {{$node[\\\"Execute Command\\\"].json[\\\"stdout\\\"]}}\",\"webhookUri\":\"https://discord.com/api/webhooks/958040440559505478/5YIYFvnNDdcUxTuAxhTRzzulTGmNPLN978XukoOc06kZKVVzzz7BaG_iUUWVw8QP-edP\"},\"typeVersion\":1},{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[400,160],\"parameters\":{\"command\":\"python3 C:\\\\Users\\\\andre\\\\Desktop\\\\redrive\\\\master\\\\main.py\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,460],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[600,460],\"parameters\":{\"options\":{\"rawData\":true}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]},\"Execute Command\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0},{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": " Send data from an Http request to Airtable and Discord every week", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"45e2593e-f25d-4be5-9b50-4a7c1e566a9e\",\"parameters\":{\"path\":\"45e2593e-f25d-4be5-9b50-4a7c1e566a9e\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,200],\"parameters\":{\"url\":\"=https://{{$json[\\\"body\\\"][\\\"data\\\"][\\\"options\\\"][0][\\\"value\\\"]}}\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Check type\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"type\\\"]}}\",\"value2\":1,\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Extract Title\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1050,200],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"title\",\"cssSelector\":\"title\"}]}},\"typeVersion\":1},{\"name\":\"Add Link to Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1250,200],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"8a1638ce-da33-41b7-8fd9-37a4c272ba95\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Name|title\",\"title\":\"={{$json[\\\"title\\\"]}}\"},{\"key\":\"Link|url\",\"urlValue\":\"={{$node[\\\"Check type\\\"].json[\\\"body\\\"][\\\"data\\\"][\\\"options\\\"][0][\\\"value\\\"]}}\"}]}},\"credentials\":{\"notionApi\":\"Notion API Credentials\"},\"typeVersion\":1},{\"name\":\"Reply on Discord\",\"type\":\"n8n-nodes-base.set\",\"position\":[1450,200],\"parameters\":{\"values\":{\"number\":[{\"name\":\"type\",\"value\":4}],\"string\":[{\"name\":\"data.content\",\"value\":\"Added Link to notion\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Register URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,410],\"parameters\":{\"values\":{\"number\":[{\"name\":\"type\",\"value\":1}],\"string\":[]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Check type\",\"type\":\"main\",\"index\":0}]]},\"Check type\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Register URL\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Extract Title\",\"type\":\"main\",\"index\":0}]]},\"Extract Title\":{\"main\":[[{\"node\":\"Add Link to Notion\",\"type\":\"main\",\"index\":0}]]},\"Add Link to Notion\":{\"main\":[[{\"node\":\"Reply on Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Uploading a file to a Slack channel", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[160,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Download the file\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[420,300],\"parameters\":{\"url\":\"https://n8n.io/_nuxt/img/sync-data-between-apps.a4be8c7.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Post to Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[640,300],\"parameters\":{\"options\":{\"channelIds\":[\"C02GP22NHJ6\"],\"initialComment\":\"This is the file\"},\"resource\":\"file\",\"binaryData\":true,\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"124\",\"name\":\"cloud_demo\"}},\"typeVersion\":1}],\"connections\":{\"Download the file\":{\"main\":[[{\"node\":\"Post to Slack\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Download the file\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "testworkflow1234", "output": "{\"id\":1,\"name\":\"My workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[200,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[380,300],\"parameters\":{\"url\":\"https://anadarkodozer.com/dozerworks/webservice.php\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"operation\",\"value\":\"getchallenge\"},{\"name\":\"username\",\"value\":\"admin\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[560,300],\"parameters\":{\"url\":\"https://anadarkodozer.com/dozerworks/webservice.php\",\"options\":{\"bodyContentType\":\"multipart-form-data\"},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"operation\",\"value\":\"login\"},{\"name\":\"username\",\"value\":\"admin\"},{\"name\":\"accessKey\",\"value\":\"b30df7b57d37a43a3df4048c5c849cf0\"}]}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[880,320],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "trial software and so", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,80],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mock data\",\"type\":\"n8n-nodes-base.function\",\"position\":[420,80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n\\nreturn [ { json: { amount_USD: 50 } }, { json: { amount_USD: 20 } }, { json: { amount_USD: 60 } } ];\"},\"typeVersion\":1},{\"name\":\"Summing function\",\"type\":\"n8n-nodes-base.function\",\"position\":[660,80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n//Setup an empty variable to hold the count\\nlet total = 0;\\n\\n//Loop over the incoming items of data\\nfor (item of items) {\\n //For each item of data, add the amount_USD to our total counter\\n total += item.json.amount_USD;\\n}\\n\\n//Returns a well formed JSON object with just the total_value . You can either add more data to this returned object OR use the set node afterwards to do it in a no-code way.\\nreturn [ { json: { total_value: total } } ];\"},\"typeVersion\":1}],\"connections\":{\"Mock data\":{\"main\":[[{\"node\":\"Summing function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mock data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update people through Zulip about open tickets in Zammad", "output": "{\"id\":4,\"name\":\"Zammad Open Tickets\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-40,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Ticket Filtering\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Filter tickets by status.\",\"position\":[400,460],\"parameters\":{\"functionCode\":\"let newTickets = 0\\nlet openTickets = 0\\nlet pendingReminder = 0\\nlet pendingClose = 0\\n\\nfor (let i = 0; i < items.length; i++) {\\n const ticket = items[i]\\n if (ticket.json.state_id === 1) {\\n newTickets++\\n }\\n if (ticket.json.state_id === 2) {\\n openTickets++\\n }\\n if (ticket.json.state_id === 3) {\\n pendingReminder++\\n }\\n if (ticket.json.state_id === 7) {\\n pendingClose++\\n }\\n}\\n\\nreturn [{\\n json: {\\n \\\"new\\\": newTickets,\\n open: openTickets,\\n pendingReminder: pendingReminder,\\n pendingClose: pendingClose\\n }\\n}];\"},\"executeOnce\":true,\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"List Tickets\",\"type\":\"n8n-nodes-base.zammad\",\"notes\":\"Get all tickets.\",\"position\":[200,460],\"parameters\":{\"resource\":\"ticket\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"zammadTokenAuthApi\":{\"id\":\"7\",\"name\":\"Zammad Token Auth account\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Notify for Standup\",\"type\":\"n8n-nodes-base.zulip\",\"notes\":\"Sends a summary to customer support stream.\",\"position\":[580,460],\"parameters\":{\"topic\":\"=tickets\",\"stream\":\"=customer support\",\"content\":\"=:ticket: Support Tickets Summary:\\n* Open: {{$node[\\\"Ticket Filtering\\\"].json[\\\"open\\\"]}}\\n* New:{{$node[\\\"Ticket Filtering\\\"].json[\\\"new\\\"]}}\\n* Pending Close {{$node[\\\"Ticket Filtering\\\"].json[\\\"pendingClose\\\"]}}\\n* Pending Reminder {{$node[\\\"Ticket Filtering\\\"].json[\\\"pendingReminder\\\"]}}\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"1\",\"name\":\"Zulip n8n Bot\"}},\"executeOnce\":true,\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Standup Cron\",\"type\":\"n8n-nodes-base.cron\",\"notes\":\"Daily stand-up open days.\",\"position\":[-40,560],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"0 30 8 * * 1-5\"}]}},\"executeOnce\":true,\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"List Tickets\":{\"main\":[[{\"node\":\"Ticket Filtering\",\"type\":\"main\",\"index\":0}]]},\"Standup Cron\":{\"main\":[[{\"node\":\"List Tickets\",\"type\":\"main\",\"index\":0}]]},\"Ticket Filtering\":{\"main\":[[{\"node\":\"Notify for Standup\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"List Tickets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Push your public IP to Namecheaps Dynamic DNS", "output": "{\"id\":3,\"name\":\"NameCheap Dynamic DNS (DDNS)\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[380,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":15}]}},\"typeVersion\":1},{\"name\":\"Checks IP if new\",\"type\":\"n8n-nodes-base.function\",\"position\":[740,300],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newItem = items.map(item => item.json[\\\"ip\\\"]);\\nconst ildItem = staticData.ildItem; \\n\\nif (!ildItem) {\\n staticData.ildItem = newItem;\\n return items;\\n}\\n\\n\\nconst actualnewItem = newItem.filter((id) => !ildItem.includes(id));\\nconst actualItem = items.filter((data) => actualnewItem.includes(data.json['ip']));\\nstaticData.ildItem = [...actualnewItem, ...ildItem];\\n\\nreturn actualItem;\"},\"typeVersion\":1},{\"name\":\"subdomains\",\"type\":\"n8n-nodes-base.function\",\"position\":[1100,300],\"parameters\":{\"functionCode\":\"items[0].json = {\\n value: [\\n {id: \\\"subdomain1\\\"},\\n {id: \\\"subdomain2\\\"},\\n {id: \\\"subdomain3\\\"}\\n ]\\n};\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Loops trough Subdomain list\",\"type\":\"n8n-nodes-base.function\",\"position\":[1280,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json.value) {\\n newItems.push({json: item});\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Send data to Namecheap\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1460,300],\"parameters\":{\"url\":\"=https://dynamicdns.park-your-domain.com/update?host={{$node[\\\"Loops trough Subdomain list\\\"].parameter[\\\"functionCode\\\"]}}test&domain={{$node[\\\"yourdomain.com\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}&password={{$node[\\\"yourdomain.com\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}&ip={{$node[\\\"Get Public IP address\\\"].json[\\\"ip\\\"]}}\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Get Public IP address\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[560,300],\"parameters\":{\"url\":\"https://api.ipify.org?format=json\",\"options\":{},\"jsonParameters\":true,\"allowUnauthorizedCerts\":true},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"yourdomain.com\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"domain\",\"value\":\"yourdomain.com\"},{\"name\":\"password\",\"value\":\"your-namecheap-ddns-password\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Get Public IP address\",\"type\":\"main\",\"index\":0}]]},\"subdomains\":{\"main\":[[{\"node\":\"Loops trough Subdomain list\",\"type\":\"main\",\"index\":0}]]},\"yourdomain.com\":{\"main\":[[{\"node\":\"subdomains\",\"type\":\"main\",\"index\":0}]]},\"Checks IP if new\":{\"main\":[[{\"node\":\"yourdomain.com\",\"type\":\"main\",\"index\":0}]]},\"Get Public IP address\":{\"main\":[[{\"node\":\"Checks IP if new\",\"type\":\"main\",\"index\":0}]]},\"Loops trough Subdomain list\":{\"main\":[[{\"node\":\"Send data to Namecheap\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "primeiro modolo de teste", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Facebook Graph API\",\"type\":\"n8n-nodes-base.facebookGraphApi\",\"position\":[450,300],\"parameters\":{\"node\":\"me\",\"options\":{\"fields\":{\"field\":[{\"name\":\"last_name\"},{\"name\":\"first_name\"}]}}},\"credentials\":{\"facebookGraphApi\":\"graph_credentials\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Facebook Graph API\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "InclusiveTele", "output": "{\"id\":1,\"name\":\"InclusiveTele\",\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[460,300],\"webhookId\":\"95a8ce3c-7ad3-4e34-8062-ecc384ed02d1\",\"parameters\":{\"updates\":[\"message\",\"edited_message\",\"channel_post\",\"edited_channel_post\",\"*\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1},{\"name\":\"Google Perspective\",\"type\":\"n8n-nodes-base.googlePerspective\",\"position\":[680,300],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"][\\\"text\\\"]}}\",\"options\":{\"languages\":\"en\"},\"requestedAttributesUi\":{\"requestedAttributesValues\":[{\"attributeName\":\"identity_attack\"},{\"attributeName\":\"insult\"},{\"attributeName\":\"profanity\"},{\"attributeName\":\"severe_toxicity\"},{\"attributeName\":\"threat\"},{\"attributeName\":\"toxicity\"},{}]}},\"credentials\":{\"googlePerspectiveOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Perspective account\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"IDENTITY_ATTACK\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.8,\"operation\":\"larger\"},{\"value1\":\"={{$json[\\\"attributeScores\\\"][\\\"INSULT\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.8,\"operation\":\"larger\"},{\"value1\":\"={{$json[\\\"attributeScores\\\"][\\\"PROFANITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.8,\"operation\":\"larger\"},{\"value1\":\"={{$json[\\\"attributeScores\\\"][\\\"THREAT\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.8,\"operation\":\"larger\"},{\"value1\":\"={{$json[\\\"attributeScores\\\"][\\\"TOXICITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"]}}\",\"value2\":0.8,\"operation\":\"larger\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1120,300],\"parameters\":{\"text\":\"=Please be kinder, more inclusive, and less toxic. We're a safe, welcoming community here and we'd hate for you to ruin that.\\n\\nIdentity attack score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"IDENTITY_ATTACK\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\\nProfanity score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"PROFANITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\\nThreat score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"THREAT\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\\nToxicity score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"TOXICITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\\nInsult score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"INSULT\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\\n\\nFlirtation score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"FLIRTATION\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\\nSevere Toxicity score: {{Math.round($node[\\\"Google Perspective\\\"].json[\\\"attributeScores\\\"][\\\"SEVERE_TOXICITY\\\"][\\\"summaryScore\\\"][\\\"value\\\"] * 100, 2)}} %\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"reply_to_message_id\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"message_id\\\"]}}\"}},\"credentials\":{\"telegramApi\":{\"id\":\"1\",\"name\":\"Telegram account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Google Perspective\",\"type\":\"main\",\"index\":0}]]},\"Google Perspective\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Multilanguage Telegram bot", "output": "{\"nodes\":[{\"name\":\"chatID\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"username and language\",\"position\":[-100,680],\"parameters\":{\"functionCode\":\"// Telegram uses the following language codes: https://en.wikipedia.org/wiki/IETF_language_tag\\r\\n\\r\\nvar data = $node[\\\"Telegram Trigger\\\"].json;\\r\\nconst botlang = [\\\"ru\\\", \\\"en\\\"]; // Update this after adding new language in the dictionary\\r\\n\\r\\n// Assign the default language if the translation is not yet ready\\r\\nvar curlang = botlang.includes(data.message.from.language_code) ? data.message.from.language_code : \\\"en\\\";\\r\\n\\r\\nreturn [{json: {chatID : data.message.chat.id,\\r\\n lang : curlang\\r\\n}}];\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"notes\":\"Wait for dictionary to load\",\"position\":[480,460],\"parameters\":{\"mode\":\"passThrough\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"notes\":\"check bot commands\",\"position\":[620,460],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"/start\"},{\"output\":1,\"value2\":\"/help\"}]},\"value1\":\"={{$node[\\\"Merge\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,300],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"empty\\\"]}}\",\"value2\":\"={{true}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"msg_greet\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1260,220],\"parameters\":{\"text\":\"={{$evaluateExpression($node[\\\"botmessages\\\"].json[\\\"greeting\\\"][$node[\\\"chatID\\\"].json[\\\"lang\\\"]])}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"12\",\"name\":\"n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"msg_welcomeback\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1260,380],\"parameters\":{\"text\":\"={{$evaluateExpression($node[\\\"botmessages\\\"].json[\\\"welcomeback\\\"][$node[\\\"chatID\\\"].json[\\\"lang\\\"]])}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"12\",\"name\":\"n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"msg_help\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1260,540],\"parameters\":{\"text\":\"={{$evaluateExpression($node[\\\"botmessages\\\"].json[\\\"help\\\"][$node[\\\"chatID\\\"].json[\\\"lang\\\"]])}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"12\",\"name\":\"n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"msg_wrongcommand\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1260,700],\"parameters\":{\"text\":\"={{$evaluateExpression($node[\\\"botmessages\\\"].json[\\\"wrongcommand\\\"][$node[\\\"chatID\\\"].json[\\\"lang\\\"]])}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"12\",\"name\":\"n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"New user?\",\"type\":\"n8n-nodes-base.function\",\"position\":[780,300],\"parameters\":{\"functionCode\":\"return [{json: {empty: Object.keys($node[\\\"CheckUser\\\"].json).length == 0}}];\"},\"typeVersion\":1},{\"name\":\"CheckUser\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[380,680],\"parameters\":{\"table\":\"TG_users\",\"options\":{\"where\":\"=(TG_account_ID,eq,{{$node[\\\"chatID\\\"].json[\\\"chatID\\\"]}})\"},\"operation\":\"getAll\",\"projectId\":\"n8n_multilang_bot_wzhb\"},\"credentials\":{\"nocoDb\":{\"id\":\"13\",\"name\":\"NocoDB n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"LoadDictionary\",\"type\":\"n8n-nodes-base.nocoDb\",\"position\":[60,680],\"parameters\":{\"table\":\"botmessages\",\"options\":{},\"operation\":\"getAll\",\"projectId\":\"n8n_multilang_bot_wzhb\",\"returnAll\":true},\"credentials\":{\"nocoDb\":{\"id\":\"13\",\"name\":\"NocoDB n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"botmessages\",\"type\":\"n8n-nodes-base.function\",\"position\":[220,680],\"parameters\":{\"functionCode\":\"\\nlet data = {};\\n\\nfor (item of items) {\\n data[item.json.botmessage]=item.json;\\n}\\n\\nreturn data;\"},\"typeVersion\":1},{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[240,460],\"webhookId\":\"21dac5fa-6e6b-43a0-b099-4f57537d2271\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"12\",\"name\":\"n8n multilang bot\"}},\"typeVersion\":1},{\"name\":\"HTTP AddUser\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1100,220],\"parameters\":{\"url\":\"https://database.digigin.eu/api/v1/db/data/noco/n8n_multilang_bot_wzhb/TG_users\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"TG_account_ID\",\"value\":\"={{$node[\\\"chatID\\\"].json[\\\"chatID\\\"]}}\"},{\"name\":\"Last_language_used\",\"value\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"language_code\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"21\",\"name\":\"Header Auth NocoDB\"}},\"typeVersion\":1},{\"name\":\"HTTP UpdateUser\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1100,380],\"parameters\":{\"url\":\"=https://database.digigin.eu/api/v1/db/data/noco/n8n_multilang_bot_wzhb/TG_users/{{$node[\\\"CheckUser\\\"].json[\\\"id\\\"]}}\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"PATCH\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"TG_account_ID\",\"value\":\"={{$node[\\\"chatID\\\"].json[\\\"chatID\\\"]}}\"},{\"name\":\"Last_language_used\",\"value\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"language_code\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"21\",\"name\":\"Header Auth NocoDB\"}},\"typeVersion\":1},{\"name\":\"AddUser\",\"type\":\"n8n-nodes-base.nocoDb\",\"disabled\":true,\"position\":[1460,220],\"parameters\":{\"table\":\"TG_users\",\"fieldsUi\":{\"fieldValues\":[{\"fieldName\":\"TG_account_ID\",\"fieldValue\":\"={{$node[\\\"chatID\\\"].json[\\\"chatID\\\"]}}\"},{\"fieldName\":\"Last_language_used\",\"fieldValue\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"language_code\\\"]}}\"}]},\"operation\":\"create\",\"projectId\":\"n8n_multilang_bot_wzhb\"},\"credentials\":{\"nocoDb\":{\"id\":\"13\",\"name\":\"NocoDB n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"UpdateUser\",\"type\":\"n8n-nodes-base.nocoDb\",\"disabled\":true,\"position\":[1460,380],\"parameters\":{\"id\":\"={{$node[\\\"CheckUser\\\"].json[\\\"id\\\"]}}\",\"table\":\"TG_users\",\"fieldsUi\":{\"fieldValues\":[{\"fieldName\":\"TG_account_ID\",\"fieldValue\":\"={{$node[\\\"chatID\\\"].json[\\\"chatID\\\"]}}\"},{\"fieldName\":\"Last_language_used\",\"fieldValue\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"language_code\\\"]}}\"}]},\"operation\":\"update\",\"projectId\":\"n8n_multilang_bot_wzhb\"},\"credentials\":{\"nocoDb\":{\"id\":\"13\",\"name\":\"NocoDB n8n multilang bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1440,80],\"parameters\":{\"width\":440,\"height\":460,\"content\":\"## What's this?\\nDue to some breaking API changes in NocoDB some of its node options are not working at the moment (MAY 2022). These two nodes were replaced by HTTP request nodes. Functionality is still the same.\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"HTTP AddUser\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HTTP UpdateUser\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"New user?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"msg_help\",\"type\":\"main\",\"index\":0}],null,[{\"node\":\"msg_wrongcommand\",\"type\":\"main\",\"index\":0}]]},\"chatID\":{\"main\":[[{\"node\":\"LoadDictionary\",\"type\":\"main\",\"index\":0}]]},\"CheckUser\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"New user?\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"botmessages\":{\"main\":[[{\"node\":\"CheckUser\",\"type\":\"main\",\"index\":0}]]},\"HTTP AddUser\":{\"main\":[[{\"node\":\"msg_greet\",\"type\":\"main\",\"index\":0}]]},\"LoadDictionary\":{\"main\":[[{\"node\":\"botmessages\",\"type\":\"main\",\"index\":0}]]},\"HTTP UpdateUser\":{\"main\":[[{\"node\":\"msg_welcomeback\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"chatID\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Woocommerce Syncronize Email with gSheet", "output": "{\"id\":1,\"name\":\"WooCommerce\",\"nodes\":[{\"name\":\"WooCommerce Trigger\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[-2860,-720],\"webhookId\":\"ad22c1e3-3ca9-4736-9755-94f99544f4f8\",\"parameters\":{\"event\":\"customer.created\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"7\",\"name\":\"WooCommerce account\"}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-2060,-520],\"parameters\":{\"range\":\"A:H\",\"keyRow\":\"={{0}}\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"1QQqHJyUHTJ-mBZlJPfd0vSBfpjO3sDrQ1n5Z03UVH7Q\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"9\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[-2320,-520],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"E-Mail\",\"value\":\"={{$node[\\\"WooCommerce Trigger\\\"].json[\\\"email\\\"]}}\"}],\"boolean\":[]},\"options\":{\"dotNotation\":true}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-2900,-520],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"WooCommerce Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage Adobe Acrobat e-signatures with webhooks", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nc_id = items[0].json.headers['x-adobesign-clientid'];\\n\\nfor (item of items) {\\n item.json.myNewField = 1;\\n item.json.clientID = c_id;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"POST\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,-160],\"webhookId\":\"dfe2a7a8-c0f7-41e1-9bf7-15e2b6e98741\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"reg-GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,20],\"webhookId\":\"5356a36b-1090-4470-ad87-7cfdb6c18daf\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"webhook-response\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[-100,-80],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"x-adobesign-clientid\",\"value\":\"={{$node[\\\"Function\\\"].json[\\\"clientID\\\"]}}\"}]}}},\"typeVersion\":1},{\"name\":\"SetWebhookData\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"webhookData\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"] }}\"},{\"name\":\"agreement_ID\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"id\\\"] }}\"},{\"name\":\"all_participants\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"participantSetsInfo\\\"] }}\"},{\"name\":\"agreement_status\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"POST\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"reg-GET\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"webhook-response\",\"type\":\"main\",\"index\":0}]]},\"webhook-response\":{\"main\":[[{\"node\":\"SetWebhookData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send RSS feed data to webhook", "output": "{\"id\":\"5dbef16e5f08b78d752add96\",\"name\":\"RSS Feed -> MongoDB -> Webhook\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[290,380],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[290,200],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[490,200],\"parameters\":{\"url\":\"https://www.feedforall.com/sample.xml\"},\"typeVersion\":1},{\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[900,560],\"parameters\":{\"batchSize\":1},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1370,360],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches1\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"End1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1740,370],\"parameters\":{},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1370,10],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches1\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1260,580],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"link\",\"propertyName2\":\"link\"},\"typeVersion\":1},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1250,200],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"link\",\"propertyName2\":\"link\"},\"typeVersion\":1},{\"name\":\"IF realtors or real estate\",\"type\":\"n8n-nodes-base.if\",\"position\":[700,200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"RSS Feed Read\\\"].data[\\\"title\\\"]}}\",\"value2\":\"/(realtors|real estate)/i\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"IF restaurant(s)\",\"type\":\"n8n-nodes-base.if\",\"position\":[700,580],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"IF realtors or real estate\\\"].data[\\\"title\\\"]}}\",\"value2\":\"/restaurant[\\\\s]*/i\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[900,180],\"parameters\":{\"batchSize\":1},\"typeVersion\":1},{\"name\":\"MongoDB: Find Article\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[1070,310],\"parameters\":{\"query\":\"={\\\"link\\\":{\\\"$regex\\\":\\\"{{$node[\\\"SplitInBatches\\\"].data[\\\"link\\\"]}}\\\",\\\"$options\\\":\\\"i\\\"}}\",\"collection\":\"articles\"},\"credentials\":{\"mongoDb\":\"RSS\"},\"typeVersion\":1},{\"name\":\"MongoDB: Find Article1\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[1070,710],\"parameters\":{\"query\":\"={\\\"link\\\":{\\\"$regex\\\":\\\"{{$node[\\\"SplitInBatches1\\\"].data[\\\"link\\\"]}}\\\",\\\"$options\\\":\\\"i\\\"}}\",\"collection\":\"articles\"},\"credentials\":{\"mongoDb\":\"RSS\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"MongoDB: Insert\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[1480,580],\"parameters\":{\"fields\":\"title,link\",\"operation\":\"insert\",\"collection\":\"articles\"},\"credentials\":{\"mongoDb\":\"RSS\"},\"typeVersion\":1},{\"name\":\"MongoDB: Insert1\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[1480,200],\"parameters\":{\"fields\":\"title,link\",\"operation\":\"insert\",\"collection\":\"articles\"},\"credentials\":{\"mongoDb\":\"RSS\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1740,200],\"parameters\":{\"url\":\"http://webhook.site/fe77b392-7b8a-4801-aeca-4531c14da5fd\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"text\\\": \\\"{{$node[\\\"MongoDB: Insert1\\\"].data[\\\"link\\\"]}}\\\"}\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Webhook1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1740,580],\"parameters\":{\"url\":\"http://webhook.site/fe77b392-7b8a-4801-aeca-4531c14da5fd\",\"options\":{\"bodyContentType\":\"json\"},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"text\\\": \\\"{{$node[\\\"MongoDB: Insert\\\"].data[\\\"link\\\"]}}\\\"}\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"End1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"End1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"MongoDB: Insert\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"MongoDB: Insert1\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Webhook1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"IF realtors or real estate\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"MongoDB: Find Article\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"MongoDB: Insert\":{\"main\":[[{\"node\":\"Webhook1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"MongoDB: Find Article1\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"IF restaurant(s)\":{\"main\":[[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"MongoDB: Insert1\":{\"main\":[[{\"node\":\"Webhook\",\"type\":\"main\",\"index\":0}]]},\"MongoDB: Find Article\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"MongoDB: Find Article1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"IF realtors or real estate\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF restaurant(s)\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Upload invoices from Gmail to Google Drive", "output": "{\"id\":3,\"name\":\"Orlen\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Current date\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,960],\"parameters\":{\"functionCode\":\"var today = new Date();\\nvar year = today.getFullYear();\\nvar month = today.getMonth() + 1;\\nvar day = today.getDate();\\n\\nif(month < 10) {\\n month = \\\"0\\\" + month;\\n}\\n\\nitems[0].json.year = year;\\nitems[0].json.month = month;\\nitems[0].json.day = day;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Every 23:45\",\"type\":\"n8n-nodes-base.cron\",\"position\":[960,960],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":23,\"minute\":45}]}},\"typeVersion\":1},{\"name\":\"Get Year folder\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[1360,960],\"parameters\":{\"options\":{\"fields\":[\"id\"]},\"operation\":\"list\",\"queryFilters\":{\"name\":[{\"value\":\"={{$json[\\\"year\\\"]}}\",\"operation\":\"is\"}],\"mimeType\":[{\"mimeType\":\"application/vnd.google-apps.folder\"}]},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Drive account\"}},\"typeVersion\":1},{\"name\":\"Get Month folder\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[1560,960],\"parameters\":{\"options\":{\"fields\":[\"id\"]},\"operation\":\"list\",\"queryString\":\"='{{$json[\\\"id\\\"]}}' in parents and name = '{{$node[\\\"Current date\\\"].json[\\\"month\\\"]}}'\",\"authentication\":\"oAuth2\",\"useQueryString\":true},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Drive account\"}},\"typeVersion\":1},{\"name\":\"Orlen Invoice\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1760,960],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{\"q\":\"from:(orlenpay@orlen.pl) has:attachment is:unread\",\"format\":\"resolved\"}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"5\",\"name\":\"dbarwikowski Gmail account\"}},\"typeVersion\":1},{\"name\":\"Upload Invoice to Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[1960,960],\"parameters\":{\"name\":\"=Orlen {{$binary.attachment_0.directory}}.{{$binary.attachment_0.fileExtension}}\",\"options\":{},\"parents\":[\"={{$node[\\\"Get Month folder\\\"].json[\\\"id\\\"]}}\"],\"binaryData\":true,\"resolveData\":true,\"authentication\":\"oAuth2\",\"binaryPropertyName\":\"attachment_0\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Drive account\"}},\"typeVersion\":1},{\"name\":\"Mark as Read\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[2160,960],\"parameters\":{\"labelIds\":[\"UNREAD\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Orlen Invoice\\\"].json[\\\"id\\\"]}}\",\"operation\":\"remove\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"5\",\"name\":\"dbarwikowski Gmail account\"}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2280,960],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[860,540],\"parameters\":{\"text\":\"=Kapitanie!\\nDodano fakturę {{$node[\\\"Orlen Invoice\\\"].binary.attachment_0.directory}} do Firma/{{$node[\\\"Current date\\\"].json[\\\"year\\\"]}}/{{$node[\\\"Current date\\\"].json[\\\"month\\\"]}}\",\"channel\":\"n8n\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"6\",\"name\":\"Slack account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Europe/Warsaw\",\"saveExecutionProgress\":\"DEFAULT\"},\"createdAt\":\"2022-04-11T17:11:34.040Z\",\"updatedAt\":\"2022-04-11T21:59:45.898Z\",\"staticData\":null,\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Upload Invoice to Google Drive\",\"type\":\"main\",\"index\":0}]]},\"Every 23:45\":{\"main\":[[{\"node\":\"Orlen Invoice\",\"type\":\"main\",\"index\":0}]]},\"Current date\":{\"main\":[[{\"node\":\"Get Year folder\",\"type\":\"main\",\"index\":0}]]},\"Mark as Read\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Orlen Invoice\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Get Year folder\":{\"main\":[[{\"node\":\"Get Month folder\",\"type\":\"main\",\"index\":0}]]},\"Get Month folder\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Orlen Invoice\",\"type\":\"main\",\"index\":0}]]},\"Upload Invoice to Google Drive\":{\"main\":[[{\"node\":\"Mark as Read\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send new YouTube channel videos to Telegram", "output": "{\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[500,510],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"GetVideosYT\\\"].json[\\\"id\\\"][\\\"videoId\\\"]}}\"},{\"name\":\"url\",\"value\":\"=https://youtu.be/{{$node[\\\"GetVideosYT\\\"].json[\\\"id\\\"][\\\"videoId\\\"]}}\"},{\"name\":\"title\",\"value\":\"={{$node[\\\"GetVideosYT\\\"].json[\\\"snippet\\\"][\\\"title\\\"]}}\"}],\"boolean\":[]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[640,510],\"parameters\":{\"functionCode\":\"const new_items = [];\\nconst data = this.getWorkflowStaticData('node');\\n\\ndata.ids = data.ids || [];\\n\\nfor (var i=0; i item.json.id)\\nreturn new_items;\\n\"},\"typeVersion\":1},{\"name\":\"CheckTime\",\"type\":\"n8n-nodes-base.interval\",\"position\":[210,510],\"parameters\":{\"unit\":\"minutes\",\"interval\":30},\"typeVersion\":1},{\"name\":\"GetVideosYT\",\"type\":\"n8n-nodes-base.youTube\",\"position\":[370,510],\"parameters\":{\"limit\":4,\"filters\":{\"channelId\":\"UCTe5YtigJdZZ3i-za6IkbGQ\"},\"options\":{\"order\":\"date\"},\"resource\":\"video\"},\"credentials\":{\"youTubeOAuth2Api\":\"tubo\"},\"typeVersion\":1},{\"name\":\"SendVideo\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[790,510],\"parameters\":{\"text\":\"=Nuovo video di almi su YouTube!\\n{{$node[\\\"Function\\\"].json[\\\"title\\\"]}}\\n\\n{{$node[\\\"Function\\\"].json[\\\"url\\\"]}}\",\"chatId\":\"-1001178002763\",\"additionalFields\":{\"parse_mode\":\"HTML\"}},\"credentials\":{\"telegramApi\":\"bot raspino\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"SendVideo\",\"type\":\"main\",\"index\":0}]]},\"CheckTime\":{\"main\":[[{\"node\":\"GetVideosYT\",\"type\":\"main\",\"index\":0}]]},\"GetVideosYT\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert XML to JSON", "output": "{\"id\":\"3\",\"name\":\"XML Conversion\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"xml\",\"value\":\" EDI_DC40 \"}]},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[740,300],\"parameters\":{\"options\":{\"attrkey\":\"$\",\"mergeAttrs\":false,\"explicitRoot\":true},\"dataPropertyName\":\"xml\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"XML\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Analyze emails with S1EM", "output": "{\"id\":4,\"name\":\"Email\",\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[-300,200],\"parameters\":{\"format\":\"resolved\",\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"5\",\"name\":\"IMAP account\"}},\"typeVersion\":1},{\"name\":\"TheHive\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[-20,200],\"parameters\":{\"tags\":\"Email\",\"type\":\"Email\",\"title\":\"={{$node[\\\"IMAP Email\\\"].binary.attachment_0.fileName}}\",\"source\":\"Outlook\",\"sourceRef\":\"={{$node[\\\"IMAP Email\\\"].json[\\\"messageId\\\"]}}\",\"artifactUi\":{\"artifactValues\":[{\"dataType\":\"file\",\"binaryProperty\":\"attachment_0\"}]},\"description\":\"={{$node[\\\"IMAP Email\\\"].binary.attachment_0.fileName}}\",\"additionalFields\":{}},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Create Case\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[280,200],\"parameters\":{\"id\":\"={{$node[\\\"TheHive\\\"].json[\\\"_id\\\"]}}\",\"operation\":\"promote\",\"additionalFields\":{}},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Case\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[540,200],\"parameters\":{\"id\":\"={{$node[\\\"Create Case\\\"].json[\\\"_id\\\"]}}\",\"resource\":\"case\",\"operation\":\"get\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Observable\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[1060,200],\"parameters\":{\"caseId\":\"={{$node[\\\"Case\\\"].json[\\\"_id\\\"]}}\",\"options\":{},\"resource\":\"observable\",\"returnAll\":true},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Analyzer Email\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[1340,200],\"parameters\":{\"id\":\"={{$node[\\\"Observable\\\"].json[\\\"_id\\\"]}}\",\"dataType\":\"file\",\"resource\":\"observable\",\"analyzers\":[\"24a64a086a410e1c7d7ace74003c4480::CORTEX\"],\"operation\":\"executeAnalyzer\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Cortex\",\"type\":\"n8n-nodes-base.cortex\",\"position\":[1560,200],\"parameters\":{\"jobId\":\"={{$node[\\\"Analyzer Email\\\"].json[\\\"cortexJobId\\\"]}}\",\"resource\":\"job\",\"operation\":\"report\"},\"credentials\":{\"cortexApi\":{\"id\":\"2\",\"name\":\"Cortex account\"}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,600],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Cortex\\\"].json[\\\"report\\\"][\\\"full\\\"][\\\"iocs\\\"][\\\"domain\\\"].length}}\",\"operation\":\"larger\"},{\"value1\":\"={{$node[\\\"Cortex\\\"].json[\\\"report\\\"][\\\"full\\\"][\\\"iocs\\\"][\\\"email\\\"].length}}\",\"operation\":\"larger\"},{\"value1\":\"={{$node[\\\"Cortex\\\"].json[\\\"report\\\"][\\\"full\\\"][\\\"iocs\\\"][\\\"ip\\\"].length}}\",\"operation\":\"larger\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Update Case Domain\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[420,480],\"parameters\":{\"ioc\":true,\"data\":\"={{$node[\\\"Cortex\\\"].json[\\\"report\\\"][\\\"full\\\"][\\\"iocs\\\"][\\\"domain\\\"]}}\",\"caseId\":\"={{$node[\\\"Case\\\"].json[\\\"_id\\\"]}}\",\"status\":\"Ok\",\"message\":\"={{$node[\\\"Cortex\\\"].json[\\\"analyzerName\\\"]}}\",\"options\":{\"tags\":\"Domain\"},\"dataType\":\"domain\",\"resource\":\"observable\",\"operation\":\"create\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"Update Case Email\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[420,620],\"parameters\":{\"ioc\":true,\"data\":\"={{$node[\\\"Cortex\\\"].json[\\\"report\\\"][\\\"full\\\"][\\\"iocs\\\"][\\\"email\\\"]}}\",\"caseId\":\"={{$node[\\\"Case\\\"].json[\\\"_id\\\"]}}\",\"status\":\"Ok\",\"message\":\"={{$node[\\\"Cortex\\\"].json[\\\"analyzerName\\\"]}}\",\"options\":{\"tags\":\"Domain\"},\"dataType\":\"mail\",\"resource\":\"observable\",\"operation\":\"create\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"Update Case Ip\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[420,760],\"parameters\":{\"ioc\":true,\"data\":\"={{$node[\\\"Cortex\\\"].json[\\\"report\\\"][\\\"full\\\"][\\\"iocs\\\"][\\\"ip\\\"]}}\",\"caseId\":\"={{$node[\\\"Case\\\"].json[\\\"_id\\\"]}}\",\"status\":\"Ok\",\"message\":\"={{$node[\\\"Cortex\\\"].json[\\\"analyzerName\\\"]}}\",\"options\":{\"tags\":\"Domain\"},\"dataType\":\"ip\",\"resource\":\"observable\",\"operation\":\"create\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[800,200],\"webhookId\":\"ecada1d5-a671-44fc-906e-c64c6f05e760\",\"parameters\":{\"unit\":\"seconds\",\"amount\":5},\"typeVersion\":1},{\"name\":\"Email Reputation\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[640,620],\"parameters\":{\"id\":\"={{$node[\\\"Update Case Email\\\"].json[\\\"id\\\"]}}\",\"dataType\":\"mail\",\"resource\":\"observable\",\"analyzers\":[\"9902b4e5c58015184b177de13f2151c7::CORTEX\"],\"operation\":\"executeAnalyzer\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"OTX IP\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[640,760],\"parameters\":{\"id\":\"={{$node[\\\"Update Case Ip\\\"].json[\\\"id\\\"]}}\",\"dataType\":\"ip\",\"resource\":\"observable\",\"analyzers\":[\"b084bf78d1aea92966b6ef6a4f6193a5::CORTEX\"],\"operation\":\"executeAnalyzer\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"OTX DOMAIN\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[640,480],\"parameters\":{\"id\":\"={{$node[\\\"Update Case Domain\\\"].json[\\\"id\\\"]}}\",\"dataType\":\"domain\",\"resource\":\"observable\",\"analyzers\":[\"b084bf78d1aea92966b6ef6a4f6193a5::CORTEX\"],\"operation\":\"executeAnalyzer\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Update Case Domain\",\"type\":\"main\",\"index\":0},{\"node\":\"Update Case Email\",\"type\":\"main\",\"index\":0},{\"node\":\"Update Case Ip\",\"type\":\"main\",\"index\":0}]]},\"Case\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Observable\",\"type\":\"main\",\"index\":0}]]},\"Cortex\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"TheHive\":{\"main\":[[{\"node\":\"Create Case\",\"type\":\"main\",\"index\":0}]]},\"IMAP Email\":{\"main\":[[{\"node\":\"TheHive\",\"type\":\"main\",\"index\":0}]]},\"Observable\":{\"main\":[[{\"node\":\"Analyzer Email\",\"type\":\"main\",\"index\":0}]]},\"Create Case\":{\"main\":[[{\"node\":\"Case\",\"type\":\"main\",\"index\":0}]]},\"Analyzer Email\":{\"main\":[[{\"node\":\"Cortex\",\"type\":\"main\",\"index\":0}]]},\"Update Case Ip\":{\"main\":[[{\"node\":\"OTX IP\",\"type\":\"main\",\"index\":0}]]},\"Update Case Email\":{\"main\":[[{\"node\":\"Email Reputation\",\"type\":\"main\",\"index\":0}]]},\"Update Case Domain\":{\"main\":[[{\"node\":\"OTX DOMAIN\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Copy and Past by Mautic", "output": "{\"nodes\":[{\"name\":\"GS Read Data2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[240,750],\"parameters\":{\"range\":\"Data!A:P\",\"options\":{\"valueRenderMode\":\"FORMATTED_VALUE\"},\"sheetId\":\"1jKYwPE9DMFOYf1AeDuTvQ3GSM2GqaEJhGYNoisxSLpM\"},\"credentials\":{\"googleApi\":\"n8n API\"},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[450,750],\"parameters\":{\"email\":\"={{$node[\\\"GS Read Data2\\\"].json[\\\"email\\\"]}}\",\"options\":{},\"firstName\":\"={{$node[\\\"GS Read Data2\\\"].json[\\\"firstname\\\"]}}\",\"additionalFields\":{\"mobile\":\"={{$node[\\\"GS Read Data2\\\"].json[\\\"mobile\\\"]}}\"}},\"credentials\":{\"mauticApi\":\"MauticAPI\"},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"GS Read Data2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[240,750],\"parameters\":{\"range\":\"Data!A:P\",\"options\":{\"valueRenderMode\":\"FORMATTED_VALUE\"},\"sheetId\":\"1jKYwPE9DMFOYf1AeDuTvQ3GSM2GqaEJhGYNoisxSLpM\"},\"credentials\":{\"googleApi\":\"n8n API\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[40,750],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"GS Read Data2\",\"type\":\"main\",\"index\":0}]]},\"GS Read Data2\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extend n8n with additional tools", "output": "{\"nodes\":[{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"notes\":\"check bot commands\",\"position\":[460,480],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"/start\"},{\"output\":1,\"value2\":\"/getweather\"}]},\"value1\":\"={{$json[\\\"message\\\"][\\\"text\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"msg_greet\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1820,300],\"parameters\":{\"text\":\"=Nice to meet you, {{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}.\\nI am n8n-powered bot, I can send you a weather data for several European capitals. The data is an image generated in ggplot2 package of R programming language.\\nType /getweather to begin.\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"msg_wrongcommand\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1820,1160],\"parameters\":{\"text\":\"=Sorry, {{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}, your command was not recognized.\\n/getweather - show image with the weather info.\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[300,480],\"webhookId\":\"2512ec1e-bcff-4dfb-9ef3-208aaecc5634\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"typeVersion\":1},{\"name\":\"msg_getweather\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[2020,820],\"parameters\":{\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"operation\":\"sendPhoto\",\"binaryData\":true,\"additionalFields\":{\"caption\":\"=Here's your image, {{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}.\"}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"City List\",\"type\":\"n8n-nodes-base.function\",\"position\":[1040,640],\"parameters\":{\"functionCode\":\"return [{Cityid: 2643743, Cityname:\\\"London\\\", Country: \\\"GB\\\"},\\r\\n {Cityid: 2950159, Cityname:\\\"Berlin\\\", Country: \\\"DE\\\"},\\r\\n {Cityid: 3117735, Cityname:\\\"Madrid\\\", Country: \\\"ES\\\"},\\r\\n {Cityid: 3169070, Cityname:\\\"Rome\\\", Country: \\\"IT\\\"},\\r\\n {Cityid: 683506, Cityname:\\\"Bucharest\\\", Country: \\\"RO\\\"},\\r\\n {Cityid: 2968815, Cityname:\\\"Paris\\\", Country: \\\"FR\\\"},\\r\\n {Cityid: 2761369, Cityname:\\\"Vienna\\\", Country: \\\"AT\\\"},\\r\\n {Cityid: 756135, Cityname:\\\"Warsaw\\\", Country: \\\"PL\\\"},\\r\\n {Cityid: 3054638, Cityname:\\\"Budapest\\\", Country: \\\"HU\\\"},\\r\\n {Cityid: 792680, Cityname:\\\"Belgrade\\\", Country: \\\"RS\\\"}];\"},\"typeVersion\":1},{\"name\":\"Convert API response\",\"type\":\"n8n-nodes-base.function\",\"position\":[860,840],\"parameters\":{\"functionCode\":\"// this data is stored as a CSV file and then processed in the R script. Please check the R code here:\\n// https://gist.github.com/ed-parsadanyan/0561cd12d545e642fcef17dcb0872b00\\nvar data = [];\\n\\nfor (item of items) {\\n data.push({CityName: item.json.name+', '+item.json.sys.country,\\n TempCur : item.json.main.temp,\\n TempMin : item.json.main.temp_min,\\n TempMax : item.json.main.temp_max\\n });\\n}\\n\\nreturn data;\"},\"typeVersion\":1},{\"name\":\"Get weather data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,640],\"parameters\":{\"url\":\"=https://api.openweathermap.org/data/2.5/weather?id={{$json[\\\"Cityid\\\"]}}&units=metric&appid=6d3fff582a101700576faf74734f9535\",\"options\":{}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1040,840],\"parameters\":{\"options\":{\"fileName\":\"={{$node[\\\"Filename\\\"].json[\\\"filename\\\"]}}.{{$parameter[\\\"fileFormat\\\"]}}\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"Write csv\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[1220,840],\"parameters\":{\"fileName\":\"={{$node[\\\"Filename\\\"].json[\\\"foldername\\\"]}}{{$binary.data.fileName}}\"},\"typeVersion\":1},{\"name\":\"Filename\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,640],\"parameters\":{\"values\":{\"string\":[{\"name\":\"filename\",\"value\":\"=request_from{{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"id\\\"]}}_{{DateTime.now().toISO({ format: 'basic' }).split('.')[0]}}\"},{\"name\":\"foldername\",\"value\":\"/home/node/.n8n/weather-bot/\"},{\"name\":\"imgname\",\"value\":\"=request_from{{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"id\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"msg_errorAPI\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1820,640],\"parameters\":{\"text\":\"=Sorry, {{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}, an error occurred while fetching weather data. Please try again later.\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Any errors API?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1580,640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"error\\\"][\\\"name\\\"]}}\",\"value2\":\"Error\"}]}},\"typeVersion\":1},{\"name\":\"msg_errorR\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1820,1000],\"parameters\":{\"text\":\"=Sorry, {{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}, an error occurred while creating an image. Please try again later.\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[1820,820],\"parameters\":{\"filePath\":\"={{$node[\\\"Filename\\\"].json[\\\"foldername\\\"]}}{{$node[\\\"Filename\\\"].json[\\\"imgname\\\"]}}.png\"},\"typeVersion\":1},{\"name\":\"R successful?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1580,840],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"exitCode\\\"]}}\",\"operation\":\"equal\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[680,1160],\"parameters\":{\"mode\":\"passThrough\"},\"typeVersion\":1},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[680,300],\"parameters\":{\"mode\":\"passThrough\"},\"typeVersion\":1},{\"name\":\"msg_pleasewait\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1820,460],\"parameters\":{\"text\":\"=Please wait while your request is being processed...\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"17\",\"name\":\"n8n R test bot\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[680,640],\"parameters\":{\"mode\":\"wait\"},\"typeVersion\":1},{\"name\":\"Run R script\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[1400,840],\"parameters\":{\"command\":\"=Rscript --vanilla '{{$node[\\\"Filename\\\"].json[\\\"foldername\\\"]}}dumbbell_plot.R' '{{$node[\\\"Filename\\\"].json[\\\"foldername\\\"]}}{{$node[\\\"Filename\\\"].json[\\\"filename\\\"]}}.csv' '{{$node[\\\"Filename\\\"].json[\\\"foldername\\\"]}}{{$node[\\\"Filename\\\"].json[\\\"imgname\\\"]}}.png' >& {{$node[\\\"Filename\\\"].json[\\\"foldername\\\"]}}{{$node[\\\"Filename\\\"].json[\\\"filename\\\"]}}.log\"},\"typeVersion\":1,\"continueOnFail\":true}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"msg_wrongcommand\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"msg_greet\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"Filename\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"msg_pleasewait\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}],null,[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Filename\":{\"main\":[[{\"node\":\"City List\",\"type\":\"main\",\"index\":0}]]},\"City List\":{\"main\":[[{\"node\":\"Get weather data\",\"type\":\"main\",\"index\":0}]]},\"Write csv\":{\"main\":[[{\"node\":\"Run R script\",\"type\":\"main\",\"index\":0}]]},\"Run R script\":{\"main\":[[{\"node\":\"R successful?\",\"type\":\"main\",\"index\":0}]]},\"R successful?\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}],[{\"node\":\"msg_errorR\",\"type\":\"main\",\"index\":0}]]},\"msg_pleasewait\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"Any errors API?\":{\"main\":[[{\"node\":\"msg_errorAPI\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Convert API response\",\"type\":\"main\",\"index\":0}]]},\"Get weather data\":{\"main\":[[{\"node\":\"Any errors API?\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"msg_getweather\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Write csv\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Convert API response\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Replace JSON Key", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[640,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Rename Keys\",\"type\":\"n8n-nodes-base.renameKeys\",\"position\":[1040,300],\"parameters\":{\"keys\":{\"key\":[{\"newKey\":\"NewName\",\"currentKey\":\"name\"}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[820,300],\"parameters\":{\"functionCode\":\"// Don't panic!\\n// This is just an Example JSON Data\\n\\nconst json = `\\n [\\n {\\n \\\"_id\\\":\\\"5078c3a803ff4197dc81fbfb\\\",\\n \\\"email\\\":\\\"user1@gmail.com\\\",\\n \\\"image\\\":\\\"some_image_url\\\",\\n \\\"name\\\":\\\"Name 1\\\"\\n },\\n {\\n \\\"_id\\\":\\\"5078c3a803ff4197dc81fbfc\\\",\\n \\\"email\\\":\\\"user2@gmail.com\\\",\\n \\\"image\\\":\\\"some_image_url\\\",\\n \\\"name\\\":\\\"Name 2\\\"\\n }\\n ]\\n`;\\n\\n// Parse the JSON Data and store into a Variable called array\\nconst arr = JSON.parse(json);\\n\\n// Now, Return the Data inside the variable arr\\nreturn arr;\"},\"typeVersion\":1}],\"connections\":{\"Function\":{\"main\":[[{\"node\":\"Rename Keys\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Plex Scrobbler to TraktTV", "output": "{\"id\":9,\"name\":\"Plex Scrobbler\",\"nodes\":[{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[580,320],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"movie\"},{\"output\":1,\"value2\":\"episode\"},{\"output\":2,\"value2\":\"track\"}]},\"value1\":\"={{$json[\\\"type\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"Search Movie\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1740,120],\"parameters\":{\"url\":\"=https://api.trakt.tv/search/movie?query={{$json[\\\"title\\\"]}}\",\"options\":{},\"authentication\":\"oAuth2\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"trakt-api-key\",\"value\":\"\"},{\"name\":\"trakt-api-version\",\"value\":\"2\"}]}},\"credentials\":{\"oAuth2Api\":{\"id\":\"13\",\"name\":\"TraktTV\"}},\"typeVersion\":1},{\"name\":\"Plex\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-560,360],\"webhookId\":\"d89e6873-6948-4005-bd31-a5591c93f261\",\"parameters\":{\"path\":\"d89e6873-6948-4005-bd31-a5591c93f261\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Parse payload\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[-380,360],\"parameters\":{\"functionCode\":\"item = JSON.parse(item.body.payload);\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Select Movie\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[2200,120],\"parameters\":{\"functionCode\":\"return {\\n resource: item.filter(i => {\\n return i.movie.year === $node[\\\"Filter data\\\"].json[\\\"year\\\"]\\n })[0].movie\\n}\\n\"},\"typeVersion\":1},{\"name\":\"Scrobble\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2620,120],\"parameters\":{\"url\":\"=https://api.trakt.tv/scrobble/{{$json[\\\"action\\\"]}}\",\"options\":{\"ignoreResponseCode\":true},\"requestMethod\":\"POST\",\"authentication\":\"oAuth2\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"={{$node[\\\"Add scrobble data\\\"].json[\\\"type\\\"]}}\",\"value\":\"={{$json[\\\"payload\\\"]}}\"},{\"name\":\"progress\",\"value\":\"={{$node[\\\"Add scrobble data\\\"].json[\\\"progress\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"trakt-api-key\",\"value\":\"\"},{\"name\":\"trakt-api-version\",\"value\":\"2\"}]}},\"credentials\":{\"oAuth2Api\":{\"id\":\"13\",\"name\":\"TraktTV\"}},\"typeVersion\":1},{\"name\":\"Build request\",\"type\":\"n8n-nodes-base.set\",\"position\":[2420,120],\"parameters\":{\"values\":{\"number\":[{\"name\":\"progress\",\"value\":\"={{$node[\\\"Add scrobble data\\\"].json[\\\"progress\\\"]}}\"}],\"string\":[{\"name\":\"type\",\"value\":\"={{$node[\\\"Add scrobble data\\\"].json[\\\"type\\\"]}}\"},{\"name\":\"action\",\"value\":\"={{$node[\\\"Add scrobble data\\\"].json[\\\"action\\\"]}}\"},{\"name\":\"payload\",\"value\":\"={{$json[\\\"resource\\\"]}}\"}]},\"options\":{\"dotNotation\":false},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Add scrobble data\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[140,340],\"parameters\":{\"functionCode\":\"switch(item.event) {\\n case 'media.play':\\n case 'media.resume':\\n item.action = 'start';\\n item.progress = 0;\\n break;\\n case 'media.pause':\\n case 'media.stop':\\n item.action = 'stop';\\n item.progress = 0;\\n break;\\n case 'media.scrobble':\\n item.action = 'stop';\\n item.progress = 90;\\n break;\\n}\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Filter data\",\"type\":\"n8n-nodes-base.set\",\"position\":[-40,340],\"parameters\":{\"values\":{\"number\":[{\"name\":\"year\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"year\\\"]}}\"}],\"string\":[{\"name\":\"event\",\"value\":\"={{$json[\\\"event\\\"]}}\"},{\"name\":\"type\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"type\\\"]}}\"},{\"name\":\"grandparentTitle\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"grandparentTitle\\\"]}}\"},{\"name\":\"parentTitle\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"parentTitle\\\"]}}\"},{\"name\":\"title\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"title\\\"]}}\"},{\"name\":\"providerData\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"Guid\\\"]}}\"},{\"name\":\"season\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"parentIndex\\\"]}}\"},{\"name\":\"episode\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"index\\\"]}}\"},{\"name\":\"grandparentGuid\",\"value\":\"={{$json[\\\"Metadata\\\"][\\\"grandparentGuid\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Parse providers\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1030,480],\"parameters\":{\"functionCode\":\"if (item.providerData) {\\n item.providerData = item.providerData.map(data => {\\n const id = data.id;\\n \\n return {\\n name: id.substr(0,4),\\n id: id.substr(7)\\n }\\n });\\n}\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1480,480],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Transform providers\",\"type\":\"n8n-nodes-base.function\",\"position\":[1300,480],\"parameters\":{\"functionCode\":\"let result = [];\\nfor (item of items) {\\n for (provider of item.json.providerData) {\\n result.push({\\n json: provider\\n })\\n }\\n}\\n\\nreturn result;\\n\"},\"typeVersion\":1},{\"name\":\"If found\",\"type\":\"n8n-nodes-base.if\",\"position\":[1960,480],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{Object.keys($json[\\\"0\\\"]).length}}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Search Show & Episode\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1740,480],\"parameters\":{\"url\":\"=https://api.trakt.tv/search/{{$json[\\\"name\\\"]}}/{{$json[\\\"id\\\"]}}\",\"options\":{},\"authentication\":\"oAuth2\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"trakt-api-key\",\"value\":\"\"},{\"name\":\"trakt-api-version\",\"value\":\"2\"}]}},\"credentials\":{\"oAuth2Api\":{\"id\":\"13\",\"name\":\"TraktTV\"}},\"typeVersion\":1},{\"name\":\"Select Episode\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[2200,500],\"parameters\":{\"functionCode\":\"return {\\n resource: item[0].episode\\n};\\n\"},\"typeVersion\":1},{\"name\":\"Search Show\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1740,300],\"parameters\":{\"url\":\"=https://api.trakt.tv/search/{{$json[\\\"providerData\\\"][\\\"name\\\"]}}/{{$json[\\\"providerData\\\"][\\\"showId\\\"]}}?type=show\",\"options\":{},\"authentication\":\"oAuth2\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"trakt-api-key\",\"value\":\"\"},{\"name\":\"trakt-api-version\",\"value\":\"2\"}]}},\"credentials\":{\"oAuth2Api\":{\"id\":\"13\",\"name\":\"TraktTV\"}},\"typeVersion\":1},{\"name\":\"Parse parentGuid\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1030,310],\"parameters\":{\"functionCode\":\"const thetvdbRegex = new RegExp(/com\\\\.plexapp\\\\.agents\\\\.(.*):\\\\/\\\\/(\\\\d*)/g);\\nconst match = thetvdbRegex.exec(item.grandparentGuid);\\nconst provider = match[1];\\nconst showId = match[2];\\n\\nif (provider && showId) {\\n let providerName;\\n\\n switch(provider) {\\n case 'thetvdb':\\n providerName = 'tvdb';\\n break;\\n case 'themoviedb':\\n providerName = 'tmdb';\\n break;\\n }\\n \\n item.providerData = {\\n name: providerName,\\n showId: showId \\n }\\n}\\n\\nreturn item;\\n\"},\"typeVersion\":1},{\"name\":\"Search Episodes\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1960,300],\"parameters\":{\"url\":\"=https://api.trakt.tv/shows/{{$json[\\\"0\\\"][\\\"show\\\"][\\\"ids\\\"][\\\"trakt\\\"]}}/seasons?extended=episodes\",\"options\":{},\"authentication\":\"oAuth2\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"trakt-api-key\",\"value\":\"\"},{\"name\":\"trakt-api-version\",\"value\":\"2\"}]}},\"credentials\":{\"oAuth2Api\":{\"id\":\"13\",\"name\":\"TraktTV\"}},\"typeVersion\":1},{\"name\":\"Find & Select Episode\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[2200,300],\"parameters\":{\"functionCode\":\"const season = item.find(season => {\\n return season.number == $node[\\\"Add scrobble data\\\"].json[\\\"season\\\"]\\n})\\n\\nconst episode = season.episodes.find(episode => {\\n return episode.number == $node[\\\"Add scrobble data\\\"].json[\\\"episode\\\"]\\n})\\n\\nreturn {\\n resource: episode\\n}\"},\"typeVersion\":1},{\"name\":\"If providers empty\",\"type\":\"n8n-nodes-base.if\",\"position\":[840,340],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"providerData\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[580,480],\"parameters\":{},\"typeVersion\":1},{\"name\":\"If start or stop\",\"type\":\"n8n-nodes-base.if\",\"position\":[380,340],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"action\\\"]}}\",\"value2\":\"start\"},{\"value1\":\"={{$json[\\\"action\\\"]}}\",\"value2\":\"stop\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[-220,360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"Parse payload\\\"].json[\\\"Account\\\"][\\\"title\\\"] }}\",\"value2\":\"kinduff\"}]}},\"typeVersion\":1},{\"name\":\"NoOp2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-40,500],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-600,100],\"parameters\":{\"width\":900,\"height\":560,\"content\":\"# Receive & Parse Plex Webhook\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[340,100],\"parameters\":{\"width\":420,\"height\":560,\"content\":\"# Detect Movie or Episode\"},\"typeVersion\":1},{\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[800,100],\"parameters\":{\"width\":380,\"height\":560,\"content\":\"# Determine Data Provider\"},\"typeVersion\":1},{\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1220,20],\"parameters\":{\"width\":900,\"height\":700,\"content\":\"# Resource search\"},\"typeVersion\":1},{\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2160,20],\"parameters\":{\"width\":660,\"height\":700,\"content\":\"# Request to TraktTV\"},\"typeVersion\":1}],\"active\":true,\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Filter data\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp2\",\"type\":\"main\",\"index\":0}]]},\"Plex\":{\"main\":[[{\"node\":\"Parse payload\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Search Movie\",\"type\":\"main\",\"index\":0}],[{\"node\":\"If providers empty\",\"type\":\"main\",\"index\":0}]]},\"If found\":{\"main\":[[{\"node\":\"Select Episode\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Filter data\":{\"main\":[[{\"node\":\"Add scrobble data\",\"type\":\"main\",\"index\":0}]]},\"Search Show\":{\"main\":[[{\"node\":\"Search Episodes\",\"type\":\"main\",\"index\":0}]]},\"Search Movie\":{\"main\":[[{\"node\":\"Select Movie\",\"type\":\"main\",\"index\":0}]]},\"Select Movie\":{\"main\":[[{\"node\":\"Build request\",\"type\":\"main\",\"index\":0}]]},\"Build request\":{\"main\":[[{\"node\":\"Scrobble\",\"type\":\"main\",\"index\":0}]]},\"Parse payload\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Select Episode\":{\"main\":[[{\"node\":\"Build request\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Search Show & Episode\",\"type\":\"main\",\"index\":0}]]},\"Parse providers\":{\"main\":[[{\"node\":\"Transform providers\",\"type\":\"main\",\"index\":0}]]},\"Search Episodes\":{\"main\":[[{\"node\":\"Find & Select Episode\",\"type\":\"main\",\"index\":0}]]},\"If start or stop\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Parse parentGuid\":{\"main\":[[{\"node\":\"Search Show\",\"type\":\"main\",\"index\":0}]]},\"Add scrobble data\":{\"main\":[[{\"node\":\"If start or stop\",\"type\":\"main\",\"index\":0}]]},\"If providers empty\":{\"main\":[[{\"node\":\"Parse parentGuid\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Parse providers\",\"type\":\"main\",\"index\":0}]]},\"Transform providers\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Find & Select Episode\":{\"main\":[[{\"node\":\"Build request\",\"type\":\"main\",\"index\":0}]]},\"Search Show & Episode\":{\"main\":[[{\"node\":\"If found\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a contact in Google Contacts", "output": "{\"id\":\"20\",\"name\":\"Create, update and get a contact in Google Contacts\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[190,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Contacts\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[390,300],\"parameters\":{\"givenName\":\"n8n\",\"familyName\":\"n8n\",\"additionalFields\":{}},\"credentials\":{\"googleContactsOAuth2Api\":\"google-contact\"},\"typeVersion\":1},{\"name\":\"Google Contacts1\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[590,300],\"parameters\":{\"fields\":[],\"contactId\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"contactId\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"companyUi\":{\"companyValues\":[{\"name\":\"n8n\",\"title\":\"n8n\",\"domain\":\"n8n.io\",\"current\":true}]}}},\"credentials\":{\"googleContactsOAuth2Api\":\"google-contact\"},\"typeVersion\":1},{\"name\":\"Google Contacts2\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[790,300],\"parameters\":{\"fields\":[\"organizations\"],\"contactId\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"contactId\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"googleContactsOAuth2Api\":\"google-contact\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Google Contacts\":{\"main\":[[{\"node\":\"Google Contacts1\",\"type\":\"main\",\"index\":0}]]},\"Google Contacts1\":{\"main\":[[{\"node\":\"Google Contacts2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Contacts\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Vonage SMS Trigger", "output": "{\"id\":32,\"name\":\"Vonage SMS Trigger\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"notes\":\"Copy this webhook URL and paste it into the Vonage console under the number you are trying to use\",\"position\":[500,300],\"webhookId\":\"da6d64b2-3349-41c9-af64-4f1ba6baad9b\",\"parameters\":{\"path\":\"da6d64b2-3349-41c9-af64-4f1ba6baad9b\",\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[740,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"from\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"msisdn\\\"]}}\"},{\"name\":\"to\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"to\\\"]}}\"},{\"name\":\"body\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"text\\\"]}}\"},{\"name\":\"timestamp\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"message-timestamp\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Hubspot Trigger", "output": "{\"nodes\":[{\"name\":\"Hubspot Trigger\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[700,260],\"webhookId\":\"9fe8c037-be4f-4809-a7c2-96e509bfc52e\",\"parameters\":{\"appId\":\"dghert3\",\"additionalFields\":{\"maxConcurrentRequests\":5}},\"credentials\":{\"hubspotDeveloperApi\":\"hubspot_trigger\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Split Out Binary Data", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Split Up Binary Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[900,300],\"parameters\":{\"functionCode\":\"let results = [];\\n\\nfor (item of items) {\\n for (key of Object.keys(item.binary)) {\\n results.push({\\n json: {\\n fileName: item.binary[key].fileName\\n },\\n binary: {\\n data: item.binary[key],\\n }\\n });\\n }\\n}\\n\\nreturn results;\"},\"typeVersion\":1},{\"name\":\"Download Example Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,300],\"parameters\":{\"url\":\"https://static.thomasmartens.eu/n8n/three_more_files.zip\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Decompress Example Data\",\"type\":\"n8n-nodes-base.compression\",\"position\":[680,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[420,120],\"parameters\":{\"width\":400,\"height\":360,\"content\":\"## Example Data\\nThe first two nodes simply fetch some example data to work with.\\n\\nIn the real world, you'd probably process incoming emails, uploaded FTP files or something similar instead.\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[860,120],\"parameters\":{\"width\":320,\"height\":360,\"content\":\"## Transformation\\nThis is where the magic happens. Incoming files are split up into individual items, each with a single binary data object under the `data` key.\"},\"typeVersion\":1}],\"connections\":{\"Download Example Data\":{\"main\":[[{\"node\":\"Decompress Example Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Download Example Data\",\"type\":\"main\",\"index\":0}]]},\"Decompress Example Data\":{\"main\":[[{\"node\":\"Split Up Binary Data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "RPA-First task", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[480,300],\"parameters\":{\"url\":\"https://internal.users.n8n.cloud/webhook/custom-erp\",\"options\":{\"splitIntoItems\":true},\"authentication\":\"headerAuth\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"unique_id\",\"value\":\"recaj2mRaXZ1US6W0\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"1\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1140,100],\"parameters\":{\"table\":\"tblVGFoBNWfigjCve\",\"options\":{},\"operation\":\"append\",\"application\":\"appDwjW2sNaXEH6Eu\"},\"credentials\":{\"airtableApi\":{\"id\":\"2\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[680,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"orderStatus\\\"]}}\",\"value2\":\"processing\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[960,100],\"parameters\":{\"values\":{\"number\":[{\"name\":\"orderID\",\"value\":\"={{$json[\\\"orderID\\\"]}}\"}],\"string\":[{\"name\":\"employeeName\",\"value\":\"={{$json[\\\"employeeName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[980,380],\"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\":[1600,600],\"parameters\":{\"text\":\"=This week we have {{$node[\\\"Function\\\"].json[\\\"totalBooked\\\"]}} booked orders with a total value of {{$node[\\\"Function\\\"].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},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1420,600],\"parameters\":{\"text\":\"=BookedSum: {{$node[\\\"Function\\\"].json[\\\"bookedSum\\\"]}} TotalBooked:{{$node[\\\"Function\\\"].json[\\\"totalBooked\\\"]}}\",\"options\":{},\"subject\":\"=ZHIYUAN SUN n8n-[1] {{$json.time}}\",\"toEmail\":\"hitsmit@yopmail.com\",\"fromEmail\":\"zhiyuansun703@gmail.com\"},\"credentials\":{\"smtp\":{\"id\":\"3\",\"name\":\"SMTP account\"}},\"typeVersion\":1},{\"name\":\"GetDate\",\"type\":\"n8n-nodes-base.function\",\"position\":[1200,560],\"parameters\":{\"functionCode\":\"var time = new Date()\\nreturn [{time}]\"},\"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}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"GetDate\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"GetDate\",\"type\":\"main\",\"index\":0}]]},\"Send Email\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "TESTE CURSO", "output": "{\"id\":3,\"name\":\"Nathan’s workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"disabled\":true,\"position\":[220,100],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[420,300],\"parameters\":{\"url\":\"https://internal.users.n8n.cloud/webhook/custom-erp\",\"options\":{\"splitIntoItems\":true},\"authentication\":\"headerAuth\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"unique_id\",\"value\":\"recYHfdNGSKLUOTyC \"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"Header Auth n8n Course\"}},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1020,180],\"parameters\":{\"table\":\"orders\",\"options\":{},\"operation\":\"append\",\"application\":\"apps6dZhw9GRKPXmM\"},\"credentials\":{\"airtableApi\":{\"id\":\"5\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[620,200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"orderStatus\\\"]}}\",\"value2\":\"processing\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[820,180],\"parameters\":{\"values\":{\"number\":[{\"name\":\"orderID\",\"value\":\"={{$json[\\\"orderID\\\"]}}\"}],\"string\":[{\"name\":\"employeeName\",\"value\":\"={{$json[\\\"employeeName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[840,380],\"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\":[1020,380],\"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},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[220,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"executionTimeout\":-1},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[]]}}}" }, { "input": "Wekan notifications to Zulip", "output": "{\"id\":36,\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[500,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"user\",\"value\":\"={{$json[\\\"body\\\"][\\\"user\\\"]}}\"},{\"name\":\"card\",\"value\":\"={{$json[\\\"body\\\"][\\\"card\\\"]}}\"},{\"name\":\"text\",\"value\":\"={{$json[\\\"body\\\"][\\\"text\\\"]}}\"},{\"name\":\"boardId\",\"value\":\"={{$json[\\\"body\\\"][\\\"boardId\\\"]}}\"},{\"name\":\"comment\",\"value\":\"={{$json[\\\"body\\\"][\\\"comment\\\"]}}\"},{\"name\":\"cardId\",\"value\":\"={{$json[\\\"body\\\"][\\\"cardId\\\"]}}\"},{\"name\":\"toList\",\"value\":\"={{$json[\\\"body\\\"][\\\"listId\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Webhook Wekan\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[300,100],\"webhookId\":\"75ae4fad-9909-447f-a794-6088e526eb3f\",\"parameters\":{\"path\":\"wekan-zulip-daily\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Zulip\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[2400,80],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$node[\\\"Get board/lists names\\\"].json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} moved [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names\\\"].json[\\\"url\\\"]}}) from {{$node[\\\"Get board/lists names\\\"].json[\\\"from_list\\\"]}} to {{$node[\\\"Get board/lists names\\\"].json[\\\"to_list\\\"]}}\\n@**{{$node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"external_ids\\\"][0][\\\"user\\\"][\\\"username\\\"]}}** please review!\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"Get board/lists names\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,180],\"parameters\":{\"functionCode\":\"// Check if doesn't start with + and then add it\\n// var text = 'kaspar moved card \\\"Task2\\\" at board \\\"test\\\" from list \\\"Todo\\\" at swimlane \\\"Default\\\" to list \\\"Backlog\\\" at swimlane \\\"Default\\\" https://boards.crewnew.com/b/k4JYtSBpG2WZyzEw7/test/R9Zf2LGKZjcwxMo5m';\\nconst text = items[0].json.text;\\nconst textBrace = text.split('\\\"');\\nvar board = textBrace[3];\\nvar fromList = textBrace[5];\\nvar toList = textBrace[9];\\nvar url = textBrace[12].substring(1);\\n\\n//Deliver result\\n//return text;\\nreturn [{\\n json: { \\n \\\"board_name\\\" : board, \\n \\\"from_list\\\" : fromList,\\n \\\"to_list\\\" : toList,\\n \\\"url\\\" : url\\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"moveCard\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,180],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"description\\\"]}}\",\"value2\":\"act-moveCard\"}]}},\"typeVersion\":1},{\"name\":\"createCard\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"description\\\"]}}\",\"value2\":\"act-createCard\"}]}},\"typeVersion\":1},{\"name\":\"Get board/lists names1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,380],\"parameters\":{\"functionCode\":\"// Check if doesn't start with + and then add it\\n//var text = 'kaspar created card \\\"Task3\\\" to list \\\"Todo\\\" at swimlane \\\"Default\\\" at board \\\"test\\\" https://boards.crewnew.com/b/k4JYtSBpG2WZyzEw7/test/9DkfQAihe25wHa9Ym';\\nconst text = items[0].json.text;\\nconst textBrace = text.split('\\\"');\\nvar list = textBrace[3];\\nvar board = textBrace[7];\\nvar url = textBrace[8].substring(1);\\n\\n//Deliver result\\nreturn [{\\n json: { \\n \\\"board_name\\\" : board, \\n \\\"list\\\" : list,\\n \\\"url\\\" : url \\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"Zulip1\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[1300,380],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} created [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names1\\\"].json[\\\"url\\\"]}}) to {{$node[\\\"Get board/lists names1\\\"].json[\\\"list\\\"]}}\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"addComment\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,560],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"description\\\"]}}\",\"value2\":\"act-addComment\"}]}},\"typeVersion\":1},{\"name\":\"Get board/lists names2\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,560],\"parameters\":{\"functionCode\":\"// Check if doesn't start with + and then add it\\n//var text = 'kaspar commented on card \\\"Task4\\\": \\\"comm1\\\" at list \\\"Todo\\\" at swimlane \\\"Default\\\" at board \\\"test\\\" https://boards.crewnew.com/b/k4JYtSBpG2WZyzEw7/test/EqwrdC67LPFGYi526';\\nconst text = items[0].json.text;\\nconst textBrace = text.split('\\\"');\\nvar board = textBrace[9];\\nvar url = textBrace[10].substring(1);\\n\\n//Deliver result\\nreturn [{\\n json: { \\n \\\"board_name\\\" : board, \\n \\\"url\\\" : url,\\n \\\"text\\\" : text \\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"Zulip2\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[1300,560],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} commented on [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names2\\\"].json[\\\"url\\\"]}}): \\n{{$node[\\\"Set\\\"].json[\\\"body\\\"][\\\"comment\\\"]}}\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"checkedItem\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,20],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"description\\\"]}}\",\"value2\":\"act-checkedItem\"}]}},\"typeVersion\":1},{\"name\":\"Get board/lists names3\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,20],\"parameters\":{\"functionCode\":\"// Check if doesn't start with + and then add it\\n//var text = 'kaspar checked testitem2 of checklist \\\"Checklist\\\" at card \\\"Task4\\\" at list \\\"Todo\\\" at swimlane \\\"Default\\\" at board \\\"test\\\" https://boards.crewnew.com/b/k4JYtSBpG2WZyzEw7/test/EqwrdC67LPFGYi526';\\nconst text = items[0].json.text;\\nconst textArray = text.split(' ');\\nvar item = textArray[2];\\nconst textBrace = text.split('\\\"');\\nvar board = textBrace[9];\\nvar url = textBrace[10].substring(1);\\n\\n//Deliver result\\nreturn [{\\n json: { \\n \\\"board_name\\\" : board, \\n \\\"item\\\" : item,\\n \\\"url\\\" : url \\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"Zulip3\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[1300,20],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} checked in checklist \\\"{{$json[\\\"item\\\"]}}\\\" on [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names3\\\"].json[\\\"url\\\"]}})\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"addChecklistItem\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,-140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"description\\\"]}}\",\"value2\":\"act-addChecklistItem\"}]}},\"typeVersion\":1},{\"name\":\"Get board/lists names4\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,-140],\"parameters\":{\"functionCode\":\"// Check if doesn't start with + and then add it\\n//var text = 'kaspar added checklist item testitem4 to checklist \\\"Checklist\\\" at card \\\"Task4\\\" at list \\\"Todo\\\" at swimlane \\\"Default\\\" at board \\\"test\\\" https://boards.crewnew.com/b/k4JYtSBpG2WZyzEw7/test/EqwrdC67LPFGYi526';\\nconst text = items[0].json.text;\\nconst textArray = text.split(' ');\\nvar item = textArray[4];\\nconst textBrace = text.split('\\\"');\\nvar board = textBrace[9];\\nvar url = textBrace[10].substring(1);\\n\\n//Deliver result\\nreturn [{\\n json: { \\n \\\"board_name\\\" : board, \\n \\\"item\\\" : item,\\n \\\"url\\\" : url \\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"Zulip4\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[1300,-140],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} added in checklist: \\\"{{$json[\\\"item\\\"]}}\\\" on [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names4\\\"].json[\\\"url\\\"]}})\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"uncheckedItem\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,-300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"description\\\"]}}\",\"value2\":\"act-uncheckedItem\"}]}},\"typeVersion\":1},{\"name\":\"Get board/lists names5\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,-300],\"parameters\":{\"functionCode\":\"// Check if doesn't start with + and then add it\\n//var text = 'kaspar unchecked testitem3 of checklist \\\"Checklist\\\" at card \\\"Task4\\\" at list \\\"Todo\\\" at swimlane \\\"Default\\\" at board \\\"test\\\" https://boards.crewnew.com/b/k4JYtSBpG2WZyzEw7/test/EqwrdC67LPFGYi526';\\nconst text = items[0].json.text;\\nconst textArray = text.split(' ');\\nvar item = textArray[2];\\nconst textBrace = text.split('\\\"');\\nvar board = textBrace[9];\\nvar url = textBrace[10].substring(1);\\n\\n//Deliver result\\n\\nreturn [{\\n json: { \\n \\\"board_name\\\" : board, \\n \\\"item\\\" : item,\\n \\\"url\\\" : url \\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"Zulip5\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[1300,-300],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} unchecked in checklist: \\\"{{$json[\\\"item\\\"]}}\\\" on [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names5\\\"].json[\\\"url\\\"]}})\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"Wekan\",\"type\":\"n8n-nodes-base.wekan\",\"position\":[1320,180],\"parameters\":{\"cardId\":\"={{$node[\\\"Set\\\"].json[\\\"cardId\\\"]}}\",\"listId\":\"={{$node[\\\"Set\\\"].json[\\\"body\\\"][\\\"listId\\\"]}}\",\"boardId\":\"={{$node[\\\"Set\\\"].json[\\\"boardId\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"wekanApi\":{\"id\":\"30\",\"name\":\"Wekan account\"}},\"typeVersion\":1},{\"name\":\"GraphQL\",\"type\":\"n8n-nodes-base.graphql\",\"position\":[2200,80],\"parameters\":{\"query\":\"=query GetZulipId {\\n external_ids(where: {value: {_eq: \\\"{{$node[\\\"Wekan\\\"].json[\\\"assignees\\\"][0]}}\\\"}}) {\\n user {\\n external_ids(where: {name: {_eq: \\\"zulip_id\\\"}}) {\\n value\\n }\\n username\\n }\\n }\\n}\",\"endpoint\":\"https://apps.crewnew.com/v1/graphql\",\"requestFormat\":\"json\",\"authentication\":\"headerAuth\",\"allowUnauthorizedCerts\":true},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"34\",\"name\":\"Header Auth CN-Hasura\"}},\"typeVersion\":1},{\"name\":\"Zulip6\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[2160,280],\"parameters\":{\"topic\":\"board\",\"stream\":\"={{$node[\\\"Get board/lists names\\\"].json[\\\"board_name\\\"]}}\",\"content\":\"=@{{$node[\\\"Set\\\"].json[\\\"user\\\"]}} moved [{{$node[\\\"Set\\\"].json[\\\"card\\\"]}}]({{$node[\\\"Get board/lists names\\\"].json[\\\"url\\\"]}}) from {{$node[\\\"Get board/lists names\\\"].json[\\\"from_list\\\"]}} to {{$node[\\\"Get board/lists names\\\"].json[\\\"to_list\\\"]}}\",\"operation\":\"sendStream\"},\"credentials\":{\"zulipApi\":{\"id\":\"5\",\"name\":\"W_Zulip account\"}},\"typeVersion\":1},{\"name\":\"Assignees amount\",\"type\":\"n8n-nodes-base.function\",\"position\":[1540,180],\"parameters\":{\"functionCode\":\"// Check if there are assignees\\nconst assignees = items[0].json.assignees;\\nvar length = assignees.length;\\n\\n//Deliver result\\nreturn [{\\n json: { \\n \\\"assigneesAmount\\\" : length\\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"IF not 0 assignees\",\"type\":\"n8n-nodes-base.if\",\"position\":[1780,180],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"assigneesAmount\\\"]}}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"IF to the list Review\",\"type\":\"n8n-nodes-base.if\",\"position\":[1980,80],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get board/lists names\\\"].json[\\\"to_list\\\"]}}\",\"value2\":\"YESTERDAY (Review)\"},{\"value1\":\"={{$node[\\\"Get board/lists names\\\"].json[\\\"to_list\\\"]}}\",\"value2\":\"COMPLETE (Review)\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"uncheckedItem\",\"type\":\"main\",\"index\":0},{\"node\":\"addChecklistItem\",\"type\":\"main\",\"index\":0},{\"node\":\"checkedItem\",\"type\":\"main\",\"index\":0},{\"node\":\"moveCard\",\"type\":\"main\",\"index\":0},{\"node\":\"createCard\",\"type\":\"main\",\"index\":0},{\"node\":\"addComment\",\"type\":\"main\",\"index\":0}]]},\"Wekan\":{\"main\":[[{\"node\":\"Assignees amount\",\"type\":\"main\",\"index\":0}]]},\"GraphQL\":{\"main\":[[{\"node\":\"Zulip\",\"type\":\"main\",\"index\":0}]]},\"moveCard\":{\"main\":[[{\"node\":\"Get board/lists names\",\"type\":\"main\",\"index\":0}]]},\"addComment\":{\"main\":[[{\"node\":\"Get board/lists names2\",\"type\":\"main\",\"index\":0}]]},\"createCard\":{\"main\":[[{\"node\":\"Get board/lists names1\",\"type\":\"main\",\"index\":0}]]},\"checkedItem\":{\"main\":[[{\"node\":\"Get board/lists names3\",\"type\":\"main\",\"index\":0}]]},\"Webhook Wekan\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"uncheckedItem\":{\"main\":[[{\"node\":\"Get board/lists names5\",\"type\":\"main\",\"index\":0}]]},\"Assignees amount\":{\"main\":[[{\"node\":\"IF not 0 assignees\",\"type\":\"main\",\"index\":0}]]},\"addChecklistItem\":{\"main\":[[{\"node\":\"Get board/lists names4\",\"type\":\"main\",\"index\":0}]]},\"IF not 0 assignees\":{\"main\":[[{\"node\":\"IF to the list Review\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Zulip6\",\"type\":\"main\",\"index\":0}]]},\"Get board/lists names\":{\"main\":[[{\"node\":\"Wekan\",\"type\":\"main\",\"index\":0}]]},\"IF to the list Review\":{\"main\":[[{\"node\":\"GraphQL\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Zulip6\",\"type\":\"main\",\"index\":0}]]},\"Get board/lists names1\":{\"main\":[[{\"node\":\"Zulip1\",\"type\":\"main\",\"index\":0}]]},\"Get board/lists names2\":{\"main\":[[{\"node\":\"Zulip2\",\"type\":\"main\",\"index\":0}]]},\"Get board/lists names3\":{\"main\":[[{\"node\":\"Zulip3\",\"type\":\"main\",\"index\":0}]]},\"Get board/lists names4\":{\"main\":[[{\"node\":\"Zulip4\",\"type\":\"main\",\"index\":0}]]},\"Get board/lists names5\":{\"main\":[[{\"node\":\"Zulip5\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "send discord message when someone tweets something new", "output": "{\"id\":2,\"name\":\"send discord message when someone tweets something new\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,120],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get tweets\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,220],\"parameters\":{\"url\":\"https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=&count=2\",\"options\":{},\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"twitter\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[980,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"last_id\",\"value\":\"={{$node[\\\"Get tweets\\\"].json[\\\"0\\\"][\\\"id_str\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[760,220],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get tweets\\\"].json[\\\"0\\\"][\\\"id_str\\\"]}}\",\"value2\":\"={{$node[\\\"Set\\\"].json[\\\"last_id\\\"]}}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[740,520],\"webhookId\":\"5ad0f515-89a3-4837-9dab-310498b29c0c\",\"parameters\":{\"unit\":\"seconds\",\"amount\":5},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1180,200],\"parameters\":{\"text\":\"=https://twitter.com/twitter/status/{{$node[\\\"Get tweets\\\"].json[\\\"0\\\"][\\\"id_str\\\"]}}\",\"options\":{},\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Workflow Trigger\",\"type\":\"n8n-nodes-base.workflowTrigger\",\"position\":[220,340],\"parameters\":{\"events\":[\"activate\"]},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Get tweets\",\"type\":\"main\",\"index\":0}]]},\"Discord\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get tweets\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Workflow Trigger\":{\"main\":[[{\"node\":\"Get tweets\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get tweets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Gmail fetch emails of a label", "output": "{\"id\":\"175\",\"name\":\"Get messages with a certain label, remove the label, and add a new one\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[450,300],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"additionalFields\":{\"format\":\"full\",\"labelIds\":[\"Label_103811885290186237\"]}},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[650,300],\"parameters\":{\"labelIds\":[\"Label_103811885290186237\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\",\"operation\":\"remove\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail2\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[850,300],\"parameters\":{\"labelIds\":[\"Label_140673791182006844\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"Gmail1\",\"type\":\"main\",\"index\":0}]]},\"Gmail1\":{\"main\":[[{\"node\":\"Gmail2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send TheHive Alerts Using SIGNL4", "output": "{\"id\":3,\"name\":\"TheHive\",\"nodes\":[{\"name\":\"TheHive Create Alert\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[500,360],\"parameters\":{\"date\":\"2022-04-25T08:53:18.000Z\",\"tags\":\"tlp:pwhite\",\"type\":\"misp\",\"title\":\"TheHive Alert\",\"source\":\"1311\",\"sourceRef\":\"1330\",\"description\":\"Security issue detected on server A2. Please check and take care.\",\"additionalFields\":{}},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"TheHive Read Alerts\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[500,200],\"parameters\":{\"filters\":{},\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"theHiveApi\":{\"id\":\"1\",\"name\":\"The Hive account\"}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[280,540],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"TheHive Webhook Request\\\"].json[\\\"body\\\"][\\\"object\\\"][\\\"stage\\\"]}}\",\"value2\":\"=Closed\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"SIGNL4 Send Alert\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[500,520],\"parameters\":{\"message\":\"={{$node[\\\"TheHive Webhook Request\\\"].json[\\\"body\\\"][\\\"details\\\"][\\\"description\\\"]}}\",\"additionalFields\":{\"title\":\"={{$node[\\\"TheHive Webhook Request\\\"].json[\\\"body\\\"][\\\"details\\\"][\\\"title\\\"]}}\",\"externalId\":\"={{$node[\\\"TheHive Webhook Request\\\"].json[\\\"body\\\"][\\\"objectId\\\"]}}\"}},\"credentials\":{\"signl4Api\":{\"id\":\"2\",\"name\":\"SIGNL4 Webhook account\"}},\"typeVersion\":1},{\"name\":\"TheHive Webhook Request\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[80,540],\"webhookId\":\"22c76955-3f52-469e-a8ae-3f62e8e87ebe\",\"parameters\":{\"path\":\"22c76955-3f52-469e-a8ae-3f62e8e87ebe\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Start (Testing)\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[80,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SIGNL4 Resolve Alert\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[500,720],\"parameters\":{\"operation\":\"resolve\",\"externalId\":\"={{$node[\\\"TheHive Webhook Request\\\"].json[\\\"body\\\"][\\\"objectId\\\"]}}\"},\"credentials\":{\"signl4Api\":{\"id\":\"2\",\"name\":\"SIGNL4 Webhook account\"}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"SIGNL4 Send Alert\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SIGNL4 Resolve Alert\",\"type\":\"main\",\"index\":0}]]},\"Start (Testing)\":{\"main\":[[{\"node\":\"TheHive Create Alert\",\"type\":\"main\",\"index\":0}]]},\"TheHive Webhook Request\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insertar documento en MongoDB", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[420,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"my_key\",\"value\":\"my_value\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[620,320],\"parameters\":{\"fields\":\"my_key\",\"operation\":\"insert\",\"collection\":\"n8n-collection\"},\"credentials\":{\"mongoDb\":\"mongodb_credentials\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"MongoDB\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "prueba de comparacion", "output": "{\"id\":\"175\",\"name\":\"Get messages with a certain label, remove the label, and add a new one\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[450,300],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"additionalFields\":{\"format\":\"full\",\"labelIds\":[\"Label_103811885290186237\"]}},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[650,300],\"parameters\":{\"labelIds\":[\"Label_103811885290186237\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\",\"operation\":\"remove\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail2\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[850,300],\"parameters\":{\"labelIds\":[\"Label_140673791182006844\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"Gmail1\",\"type\":\"main\",\"index\":0}]]},\"Gmail1\":{\"main\":[[{\"node\":\"Gmail2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Kunai-Metrics-Webflow-Old", "output": "{\"id\":1053,\"name\":\"Lever: Handle Candidate Stage Change\",\"nodes\":[{\"name\":\"Lever Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[130,470],\"webhookId\":\"0cfb248e-3e84-4dfe-94f7-f5b301327b36\",\"parameters\":{\"path\":\"lever-candidate-event\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Verify Webhook\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[350,470],\"parameters\":{\"functionCode\":\"const crypto = require('crypto');\\n\\nfunction getSignatureToken(event) {\\n\\n switch (event) {\\n case \\\"candidateStageChange\\\":\\n return \\\"3c91ea8a354830200bd337ee058ae1d157fa62ceff035ad8\\\";\\n case \\\"candidateArchiveChange\\\":\\n return \\\"64068da6ef2744c2253ce4f7ceb701c1d77a666222595439\\\";\\n case \\\"candidateHired\\\":\\n return \\\"a8a7bfdd0532867d86b280ca87a16c13a93aa687dfd8e994\\\";\\n case \\\"candidateDeleted\\\":\\n return \\\"e81711860cb01d0a38e393e9c2f78a61cf9460ee1af79dde\\\"\\n default:\\n return \\\"\\\";\\n }\\n\\n}\\n\\n\\nfunction validateWebhook(token, triggeredAt, signature, event) {\\n var plainText = token + triggeredAt\\n var hash = crypto.createHmac('sha256', getSignatureToken(event))\\n hash.update(plainText)\\n hash = hash.digest('hex')\\n return signature === hash\\n}\\n\\nitem.verified = validateWebhook(item.body.token, item.body.triggeredAt, item.body.signature, item.body.event);\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"IF Verified\",\"type\":\"n8n-nodes-base.if\",\"position\":[560,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Handle Bad Webhook\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[790,800],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Route by Type\",\"type\":\"n8n-nodes-base.switch\",\"position\":[920,210],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"candidateStageChange\"},{\"output\":1,\"value2\":\"candidateArchiveChange\"},{\"output\":2,\"value2\":\"candidateHired\"},{\"output\":3,\"value2\":\"candidateDeleted\"}]},\"value1\":\"={{$json.body.event}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"Handle Deleted\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1150,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Handle Hired\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1150,360],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Handle Archive\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1150,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Handle Stage Change\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1140,0],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Opportunity\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1540,-20],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$node[\\\"IF Handled Stage\\\"].json[\\\"body\\\"][\\\"data\\\"][\\\"opportunityId\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"expand\",\"value\":\"stage\"},{\"name\":\"expand\",\"value\":\"applications\"},{\"name\":\"expand\",\"value\":\"owner\"},{\"name\":\"expand\",\"value\":\"sourcedBy\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Route by New Stage\",\"type\":\"n8n-nodes-base.switch\",\"position\":[2420,-40],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"c7131fa5-7ddd-443d-afbf-0a8df8458b71\"},{\"output\":1,\"value2\":\"af784ffd-b997-4411-9b9f-cad9a22f29a8\"},{\"output\":2,\"value2\":\"34114c9f-eb9f-473a-90e3-d8243774ea3e\"}]},\"value1\":\"={{$json[\\\"stage-id\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"Present to Client\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2940,-440],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Prep for Client\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2700,-60],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Other Stage\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2680,560],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Unify Params\",\"type\":\"n8n-nodes-base.set\",\"position\":[1720,-20],\"parameters\":{\"values\":{\"number\":[{\"name\":\"candidate-last-advanced-at\",\"value\":\"={{ $node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"lastAdvancedAt\\\"] }}\"}],\"string\":[{\"name\":\"opportunity-id\",\"value\":\"={{$node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"id\\\"]}}\"},{\"name\":\"posting-id\",\"value\":\"={{$json[\\\"data\\\"][\\\"applications\\\"][0][\\\"posting\\\"]}}\"},{\"name\":\"stage-id\",\"value\":\"={{$node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"stage\\\"][\\\"id\\\"]}}\"},{\"name\":\"candidate-name\",\"value\":\"={{$node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"name\\\"]}}\"},{\"name\":\"candidate-contact-id\",\"value\":\"={{$node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"contact\\\"]}}\"},{\"name\":\"candidate-email\",\"value\":\"={{$json[\\\"data\\\"][\\\"emails\\\"][0]}}\"},{\"name\":\"candidate-owner-id\",\"value\":\"={{ $json[\\\"data\\\"][\\\"owner\\\"][\\\"id\\\"] }}\"},{\"name\":\"candidate-sourced-by\",\"value\":\"={{ $json[\\\"data\\\"][\\\"sourcedBy\\\"][\\\"id\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Advance to HM Screen\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[4060,-680],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$node[\\\"Present to Client\\\"].json[\\\"opportunity-id\\\"]}}/stage\",\"options\":{},\"requestMethod\":\"PUT\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"stage\",\"value\":\"359fba80-442c-4731-9dd0-5d266544e620\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"IF Kunai PtC\",\"type\":\"n8n-nodes-base.if\",\"position\":[3460,-440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"data\\\"][\\\"categories\\\"][\\\"location\\\"] }}\",\"value2\":\"Oakland, CA\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"IF Kunai PfC\",\"type\":\"n8n-nodes-base.if\",\"position\":[3960,80],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"data\\\"][\\\"categories\\\"][\\\"location\\\"] }}\",\"value2\":\"Oakland, CA\"}]}},\"typeVersion\":1},{\"name\":\"Note: Advanced to Team Interview\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3180,-60],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$json[\\\"data\\\"][\\\"id\\\"]}}/notes\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"value\",\"value\":\"Applicant for Kunai role was moved to \\\"Prep for Client\\\" stage. Application has been automatically advanced to \\\"Team Interview\\\" stage. No email address was created.\"},{\"name\":\"notifyFollowers\",\"value\":\"={{true}}\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Note: Advanced to HM Screen\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[4280,-680],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$json[\\\"data\\\"][\\\"id\\\"]}}/notes\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"value\",\"value\":\"Applicant for Kunai role was moved to \\\"Present to Client\\\" stage. Application has been automatically advanced to \\\"Hiring Manager Screen\\\" stage.\"},{\"name\":\"notifyFollowers\",\"value\":\"={{true}}\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Respond 200\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[870,450],\"parameters\":{\"options\":{\"responseCode\":200},\"respondWith\":\"text\",\"responseBody\":\"=Webhook received and authenticated. Initiated Worflow Execution ID: {{$executionId}}.\"},\"typeVersion\":1},{\"name\":\"Respond 401\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[990,800],\"parameters\":{\"options\":{\"responseCode\":401},\"respondWith\":\"text\",\"responseBody\":\"Webhook received. Authentication failed.\"},\"typeVersion\":1},{\"name\":\"Update Pre-Sub Tracker\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3900,-420],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Notion Job\",\"type\":\"n8n-nodes-base.notion\",\"position\":[4120,-420],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever Posting ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$node[\\\"Present to Client\\\"].json[\\\"posting-id\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"4cd53a7a-5d52-438c-b807-1b4ba1d4c6ff\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"IF Pre-Sub Exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[4620,-420],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"id\\\"].length > 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Create Pre-Sub\",\"type\":\"n8n-nodes-base.notion\",\"position\":[4960,-400],\"parameters\":{\"resource\":\"databasePage\",\"databaseId\":\"fa05d118-5e22-418e-b7c8-c509dbe5fe82\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Candidate Name|title\",\"title\":\"={{$node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"name\\\"]}}\"},{\"key\":\"Lever Opportunity ID|rich_text\",\"textContent\":\"={{$node[\\\"Get Opportunity\\\"].json[\\\"data\\\"][\\\"id\\\"]}}\"},{\"key\":\"Job|relation\",\"relationValue\":[\"={{$node[\\\"Get Notion Job\\\"].json[\\\"id\\\"]}}\"]},{\"key\":\"Original Resume|url\",\"urlValue\":\"=https://hire.lever.co/candidates/{{$node[\\\"Lever Webhook\\\"].json[\\\"body\\\"][\\\"data\\\"][\\\"candidateId\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Auto Advance to Team Interview\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2960,-60],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$node[\\\"Prep for Client\\\"].json[\\\"opportunity-id\\\"]}}/stage\",\"options\":{},\"requestMethod\":\"PUT\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"stage\",\"value\":\"0401bad9-a8ab-4025-b103-bf5279fdf6a9\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Get Posting - Present\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3120,-440],\"parameters\":{\"url\":\"=https://api.lever.co/v1/postings/{{$json[\\\"posting-id\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"IF No Reqs - Present\",\"type\":\"n8n-nodes-base.if\",\"position\":[3200,-940],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"data\\\"][\\\"requisitionCodes\\\"].length === 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Handle 0 Reqs - Present\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3420,-1160],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Use 1st Req - Present\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3420,-920],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Posting - Prep\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3780,80],\"parameters\":{\"url\":\"=https://api.lever.co/v1/postings/{{$json[\\\"posting-id\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"IF No Reqs - Prep\",\"type\":\"n8n-nodes-base.if\",\"position\":[3280,1260],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"data\\\"][\\\"requisitionCodes\\\"].length === 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Handle 0 Reqs - Prep\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3520,1080],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Use 1st Req - Prep\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3520,1280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Req 0 - Prep\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3740,1280],\"parameters\":{\"url\":\"https://api.lever.co/v1/requisitions\",\"options\":{},\"authentication\":\"basicAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"requisition_code\",\"value\":\"={{$json[\\\"data\\\"][\\\"requisitionCodes\\\"][0]}}\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Get Req 0 - Present\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3640,-920],\"parameters\":{\"url\":\"https://api.lever.co/v1/requisitions\",\"options\":{},\"authentication\":\"basicAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"requisition_code\",\"value\":\"={{$json[\\\"data\\\"][\\\"requisitionCodes\\\"][0]}}\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"IF Handled Stage\",\"type\":\"n8n-nodes-base.if\",\"position\":[1360,0],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"toStageId\\\"]}}\",\"value2\":\"359fba80-442c-4731-9dd0-5d266544e620\"},{\"value1\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"toStageId\\\"]}}\",\"value2\":\"0401bad9-a8ab-4025-b103-bf5279fdf6a9\"},{\"value1\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"toStageId\\\"]}}\",\"value2\":\"offer\"},{\"value1\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"toStageId\\\"]}}\",\"value2\":\"c7131fa5-7ddd-443d-afbf-0a8df8458b71\"},{\"value1\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"toStageId\\\"]}}\",\"value2\":\"af784ffd-b997-4411-9b9f-cad9a22f29a8\"},{\"value1\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"toStageId\\\"]}}\",\"value2\":\"34114c9f-eb9f-473a-90e3-d8243774ea3e\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Get Candidate Record\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2880,660],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever Opportunity|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$json[\\\"opportunity-id\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"92246292-d3fe-40ed-9945-2d46e361f9bf\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Set Notion Data\",\"type\":\"n8n-nodes-base.set\",\"position\":[3040,660],\"parameters\":{\"values\":{\"string\":[{\"name\":\"notion-page-id\",\"value\":\"={{$json.id}}\"},{\"name\":\"notion-lever-opportunity-id\",\"value\":\"={{$json[\\\"Lever Opportunity\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set Empty Notion ID\",\"type\":\"n8n-nodes-base.set\",\"position\":[2880,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"notion-page-id\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Merge from Notion\",\"type\":\"n8n-nodes-base.merge\",\"position\":[3220,520],\"parameters\":{\"mode\":\"mergeByKey\",\"overwrite\":\"blank\",\"propertyName1\":\"opportunity-id\",\"propertyName2\":\"notion-lever-opportunity-id\"},\"typeVersion\":1},{\"name\":\"Create Notion Payload\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[3440,520],\"parameters\":{\"functionCode\":\"var notionObject = {\\n \\\"page\\\": \\\"\\\",\\n \\\"parent\\\": {\\n \\\"database_id\\\": \\\"92246292d3fe40ed99452d46e361f9bf\\\"\\n },\\n \\\"properties\\\": {\\n \\\"Name\\\": {\\n \\\"type\\\": \\\"title\\\",\\n \\\"title\\\": [\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"text\\\": {\\n \\\"content\\\": $json[\\\"candidate-name\\\"]\\n }\\n }\\n ]\\n },\\n // \\\"Current Status\\\": {\\n // \\\"type\\\": \\\"select\\\",\\n // \\\"select\\\": {\\n // \\\"name\\\": $json[\\\"job_stage\\\"]\\n // }\\n // },\\n // \\\"Phone\\\": {\\n // \\\"type\\\": \\\"phone_number\\\",\\n // \\\"phone_number\\\": $json[\\\"candidate_phone\\\"]\\n // },\\n \\\"Email\\\": {\\n \\\"type\\\": \\\"email\\\",\\n \\\"email\\\": $json[\\\"candidate-email\\\"]\\n },\\n // \\\"Jazz URL\\\": {\\n // \\\"type\\\": \\\"url\\\",\\n // \\\"url\\\": $json[\\\"candidate_jazz_url\\\"]\\n // }\\n }\\n};\\n\\nif ($json[\\\"candidate-sourced-by\\\"]) {\\n notionObject.properties[\\\"Original Source\\\"] = {\\n \\\"type\\\": \\\"select\\\",\\n \\\"select\\\": {\\n \\\"name\\\": $json[\\\"candidate-sourced-by\\\"]\\n }\\n }\\n}\\n\\n//If Updating an existing Notion Page\\nif ($json[\\\"notion-page-id\\\"].length > 0) {\\n notionObject.page = $json[\\\"notion-page-id\\\"]\\n} else {\\n notionObject.properties[\\\"Lever Opportunity\\\"] = {\\n \\\"type\\\": \\\"rich_text\\\",\\n \\\"rich_text\\\": [\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"text\\\": {\\n \\\"content\\\": $json[\\\"opportunity-id\\\"]\\n }\\n }\\n ]\\n }\\n}\\n\\nnotionObject.properties[\\\"Last Change\\\"] = {\\n type: \\\"date\\\",\\n date: {\\n start: new Date($json[\\\"candidate-last-advanced-at\\\"]).toISOString()\\n }\\n}\\n\\n//TO DO: SET JOB RELATION FOR NEW!\\n\\n// if ($json[\\\"notion_job_page\\\"] && $json[\\\"notion_job_page\\\"].length > 0) {\\n// notionObject.properties[\\\"Job Record\\\"] = {\\n// \\\"type\\\": \\\"relation\\\",\\n// \\\"relation\\\": [{\\\"id\\\": $json[\\\"notion_job_page\\\"]}] \\n// }\\n// }\\n\\nswitch ($json[\\\"stage-id\\\"]) {\\n\\n //Case: Hiring Manger Screen\\n case '359fba80-442c-4731-9dd0-5d266544e620':\\n notionObject.properties[\\\"Submission Date\\\"] = {\\n type: \\\"date\\\",\\n date: {\\n start: new Date($json[\\\"candidate-last-advanced-at\\\"]).toISOString()\\n }\\n }\\n\\n notionObject.properties[\\\"Lever: Stage\\\"] = {\\n type: \\\"select\\\",\\n select: {\\n name: \\\"Hiring Manager Screen\\\"\\n }\\n }\\n\\n notionObject.properties[\\\"Current Status\\\"] = {\\n type: \\\"select\\\",\\n select: {\\n name: \\\"CLIENT SUBMISSION\\\"\\n }\\n }\\n\\n break;\\n\\n //Case: Team Interview\\n case '0401bad9-a8ab-4025-b103-bf5279fdf6a9':\\n \\n notionObject.properties[\\\"Lever: Stage\\\"] = {\\n type: \\\"select\\\",\\n select: {\\n name: \\\"Team Interview\\\"\\n }\\n }\\n \\n notionObject.properties[\\\"Current Status\\\"] = {\\n type: \\\"select\\\",\\n select: {\\n name: \\\"CLIENT SCHEDULING\\\"\\n }\\n }\\n \\n break;\\n\\n case 'offer':\\n notionObject.properties[\\\"Offer Date\\\"] = {\\n type: \\\"date\\\",\\n date: {\\n start: new Date($json[\\\"candidate-last-advanced-at\\\"]).toISOString()\\n }\\n }\\n\\n notionObject.properties[\\\"Lever: Stage\\\"] = {\\n type: \\\"select\\\",\\n select: {\\n name: \\\"Offer\\\"\\n }\\n }\\n\\n notionObject.properties[\\\"Current Status\\\"] = {\\n type: \\\"select\\\",\\n select: {\\n name: \\\"CANDIDATE OFFER\\\"\\n }\\n }\\n\\n break;\\n}\\n\\nitem.notionData = notionObject;\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"IF New Candidate\",\"type\":\"n8n-nodes-base.if\",\"position\":[3640,520],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"notion-page-id\\\"]}}\",\"operation\":\"isEmpty\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Get Job for New Record\",\"type\":\"n8n-nodes-base.notion\",\"position\":[3900,340],\"parameters\":{\"limit\":1,\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever Posting ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$json[\\\"posting-id\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"4cd53a7a-5d52-438c-b807-1b4ba1d4c6ff\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Retain Previous Data\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[4120,340],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nvar newItem = $item(0).$node[\\\"IF New Candidate\\\"].json\\n\\nnewItem[\\\"notion-job-id\\\"] = item.id\\n\\nnewItem.notionData.properties[\\\"Job Record\\\"] = {\\n type: \\\"relation\\\",\\n relation: [{id: item.id}]\\n}\\n\\nreturn newItem;\"},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Create Notion Candidate\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[4540,340],\"parameters\":{\"url\":\"https://api.notion.com/v1/pages\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"parent\",\"value\":\"={{$json[\\\"notionData\\\"][\\\"parent\\\"]}}\"},{\"name\":\"properties\",\"value\":\"={{$json[\\\"notionData\\\"][\\\"properties\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Notion-Version\",\"value\":\"2021-08-16\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"Manual Notion Key - Kunai n8n Staffing Integration\"}},\"typeVersion\":1},{\"name\":\"Get Pre-Sub for Update\",\"type\":\"n8n-nodes-base.notion\",\"position\":[4760,340],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever Opportunity ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$json[\\\"properties\\\"][\\\"Lever Opportunity\\\"][\\\"rich_text\\\"][0][\\\"plain_text\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"fa05d118-5e22-418e-b7c8-c509dbe5fe82\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Mark as Submitted\",\"type\":\"n8n-nodes-base.notion\",\"position\":[4960,340],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Sent to Client|relation\",\"relationValue\":[\"={{$node[\\\"Create Notion Candidate\\\"].json[\\\"id\\\"]}}\"]}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Update Notion Candidate\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3900,580],\"parameters\":{\"url\":\"=https://api.notion.com/v1/pages/{{$json[\\\"notion-page-id\\\"]}}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"properties\",\"value\":\"={{$json.notionData.properties}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Notion-Version\",\"value\":\"2021-08-16\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"4\",\"name\":\"Manual Notion Key - Kunai n8n Staffing Integration\"}},\"typeVersion\":1},{\"name\":\"Retain Candidate Object\",\"type\":\"n8n-nodes-base.functionItem\",\"notes\":\"Also check for Kunai Email\",\"position\":[4140,1020],\"parameters\":{\"functionCode\":\"var newItem = $node[\\\"Prep for Client\\\"].json\\n\\nnewItem[\\\"candidate-first-name\\\"] = newItem[\\\"candidate-name\\\"].split(\\\" \\\")[0].replace(/[^a-zA-Z ]/g, \\\"\\\").toLowerCase();\\nnewItem[\\\"candidate-last-name\\\"] = newItem[\\\"candidate-name\\\"].split(\\\" \\\")[1].replace(/[^a-zA-Z ]/g, \\\"\\\").toLowerCase();\\n\\nnewItem[\\\"candidate-all-emails\\\"] = $node[\\\"Get Opportunity\\\"].json.data.emails;\\n\\nnewItem[\\\"candidate-has-kunai-email\\\"] = false;\\n\\nnewItem[\\\"candidate-all-emails\\\"].forEach(function(email) {\\n const domain = email.split(\\\"@\\\")[1].toLowerCase();\\n \\n if (domain.indexOf('kunaico.com') !== -1 || domain.indexOf('kun.ai') !== -1 || domain.indexOf('kunaiconsulting.com') !== -1) {\\n newItem[\\\"candidate-has-kunai-email\\\"] = true;\\n }\\n \\n});\\n\\nreturn newItem;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"IF Partial Name\",\"type\":\"n8n-nodes-base.if\",\"position\":[4380,1020],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"candidate-first-name\\\"].length}}\",\"value2\":1,\"operation\":\"smallerEqual\"},{\"value1\":\"={{$json[\\\"candidate-last-name\\\"]}}\",\"value2\":1,\"operation\":\"smallerEqual\"}],\"string\":[]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"IF Kunai Email Set\",\"type\":\"n8n-nodes-base.if\",\"position\":[4660,1040],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"candidate-has-kunai-email\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Note: Partial Name\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[4660,840],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$json[\\\"opportunity-id\\\"]}}/notes\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"notifyFollowers\",\"value\":\"={{true}}\"},{\"name\":\"value\",\"value\":\"Candidate name in Lever must be in the format \\\"[First Name] [Last Name]\\\" in order to auto-generate a kunaiconsulting.com email address. To advance this candidate, please:\\n1. Correct the candidate's name in Lever\\n2. Manually move the candidate back to the \\\"Hiring Manager Screen\\\" stage\\n3. Manually advance the candidate again to the \\\"Prep for Client\\\" stage\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Check for GSuite Account\",\"type\":\"n8n-nodes-base.gSuiteAdmin\",\"notes\":\"on personal email\",\"position\":[4940,1060],\"parameters\":{\"options\":{\"query\":\"=email={{$json[\\\"candidate-email\\\"]}}\"},\"operation\":\"getAll\"},\"credentials\":{\"gSuiteAdminOAuth2Api\":{\"id\":\"6\",\"name\":\"GSuite Admin OAuth for n8n - Ruan\"}},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Email has Kunai Account\",\"type\":\"n8n-nodes-base.if\",\"position\":[5180,1060],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{Object.keys($json).length > 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Get first.last@\",\"type\":\"n8n-nodes-base.gSuiteAdmin\",\"notes\":\"check for first.last@kunaiconsulting\",\"position\":[5420,1080],\"parameters\":{\"options\":{\"query\":\"=email={{$node[\\\"Retain Candidate Object\\\"].json[\\\"candidate-first-name\\\"]}}.{{$node[\\\"Retain Candidate Object\\\"].json[\\\"candidate-last-name\\\"]}}@kunaiconsulting.com\"},\"operation\":\"getAll\"},\"credentials\":{\"gSuiteAdminOAuth2Api\":{\"id\":\"6\",\"name\":\"GSuite Admin OAuth for n8n - Ruan\"}},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"First.Last@ Exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[5600,1080],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{Object.keys($json).length > 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Generate Password\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[5840,1100],\"parameters\":{\"functionCode\":\"var newItem = $node[\\\"Retain Candidate Object\\\"].json\\n\\nfunction generateP() {\\n var pass = '';\\n var str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' + \\n 'abcdefghijklmnopqrstuvwxyz0123456789@#$';\\n \\n for (i = 1; i <= 16; i++) {\\n var char = Math.floor(Math.random()\\n * str.length + 1);\\n \\n pass += str.charAt(char)\\n }\\n \\n return pass;\\n}\\n\\nnewItem.tempPassword = generateP();\\n\\nreturn newItem;\"},\"typeVersion\":1},{\"name\":\"Create Account\",\"type\":\"n8n-nodes-base.gSuiteAdmin\",\"position\":[6040,1100],\"parameters\":{\"domain\":\"kunaiconsulting.com\",\"lastName\":\"={{$json[\\\"candidate-name\\\"].split(\\\" \\\")[1]}}\",\"password\":\"={{$json[\\\"tempPassword\\\"]}}\",\"username\":\"={{$json[\\\"candidate-first-name\\\"]}}.{{$json[\\\"candidate-last-name\\\"]}}\",\"firstName\":\"={{$json[\\\"candidate-name\\\"].split(\\\" \\\")[0]}}\",\"additionalFields\":{\"emailUi\":{\"emailValues\":[{\"type\":\"home\",\"address\":\"={{$json[\\\"candidate-email\\\"]}}\"}]},\"changePasswordAtNextLogin\":true}},\"credentials\":{\"gSuiteAdminOAuth2Api\":{\"id\":\"6\",\"name\":\"GSuite Admin OAuth for n8n - Ruan\"}},\"typeVersion\":1},{\"name\":\"Send Welcome Email\",\"type\":\"n8n-nodes-base.sendGrid\",\"position\":[6240,1100],\"parameters\":{\"toEmail\":\"={{$json[\\\"emails\\\"][0][\\\"address\\\"]}}\",\"fromName\":\"Kunai Talent Team\",\"resource\":\"mail\",\"fromEmail\":\"talent.team@kunaico.com\",\"templateId\":\"d-b64b7d71b0ce415f93265fc4d7bdf027\",\"dynamicTemplate\":true,\"additionalFields\":{\"bccEmail\":\"talent.team@kunaico.com\"},\"dynamicTemplateFields\":{\"fields\":[{\"key\":\"kunaiEmail\",\"value\":\"={{$json[\\\"primaryEmail\\\"]}}\"},{\"key\":\"temporaryPassword\",\"value\":\"={{$node[\\\"Generate Password\\\"].json[\\\"tempPassword\\\"]}}\"},{\"key\":\"firstName\",\"value\":\"={{$json[\\\"name\\\"][\\\"givenName\\\"]}}\"}]}},\"credentials\":{\"sendGridApi\":{\"id\":\"8\",\"name\":\"Ruan Kunai Sendgrid\"}},\"typeVersion\":1},{\"name\":\"Put Email in Lever\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[6440,1100],\"parameters\":{\"url\":\"=https://api.lever.co/v1/contacts/{{$node[\\\"Lever Webhook\\\"].json[\\\"body\\\"][\\\"data\\\"][\\\"contactId\\\"]}}\",\"options\":{},\"requestMethod\":\"PUT\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"emails\",\"value\":\"={{$node[\\\"Generate Password\\\"].json[\\\"candidate-all-emails\\\"].concat([$node[\\\"Create Account\\\"].json[\\\"primaryEmail\\\"]])}}\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Add Note on KN Email\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[6680,1100],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$node[\\\"Generate Password\\\"].json[\\\"opportunity-id\\\"]}}/notes\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"value\",\"value\":\"=Created email address {{$node[\\\"Create Account\\\"].json[\\\"primaryEmail\\\"]}} and added it to candidate profile. Login information sent to {{$node[\\\"Generate Password\\\"].json[\\\"candidate-email\\\"]}} via Sendgrid (message id {{$node[\\\"Send Welcome Email\\\"].json[\\\"messageId\\\"]}}). Advancing candidate to Team Interview stage.\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"Advance to Team Interview\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[6900,1100],\"parameters\":{\"url\":\"=https://api.lever.co/v1/opportunities/{{$node[\\\"Generate Password\\\"].json[\\\"opportunity-id\\\"]}}/stage\",\"options\":{},\"requestMethod\":\"PUT\",\"authentication\":\"basicAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"stage\",\"value\":\"0401bad9-a8ab-4025-b103-bf5279fdf6a9\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"18\",\"name\":\"Kunai Lever Full Access\"}},\"typeVersion\":1},{\"name\":\"IF Posting Defined\",\"type\":\"n8n-nodes-base.if\",\"position\":[2220,-20],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"posting-id\\\"].length > 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Wait 10s\",\"type\":\"n8n-nodes-base.wait\",\"position\":[1560,220],\"webhookId\":\"e454044f-2533-4286-96c2-58793c020c6a\",\"parameters\":{\"unit\":\"seconds\",\"amount\":\"={{$runIndex === 0 ? 10 : ($runIndex === 1 ? 60 : ($runIndex === 2 ? 120 : 180) ) }}\"},\"typeVersion\":1},{\"name\":\"Retry Application\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2380,200],\"parameters\":{\"text\":\"=:warning:\\n*Request:* Attempted to sync candidate {{$json[\\\"candidate-name\\\"]}} ( https://hire.lever.co/candidates/{{$json[\\\"opportunity-id\\\"]}} ) with Notion. \\n*Result:* Job application was not available in Lever. Retrying in {{$runIndex === 0 ? 10 : ($runIndex === 1 ? 60 : ($runIndex === 2 ? 120 : 180) )}} seconds.\\n*Details:* Applicant will remain in current stage in Lever, but is *not* yet synced Notion.\",\"channel\":\"staffing-automations\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[],\"otherOptions\":{\"link_names\":true,\"unfurl_links\":false}},\"credentials\":{\"slackApi\":{\"id\":\"7\",\"name\":\"Slack n8n Auth Token\"}},\"typeVersion\":1},{\"name\":\"IF 1st or 2nd Retry\",\"type\":\"n8n-nodes-base.if\",\"position\":[1720,220],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$runIndex}}\",\"value2\":3}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Stop Retrying\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2380,380],\"parameters\":{\"text\":\"=:red_circle: :fire:\\n*Request:* Attempted to sync candidate {{$json[\\\"candidate-name\\\"]}} ( https://hire.lever.co/candidates/{{$json[\\\"opportunity-id\\\"]}} ) to the with Notion in execution number {{$executionId}}.\\n*Result:* Job application is still not available in Lever after three attempts 5 minutes apart.\\n*Details:* Applicant will remain in \\\"Present to Client\\\" stage in Lever, but is *not* yet synced with Notion.\\n@ruan\",\"channel\":\"staffing-automations\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"7\",\"name\":\"Slack n8n Auth Token\"}},\"typeVersion\":1},{\"name\":\"IF Retried\",\"type\":\"n8n-nodes-base.if\",\"position\":[2400,-240],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Get Opportunity\\\"].runIndex}}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Retry Successful\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2580,-580],\"parameters\":{\"text\":\"=:white_check_mark:\\n*Request:* Attempted to sync candidate {{$json[\\\"candidate-name\\\"]}} ( https://hire.lever.co/candidates/{{$json[\\\"opportunity-id\\\"]}} ) to Notion Trackers. \\n*Result:* Job application was available in Lever. Retry Successful.\\n*Details:* Applicant will be synced with Notion.\",\"channel\":\"staffing-automations\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"7\",\"name\":\"Slack n8n Auth Token\"}},\"typeVersion\":1},{\"name\":\"Get Recruiter\",\"type\":\"n8n-nodes-base.notion\",\"position\":[5180,-400],\"parameters\":{\"limit\":1,\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever User ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$node[\\\"Present to Client\\\"].json[\\\"candidate-owner-id\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"e9d06e19-d80d-4058-a9f2-c0f701a51715\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Add Recruiter to Pre-Sub\",\"type\":\"n8n-nodes-base.notion\",\"position\":[5400,-400],\"parameters\":{\"pageId\":\"={{$node[\\\"Create Pre-Sub\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Recruiter|relation\",\"relationValue\":[\"={{$json.id}}\"]}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Archive Handler\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[1320,200],\"parameters\":{\"workflowId\":\"1039\"},\"typeVersion\":1},{\"name\":\"IF Unsubmitted\",\"type\":\"n8n-nodes-base.if\",\"position\":[4960,-660],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"Sent to Client\\\"].length}}\",\"operation\":\"equal\"}]}},\"typeVersion\":1},{\"name\":\"Activate Pre-Sub\",\"type\":\"n8n-nodes-base.notion\",\"position\":[5180,-680],\"parameters\":{\"pageId\":\"={{$json.id}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Submission Cancelled|checkbox\"},{\"key\":\"Cancel Reason|select\",\"selectValue\":\"4b741b7b-c75e-434f-be82-cdf697400a26\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Recruiter Screen\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2700,240],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Check for Pre-Sub\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2880,240],\"parameters\":{\"limit\":1,\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever Opportunity ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$json[\\\"opportunity-id\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"fa05d118-5e22-418e-b7c8-c509dbe5fe82\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Cancel Pre-Sub\",\"type\":\"n8n-nodes-base.notion\",\"position\":[3100,240],\"parameters\":{\"pageId\":\"={{$json.id}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Submission Cancelled|checkbox\",\"checkboxValue\":true},{\"key\":\"Cancel Reason|select\",\"selectValue\":\"6e254e9a-a270-4634-bc60-3948c097f308\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1},{\"name\":\"Get Existing Pre-Sub (old)\",\"type\":\"n8n-nodes-base.notion\",\"position\":[4240,-940],\"parameters\":{\"options\":{\"filter\":{\"singleCondition\":{\"key\":\"Lever Opportunity ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$node[\\\"Present to Client\\\"].json[\\\"opportunity-id\\\"]}}\"}}},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"fa05d118-5e22-418e-b7c8-c509dbe5fe82\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Get Existing Pre-Sub\",\"type\":\"n8n-nodes-base.notion\",\"position\":[4360,-420],\"parameters\":{\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"fa05d118-5e22-418e-b7c8-c509dbe5fe82\",\"filterJson\":\"={\\n \\\"property\\\": \\\"Lever Opportunity ID\\\",\\n \\\"rich_text\\\": {\\n \\\"equals\\\": \\\"{{$node[\\\"Present to Client\\\"].json[\\\"opportunity-id\\\"]}}\\\"\\n }\\n}\",\"filterType\":\"json\"},\"credentials\":{\"notionApi\":{\"id\":\"3\",\"name\":\"Kunai Staffing n8n Key\"}},\"typeVersion\":2,\"alwaysOutputData\":true}],\"active\":false,\"settings\":{},\"connections\":{\"Wait 10s\":{\"main\":[[{\"node\":\"IF 1st or 2nd Retry\",\"type\":\"main\",\"index\":0}]]},\"IF Retried\":{\"main\":[[{\"node\":\"Retry Successful\",\"type\":\"main\",\"index\":0}]]},\"IF Verified\":{\"main\":[[{\"node\":\"Route by Type\",\"type\":\"main\",\"index\":0},{\"node\":\"Respond 200\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Handle Bad Webhook\",\"type\":\"main\",\"index\":0}]]},\"Other Stage\":{\"main\":[[{\"node\":\"Get Candidate Record\",\"type\":\"main\",\"index\":0},{\"node\":\"Set Empty Notion ID\",\"type\":\"main\",\"index\":0}]]},\"IF Kunai PtC\":{\"main\":[[{\"node\":\"Advance to HM Screen\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update Pre-Sub Tracker\",\"type\":\"main\",\"index\":0}]]},\"Unify Params\":{\"main\":[[{\"node\":\"IF Posting Defined\",\"type\":\"main\",\"index\":0}]]},\"Get Recruiter\":{\"main\":[[{\"node\":\"Add Recruiter to Pre-Sub\",\"type\":\"main\",\"index\":0}]]},\"Lever Webhook\":{\"main\":[[{\"node\":\"Verify Webhook\",\"type\":\"main\",\"index\":0}]]},\"Route by Type\":{\"main\":[[{\"node\":\"Handle Stage Change\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Handle Archive\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Handle Hired\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Handle Deleted\",\"type\":\"main\",\"index\":0}]]},\"Create Account\":{\"main\":[[{\"node\":\"Send Welcome Email\",\"type\":\"main\",\"index\":0}]]},\"Create Pre-Sub\":{\"main\":[[{\"node\":\"Get Recruiter\",\"type\":\"main\",\"index\":0}]]},\"Get Notion Job\":{\"main\":[[{\"node\":\"Get Existing Pre-Sub\",\"type\":\"main\",\"index\":0}]]},\"Handle Archive\":{\"main\":[[{\"node\":\"Archive Handler\",\"type\":\"main\",\"index\":0}]]},\"IF Unsubmitted\":{\"main\":[[{\"node\":\"Activate Pre-Sub\",\"type\":\"main\",\"index\":0}]]},\"Verify Webhook\":{\"main\":[[{\"node\":\"IF Verified\",\"type\":\"main\",\"index\":0}]]},\"Get Opportunity\":{\"main\":[[{\"node\":\"Unify Params\",\"type\":\"main\",\"index\":0}]]},\"Get first.last@\":{\"main\":[[{\"node\":\"First.Last@ Exists\",\"type\":\"main\",\"index\":0}]]},\"IF Partial Name\":{\"main\":[[{\"node\":\"Note: Partial Name\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF Kunai Email Set\",\"type\":\"main\",\"index\":0}]]},\"Prep for Client\":{\"main\":[[{\"node\":\"Auto Advance to Team Interview\",\"type\":\"main\",\"index\":0}]]},\"Set Notion Data\":{\"main\":[[{\"node\":\"Merge from Notion\",\"type\":\"main\",\"index\":1}]]},\"IF Handled Stage\":{\"main\":[[{\"node\":\"Get Opportunity\",\"type\":\"main\",\"index\":0}]]},\"IF New Candidate\":{\"main\":[[{\"node\":\"Get Job for New Record\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update Notion Candidate\",\"type\":\"main\",\"index\":0}]]},\"Recruiter Screen\":{\"main\":[[{\"node\":\"Check for Pre-Sub\",\"type\":\"main\",\"index\":0}]]},\"Check for Pre-Sub\":{\"main\":[[{\"node\":\"Cancel Pre-Sub\",\"type\":\"main\",\"index\":0}]]},\"Generate Password\":{\"main\":[[{\"node\":\"Create Account\",\"type\":\"main\",\"index\":0}]]},\"IF No Reqs - Prep\":{\"main\":[[{\"node\":\"Handle 0 Reqs - Prep\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Use 1st Req - Prep\",\"type\":\"main\",\"index\":0}]]},\"IF Pre-Sub Exists\":{\"main\":[[{\"node\":\"IF Unsubmitted\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create Pre-Sub\",\"type\":\"main\",\"index\":0}]]},\"Merge from Notion\":{\"main\":[[{\"node\":\"Create Notion Payload\",\"type\":\"main\",\"index\":0}]]},\"Present to Client\":{\"main\":[[{\"node\":\"Get Posting - Present\",\"type\":\"main\",\"index\":0}]]},\"First.Last@ Exists\":{\"main\":[[],[{\"node\":\"Generate Password\",\"type\":\"main\",\"index\":0}]]},\"Handle Bad Webhook\":{\"main\":[[{\"node\":\"Respond 401\",\"type\":\"main\",\"index\":0}]]},\"IF Kunai Email Set\":{\"main\":[[],[{\"node\":\"Check for GSuite Account\",\"type\":\"main\",\"index\":0}]]},\"IF Posting Defined\":{\"main\":[[{\"node\":\"Route by New Stage\",\"type\":\"main\",\"index\":0},{\"node\":\"IF Retried\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait 10s\",\"type\":\"main\",\"index\":0},{\"node\":\"Retry Application\",\"type\":\"main\",\"index\":0}]]},\"Put Email in Lever\":{\"main\":[[{\"node\":\"Add Note on KN Email\",\"type\":\"main\",\"index\":0}]]},\"Route by New Stage\":{\"main\":[[{\"node\":\"Present to Client\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Prep for Client\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Recruiter Screen\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Other Stage\",\"type\":\"main\",\"index\":0}]]},\"Send Welcome Email\":{\"main\":[[{\"node\":\"Put Email in Lever\",\"type\":\"main\",\"index\":0}]]},\"Use 1st Req - Prep\":{\"main\":[[{\"node\":\"Get Req 0 - Prep\",\"type\":\"main\",\"index\":0}]]},\"Handle Stage Change\":{\"main\":[[{\"node\":\"IF Handled Stage\",\"type\":\"main\",\"index\":0}]]},\"IF 1st or 2nd Retry\":{\"main\":[[{\"node\":\"Get Opportunity\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop Retrying\",\"type\":\"main\",\"index\":0}]]},\"Set Empty Notion ID\":{\"main\":[[{\"node\":\"Merge from Notion\",\"type\":\"main\",\"index\":0}]]},\"Add Note on KN Email\":{\"main\":[[{\"node\":\"Advance to Team Interview\",\"type\":\"main\",\"index\":0}]]},\"Advance to HM Screen\":{\"main\":[[{\"node\":\"Note: Advanced to HM Screen\",\"type\":\"main\",\"index\":0}]]},\"Get Candidate Record\":{\"main\":[[{\"node\":\"Set Notion Data\",\"type\":\"main\",\"index\":0}]]},\"Get Existing Pre-Sub\":{\"main\":[[{\"node\":\"IF Pre-Sub Exists\",\"type\":\"main\",\"index\":0}]]},\"IF No Reqs - Present\":{\"main\":[[{\"node\":\"Handle 0 Reqs - Present\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Use 1st Req - Present\",\"type\":\"main\",\"index\":0}]]},\"Retain Previous Data\":{\"main\":[[{\"node\":\"Create Notion Candidate\",\"type\":\"main\",\"index\":0}]]},\"Create Notion Payload\":{\"main\":[[{\"node\":\"IF New Candidate\",\"type\":\"main\",\"index\":0}]]},\"Get Posting - Present\":{\"main\":[[{\"node\":\"IF Kunai PtC\",\"type\":\"main\",\"index\":0}]]},\"Get Job for New Record\":{\"main\":[[{\"node\":\"Retain Previous Data\",\"type\":\"main\",\"index\":0}]]},\"Get Pre-Sub for Update\":{\"main\":[[{\"node\":\"Mark as Submitted\",\"type\":\"main\",\"index\":0}]]},\"Update Pre-Sub Tracker\":{\"main\":[[{\"node\":\"Get Notion Job\",\"type\":\"main\",\"index\":0}]]},\"Use 1st Req - Present\":{\"main\":[[{\"node\":\"Get Req 0 - Present\",\"type\":\"main\",\"index\":0}]]},\"Create Notion Candidate\":{\"main\":[[{\"node\":\"Get Pre-Sub for Update\",\"type\":\"main\",\"index\":0}]]},\"Email has Kunai Account\":{\"main\":[[],[{\"node\":\"Get first.last@\",\"type\":\"main\",\"index\":0}]]},\"Retain Candidate Object\":{\"main\":[[{\"node\":\"IF Partial Name\",\"type\":\"main\",\"index\":0}]]},\"Check for GSuite Account\":{\"main\":[[{\"node\":\"Email has Kunai Account\",\"type\":\"main\",\"index\":0}]]},\"Auto Advance to Team Interview\":{\"main\":[[{\"node\":\"Note: Advanced to Team Interview\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Jose shared this function node. for video", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[460,300],\"parameters\":{\"functionCode\":\"let time = DateTime.now().setZone(\\\"Europe/Madrid\\\");//.minus({ weeks: 1 }).endOf(\\\"day\\\").toISO();\\r\\nreturn time;\"},\"typeVersion\":1},{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Zhichao's Work", "output": "{\"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}]]}}}" }, { "input": "A test workflow", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nc_id = items[0].json.headers['x-adobesign-clientid'];\\n\\nfor (item of items) {\\n item.json.myNewField = 1;\\n item.json.clientID = c_id;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"POST\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,-160],\"webhookId\":\"dfe2a7a8-c0f7-41e1-9bf7-15e2b6e98741\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"reg-GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,20],\"webhookId\":\"5356a36b-1090-4470-ad87-7cfdb6c18daf\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"webhook-response\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[-100,-80],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"x-adobesign-clientid\",\"value\":\"={{$node[\\\"Function\\\"].json[\\\"clientID\\\"]}}\"}]}}},\"typeVersion\":1},{\"name\":\"SetWebhookData\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"webhookData\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"] }}\"},{\"name\":\"agreement_ID\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"id\\\"] }}\"},{\"name\":\"all_participants\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"participantSetsInfo\\\"] }}\"},{\"name\":\"agreement_status\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"POST\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"reg-GET\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"webhook-response\",\"type\":\"main\",\"index\":0}]]},\"webhook-response\":{\"main\":[[{\"node\":\"SetWebhookData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Feishu RSS bot", "output": "{\"id\":4,\"name\":\"Feishu RSS bot\",\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[800,-280],\"parameters\":{\"url\":\"={{$json[\\\"feed\\\"]}}\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"IF2\",\"type\":\"n8n-nodes-base.if\",\"position\":[1040,-280],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"data\\\"].indexOf(\\\"rdf\\\") != -1}}\",\"value2\":\"={{true}}\"}]}},\"typeVersion\":1},{\"name\":\"XML1\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1400,-520],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"XML2\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1400,-180],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists1\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1560,-520],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"rdf:RDF.item\"},\"typeVersion\":1},{\"name\":\"Item Lists3\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1580,-220],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"rss.channel.item\"},\"typeVersion\":1},{\"name\":\"format rdf\",\"type\":\"n8n-nodes-base.function\",\"position\":[1780,-460],\"parameters\":{\"functionCode\":\"for (item of items) {\\n item.json[\\\"title\\\"] = item.json[\\\"dc:title\\\"];\\n item.json[\\\"description\\\"] = item.json[\\\"content:encoded\\\"];\\n item.json[\\\"pubDate\\\"] = item.json[\\\"dc:date\\\"]\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Merge type\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1980,-340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set out info\",\"type\":\"n8n-nodes-base.set\",\"position\":[2240,-340],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Title\",\"value\":\"={{$json[\\\"title\\\"]}}\"},{\"name\":\"Date\",\"value\":\"={{$json[\\\"pubDate\\\"]}}\"},{\"name\":\"Text\",\"value\":\"={{$json[\\\"description\\\"].replace(/<\\\\/p>/g,\\\"\\\\\\\\n\\\").replace(/<[^>]*>?/gm, '').replace(/\\\\s\\\\s/g, '')}}\"},{\"name\":\"Link\",\"value\":\"={{$json[\\\"link\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Latest Read\",\"type\":\"n8n-nodes-base.function\",\"position\":[2500,-340],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nlatestRead = staticData.latestRead;\\n\\nfor (let item of items) {\\n item.json.latestRead = latestRead || '2022-05-15';\\n item.json.timestamp = $item(\\\"0\\\").$node[\\\"Crypto\\\"].json[\\\"timestamp\\\"];\\n item.json.sign = $item(\\\"0\\\").$node[\\\"Crypto\\\"].json[\\\"sign\\\"];\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[2760,-340],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{new Date($node[\\\"Latest Read\\\"].data[\\\"latestRead\\\"]).getTime()}}\",\"value2\":\"={{new Date($json[\\\"Date\\\"]).getTime()}}\"}],\"string\":[{\"value1\":\"={{$json[\\\"Title\\\"]}}\",\"operation\":\"contains\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Write Latest Read\",\"type\":\"n8n-nodes-base.function\",\"position\":[3100,-440],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nif (items.length > 0) {\\n staticData.latestRead = items[0].json.Date || staticData.latestRead;\\n}\\n\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3100,-240],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[280,-280],\"parameters\":{\"type\":\"SHA256\",\"value\":\"={{''}}\",\"action\":\"hmac\",\"secret\":\"={{$json[\\\"timestamp\\\"]+'\\\\n'+$json[\\\"secret\\\"]}}\",\"encoding\":\"base64\",\"dataPropertyName\":\"sign\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"timestamp\",\"value\":\"={{Math.round(new Date().getTime()/1000)}}\"},{\"name\":\"secret\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-180,-280],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"value\":1}]}},\"typeVersion\":1},{\"name\":\"RSS list\",\"type\":\"n8n-nodes-base.function\",\"position\":[520,-280],\"parameters\":{\"functionCode\":\"return [{\\n json: {\\n name: \\\"Nature Plants\\\",\\n feed: \\\"http://feeds.nature.com/nplants/rss/current\\\"\\n }\\n}, {\\n json: {\\n name: \\\"Nature Genetics\\\",\\n feed: \\\"http://feeds.nature.com/ng/rss/current\\\"\\n }\\n}]\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3360,-440],\"parameters\":{\"options\":{\"batchSize\":1,\"batchInterval\":3000,\"splitIntoItems\":false},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"msg_type\",\"value\":\"interactive\"},{\"name\":\"card\",\"value\":\"={\\n \\\"config\\\": {\\n \\\"wide_screen_mode\\\": true\\n },\\n \\\"header\\\": {\\n \\\"template\\\": \\\"black\\\",\\n \\\"title\\\": {\\n \\\"content\\\": \\\"{{$json[\\\"Title\\\"]}}\\\",\\n \\\"tag\\\": \\\"plain_text\\\"\\n }\\n },\\n \\\"elements\\\": [\\n {\\n \\\"tag\\\": \\\"div\\\",\\n \\\"text\\\": {\\n \\\"content\\\": \\\"{{$json[\\\"Text\\\"]}}\\\",\\n \\\"tag\\\": \\\"lark_md\\\"\\n }\\n },\\n {\\n \\\"tag\\\": \\\"hr\\\"\\n },\\n {\\n \\\"elements\\\": [\\n {\\n \\\"content\\\": \\\"[阅读原文]({{$json[\\\"Link\\\"]}})\\\",\\n \\\"tag\\\": \\\"lark_md\\\"\\n }\\n ],\\n \\\"tag\\\": \\\"note\\\"\\n }\\n ]\\n}\"},{\"name\":\"timestamp\",\"value\":\"={{$json[\\\"timestamp\\\"]}}\"},{\"name\":\"sign\",\"value\":\"={{$json[\\\"sign\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Content-Type\",\"value\":\"application/json\"}]}},\"typeVersion\":1},{\"name\":\"IF check empty\",\"type\":\"n8n-nodes-base.if\",\"position\":[1180,-440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"data\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"name\":\"IF check empty1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1280,40],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"data\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Write Latest Read\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"IF2\":{\"main\":[[{\"node\":\"IF check empty\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF check empty1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"XML1\":{\"main\":[[{\"node\":\"Item Lists1\",\"type\":\"main\",\"index\":0}]]},\"XML2\":{\"main\":[[{\"node\":\"Item Lists3\",\"type\":\"main\",\"index\":0}]]},\"Crypto\":{\"main\":[[{\"node\":\"RSS list\",\"type\":\"main\",\"index\":0}]]},\"RSS list\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Merge type\":{\"main\":[[{\"node\":\"Set out info\",\"type\":\"main\",\"index\":0}]]},\"format rdf\":{\"main\":[[{\"node\":\"Merge type\",\"type\":\"main\",\"index\":0}]]},\"Item Lists1\":{\"main\":[[{\"node\":\"format rdf\",\"type\":\"main\",\"index\":0}]]},\"Item Lists3\":{\"main\":[[{\"node\":\"Merge type\",\"type\":\"main\",\"index\":1}]]},\"Latest Read\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"IF2\",\"type\":\"main\",\"index\":0}]]},\"Set out info\":{\"main\":[[{\"node\":\"Latest Read\",\"type\":\"main\",\"index\":0}]]},\"IF check empty\":{\"main\":[[{\"node\":\"XML1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Merge type\",\"type\":\"main\",\"index\":0}]]},\"IF check empty1\":{\"main\":[[{\"node\":\"XML2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Merge type\",\"type\":\"main\",\"index\":1}]]},\"Write Latest Read\":{\"main\":[[{\"node\":\"Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Adobe Sign Webhook Test", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nc_id = items[0].json.headers['x-adobesign-clientid'];\\n\\nfor (item of items) {\\n item.json.myNewField = 1;\\n item.json.clientID = c_id;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"POST\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,-160],\"webhookId\":\"dfe2a7a8-c0f7-41e1-9bf7-15e2b6e98741\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"reg-GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,20],\"webhookId\":\"5356a36b-1090-4470-ad87-7cfdb6c18daf\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"webhook-response\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[-100,-80],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"x-adobesign-clientid\",\"value\":\"={{$node[\\\"Function\\\"].json[\\\"clientID\\\"]}}\"}]}}},\"typeVersion\":1},{\"name\":\"SetWebhookData\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"webhookData\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"] }}\"},{\"name\":\"agreement_ID\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"id\\\"] }}\"},{\"name\":\"all_participants\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"participantSetsInfo\\\"] }}\"},{\"name\":\"agreement_status\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"POST\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"reg-GET\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"webhook-response\",\"type\":\"main\",\"index\":0}]]},\"webhook-response\":{\"main\":[[{\"node\":\"SetWebhookData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get date in a YYYY-MM-DD format", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[860,440],\"parameters\":{\"functionCode\":\"var date = new Date().toISOString().split('T')[0];\\n\\nitems[0].json.date_today = date;\\n\\nreturn items;\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "inspration work flow", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nc_id = items[0].json.headers['x-adobesign-clientid'];\\n\\nfor (item of items) {\\n item.json.myNewField = 1;\\n item.json.clientID = c_id;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"POST\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,-160],\"webhookId\":\"dfe2a7a8-c0f7-41e1-9bf7-15e2b6e98741\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"reg-GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,20],\"webhookId\":\"5356a36b-1090-4470-ad87-7cfdb6c18daf\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"webhook-response\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[-100,-80],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"x-adobesign-clientid\",\"value\":\"={{$node[\\\"Function\\\"].json[\\\"clientID\\\"]}}\"}]}}},\"typeVersion\":1},{\"name\":\"SetWebhookData\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"webhookData\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"] }}\"},{\"name\":\"agreement_ID\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"id\\\"] }}\"},{\"name\":\"all_participants\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"participantSetsInfo\\\"] }}\"},{\"name\":\"agreement_status\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"POST\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"reg-GET\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"webhook-response\",\"type\":\"main\",\"index\":0}]]},\"webhook-response\":{\"main\":[[{\"node\":\"SetWebhookData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Data extraction-n8n", "output": "{\"id\":1,\"name\":\"My workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[280,240],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[520,280],\"parameters\":{\"filePath\":\"C:\\\\Users\\\\monica\\\\Downloads\\\\Receipts\\\\ntuc-receipt(1).jpg\"},\"typeVersion\":1},{\"name\":\"Mindee\",\"type\":\"n8n-nodes-base.mindee\",\"position\":[740,280],\"parameters\":{},\"credentials\":{\"mindeeReceiptApi\":{\"id\":\"1\",\"name\":\"Mindee Receipt account\"}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[960,280],\"parameters\":{\"options\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Mindee\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Mindee\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Adobe Sign Webhook Test", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nc_id = items[0].json.headers['x-adobesign-clientid'];\\n\\nfor (item of items) {\\n item.json.myNewField = 1;\\n item.json.clientID = c_id;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"POST\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,-160],\"webhookId\":\"dfe2a7a8-c0f7-41e1-9bf7-15e2b6e98741\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"reg-GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,20],\"webhookId\":\"5356a36b-1090-4470-ad87-7cfdb6c18daf\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"webhook-response\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[-100,-80],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"x-adobesign-clientid\",\"value\":\"={{$node[\\\"Function\\\"].json[\\\"clientID\\\"]}}\"}]}}},\"typeVersion\":1},{\"name\":\"SetWebhookData\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"webhookData\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"] }}\"},{\"name\":\"agreement_ID\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"id\\\"] }}\"},{\"name\":\"all_participants\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"participantSetsInfo\\\"] }}\"},{\"name\":\"agreement_status\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"POST\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"reg-GET\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"webhook-response\",\"type\":\"main\",\"index\":0}]]},\"webhook-response\":{\"main\":[[{\"node\":\"SetWebhookData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "tbc tweets", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"// hashtag list\\nconst Hashtags = [\\n \\\"#techtwitter\\\",\\n \\\"#n8n\\\"\\n];\\n\\n// random output function\\nconst randomHashtag = Hashtags[Math.floor(Math.random() * Hashtags.length)];\\nitem.hashtag = randomHashtag;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"https://api.openai.com/v1/engines/text-davinci-001/completions\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"prompt\\\": \\\"Generate a tweet, with under 100 characters, about and including the hashtag {{$node[\\\"FunctionItem\\\"].json[\\\"hashtag\\\"]}}:\\\",\\n \\\"temperature\\\": 0.7,\\n \\\"max_tokens\\\": 64,\\n \\\"top_p\\\": 1,\\n \\\"frequency_penalty\\\": 0,\\n \\\"presence_penalty\\\": 0\\n}\"},\"credentials\":{\"httpHeaderAuth\":\"\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1050,300],\"parameters\":{\"table\":\"main\",\"options\":{},\"operation\":\"append\",\"application\":\"appOaG8kEA8FAABOr\"},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Hashtag\",\"value\":\"={{$node[\\\"FunctionItem\\\"].json[\\\"hashtag\\\"]}}\"},{\"name\":\"Content\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"choices\\\"][0][\\\"text\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Conexión de pruebas", "output": "{\"id\":\"187\",\"name\":\"Create, update and get a product from WooCommerce\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"WooCommerce\",\"type\":\"n8n-nodes-base.wooCommerce\",\"position\":[430,300],\"parameters\":{\"name\":\"n8n Sweatshirt\",\"imagesUi\":{\"imagesValues\":[]},\"metadataUi\":{\"metadataValues\":[]},\"additionalFields\":{\"description\":\"Stay warm with this sweatshirt!\",\"regularPrice\":\"30\"}},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1},{\"name\":\"WooCommerce1\",\"type\":\"n8n-nodes-base.wooCommerce\",\"position\":[630,300],\"parameters\":{\"operation\":\"update\",\"productId\":\"={{$node[\\\"WooCommerce\\\"].json[\\\"id\\\"]}}\",\"updateFields\":{\"stockQuantity\":100}},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1},{\"name\":\"WooCommerce2\",\"type\":\"n8n-nodes-base.wooCommerce\",\"position\":[830,300],\"parameters\":{\"operation\":\"get\",\"productId\":\"={{$node[\\\"WooCommerce\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"WooCommerce\":{\"main\":[[{\"node\":\"WooCommerce1\",\"type\":\"main\",\"index\":0}]]},\"WooCommerce1\":{\"main\":[[{\"node\":\"WooCommerce2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"WooCommerce\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Data Integration", "output": "{\"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}]]}}}" }, { "input": "Add New Event to Caledar", "output": "{\"id\":\"1\",\"name\":\"Add a event to Calender\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[410,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[830,320],\"parameters\":{\"end\":\"2020-06-27T07:00:00.000Z\",\"start\":\"2020-06-25T07:00:00.000Z\",\"calendar\":\"shaligramshraddha@gmail.com\",\"additionalFields\":{}},\"credentials\":{\"googleCalendarOAuth2Api\":\"new one\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Calendar\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "[MS] Aprovacao das Artes", "output": "{\"id\":4,\"name\":\"[MS] Aprovacao das Artes\",\"nodes\":[{\"name\":\"FEITO + Ñ REVISADO\",\"type\":\"n8n-nodes-base.notion\",\"notes\":\"feito\",\"position\":[780,560],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"Feito|checkbox\",\"condition\":\"equals\",\"checkboxValue\":true},{\"key\":\"Aprovado|checkbox\",\"condition\":\"does_not_equal\",\"checkboxValue\":true},{\"key\":\"Status|select\",\"condition\":\"does_not_equal\",\"selectValue\":\"Em Progresso\"}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"b8acd577-3b75-4cc8-8052-bd1fadc596c0\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"notesInFlow\":false,\"typeVersion\":2,\"alwaysOutputData\":false},{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"disabled\":true,\"position\":[1120,680],\"parameters\":{\"toList\":[\"=brunocgsud@gmail.com\",\"suporte@mauriciosgarbi.com.br\",\"carinalemos.salles@gmail.com\",\"mauricio@mauriciosgarbi.com.br\"],\"message\":\"=

Temos {{$json[\\\"property_t_tulo\\\"].length}} artes para serem aprovadas:

\\nSegue os links delas:\\n{{$json[\\\"url\\\"].join('
')}}\",\"subject\":\"[APROVAÇÃO]\",\"resource\":\"message\",\"htmlMessage\":\"=

Temos {{$json[\\\"url\\\"].length}} artes para serem aprovadas:

\\nSegue os links delas:
\\n{{$json[\\\"url\\\"].join('
---------------------------------------------------
')}}\",\"includeHtml\":true,\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"2\",\"name\":\"Gmail account\"}},\"typeVersion\":1},{\"name\":\"MARCA COMO FEITO\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1220,300],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Feito|checkbox\",\"checkboxValue\":true},{\"key\":\"Status|select\",\"selectValue\":\"Feito\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"TEM ARTFINAL E Ñ ESTA MARCADO COMO FEITO\",\"type\":\"n8n-nodes-base.notion\",\"notes\":\"feito\",\"disabled\":true,\"position\":[800,320],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"Arte final|files\",\"condition\":\"is_not_empty\"},{\"key\":\"Feito|checkbox\",\"condition\":\"equals\"}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"b8acd577-3b75-4cc8-8052-bd1fadc596c0\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"notesInFlow\":false,\"typeVersion\":2,\"alwaysOutputData\":false},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1620,300],\"parameters\":{\"toList\":[\"=brunocgsud@gmail.com\",\"suporte@mauriciosgarbi.com.br\",[]],\"message\":\"=

Temos {{$json[\\\"property_t_tulo\\\"].length}} artes para serem aprovadas:

\\nSegue os links delas:\\n{{$json[\\\"url\\\"].join('
')}}\",\"subject\":\"[MARCADOS COMO FEITO]\",\"resource\":\"message\",\"htmlMessage\":\"=

Temos {{$json[\\\"url\\\"].length}} artes marcadas como \\\"Feito\\\":

\\nSegue os links delas:
\\n{{$json[\\\"url\\\"].join('
---------------------------------------------------
')}}\",\"includeHtml\":true,\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"2\",\"name\":\"Gmail account\"}},\"typeVersion\":1},{\"name\":\"Item Lists3\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1440,300],\"parameters\":{\"options\":{\"disableDotNotation\":false},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"=url\"}]}},\"executeOnce\":false,\"retryOnFail\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"API GRATIS\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1700,560],\"parameters\":{\"url\":\"https://wpp-doadores.wppserver.com/sendText\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"session\",\"value\":\"MSAUTO\"},{\"name\":\"number\",\"value\":\"={{$json[\\\"property_whats_app\\\"]}}\"},{\"name\":\"text\",\"value\":\"=⚠️*[APROVAÇÃO]*⚠️\\n\\n{{$json[\\\"property_nome\\\"]}} *Temos {{$node[\\\"lista aprovação\\\"].json[\\\"url\\\"].length}} artes* para aprovação:\\nSegue os links delas:\\n{{$node[\\\"lista aprovação\\\"].json[\\\"url\\\"].join('\\\\n-----------------------------------------------\\\\n')}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"sessionkey\",\"value\":\"MSAUTO\"}]}},\"typeVersion\":1},{\"name\":\"lista aprovação\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[940,560],\"parameters\":{\"options\":{\"disableDotNotation\":false},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"=url\"}]}},\"executeOnce\":false,\"retryOnFail\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"CONTATOS\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1280,560],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"WhatsApp|rich_text\",\"condition\":\"is_not_empty\"},{\"key\":\"DIRECIONAMENTO|multi_select\",\"condition\":\"contains\",\"multiSelectValue\":\"APROVAÇÃO\"},{\"key\":\"Msg enviada|select\",\"condition\":\"does_not_equal\",\"selectValue\":\"Enviada\"}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"d828e831-9bf4-4a33-b661-5c8f529ee992\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1000,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"property_status\\\"]}}\",\"value2\":\"Alterando\",\"operation\":\"notEqual\"},{\"value1\":\"={{$json[\\\"property_status\\\"]}}\",\"value2\":\"Auterar\",\"operation\":\"notEqual\"},{\"value1\":\"={{$json[\\\"property_arte_final\\\"][0]}}\",\"value2\":\"www.mauriciosgarbi.com.br\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"CONTATOS5\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1900,560],\"parameters\":{\"pageId\":\"={{$node[\\\"CONTATOS\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Msg enviada|select\",\"selectValue\":\"Enviada\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1500,560],\"parameters\":{\"options\":{\"reset\":true},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"CONTATOS8\",\"type\":\"n8n-nodes-base.notion\",\"position\":[560,120],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"WhatsApp|rich_text\",\"condition\":\"is_not_empty\"}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"d828e831-9bf4-4a33-b661-5c8f529ee992\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"ZERA MSG CONTATOS\",\"type\":\"n8n-nodes-base.notion\",\"position\":[740,120],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Msg enviada|select\",\"selectValue\":\"x\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"1\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"name\":\"TODOS OS DIAS ÀS 8h\",\"type\":\"n8n-nodes-base.cron\",\"position\":[520,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"MARCA COMO FEITO\",\"type\":\"main\",\"index\":0}]]},\"CONTATOS\":{\"main\":[[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"CONTATOS5\":{\"main\":[[{\"node\":\"FEITO + Ñ REVISADO\",\"type\":\"main\",\"index\":0}]]},\"CONTATOS8\":{\"main\":[[{\"node\":\"ZERA MSG CONTATOS\",\"type\":\"main\",\"index\":0}]]},\"API GRATIS\":{\"main\":[[{\"node\":\"CONTATOS5\",\"type\":\"main\",\"index\":0}]]},\"Item Lists3\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"API GRATIS\",\"type\":\"main\",\"index\":0}]]},\"MARCA COMO FEITO\":{\"main\":[[{\"node\":\"Item Lists3\",\"type\":\"main\",\"index\":0}]]},\"lista aprovação\":{\"main\":[[{\"node\":\"Gmail1\",\"type\":\"main\",\"index\":0},{\"node\":\"CONTATOS\",\"type\":\"main\",\"index\":0}]]},\"FEITO + Ñ REVISADO\":{\"main\":[[{\"node\":\"lista aprovação\",\"type\":\"main\",\"index\":0}]]},\"TODOS OS DIAS ÀS 8h\":{\"main\":[[{\"node\":\"TEM ARTFINAL E Ñ ESTA MARCADO COMO FEITO\",\"type\":\"main\",\"index\":0},{\"node\":\"CONTATOS8\",\"type\":\"main\",\"index\":0},{\"node\":\"FEITO + Ñ REVISADO\",\"type\":\"main\",\"index\":0}]]},\"TEM ARTFINAL E Ñ ESTA MARCADO COMO FEITO\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Diesel Logbook", "output": "{\"nodes\":[{\"name\":\"@Get Issue\",\"type\":\"n8n-nodes-base.httpRequest\",\"maxTries\":3,\"position\":[1050,590],\"parameters\":{\"url\":\"https://api.github.com/notifications\",\"options\":{},\"authentication\":\"basicAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"since\",\"value\":\"={{$node[\\\"@Get Date 1 min ago\\\"].json[\\\"since\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246\"}]}},\"credentials\":{\"httpBasicAuth\":\"Github Auth\"},\"retryOnFail\":true,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[710,590],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":1}]}},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1610,580],\"parameters\":{\"text\":\"=Notifications In last minutes: <@userIdForTagging>\\n{{$node[\\\"Function\\\"].json[\\\"reportMessage\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1230,590],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json) {\\n newItems.push(`- [${item.reason}] => ${item.subject.title} @ ${item.subject.url.replace('api.','').replace('/repos','')}`);\\n }\\n\\nreturn [{json: {reportMessage: `${newItems.join('\\\\r\\\\n')}`, hasNotifications: items[0].json.length > 0}}];\\n\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1400,590],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"hasNotifications\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"@Get Date 1 min ago\",\"type\":\"n8n-nodes-base.function\",\"position\":[860,590],\"parameters\":{\"functionCode\":\"const date = new Date(new Date().setMinutes(new Date().getMinutes() - (1))).toISOString()\\nreturn [{json: {since: date}}];\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"@Get Date 1 min ago\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"@Get Issue\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"@Get Date 1 min ago\":{\"main\":[[{\"node\":\"@Get Issue\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Diesel Logbook", "output": "{\"nodes\":[{\"name\":\"@Get Issue\",\"type\":\"n8n-nodes-base.httpRequest\",\"maxTries\":3,\"position\":[1050,590],\"parameters\":{\"url\":\"https://api.github.com/notifications\",\"options\":{},\"authentication\":\"basicAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"since\",\"value\":\"={{$node[\\\"@Get Date 1 min ago\\\"].json[\\\"since\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246\"}]}},\"credentials\":{\"httpBasicAuth\":\"Github Auth\"},\"retryOnFail\":true,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[710,590],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":1}]}},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1610,580],\"parameters\":{\"text\":\"=Notifications In last minutes: <@userIdForTagging>\\n{{$node[\\\"Function\\\"].json[\\\"reportMessage\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1230,590],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json) {\\n newItems.push(`- [${item.reason}] => ${item.subject.title} @ ${item.subject.url.replace('api.','').replace('/repos','')}`);\\n }\\n\\nreturn [{json: {reportMessage: `${newItems.join('\\\\r\\\\n')}`, hasNotifications: items[0].json.length > 0}}];\\n\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1400,590],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"hasNotifications\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"@Get Date 1 min ago\",\"type\":\"n8n-nodes-base.function\",\"position\":[860,590],\"parameters\":{\"functionCode\":\"const date = new Date(new Date().setMinutes(new Date().getMinutes() - (1))).toISOString()\\nreturn [{json: {since: date}}];\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"@Get Date 1 min ago\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"@Get Issue\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"@Get Date 1 min ago\":{\"main\":[[{\"node\":\"@Get Issue\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test 01 - Card from Email", "output": "{\"id\":1,\"name\":\"Create Nextcloud Deck card from email\",\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"notes\":\"Check email\",\"position\":[480,140],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"2\",\"name\":\"todo@yourdomain.com\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Strip HTML code\",\"position\":[730,140],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nfor (item of items) {\\n if (item.json.textHtml) {\\n // Remove HTML, double quotations, line breaks, carriage returns\\n item.json.body = item.json.textHtml.replace(//g, \\\"\\\\\\\\n\\\").replace(/(<([^>]+)>)/g, \\\"\\\").replace(/\\\\\\\"/g, \\\"\\\");\\n //item.json.body = item.json.textHtml.eplace(/(<([^>]+)>)/g, \\\"\\\").replace(/\\\\\\\"/g, \\\"\\\").replace(/\\\\n/g, \\\"\\\").replace(/\\\\r/g, \\\"\\\");\\n } else {\\n // Remove double quotations, line breaks, carriage returns\\n item.json.body = item.json.textPlain.replace(/\\\\\\\"/g, \\\"\\\").replace(/\\\\n/g, \\\"\\\\\\\\n\\\").replace(/\\\\r/g, \\\"\\\");\\n }\\n}\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Add card to Nextcloud Deck App. Configure board / stack id to your environment.\",\"position\":[970,140],\"parameters\":{\"url\":\"https://your.nextcloud.com/index.php/apps/deck/api/v1.0/boards/YOUR-BOARD-ID/stacks/YOUR-STACK-ID/cards\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"title\\\": \\\"{{$json[\\\"subject\\\"]}}\\\",\\n\\\"type\\\": \\\"plain\\\",\\n\\\"order\\\": -1,\\n\\\"description\\\": \\\"{{$json[\\\"body\\\"]}}\\\"\\n}\",\"headerParametersJson\":\"{\\n\\\"OCS-APIRequest\\\": \\\"true\\\",\\n\\\"Content-Type\\\": \\\"application/json\\\"\\n}\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"3\",\"name\":\"Nextcloud credential\"}},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Function\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"IMAP Email\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Nextcloud Deck card from email", "output": "{\"id\":1,\"name\":\"Create Nextcloud Deck card from email\",\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"notes\":\"Check email\",\"position\":[480,140],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"2\",\"name\":\"todo@yourdomain.com\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Strip HTML code\",\"position\":[730,140],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nfor (item of items) {\\n if (item.json.textHtml) {\\n // Remove HTML, double quotations, line breaks, carriage returns\\n item.json.body = item.json.textHtml.replace(//g, \\\"\\\\\\\\n\\\").replace(/(<([^>]+)>)/g, \\\"\\\").replace(/\\\\\\\"/g, \\\"\\\");\\n //item.json.body = item.json.textHtml.eplace(/(<([^>]+)>)/g, \\\"\\\").replace(/\\\\\\\"/g, \\\"\\\").replace(/\\\\n/g, \\\"\\\").replace(/\\\\r/g, \\\"\\\");\\n } else {\\n // Remove double quotations, line breaks, carriage returns\\n item.json.body = item.json.textPlain.replace(/\\\\\\\"/g, \\\"\\\").replace(/\\\\n/g, \\\"\\\\\\\\n\\\").replace(/\\\\r/g, \\\"\\\");\\n }\\n}\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Add card to Nextcloud Deck App. Configure board / stack id to your environment.\",\"position\":[970,140],\"parameters\":{\"url\":\"https://your.nextcloud.com/index.php/apps/deck/api/v1.0/boards/YOUR-BOARD-ID/stacks/YOUR-STACK-ID/cards\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"title\\\": \\\"{{$json[\\\"subject\\\"]}}\\\",\\n\\\"type\\\": \\\"plain\\\",\\n\\\"order\\\": -1,\\n\\\"description\\\": \\\"{{$json[\\\"body\\\"]}}\\\"\\n}\",\"headerParametersJson\":\"{\\n\\\"OCS-APIRequest\\\": \\\"true\\\",\\n\\\"Content-Type\\\": \\\"application/json\\\"\\n}\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"3\",\"name\":\"Nextcloud credential\"}},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Function\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"IMAP Email\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Slack to Facebook Workchat", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[570,290],\"parameters\":{\"path\":\"workchat\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[970,450],\"parameters\":{\"url\":\"https://graph.facebook.com/v2.6/me/messages\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"recipient\\\":{\\\"thread_key\\\":\\\"4913654231997672\\\"},\\n\\\"message\\\":{ \\\"text\\\":\\\"{{$json[\\\"body\\\"][\\\"event\\\"][\\\"text\\\"]}}\\\" }}\",\"queryParametersJson\":\"{\\\"access_token\\\":\\\"DQVJ0cGNfdk9KR2lJT09kUlZAwRlUwOEFSXzM2d00ycGFVTHllVVh5eWNRNzVXT3BHYVZAMSkg5VDhVeHhrTTNmNHVNTVBhczJ2Ny1JZAmhjUG05Q2xsSnQxWUdOcTJEUW9kRWR1QTFZAQ0VURVdBaVg2emJYSG9sT0ZAWOVI4R1FJOUNKREJDNWdyMGo4cXdKVF9BbUxLbEZAFSlR1VHJqZAFI0VlpXS043SktrSFB2WkNkWU5iN1I4V2VZASjBzVGhScGlUVlQ4dHRB\\\"}\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[730,470],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"channel\\\"]}}\",\"value2\":\"C8WE4V2DT\"}]}},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[760,290],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"channel\\\"]}}\",\"value2\":\"C0286CJ3ECF\"}]}},\"typeVersion\":1},{\"name\":\"IF2\",\"type\":\"n8n-nodes-base.if\",\"position\":[760,110],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"channel\\\"]}}\",\"value2\":\"C02BYAQ5A4S\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[990,280],\"parameters\":{\"url\":\"https://graph.facebook.com/v2.6/me/messages\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"recipient\\\":{\\\"thread_key\\\":\\\"3977380395724805\\\"},\\n\\\"message\\\":{ \\\"text\\\":\\\"{{$json[\\\"body\\\"][\\\"event\\\"][\\\"text\\\"]}}\\\" }}\",\"queryParametersJson\":\"{\\\"access_token\\\":\\\"DQVJ0cGNfdk9KR2lJT09kUlZAwRlUwOEFSXzM2d00ycGFVTHllVVh5eWNRNzVXT3BHYVZAMSkg5VDhVeHhrTTNmNHVNTVBhczJ2Ny1JZAmhjUG05Q2xsSnQxWUdOcTJEUW9kRWR1QTFZAQ0VURVdBaVg2emJYSG9sT0ZAWOVI4R1FJOUNKREJDNWdyMGo4cXdKVF9BbUxLbEZAFSlR1VHJqZAFI0VlpXS043SktrSFB2WkNkWU5iN1I4V2VZASjBzVGhScGlUVlQ4dHRB\\\"}\"},\"typeVersion\":1},{\"name\":\"HTTP Request2\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1190,90],\"parameters\":{\"url\":\"https://graph.facebook.com/v2.6/me/messages\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\\"recipient\\\":{\\\"thread_key\\\":\\\"4804618602899060\\\"},\\n\\\"message\\\":{ \\\"text\\\":\\\"{{$node[\\\"Set1\\\"].json[\\\"msg\\\"]}}\\\" }}\",\"queryParametersJson\":\"{\\\"access_token\\\":\\\"DQVJ0cGNfdk9KR2lJT09kUlZAwRlUwOEFSXzM2d00ycGFVTHllVVh5eWNRNzVXT3BHYVZAMSkg5VDhVeHhrTTNmNHVNTVBhczJ2Ny1JZAmhjUG05Q2xsSnQxWUdOcTJEUW9kRWR1QTFZAQ0VURVdBaVg2emJYSG9sT0ZAWOVI4R1FJOUNKREJDNWdyMGo4cXdKVF9BbUxLbEZAFSlR1VHJqZAFI0VlpXS043SktrSFB2WkNkWU5iN1I4V2VZASjBzVGhScGlUVlQ4dHRB\\\"}\"},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[980,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"msg\",\"value\":\"={{$json[\\\"body\\\"][\\\"event\\\"][\\\"text\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"IF2\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"HTTP Request2\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0},{\"node\":\"IF1\",\"type\":\"main\",\"index\":0},{\"node\":\"IF2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Feed Back 2022", "output": "{\"id\":\"1001\",\"name\":\"typeform feedback workflow\",\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"notes\":\"course feedback\",\"position\":[450,300],\"webhookId\":\"1234567890\",\"parameters\":{\"formId\":\"yxcvbnm\"},\"credentials\":{\"typeformApi\":\"typeform\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"filter feedback\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"usefulness\\\"]}}\",\"value2\":3,\"operation\":\"largerEqual\"}],\"string\":[],\"boolean\":[]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"positive feedback\",\"position\":[1050,200],\"parameters\":{\"range\":\"positive_feedback!A:C\",\"options\":{},\"sheetId\":\"asdfghjklöä\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google_sheets_oauth\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"capture typeform data\",\"position\":[650,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"usefulness\",\"value\":\"={{$json[\\\"How useful was the course?\\\"]}}\"}],\"string\":[{\"name\":\"opinion\",\"value\":\"={{$json[\\\"Your opinion on the course:\\\"]}}\"}],\"boolean\":[]},\"options\":{},\"keepOnlySet\":true},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"negative feedback\",\"position\":[1050,400],\"parameters\":{\"range\":\"negative_feedback!A:C\",\"keyRow\":1,\"options\":{},\"sheetId\":\"qwertzuiop\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google_sheets_oauth\"},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "New Workflow (wordpress)", "output": "{\"nodes\":[{\"name\":\"Get Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[500,300],\"parameters\":{\"url\":\"https://jsonplaceholder.typicode.com/posts?userId=1\",\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Split up\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nfor (const item of items[0].json) {\\n newItems.push({json: item});\\n}\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Send Requests\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[900,300],\"parameters\":{\"url\":\"https://postman-echo.com/get\",\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"title\",\"value\":\"={{$node[\\\"Split up\\\"].data[\\\"title\\\"]}}\"}]}},\"typeVersion\":1}],\"connections\":{\"Get Data\":{\"main\":[[{\"node\":\"Split up\",\"type\":\"main\",\"index\":0}]]},\"Split up\":{\"main\":[[{\"node\":\"Send Requests\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "CozyTest_1111 ", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"// Code here will run only once, no matter how many input items there are.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\\n\\n// Loop over inputs and add a new field called 'myNewField' to the JSON of each one\\nc_id = items[0].json.headers['x-adobesign-clientid'];\\n\\nfor (item of items) {\\n item.json.myNewField = 1;\\n item.json.clientID = c_id;\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"POST\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,-160],\"webhookId\":\"dfe2a7a8-c0f7-41e1-9bf7-15e2b6e98741\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"reg-GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-540,20],\"webhookId\":\"5356a36b-1090-4470-ad87-7cfdb6c18daf\",\"parameters\":{\"path\":\"test1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"webhook-response\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[-100,-80],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"x-adobesign-clientid\",\"value\":\"={{$node[\\\"Function\\\"].json[\\\"clientID\\\"]}}\"}]}}},\"typeVersion\":1},{\"name\":\"SetWebhookData\",\"type\":\"n8n-nodes-base.set\",\"position\":[60,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"webhookData\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"] }}\"},{\"name\":\"agreement_ID\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"id\\\"] }}\"},{\"name\":\"all_participants\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"participantSetsInfo\\\"] }}\"},{\"name\":\"agreement_status\",\"value\":\"={{ $item(\\\"0\\\").$node[\\\"webhook-response\\\"].json[\\\"body\\\"][\\\"agreement\\\"][\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"POST\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"reg-GET\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"webhook-response\",\"type\":\"main\",\"index\":0}]]},\"webhook-response\":{\"main\":[[{\"node\":\"SetWebhookData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "my first workflow", "output": "{\"nodes\":[2345],\"connections\":[5678]}" }, { "input": "Testing n8n for fun", "output": "{\"nodes\":[\"foo\"],\"connections\":[\"bar\"]}" }, { "input": "teste asdasd", "output": "{\"id\":16,\"name\":\"Exemplo Z-API\",\"nodes\":[{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-200,180],\"parameters\":{\"width\":360,\"content\":\"## Start não pode ser apagado\\n\\nPor isso ele fica ai no canto isolado. Não usaremos ele neste exemplo e sim o Webhook para receber as mensagens.\"},\"typeVersion\":1},{\"name\":\"Constantes\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[460,480],\"parameters\":{\"functionCode\":\"// o n8n tem um ótimo controle de credenciais,\\n// mas no caso da Z-API, da forma que é construída via URL\\n// não é possível utilizar esta funcionalidade,\\n// por isso faremos esse tratamento por javascript\\n\\n// você pode utilizar os parametros como texto direto no node do http request\\n// mas se tiver uma mudança de id e token da instancia ou outra coisa\\n// vai ter q alterar um por um, então é melhor concentrar aqui\\n\\n// !!!! NÃO ESQUEÇA DE SUBSTITUIR AS VARIAVEIS ABAIXO !!!!\\n// !!!! COM O ID E TOKEN CORRETO DA SUA INSTANCIA !!!!\\n\\nconst idInstanceZapi = \\\"111111111111111111111\\\";\\nconst tokenInstanceZapi = \\\"1111111111111111111\\\";\\nconst endpointZapi = \\\"https://api.z-api.io/instances/\\\" + idInstanceZapi + \\\"/token/\\\" + tokenInstanceZapi;\\nconst extensionDocument = \\\"pdf\\\";\\n\\n// definindo parametros que serao utilizados posteriormente no workflow\\nitem.message = \\\"Teste de mensagem com Z-API e n8n\\\"\\nitem.urlLink = \\\"https://app.z-api.io/\\\";\\nitem.urlAudio = \\\"https://freetestdata.com/wp-content/uploads/2021/09/Free_Test_Data_100KB_MP3.mp3\\\";\\nitem.urlVideo = \\\"https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4\\\";\\nitem.urlImage = \\\"https://www.learningcontainer.com/wp-content/uploads/2020/07/Sample-JPEG-Image-File-Download-scaled.jpg\\\";\\nitem.urlDocument = \\\"https://www.learningcontainer.com/wp-content/uploads/2019/09/sample-pdf-file.pdf\\\";\\nitem.nameDocument = \\\"teste\\\"\\nitem.endpointSendOptionList = endpointZapi + \\\"/send-option-list\\\";\\nitem.endpointSendText = endpointZapi + \\\"/send-text\\\";\\nitem.endpointSendLink = endpointZapi + \\\"/send-link\\\";\\nitem.endpointSendAudio = endpointZapi + \\\"/send-audio\\\";\\nitem.endpointSendVideo = endpointZapi + \\\"/send-video\\\";\\nitem.endpointSendImage = endpointZapi + \\\"/send-image\\\";\\nitem.endpointSendDocument = endpointZapi + \\\"/send-document/\\\" + extensionDocument;\\n\\n// checa se a mensagem é uma resposta de lista\\n// esse atributo listResponseMessage somente vem no objeto\\n// se for resposta de lista\\n// essa informação é importante para o fluxo do workflow\\nif ($node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"listResponseMessage\\\"]) {\\n item.listResponse = true;\\n} else {\\n item.listResponse = false;\\n}\\n\\n// você pode usar expressões para referenciar dados e outras coisas mais\\n// como por exemplo acima $node[\\\"nome que você deu ao node\\\"]\\n// seguido de .json[\\\"nome do atributo\\\"]\\n// consulte a documentação para mais detalhes\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Recebe mensagem da Z-API\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,480],\"webhookId\":\"e73970bb-fc00-446c-8edd-f51580e1beda\",\"parameters\":{\"path\":\"zapi\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Envia lista\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1140,700],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendOptionList\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"message\",\"value\":\"={{$node[\\\"Monta lista\\\"].json[\\\"message\\\"]}}\"},{\"name\":\"optionList\",\"value\":\"={{$node[\\\"Monta lista\\\"].json[\\\"optionList\\\"]}}\"}]}},\"typeVersion\":2},{\"name\":\"Monta lista\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[900,700],\"parameters\":{\"functionCode\":\"// alguns parametros é melhor montar com javascript,\\n// facilita o entendimento e manutenção \\n\\n// nao confundir montagem de objetos javascript com mensagens json\\n// tem diferenças, mas o n8n converte automaticamente para json\\n\\nitem.message = \\\"Teste da Z-API com o n8n\\\";\\n\\nitem.optionList = {\\n title: \\\"Seleciona a opção desejada para testar\\\",\\n buttonLabel: \\\"SELECIONE A OPÇÃO\\\",\\n options: [\\n {\\n id: \\\"1\\\",\\n description: \\\"Envia mensagem\\\",\\n title: \\\"send-text\\\"\\n },\\n {\\n id: \\\"2\\\",\\n description: \\\"Envia link\\\",\\n title: \\\"send-link\\\"\\n },\\n {\\n id: \\\"3\\\",\\n description: \\\"Envia audio\\\",\\n title: \\\"send-audio\\\"\\n },\\n {\\n id: \\\"4\\\",\\n description: \\\"Envia video\\\",\\n title: \\\"send-video\\\"\\n },\\n {\\n id: \\\"5\\\",\\n description: \\\"Envia imagem\\\",\\n title: \\\"send-image\\\"\\n },\\n {\\n id: \\\"6\\\",\\n description: \\\"Envia documento\\\",\\n title: \\\"send-document\\\"\\n },\\n ]\\n}\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"É resposta de lista?\",\"type\":\"n8n-nodes-base.if\",\"position\":[680,480],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Constantes\\\"].json[\\\"listResponse\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Resposta lista 1\",\"type\":\"n8n-nodes-base.switch\",\"position\":[900,180],\"parameters\":{\"rules\":{\"rules\":[{\"output\":1,\"value2\":\"send-text\"},{\"output\":2,\"value2\":\"send-link\"},{\"output\":3,\"value2\":\"send-audio\"}]},\"value1\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"listResponseMessage\\\"][\\\"title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":0},\"typeVersion\":1},{\"name\":\"Resposta lista 2\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1220,-200],\"parameters\":{\"rules\":{\"rules\":[{\"output\":1,\"value2\":\"send-video\"},{\"output\":2,\"value2\":\"send-image\"},{\"output\":3,\"value2\":\"send-document\"}]},\"value1\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"listResponseMessage\\\"][\\\"title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":0},\"typeVersion\":1},{\"name\":\"Envia mensagem\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,60],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendText\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"message\",\"value\":\"={{$node[\\\"Constantes\\\"].json[\\\"message\\\"]}}\"}]}},\"typeVersion\":2},{\"name\":\"Envia link\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,260],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendLink\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"linkUrl\",\"value\":\"https://z-api.io\"},{\"name\":\"message\",\"value\":\"Aqui você coloca um texto sobre o site, atenção esse texto preciso ter o link que será enviado no final da mensagem! Assim: https://z-api.io\"},{\"name\":\"image\",\"value\":\"https://firebasestorage.googleapis.com/v0/b/zaap-messenger-web.appspot.com/o/logo.png?alt=media\"},{\"name\":\"title\",\"value\":\"Z-API\"},{\"name\":\"linkDescription\",\"value\":\"Integração com o whatsapp\"}]}},\"typeVersion\":2},{\"name\":\"Envia audio\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,440],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendAudio\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"audio\",\"value\":\"={{$node[\\\"Constantes\\\"].json[\\\"urlAudio\\\"]}}\"}]}},\"typeVersion\":2},{\"name\":\"Envia video\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1640,-380],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendVideo\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"video\",\"value\":\"={{$node[\\\"Constantes\\\"].json[\\\"urlVideo\\\"]}}\"}]}},\"typeVersion\":2},{\"name\":\"Envia imagem\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1640,-200],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendImage\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"image\",\"value\":\"={{$node[\\\"Constantes\\\"].json[\\\"urlImage\\\"]}}\"}]}},\"typeVersion\":2},{\"name\":\"Envia documento\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1640,-20],\"parameters\":{\"url\":\"={{$node[\\\"Constantes\\\"].json[\\\"endpointSendDocument\\\"]}}\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"phone\",\"value\":\"={{$node[\\\"Recebe mensagem da Z-API\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"},{\"name\":\"document\",\"value\":\"={{$node[\\\"Constantes\\\"].json[\\\"urlDocument\\\"]}}\"},{\"name\":\"fileName\",\"value\":\"={{$node[\\\"Constantes\\\"].json[\\\"nameDocument\\\"]}}\"}]}},\"typeVersion\":2},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-200,380],\"parameters\":{\"width\":360,\"height\":320,\"content\":\"## Node Webhook\\n\\nTudo começa aqui. Este é o node de **Webhook** onde você deve configurar o endpoint dado aqui pelo próprio node e colocar ele na parte de webhook **Ao receber** da Z-API\\n\\nRepare que durante a execução de testes, o webhook é **Test URL**, e com o workflow ativo é o **Production URL**, se atente a isso.\"},\"typeVersion\":1},{\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[240,-260],\"parameters\":{\"width\":760,\"height\":380,\"content\":\"## Worfklow Exemplo Z-API\\n\\nAqui é demonstrado de forma simples o recebimento de mensagens além do envio de lista, mensagem, audio, video, imagem e documento.\\n\\nO fluxo poderia ter sido feito de forma mais eficaz, mas tentei deixar o mais simples possível pois o objetivo é que um leigo consiga entender o funcionamento básico.\\n\\nOutros comentários foram adicionados no código dos nodes **Function Item** que estão com os nomes de **Constantes** e **Monta lista**\\n\\nWorkflow desenvolvido por **Kim Tiago Baptista**\\n\\nPara consultoria em **n8n** envie um email para kimtiago@gmail.com\\n\\n \\n[Meu GitHub](https://github.com/kimtiago)\\n[Meu LinkedIn](https://www.linkedin.com/in/kimtiagobaptista/)\\n\"},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[240,180],\"parameters\":{\"width\":360,\"height\":260,\"content\":\"## O n8n\\nO **n8n** é uma ferramenta de **Low-Code**, ou seja, você consegue fazer muita coisa sem programar, mas não tudo. Para utilizar você vai precisar de um conhecimento prévio de **Lógica de Programação** e **APIs**.\\n\\nTem integração nativa com diversas APIs do mercado. Consulte a documentação para mais detalhes.\"},\"typeVersion\":1},{\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1520,180],\"parameters\":{\"width\":360,\"height\":180,\"content\":\"## Node Switch\\n\\nPara cada resposta que o cliente enviar será encaminhado para uma determinada rota. Ele sabe para qual rota enviar baseado nas configurações que você realiza nele.\"},\"typeVersion\":1},{\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1520,400],\"parameters\":{\"width\":360,\"content\":\"## Node HTTP Request\\n\\nSão esses nodes que fazem as chamadas aos endpoints da **Z-API** de acordo com a documentação.\"},\"typeVersion\":1},{\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,660],\"parameters\":{\"width\":260,\"content\":\"## Node Function Item\\n\\nEsses nodes permitem você a manipular os dados com código **JavaScript**.\"},\"typeVersion\":1},{\"name\":\"Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[860,440],\"parameters\":{\"width\":260,\"height\":180,\"content\":\"## Node If\\n\\nDiferente do node **Swtich** que tem até 4 rotas, o **If** somente tem duas.\\n\\nUsamos ele aqui para definir se é a resposta de uma lista ou não.\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Constantes\":{\"main\":[[{\"node\":\"É resposta de lista?\",\"type\":\"main\",\"index\":0}]]},\"Monta lista\":{\"main\":[[{\"node\":\"Envia lista\",\"type\":\"main\",\"index\":0}]]},\"Resposta lista 1\":{\"main\":[[{\"node\":\"Resposta lista 2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Envia mensagem\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Envia link\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Envia audio\",\"type\":\"main\",\"index\":0}]]},\"Resposta lista 2\":{\"main\":[[],[{\"node\":\"Envia video\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Envia imagem\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Envia documento\",\"type\":\"main\",\"index\":0}]]},\"É resposta de lista?\":{\"main\":[[{\"node\":\"Resposta lista 1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Monta lista\",\"type\":\"main\",\"index\":0}]]},\"Recebe mensagem da Z-API\":{\"main\":[[{\"node\":\"Constantes\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Markdown report generation", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[120,560],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SortElements\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[480,560],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"fieldName\":\"UserName\"},{\"fieldName\":\"TaskTitle\"},{\"fieldName\":\"date\"}]}},\"typeVersion\":1},{\"name\":\"Markdown\",\"type\":\"n8n-nodes-base.markdown\",\"position\":[1340,580],\"parameters\":{\"mode\":\"markdownToHtml\",\"options\":{\"tables\":true,\"noHeaderId\":true,\"rawHeaderId\":false,\"simpleLineBreaks\":true,\"customizedHeaderId\":false,\"completeHTMLDocument\":true},\"markdown\":\"={{$json[\\\"mdreport\\\"]}}\"},\"typeVersion\":1},{\"name\":\"CreateMDReport\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,580],\"parameters\":{\"functionCode\":\"// created report header and custom table style\\nvar md_reporthead=\\\"#Timesheet report\\\\n\\\";\\nvar md_style = (`\\n\\\\n\\\\n`);\\n\\nvar md_reportbody=md_style+md_reporthead;\\n\\n//declare several variables that are used for report generation\\nvar tablehead = \\\"| Date | Hours | Task Description |\\\\n|:---|:---:|---|\\\\n\\\";\\n\\nvar cur_user=\\\"\\\";\\nvar cur_usernum=0;\\n\\nvar cur_task=\\\"\\\";\\nvar cur_tasktotal=0;\\n\\n\\nfor (item of items) {\\n \\n // Check if new user\\n if (item.json.UserName != cur_user) {\\n // Close previous user's task\\n md_reportbody += (cur_tasktotal) ? \\\"\\\\n*\\\"+cur_tasktotal.toFixed(2)+\\\" - Total hours for this task*\\\\n\\\" : \\\"\\\";\\n cur_tasktotal = 0; cur_task=\\\"\\\";\\n\\n // add new user and embed avatar as base64 image\\n cur_user = item.json.UserName;\\n md_reportbody += `\\\\n##![img](data:image/png;base64,${items[cur_usernum].binary.data.data}) ${cur_user}\\\\n`;\\n cur_usernum += 1;\\n } // Check for new user - ENDIF\\n\\n\\n // Check if new task\\n if (item.json.TaskTitle != cur_task) {\\n\\n // if not empty task - add total amount of hours for *previous* task\\n md_reportbody += (cur_tasktotal) ? `\\\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\\\n` : \\\"\\\";\\n\\n // Add new task header and reset total hours counter\\n cur_task = item.json.TaskTitle;\\n md_reportbody += `\\\\n###${cur_task}\\\\n${tablehead}`;\\n cur_tasktotal = 0;\\n } // Check for new task - ENDIF\\n\\n // Add current task + update total hours\\n md_reportbody += `| ${item.json.date.split('T',1)} | ${item.json.hours.toFixed(2)} | ${item.json.note} |\\\\n`;\\n cur_tasktotal += item.json.hours;\\n}\\n\\n// Let's not forget the last task's total hours:\\nmd_reportbody += (cur_tasktotal) ? `\\\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\\\n` : \\\"\\\";\\n\\n// Finalise the report\\nmd_reportbody += `\\\\n*Timesheet report generated on: ${$now.toISODate()}*`;\\nmd_reporthead += \\\"\\\\n\\\";\\n\\nreturn [{mdreport: md_reportbody}];\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"disabled\":true,\"position\":[1760,580],\"parameters\":{\"options\":{\"allowUnauthorizedCerts\":false},\"subject\":\"TimeSheet report\",\"attachments\":\"data\"},\"credentials\":{\"smtp\":{\"id\":\"2\",\"name\":\"info@stats.consult\"}},\"typeVersion\":1},{\"name\":\"GetImg\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[640,760],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{\"removeOtherFields\":true},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"UserAvatar\"}]}},\"typeVersion\":1},{\"name\":\"ImgBinary\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,760],\"parameters\":{\"url\":\"={{$json[\\\"UserAvatar\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":2},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[980,580],\"parameters\":{\"join\":\"outer\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Move Binary Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1520,580],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"fileName\":\"report.html\",\"mimeType\":\"text/html\",\"useRawData\":true},\"convertAllData\":false},\"typeVersion\":1},{\"name\":\"GetTimesheetRecords\",\"type\":\"n8n-nodes-base.function\",\"position\":[300,560],\"parameters\":{\"functionCode\":\"return [{UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-31T00:00:00.0000000+02:00\\\",\\n note: \\\"Creating invoices and submitting timesheets\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-02T00:00:00.0000000+02:00\\\",\\n note: \\\"Reporting last month's activity\\\",\\n hours: 0.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-30T00:00:00.0000000+02:00\\\",\\n note: \\\"Filling timesheets\\\",\\n hours: 0.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-03T00:00:00.0000000+02:00\\\",\\n note: \\\"Monthly retro meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-26T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-05T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-19T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-12T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-12T00:00:00.0000000+02:00\\\",\\n note: \\\"Programmed new feature\\\",\\n hours: 4.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-02T00:00:00.0000000+02:00\\\",\\n note: \\\"Updated this and that\\\",\\n hours: 2.75},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Client 2\\\",\\n date: \\\"2022-05-13T00:00:00.0000000+02:00\\\",\\n note: \\\"Designed a new report template\\\",\\n hours: 6.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Client 2\\\",\\n date: \\\"2022-05-23T00:00:00.0000000+02:00\\\",\\n note: \\\"Presented the results\\\",\\n hours: 1.5}\\n ];\"},\"typeVersion\":1}],\"connections\":{\"GetImg\":{\"main\":[[{\"node\":\"ImgBinary\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"CreateMDReport\",\"type\":\"main\",\"index\":0}]]},\"Markdown\":{\"main\":[[{\"node\":\"Move Binary Data1\",\"type\":\"main\",\"index\":0}]]},\"ImgBinary\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"SortElements\":{\"main\":[[{\"node\":\"GetImg\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]},\"CreateMDReport\":{\"main\":[[{\"node\":\"Markdown\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data1\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"GetTimesheetRecords\":{\"main\":[[{\"node\":\"SortElements\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"GetTimesheetRecords\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Markdown timesheet report generation", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[120,560],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SortElements\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[480,560],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"fieldName\":\"UserName\"},{\"fieldName\":\"TaskTitle\"},{\"fieldName\":\"date\"}]}},\"typeVersion\":1},{\"name\":\"Markdown\",\"type\":\"n8n-nodes-base.markdown\",\"position\":[1340,580],\"parameters\":{\"mode\":\"markdownToHtml\",\"options\":{\"tables\":true,\"noHeaderId\":true,\"rawHeaderId\":false,\"simpleLineBreaks\":true,\"customizedHeaderId\":false,\"completeHTMLDocument\":true},\"markdown\":\"={{$json[\\\"mdreport\\\"]}}\"},\"typeVersion\":1},{\"name\":\"CreateMDReport\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,580],\"parameters\":{\"functionCode\":\"// created report header and custom table style\\nvar md_reporthead=\\\"#Timesheet report\\\\n\\\";\\nvar md_style = (`\\n\\\\n\\\\n`);\\n\\nvar md_reportbody=md_style+md_reporthead;\\n\\n//declare several variables that are used for report generation\\nvar tablehead = \\\"| Date | Hours | Task Description |\\\\n|:---|:---:|---|\\\\n\\\";\\n\\nvar cur_user=\\\"\\\";\\nvar cur_usernum=0;\\n\\nvar cur_task=\\\"\\\";\\nvar cur_tasktotal=0;\\n\\n\\nfor (item of items) {\\n \\n // Check if new user\\n if (item.json.UserName != cur_user) {\\n // Close previous user's task\\n md_reportbody += (cur_tasktotal) ? \\\"\\\\n*\\\"+cur_tasktotal.toFixed(2)+\\\" - Total hours for this task*\\\\n\\\" : \\\"\\\";\\n cur_tasktotal = 0; cur_task=\\\"\\\";\\n\\n // add new user and embed avatar as base64 image\\n cur_user = item.json.UserName;\\n md_reportbody += `\\\\n##![img](data:image/png;base64,${items[cur_usernum].binary.data.data}) ${cur_user}\\\\n`;\\n cur_usernum += 1;\\n } // Check for new user - ENDIF\\n\\n\\n // Check if new task\\n if (item.json.TaskTitle != cur_task) {\\n\\n // if not empty task - add total amount of hours for *previous* task\\n md_reportbody += (cur_tasktotal) ? `\\\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\\\n` : \\\"\\\";\\n\\n // Add new task header and reset total hours counter\\n cur_task = item.json.TaskTitle;\\n md_reportbody += `\\\\n###${cur_task}\\\\n${tablehead}`;\\n cur_tasktotal = 0;\\n } // Check for new task - ENDIF\\n\\n // Add current task + update total hours\\n md_reportbody += `| ${item.json.date.split('T',1)} | ${item.json.hours.toFixed(2)} | ${item.json.note} |\\\\n`;\\n cur_tasktotal += item.json.hours;\\n}\\n\\n// Let's not forget the last task's total hours:\\nmd_reportbody += (cur_tasktotal) ? `\\\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\\\n` : \\\"\\\";\\n\\n// Finalise the report\\nmd_reportbody += `\\\\n*Timesheet report generated on: ${$now.toISODate()}*`;\\nmd_reporthead += \\\"\\\\n\\\";\\n\\nreturn [{mdreport: md_reportbody}];\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"disabled\":true,\"position\":[1760,580],\"parameters\":{\"options\":{\"allowUnauthorizedCerts\":false},\"subject\":\"TimeSheet report\",\"attachments\":\"data\"},\"credentials\":{\"smtp\":{\"id\":\"2\",\"name\":\"info@stats.consult\"}},\"typeVersion\":1},{\"name\":\"GetImg\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[640,760],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{\"removeOtherFields\":true},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"UserAvatar\"}]}},\"typeVersion\":1},{\"name\":\"ImgBinary\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,760],\"parameters\":{\"url\":\"={{$json[\\\"UserAvatar\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":2},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[980,580],\"parameters\":{\"join\":\"outer\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Move Binary Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1520,580],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"fileName\":\"report.html\",\"mimeType\":\"text/html\",\"useRawData\":true},\"convertAllData\":false},\"typeVersion\":1},{\"name\":\"GetTimesheetRecords\",\"type\":\"n8n-nodes-base.function\",\"position\":[300,560],\"parameters\":{\"functionCode\":\"return [{UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-31T00:00:00.0000000+02:00\\\",\\n note: \\\"Creating invoices and submitting timesheets\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-02T00:00:00.0000000+02:00\\\",\\n note: \\\"Reporting last month's activity\\\",\\n hours: 0.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-30T00:00:00.0000000+02:00\\\",\\n note: \\\"Filling timesheets\\\",\\n hours: 0.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-03T00:00:00.0000000+02:00\\\",\\n note: \\\"Monthly retro meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-26T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-05T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-19T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-12T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-12T00:00:00.0000000+02:00\\\",\\n note: \\\"Programmed new feature\\\",\\n hours: 4.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-02T00:00:00.0000000+02:00\\\",\\n note: \\\"Updated this and that\\\",\\n hours: 2.75},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Client 2\\\",\\n date: \\\"2022-05-13T00:00:00.0000000+02:00\\\",\\n note: \\\"Designed a new report template\\\",\\n hours: 6.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Client 2\\\",\\n date: \\\"2022-05-23T00:00:00.0000000+02:00\\\",\\n note: \\\"Presented the results\\\",\\n hours: 1.5}\\n ];\"},\"typeVersion\":1}],\"connections\":{\"GetImg\":{\"main\":[[{\"node\":\"ImgBinary\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"CreateMDReport\",\"type\":\"main\",\"index\":0}]]},\"Markdown\":{\"main\":[[{\"node\":\"Move Binary Data1\",\"type\":\"main\",\"index\":0}]]},\"ImgBinary\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"SortElements\":{\"main\":[[{\"node\":\"GetImg\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]},\"CreateMDReport\":{\"main\":[[{\"node\":\"Markdown\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data1\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"GetTimesheetRecords\":{\"main\":[[{\"node\":\"SortElements\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"GetTimesheetRecords\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "testsadfsdfasdfasdfs", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[120,560],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SortElements\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[480,560],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"fieldName\":\"UserName\"},{\"fieldName\":\"TaskTitle\"},{\"fieldName\":\"date\"}]}},\"typeVersion\":1},{\"name\":\"Markdown\",\"type\":\"n8n-nodes-base.markdown\",\"position\":[1340,580],\"parameters\":{\"mode\":\"markdownToHtml\",\"options\":{\"tables\":true,\"noHeaderId\":true,\"rawHeaderId\":false,\"simpleLineBreaks\":true,\"customizedHeaderId\":false,\"completeHTMLDocument\":true},\"markdown\":\"={{$json[\\\"mdreport\\\"]}}\"},\"typeVersion\":1},{\"name\":\"CreateMDReport\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,580],\"parameters\":{\"functionCode\":\"// created report header and custom table style\\nvar md_reporthead=\\\"#Timesheet report\\\\n\\\";\\nvar md_style = (`\\n\\\\n\\\\n`);\\n\\nvar md_reportbody=md_style+md_reporthead;\\n\\n//declare several variables that are used for report generation\\nvar tablehead = \\\"| Date | Hours | Task Description |\\\\n|:---|:---:|---|\\\\n\\\";\\n\\nvar cur_user=\\\"\\\";\\nvar cur_usernum=0;\\n\\nvar cur_task=\\\"\\\";\\nvar cur_tasktotal=0;\\n\\n\\nfor (item of items) {\\n \\n // Check if new user\\n if (item.json.UserName != cur_user) {\\n // Close previous user's task\\n md_reportbody += (cur_tasktotal) ? \\\"\\\\n*\\\"+cur_tasktotal.toFixed(2)+\\\" - Total hours for this task*\\\\n\\\" : \\\"\\\";\\n cur_tasktotal = 0; cur_task=\\\"\\\";\\n\\n // add new user and embed avatar as base64 image\\n cur_user = item.json.UserName;\\n md_reportbody += `\\\\n##![img](data:image/png;base64,${items[cur_usernum].binary.data.data}) ${cur_user}\\\\n`;\\n cur_usernum += 1;\\n } // Check for new user - ENDIF\\n\\n\\n // Check if new task\\n if (item.json.TaskTitle != cur_task) {\\n\\n // if not empty task - add total amount of hours for *previous* task\\n md_reportbody += (cur_tasktotal) ? `\\\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\\\n` : \\\"\\\";\\n\\n // Add new task header and reset total hours counter\\n cur_task = item.json.TaskTitle;\\n md_reportbody += `\\\\n###${cur_task}\\\\n${tablehead}`;\\n cur_tasktotal = 0;\\n } // Check for new task - ENDIF\\n\\n // Add current task + update total hours\\n md_reportbody += `| ${item.json.date.split('T',1)} | ${item.json.hours.toFixed(2)} | ${item.json.note} |\\\\n`;\\n cur_tasktotal += item.json.hours;\\n}\\n\\n// Let's not forget the last task's total hours:\\nmd_reportbody += (cur_tasktotal) ? `\\\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\\\n` : \\\"\\\";\\n\\n// Finalise the report\\nmd_reportbody += `\\\\n*Timesheet report generated on: ${$now.toISODate()}*`;\\nmd_reporthead += \\\"\\\\n\\\";\\n\\nreturn [{mdreport: md_reportbody}];\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"disabled\":true,\"position\":[1760,580],\"parameters\":{\"options\":{\"allowUnauthorizedCerts\":false},\"subject\":\"TimeSheet report\",\"attachments\":\"data\"},\"credentials\":{\"smtp\":{\"id\":\"2\",\"name\":\"info@stats.consult\"}},\"typeVersion\":1},{\"name\":\"GetImg\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[640,760],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{\"removeOtherFields\":true},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"UserAvatar\"}]}},\"typeVersion\":1},{\"name\":\"ImgBinary\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,760],\"parameters\":{\"url\":\"={{$json[\\\"UserAvatar\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":2},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[980,580],\"parameters\":{\"join\":\"outer\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Move Binary Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1520,580],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"fileName\":\"report.html\",\"mimeType\":\"text/html\",\"useRawData\":true},\"convertAllData\":false},\"typeVersion\":1},{\"name\":\"GetTimesheetRecords\",\"type\":\"n8n-nodes-base.function\",\"position\":[300,560],\"parameters\":{\"functionCode\":\"return [{UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-31T00:00:00.0000000+02:00\\\",\\n note: \\\"Creating invoices and submitting timesheets\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-02T00:00:00.0000000+02:00\\\",\\n note: \\\"Reporting last month's activity\\\",\\n hours: 0.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-30T00:00:00.0000000+02:00\\\",\\n note: \\\"Filling timesheets\\\",\\n hours: 0.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Admin\\\",\\n date: \\\"2022-05-03T00:00:00.0000000+02:00\\\",\\n note: \\\"Monthly retro meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-26T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-05T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-19T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-12T00:00:00.0000000+02:00\\\",\\n note: \\\"Weekly meeting\\\",\\n hours: 0.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-12T00:00:00.0000000+02:00\\\",\\n note: \\\"Programmed new feature\\\",\\n hours: 4.5},\\n {UserName: \\\"User 1 - Lead Programmer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=robohash&s=32\\\",\\n TaskTitle: \\\"Client 1\\\",\\n date: \\\"2022-05-02T00:00:00.0000000+02:00\\\",\\n note: \\\"Updated this and that\\\",\\n hours: 2.75},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Client 2\\\",\\n date: \\\"2022-05-13T00:00:00.0000000+02:00\\\",\\n note: \\\"Designed a new report template\\\",\\n hours: 6.5},\\n {UserName: \\\"User 2 - Designer\\\",\\n UserAvatar: \\\"https://www.gravatar.com/avatar/?d=identicon&s=32\\\",\\n TaskTitle: \\\"Client 2\\\",\\n date: \\\"2022-05-23T00:00:00.0000000+02:00\\\",\\n note: \\\"Presented the results\\\",\\n hours: 1.5}\\n ];\"},\"typeVersion\":1}],\"connections\":{\"GetImg\":{\"main\":[[{\"node\":\"ImgBinary\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"CreateMDReport\",\"type\":\"main\",\"index\":0}]]},\"Markdown\":{\"main\":[[{\"node\":\"Move Binary Data1\",\"type\":\"main\",\"index\":0}]]},\"ImgBinary\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"SortElements\":{\"main\":[[{\"node\":\"GetImg\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]},\"CreateMDReport\":{\"main\":[[{\"node\":\"Markdown\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data1\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"GetTimesheetRecords\":{\"main\":[[{\"node\":\"SortElements\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"GetTimesheetRecords\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "jbjkbuhuhuhhkhkj", "output": "{\"nodes\":[{\"name\":\"n8n jobs\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[670,300],\"parameters\":{\"url\":\"https://www.upwork.com/ab/feed/topics/rss?securityToken=fa6beb191a70950be395dcff0bbf708197fd50173b4b1b4e0ccf502b1806193bd8fd1201014e8576f563478bad7027420db8ad74b3cacb49001b1ccb6d1d4249&userUid=1289314160137519104&orgUid=1289314160141713408&sort=local_jobs_on_top&topic=5367452\"},\"typeVersion\":1},{\"name\":\"Latest Read1\",\"type\":\"n8n-nodes-base.function\",\"position\":[870,300],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nlatestRead = staticData.latestRead;\\n\\nfor (let item of items) {\\n item.json.latestRead = latestRead || '1970-01-01';\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Write Latest Read1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1290,120],\"parameters\":{\"functionCode\":\"const staticData = this.getWorkflowStaticData('global');\\n\\nif (items.length > 0) {\\n staticData.latestRead = items[0].json.isoDate || staticData.latestRead;\\n}\\n\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1070,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{new Date($node[\\\"Latest Read1\\\"].data[\\\"latestRead\\\"]).getTime()}}\",\"value2\":\"={{new Date($node[\\\"n8n jobs\\\"].data[\\\"isoDate\\\"]).getTime()}}\"}]}},\"typeVersion\":1},{\"name\":\"Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1290,350],\"parameters\":{\"text\":\"=*New n8n Upwork Job Post: {{$node[\\\"n8n jobs\\\"].json[\\\"title\\\"]}}*\\n\\n{{$node[\\\"n8n jobs\\\"].json[\\\"contentSnippet\\\"]}}\\n\\n*Link:* {{$node[\\\"n8n jobs\\\"].json[\\\"link\\\"]}}\",\"channel\":\"upwork\",\"attachments\":[],\"otherOptions\":{\"unfurl_links\":false}},\"credentials\":{\"slackApi\":\"Bot access token\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[480,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Write Latest Read1\",\"type\":\"main\",\"index\":0},{\"node\":\"Slack1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"n8n jobs\",\"type\":\"main\",\"index\":0}]]},\"n8n jobs\":{\"main\":[[{\"node\":\"Latest Read1\",\"type\":\"main\",\"index\":0}]]},\"Latest Read1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Firebase TO Google sheet ", "output": "{\"nodes\":[1],\"connections\":[1]}" }, { "input": "Testing workflow", "output": "{\"nodes\":[\"What are the nodes\"],\"connections\":[]}" }, { "input": "Slack New Customer", "output": "{\"nodes\":[1],\"connections\":[2]}" }, { "input": "workflow-workflow", "output": "{\"id\":1,\"name\":\"My workflow\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[400,120],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"Heisenberg\"},{\"name\":\"description\",\"value\":\"Lets cook\"},{\"name\":\"date\",\"value\":\"28.05.2022\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[620,120],\"parameters\":{\"options\":{},\"sheetId\":\"1gyrULINgsv_z0Kzs0InW1Zyq97HecrIsdUIbayetJ78\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":{\"id\":\"2\",\"name\":\"Google account\"}},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[120,120],\"webhookId\":\"497618f4-05b7-4d59-ba60-470ca7ade4df\",\"parameters\":{\"path\":\"497618f4-05b7-4d59-ba60-470ca7ade4df\",\"options\":{}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n work-task", "output": "{\"nodes\":[5],\"connections\":[5]}" }, { "input": "Very quick quickstart", "output": "{\"name\":\"Very quick quickstart\",\"nodes\":[{\"id\":\"cbb6afcc-f900-434d-ad2e-affb31ccf7a9\",\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[1000,740],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"id\":\"1eb939c0-e391-4e3b-9751-889da2de7cf7\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,460],\"parameters\":{\"width\":300,\"height\":220,\"content\":\"## About the very quick quickstart workflow\\n\\nThis is an incomplete workflow, used in the [very quick quickstart](https://docs.n8n.io//try-it-out/quickstart/) tutorial.\"},\"typeVersion\":1},{\"id\":\"c53a8591-9efe-4fb8-993b-6cc309f3240e\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[940,640],\"parameters\":{\"width\":220,\"height\":300,\"content\":\"**Get fake sample data**\"},\"typeVersion\":1},{\"id\":\"c7e35ca4-b180-4280-9e43-a5dda5d3ea97\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1220,640],\"parameters\":{\"width\":220,\"height\":300,\"content\":\"**Extract data and prepare it for use in the next node**\"},\"typeVersion\":1},{\"id\":\"94bba884-5cef-4fe6-ba7d-cc7dbe49839c\",\"name\":\"When clicking \\\"Test Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[760,740],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f6d22d64-c77f-415d-9c34-c7106ba4877a\",\"name\":\"Edit Fields1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1280,740],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"df041e3c-fc09-4ba2-8e6b-37f2c6a02526\",\"name\":\"customer_id\",\"type\":\"string\",\"value\":\"={{ $json.id }}\"},{\"id\":\"bf288953-4fef-4f55-a45f-c223714919c0\",\"name\":\"customer_name\",\"type\":\"string\",\"value\":\"={{ $json.name }}\"},{\"id\":\"1cff0b21-6740-4697-9d2c-9bcb045af0be\",\"name\":\"customer_description\",\"type\":\"string\",\"value\":\"={{ $json.notes }}\"}]}},\"typeVersion\":3.3}],\"pinData\":{},\"connections\":{\"Edit Fields1\":{\"main\":[[]]},\"Customer Datastore\":{\"main\":[[{\"node\":\"Edit Fields1\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Test Workflow\\\"\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "demobuble-granato", "output": "{\"nodes\":[{\"name\":\"Bubble\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[450,280],\"parameters\":{\"typeName\":\"Doc\",\"operation\":\"create\",\"properties\":{\"property\":[{\"key\":\"Name\",\"value\":\"Bubble\"}]}},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1},{\"name\":\"Bubble1\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[650,280],\"parameters\":{\"objectId\":\"={{$json[\\\"id\\\"]}}\",\"typeName\":\"={{$node[\\\"Bubble\\\"].parameter[\\\"typeName\\\"]}}\",\"operation\":\"update\",\"properties\":{\"property\":[{\"key\":\"Name\",\"value\":\"Bubble node\"}]}},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1},{\"name\":\"Bubble2\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[850,280],\"parameters\":{\"objectId\":\"={{$node[\\\"Bubble\\\"].json[\\\"id\\\"]}}\",\"typeName\":\"={{$node[\\\"Bubble\\\"].parameter[\\\"typeName\\\"]}}\"},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Bubble\":{\"main\":[[{\"node\":\"Bubble1\",\"type\":\"main\",\"index\":0}]]},\"Bubble1\":{\"main\":[[{\"node\":\"Bubble2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "demobuble-granato", "output": "{\"nodes\":[{\"name\":\"Bubble\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[450,280],\"parameters\":{\"typeName\":\"Doc\",\"operation\":\"create\",\"properties\":{\"property\":[{\"key\":\"Name\",\"value\":\"Bubble\"}]}},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1},{\"name\":\"Bubble1\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[650,280],\"parameters\":{\"objectId\":\"={{$json[\\\"id\\\"]}}\",\"typeName\":\"={{$node[\\\"Bubble\\\"].parameter[\\\"typeName\\\"]}}\",\"operation\":\"update\",\"properties\":{\"property\":[{\"key\":\"Name\",\"value\":\"Bubble node\"}]}},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1},{\"name\":\"Bubble2\",\"type\":\"n8n-nodes-base.bubble\",\"position\":[850,280],\"parameters\":{\"objectId\":\"={{$node[\\\"Bubble\\\"].json[\\\"id\\\"]}}\",\"typeName\":\"={{$node[\\\"Bubble\\\"].parameter[\\\"typeName\\\"]}}\"},\"credentials\":{\"bubbleApi\":\"Bubble API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Bubble\":{\"main\":[[{\"node\":\"Bubble1\",\"type\":\"main\",\"index\":0}]]},\"Bubble1\":{\"main\":[[{\"node\":\"Bubble2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable to dashboard?", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable to dashboard", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable to dashboard", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable to dashboard", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable dashboard", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable dashboard", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Workable dashboard", "output": "{\"name\":\"My workflow 3\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[30,670],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"https://.workable.com/spi/v3/candidates\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[390,670],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"candidates\"},\"typeVersion\":1},{\"name\":\"Not done yet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Finally!\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[810,690],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge all the things\",\"type\":\"n8n-nodes-base.function\",\"position\":[970,690],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet i = 0;\\ndo {\\n try {\\n allData.push.apply(allData, $items(\\\"Fetch Body\\\", 0, i));\\n } catch (error) {\\n return allData; \\n }\\n i++;\\n} while(true);\"},\"typeVersion\":1},{\"name\":\"Update URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"name\":\"Get Candidates\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[210,670],\"parameters\":{\"url\":\"={{$json[\\\"url\\\"]}}\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"100\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"12\",\"name\":\"Header Auth account\"}},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[630,450],\"webhookId\":\"37ece552-d760-4685-9082-a0131217f40f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":3},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,910],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[510,850],\"parameters\":{\"values\":{\"string\":[{\"name\":\"job\",\"value\":\"={{$json[\\\"job\\\"][\\\"title\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[230,1110],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"id\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[70,1110],\"parameters\":{\"range\":\"A:Z\",\"options\":{\"continue\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Reset Data1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[390,1110],\"parameters\":{\"toDelete\":{\"rows\":[{\"amount\":\"={{$json[\\\"id\\\"].length}}\",\"sheetId\":0,\"startIndex\":1}]},\"operation\":\"delete\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"7\",\"name\":\"Google Sheets account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,530],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6},{\"hour\":12}]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-150,1010],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"minute\":30},{\"hour\":11,\"minute\":30}]}},\"typeVersion\":1},{\"name\":\"We done?1\",\"type\":\"n8n-nodes-base.if\",\"position\":[590,670],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Candidates\\\"].json[\\\"paging\\\"][\\\"next\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Update URL\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Finally!\":{\"main\":[[{\"node\":\"Merge all the things\",\"type\":\"main\",\"index\":0}]]},\"We done?1\":{\"main\":[[{\"node\":\"Not done yet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Finally!\",\"type\":\"main\",\"index\":0}]]},\"Fetch Body\":{\"main\":[[{\"node\":\"We done?1\",\"type\":\"main\",\"index\":0},{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Reset Data1\",\"type\":\"main\",\"index\":0}]]},\"Update URL\":{\"main\":[[{\"node\":\"Get Candidates\",\"type\":\"main\",\"index\":0}]]},\"Not done yet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Get Candidates\":{\"main\":[[{\"node\":\"Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test it is a test", "output": "{\"nodes\":[5],\"connections\":[10]}" }, { "input": "CX | Booking Confirmation Email", "output": "{\"id\":3,\"name\":\"CX | Booking Confirmation Email\",\"nodes\":[{\"name\":\"_QUICKSTART_NOTE_\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-240,140],\"parameters\":{\"width\":380,\"height\":440,\"content\":\"## 👇 Get started faster \\n\\n### Quickstart video\\n[![n8n quickstart video](/static/quickstart_thumbnail.png#full-width)](https://www.youtube.com/watch?v=RpjQTGKm-ok)\\nCovers key concepts really quickly\\n\\n\\n### Template library\\nGet inspiration and learn useful techniques from our pre-built [workflow templates](/templates).\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[260,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"gmv\",\"value\":600000},{\"name\":\"Scdw Fee\",\"value\":100000},{\"name\":\"Delivery Fee\",\"value\":150000},{\"name\":\"Discount\",\"value\":250000},{\"name\":\"nmv\",\"value\":400000},{\"name\":\"Rental Fee\",\"value\":400000}],\"string\":[{\"name\":\"Booking End Ts\",\"value\":\"2022-03-16T23:30:00\"},{\"name\":\"Booking Start Ts\",\"value\":\"2022-03-16T08:30:00\"},{\"name\":\"Member Name\",\"value\":\"Muhammad Faris Adilah\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[900,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"gmv\",\"value\":\"=Rp.{{$node[\\\"Set\\\"].json[\\\"gmv\\\"].toLocaleString('id-ID')}}\"},{\"name\":\"Scdw Fee\",\"value\":\"=Rp.{{$node[\\\"Set\\\"].json[\\\"Scdw Fee\\\"].toLocaleString('id-ID')}}\"},{\"name\":\"nmv\",\"value\":\"=Rp.{{$node[\\\"Set\\\"].json[\\\"nmv\\\"].toLocaleString('id-ID')}}\"},{\"name\":\"Delivery Fee\",\"value\":\"=Rp.{{$node[\\\"Set\\\"].json[\\\"Delivery Fee\\\"].toLocaleString('id-ID')}}\"},{\"name\":\"Discount\",\"value\":\"=Rp.{{$node[\\\"Set\\\"].json[\\\"Discount\\\"].toLocaleString('id-ID')}}\"},{\"name\":\"Rental Fee\",\"value\":\"=Rp.{{$node[\\\"Set\\\"].json[\\\"Rental Fee\\\"].toLocaleString('id-ID')}}\"},{\"name\":\"Booking End Date\",\"value\":\"={{$node[\\\"Booking End Date\\\"].json[\\\"Booking End Date\\\"]}}\"},{\"name\":\"Booking Start Date\",\"value\":\"={{$node[\\\"Booking Start Date\\\"].json[\\\"Booking Start Date\\\"]}}\"},{\"name\":\"Booking End Time\",\"value\":\"={{$node[\\\"Booking End Time\\\"].json[\\\"Booking End Time\\\"]}}\"},{\"name\":\"Booking Start Time\",\"value\":\"={{$node[\\\"Booking Start Time\\\"].json[\\\"Booking Start Time\\\"]}}\"},{\"name\":\"First Name\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"Member Name\\\"].split(\\\" \\\")[0]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Booking End Date\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[640,40],\"parameters\":{\"value\":\"={{$node[\\\"Set\\\"].json[\\\"Booking End Ts\\\"]}}\",\"custom\":true,\"options\":{},\"toFormat\":\"DD MMMM YYYY\",\"dataPropertyName\":\"Booking End Date\"},\"typeVersion\":1},{\"name\":\"Booking Start Date\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[640,200],\"parameters\":{\"value\":\"={{$node[\\\"Set\\\"].json[\\\"Booking Start Ts\\\"]}}\",\"custom\":true,\"options\":{},\"toFormat\":\"DD MMMM YYYY\",\"dataPropertyName\":\"Booking Start Date\"},\"typeVersion\":1},{\"name\":\"Booking Start Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[640,380],\"parameters\":{\"value\":\"={{$node[\\\"Set\\\"].json[\\\"Booking Start Ts\\\"]}}\",\"custom\":true,\"options\":{\"toTimezone\":\"Asia/Jakarta\",\"fromTimezone\":\"UTC\"},\"toFormat\":\"hh:mm\",\"dataPropertyName\":\"Booking Start Time\"},\"typeVersion\":1},{\"name\":\"Booking End Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[640,560],\"parameters\":{\"value\":\"={{$node[\\\"Set\\\"].json[\\\"Booking End Ts\\\"]}}\",\"custom\":true,\"options\":{\"toTimezone\":\"Asia/Jakarta\",\"fromTimezone\":\"UTC\"},\"toFormat\":\"hh:mm\",\"dataPropertyName\":\"Booking End Time\"},\"typeVersion\":1},{\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[420,300],\"parameters\":{\"additionalFields\":{}},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1060,300],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Postgres\":{\"main\":[[{\"node\":\"Booking End Date\",\"type\":\"main\",\"index\":0},{\"node\":\"Booking Start Date\",\"type\":\"main\",\"index\":0},{\"node\":\"Booking Start Time\",\"type\":\"main\",\"index\":0},{\"node\":\"Booking End Time\",\"type\":\"main\",\"index\":0}]]},\"Booking End Date\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Booking End Time\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Booking Start Date\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Booking Start Time\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Clockify to Google Calendar", "output": "{\"nodes\":[{\"name\":\"Clockify Trigger\",\"type\":\"n8n-nodes-base.clockifyTrigger\",\"position\":[-720,-240],\"parameters\":{\"pollTimes\":{\"item\":[{\"hour\":3}]}},\"credentials\":{\"clockifyApi\":{\"id\":\"3\",\"name\":\"Clockify account\"}},\"retryOnFail\":false,\"typeVersion\":1},{\"name\":\"Get Events with ID + loop_id\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[1140,-700],\"parameters\":{\"eventId\":\"=clocki{{$json[\\\"clockify\\\"][\\\"id\\\"]}}{{$json[\\\"loop_id\\\"]}}\",\"options\":{},\"calendar\":\"={{$node[\\\"Get Events with ID\\\"].parameter[\\\"calendar\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Calendar\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Get Events with ID\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[-160,-240],\"parameters\":{\"eventId\":\"=clocki{{$json[\\\"id\\\"]}}\",\"options\":{},\"operation\":\"get\"},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Calendar\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Create Event\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[680,-160],\"parameters\":{\"end\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\",\"start\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}}\",\"calendar\":\"={{$node[\\\"Get Events with ID\\\"].parameter[\\\"calendar\\\"]}}\",\"additionalFields\":{\"id\":\"=clocki{{$json[\\\"clockify\\\"][\\\"id\\\"]}}\",\"summary\":\"={{$node[\\\"Config\\\"].json[\\\"calendar_entry\\\"][\\\"prefix\\\"] ? $node[\\\"Config\\\"].json[\\\"calendar_entry\\\"][\\\"prefix\\\"]+': ' : ''}}{{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] : ''}} {{$json[\\\"clockify\\\"][\\\"task\\\"] ? '- ' + $json[\\\"clockify\\\"][\\\"task\\\"][\\\"name\\\"] : ''}} {{$json[\\\"clockify\\\"][\\\"description\\\"] ? ': ' + $json[\\\"clockify\\\"][\\\"description\\\"] : ' '}}\",\"description\":\"={{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"client\\\"]}}: {{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"clientName\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"project\\\"]}}: {{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"task\\\"]}}: {{$json[\\\"clockify\\\"][\\\"task\\\"] ? $json[\\\"clockify\\\"][\\\"task\\\"][\\\"name\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"description\\\"]}}: {{$json[\\\"clockify\\\"][\\\"description\\\"] ? $json[\\\"clockify\\\"][\\\"description\\\"] : ' '}}\\n\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"duration\\\"]}}: {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"duration\\\"]}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"from\\\"]}} {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}} {{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"until\\\"]}} {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\\n\\nTag: {{$json[\\\"clockify\\\"][\\\"tags\\\"][0] ? $json[\\\"clockify\\\"][\\\"tags\\\"][0][\\\"name\\\"] : ' '}}\\nWorkspace-ID: {{$json[\\\"clockify\\\"][\\\"workspaceId\\\"]}}\\nTimer-ID: {{$json[\\\"clockify\\\"][\\\"id\\\"]}}\"}},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Calendar\"}},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Update Event\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[1140,-320],\"parameters\":{\"eventId\":\"={{$json[\\\"calendar\\\"][\\\"id\\\"]}}\",\"calendar\":\"={{$node[\\\"Get Events with ID\\\"].parameter[\\\"calendar\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"end\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\",\"start\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}}\",\"summary\":\"={{$node[\\\"Config\\\"].json[\\\"calendar_entry\\\"][\\\"prefix\\\"] ? $node[\\\"Config\\\"].json[\\\"calendar_entry\\\"][\\\"prefix\\\"]+': ' : ''}}{{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] : ''}} {{$json[\\\"clockify\\\"][\\\"task\\\"] ? '- ' + $json[\\\"clockify\\\"][\\\"task\\\"][\\\"name\\\"] : ''}} {{$json[\\\"clockify\\\"][\\\"description\\\"] ? ': ' + $json[\\\"clockify\\\"][\\\"description\\\"] : ' '}}\",\"description\":\"={{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"client\\\"]}}: {{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"clientName\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"project\\\"]}}: {{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"task\\\"]}}: {{$json[\\\"clockify\\\"][\\\"task\\\"] ? $json[\\\"clockify\\\"][\\\"task\\\"][\\\"name\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"description\\\"]}}: {{$json[\\\"clockify\\\"][\\\"description\\\"] ? $json[\\\"clockify\\\"][\\\"description\\\"] : ' '}}\\n\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"duration\\\"]}}: {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"duration\\\"]}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"from\\\"]}} {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}} {{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"until\\\"]}} {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\\n\\nTag: {{$json[\\\"clockify\\\"][\\\"tags\\\"][0] ? $json[\\\"clockify\\\"][\\\"tags\\\"][0][\\\"name\\\"] : ' '}}\\nWorkspace-ID: {{$json[\\\"clockify\\\"][\\\"workspaceId\\\"]}}\\nTimer-ID: {{$json[\\\"clockify\\\"][\\\"id\\\"]}}\"}},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Calendar\"}},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Create Event1\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[2000,-640],\"parameters\":{\"end\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\",\"start\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}}\",\"calendar\":\"={{$node[\\\"Get Events with ID\\\"].parameter[\\\"calendar\\\"]}}\",\"additionalFields\":{\"id\":\"=clocki{{$json[\\\"clockify\\\"][\\\"id\\\"]}}{{$json[\\\"loop_id\\\"]}}\",\"summary\":\"={{$node[\\\"Config\\\"].json[\\\"calendar_entry\\\"][\\\"prefix\\\"] ? $node[\\\"Config\\\"].json[\\\"calendar_entry\\\"][\\\"prefix\\\"]+': ' : ''}}{{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] : ''}} {{$json[\\\"clockify\\\"][\\\"task\\\"] ? '- ' + $json[\\\"clockify\\\"][\\\"task\\\"][\\\"name\\\"] : ''}} {{$json[\\\"clockify\\\"][\\\"description\\\"] ? ': ' + $json[\\\"clockify\\\"][\\\"description\\\"] : ' '}}\",\"description\":\"={{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"client\\\"]}}: {{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"clientName\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"project\\\"]}}: {{$json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] ? $json[\\\"clockify\\\"][\\\"project\\\"][\\\"name\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"task\\\"]}}: {{$json[\\\"clockify\\\"][\\\"task\\\"] ? $json[\\\"clockify\\\"][\\\"task\\\"][\\\"name\\\"] : ' '}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"description\\\"]}}: {{$json[\\\"clockify\\\"][\\\"description\\\"] ? $json[\\\"clockify\\\"][\\\"description\\\"] : ' '}}\\n\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"duration\\\"]}}: {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"duration\\\"]}}\\n{{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"from\\\"]}} {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}} {{$node[\\\"Translations for created Calendar Event\\\"].json[\\\"clockify\\\"][\\\"until\\\"]}} {{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\\n\\nTag: {{$json[\\\"clockify\\\"][\\\"tags\\\"][0] ? $json[\\\"clockify\\\"][\\\"tags\\\"][0][\\\"name\\\"] : ' '}}\\nWorkspace-ID: {{$json[\\\"clockify\\\"][\\\"workspaceId\\\"]}}\\nTimer-ID: {{$json[\\\"clockify\\\"][\\\"id\\\"]}}\"}},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Calendar\"}},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-740,-60],\"parameters\":{\"width\":700,\"height\":200,\"content\":\"## Configuration\\nConfigure the **first four nodes** above this note.\\nClockify needs authentification and a workspace. \\nGoogle Calendar needs authentification and the calendar in which the Clockify entries are being copied. The specified calendar is copied to the other calendar-nodes, so you just have to configure the first one above.\"},\"typeVersion\":1},{\"name\":\"Rename to Clockify\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[40,-460],\"parameters\":{\"functionCode\":\"clockify = item;\\nitem = {};\\nitem.clockify = clockify;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Rename to Calendar\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[40,-240],\"parameters\":{\"functionCode\":\"calendar = item;\\nitem = {};\\nitem.calendar = calendar;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Config\",\"type\":\"n8n-nodes-base.set\",\"position\":[-520,-240],\"parameters\":{\"values\":{\"string\":[{\"name\":\"calendar_entry.prefix\",\"value\":\"Clockify\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Translations for created Calendar Event\",\"type\":\"n8n-nodes-base.set\",\"position\":[-340,-240],\"parameters\":{\"values\":{\"string\":[{\"name\":\"clockify.client\",\"value\":\"Client\"},{\"name\":\"clockify.project\",\"value\":\"Project\"},{\"name\":\"clockify.task\",\"value\":\"Task\"},{\"name\":\"clockify.description\",\"value\":\"Description\"},{\"name\":\"clockify.duration\",\"value\":\"Duration\"},{\"name\":\"clockify.from\",\"value\":\"From\"},{\"name\":\"clockify.until\",\"value\":\"until\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Has the event been deleted?\",\"type\":\"n8n-nodes-base.if\",\"position\":[680,-520],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"calendar\\\"][\\\"status\\\"]}}\",\"value2\":\"cancelled\"}]}},\"typeVersion\":1},{\"name\":\"Rename to Calendar1\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1360,-700],\"parameters\":{\"functionCode\":\"calendar = item;\\nitem = {};\\nitem.calendar = calendar;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Do the times match?\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,-400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"start\\\"]}}\",\"value2\":\"={{$json[\\\"calendar\\\"][\\\"start\\\"][\\\"dateTime\\\"]}}\"},{\"value1\":\"={{$json[\\\"clockify\\\"][\\\"timeInterval\\\"][\\\"end\\\"]}}\",\"value2\":\"={{$json[\\\"calendar\\\"][\\\"end\\\"][\\\"dateTime\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Event created again\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2200,-640],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Success\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2200,-480],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Event updated\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2200,-320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Event created\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2200,-160],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Does the calendar event already exist?\",\"type\":\"n8n-nodes-base.if\",\"position\":[460,-360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"=clocki{{$json[\\\"clockify\\\"][\\\"id\\\"]}}\",\"value2\":\"={{$json[\\\"calendar\\\"][\\\"id\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Merge Clockify and Calendar data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[280,-360],\"parameters\":{\"join\":\"outer\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Merge Clockify and Calendar data1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1580,-800],\"parameters\":{\"join\":\"outer\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Event exists already\",\"type\":\"n8n-nodes-base.if\",\"position\":[1780,-640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"calendar\\\"][\\\"error\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Increment loop_id\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[900,-820],\"parameters\":{\"functionCode\":\"if (item.loop_id === undefined){\\n item.loop_id = 1;\\n}\\nelse{\\n item.loop_id = item.loop_id + 1;\\n}\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-420,-800],\"parameters\":{\"width\":860,\"height\":200,\"content\":\"# Sync Clockify entries to Google Calendar\\nThis flow takes new Clockify entries and creates a new Google Calendar event for each of them.\"},\"typeVersion\":1}],\"connections\":{\"Config\":{\"main\":[[{\"node\":\"Translations for created Calendar Event\",\"type\":\"main\",\"index\":0}]]},\"Create Event\":{\"main\":[[{\"node\":\"Event created\",\"type\":\"main\",\"index\":0}]]},\"Update Event\":{\"main\":[[{\"node\":\"Event updated\",\"type\":\"main\",\"index\":0}]]},\"Create Event1\":{\"main\":[[{\"node\":\"Event created again\",\"type\":\"main\",\"index\":0}]]},\"Clockify Trigger\":{\"main\":[[{\"node\":\"Config\",\"type\":\"main\",\"index\":0}]]},\"Increment loop_id\":{\"main\":[[{\"node\":\"Get Events with ID + loop_id\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge Clockify and Calendar data1\",\"type\":\"main\",\"index\":0}]]},\"Get Events with ID\":{\"main\":[[{\"node\":\"Rename to Calendar\",\"type\":\"main\",\"index\":0}]]},\"Rename to Calendar\":{\"main\":[[{\"node\":\"Merge Clockify and Calendar data\",\"type\":\"main\",\"index\":1}]]},\"Rename to Clockify\":{\"main\":[[{\"node\":\"Merge Clockify and Calendar data\",\"type\":\"main\",\"index\":0}]]},\"Do the times match?\":{\"main\":[[{\"node\":\"Success\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update Event\",\"type\":\"main\",\"index\":0}]]},\"Rename to Calendar1\":{\"main\":[[{\"node\":\"Merge Clockify and Calendar data1\",\"type\":\"main\",\"index\":1}]]},\"Event exists already\":{\"main\":[[{\"node\":\"Has the event been deleted?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create Event1\",\"type\":\"main\",\"index\":0}]]},\"Has the event been deleted?\":{\"main\":[[{\"node\":\"Increment loop_id\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do the times match?\",\"type\":\"main\",\"index\":0}]]},\"Get Events with ID + loop_id\":{\"main\":[[{\"node\":\"Rename to Calendar1\",\"type\":\"main\",\"index\":0}]]},\"Merge Clockify and Calendar data\":{\"main\":[[{\"node\":\"Does the calendar event already exist?\",\"type\":\"main\",\"index\":0}]]},\"Merge Clockify and Calendar data1\":{\"main\":[[{\"node\":\"Event exists already\",\"type\":\"main\",\"index\":0}]]},\"Does the calendar event already exist?\":{\"main\":[[{\"node\":\"Has the event been deleted?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create Event\",\"type\":\"main\",\"index\":0}]]},\"Translations for created Calendar Event\":{\"main\":[[{\"node\":\"Rename to Clockify\",\"type\":\"main\",\"index\":0},{\"node\":\"Get Events with ID\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Pruebas-ejemplos", "output": "{\"nodes\":[1],\"connections\":[\"notion\"]}" }, { "input": "Email to Discord", "output": "{\"id\":1,\"name\":\"My workflow\",\"tags\":[],\"nodes\":[{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[80,200],\"parameters\":{\"text\":\"=Te llegó un mail sacowe - {{$node[\\\"IMAP Email\\\"].json[\\\"subject\\\"]}}\",\"options\":{},\"webhookUri\":\"https://discordapp.com/api/webhooks/984855150285959220/iUUZdS3eso5xWZ1gy89XpYpoMBmJpXr0PI5Tzx-dnJqety7i_jqCWsxuciRCt23ren2C\"},\"typeVersion\":1},{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[-180,200],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"1\",\"name\":\"IMAP account\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IMAP Email\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Email to Discord", "output": "{\"id\":1,\"name\":\"Mail to Discord\",\"tags\":[],\"nodes\":[{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[80,200],\"parameters\":{\"text\":\"=Te llegó un mail sacowe - {{$node[\\\"IMAP Email\\\"].json[\\\"subject\\\"]}}\",\"options\":{},\"webhookUri\":\"https://discordapp.com/api/webhooks/984855150285959220/iUUZdS3eso5xWZ1gy89XpYpoMBmJpXr0PI5Tzx-dnJqety7i_jqCWsxuciRCt23ren2C\"},\"typeVersion\":1},{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[-180,200],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"1\",\"name\":\"IMAP account\"}},\"typeVersion\":1,\"continueOnFail\":true}],\"active\":true,\"settings\":{},\"connections\":{\"IMAP Email\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Email to Discord", "output": "{\"id\":1,\"name\":\"Mail to Discord\",\"tags\":[],\"nodes\":[{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[80,200],\"parameters\":{\"text\":\"=Te llegó un mail sacowe - {{$node[\\\"IMAP Email\\\"].json[\\\"subject\\\"]}}\",\"options\":{},\"webhookUri\":\"https://discordapp.com/api/webhooks/984855150285959220/iUUZdS3eso5xWZ1gy89XpYpoMBmJpXr0PI5Tzx-dnJqety7i_jqCWsxuciRCt23ren2C\"},\"typeVersion\":1},{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[-180,200],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"1\",\"name\":\"IMAP account\"}},\"typeVersion\":1,\"continueOnFail\":true}],\"active\":true,\"settings\":{},\"connections\":{\"IMAP Email\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Github Teams", "output": "{\"id\":\"5\",\"name\":\"new\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[540,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Github\",\"type\":\"n8n-nodes-base.github\",\"position\":[790,350],\"parameters\":{\"owner\":\"n8n-io\",\"resource\":\"repository\",\"operation\":\"getProfile\",\"repository\":\"n8n\"},\"credentials\":{\"githubApi\":\"shraddha\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Github\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Github Teams testing", "output": "{\"id\":\"5\",\"name\":\"new\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[540,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Github\",\"type\":\"n8n-nodes-base.github\",\"position\":[790,350],\"parameters\":{\"owner\":\"n8n-io\",\"resource\":\"repository\",\"operation\":\"getProfile\",\"repository\":\"n8n\"},\"credentials\":{\"githubApi\":\"shraddha\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Github\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test-2246534", "output": "{\"id\":\"73\",\"name\":\"Appreciate contributors\",\"nodes\":[{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[990,580],\"webhookId\":\"1a5cb17c-0c69-4736-b8f0-914cbe1e8130\",\"parameters\":{\"owner\":\"harshil1712\",\"events\":[\"pull_request\"],\"repository\":\"test\"},\"credentials\":{\"githubApi\":\"github\"},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[1190,580],\"parameters\":{\"text\":\"=Thank you {{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"pull_request\\\"][\\\"user\\\"][\\\"login\\\"]}} for your contribution! ✨\\nCheckout the PR they just created: {{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"pull_request\\\"][\\\"html_url\\\"]}}\\n\\n#Hacktoberfest\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter-Harshil\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Github Trigger\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test workspace", "output": "{\"nodes\":[10],\"connections\":[]}" }, { "input": "test workspace", "output": "{\"nodes\":[10],\"connections\":[10]}" }, { "input": "test workspace", "output": "{\"nodes\":[10],\"connections\":[10]}" }, { "input": "Export CSV file to JSON", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-240,180],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[-60,180],\"parameters\":{\"filePath\":\"/username/n8n_spreadsheet.csv\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[120,180],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[300,180],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[480,180],\"parameters\":{\"fileName\":\"/username/n8n_spreadsheet.json\"},\"typeVersion\":1}],\"connections\":{\"Move Binary Data\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Export CSV file to JSON", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-240,180],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[-60,180],\"parameters\":{\"filePath\":\"/username/n8n_spreadsheet.csv\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[120,180],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[300,180],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[480,180],\"parameters\":{\"fileName\":\"/username/n8n_spreadsheet.json\"},\"typeVersion\":1}],\"connections\":{\"Move Binary Data\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import a JSON file from Gmail into a spreadsheet", "output": "{\"nodes\":[{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"notes\":\"Get email with JSON file\",\"position\":[620,140],\"parameters\":{\"limit\":1,\"operation\":\"getAll\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"16\",\"name\":\"gmail\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"write spreadsheet file\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[980,140],\"parameters\":{\"options\":{\"fileName\":\"users_spreadsheet.csv\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"move binary data \",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[800,140],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[200,160],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON file > Sheets\"},\"typeVersion\":1}],\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"move binary data \",\"type\":\"main\",\"index\":0}]]},\"move binary data \":{\"main\":[[{\"node\":\"write spreadsheet file\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import a JSON file from Gmail into a spreadsheet", "output": "{\"nodes\":[{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"notes\":\"Get email with JSON file\",\"position\":[620,140],\"parameters\":{\"limit\":1,\"operation\":\"getAll\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"16\",\"name\":\"gmail\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"write spreadsheet file\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[980,140],\"parameters\":{\"options\":{\"fileName\":\"users_spreadsheet.csv\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"move binary data \",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[800,140],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[200,160],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON file > Sheets\"},\"typeVersion\":1}],\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"move binary data \",\"type\":\"main\",\"index\":0}]]},\"move binary data \":{\"main\":[[{\"node\":\"write spreadsheet file\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Export JSON file to Google Sheets", "output": "{\"nodes\":[{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"Append data to sheet\",\"position\":[980,-120],\"parameters\":{\"range\":\"A:C\",\"options\":{\"usePathForKeyRow\":true},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"read json file\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[620,-120],\"parameters\":{\"filePath\":\"/username/users_spreadsheet.json\"},\"typeVersion\":1},{\"name\":\"move binary data 2\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[800,-120],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"connections\":{\"read json file\":{\"main\":[[{\"node\":\"move binary data 2\",\"type\":\"main\",\"index\":0}]]},\"move binary data 2\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import JSON data into Google Sheets and CSV file", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[560,840],\"parameters\":{\"url\":\"https://randomuser.me/api/\",\"options\":{}},\"typeVersion\":2},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[960,700],\"parameters\":{\"range\":\"A:C\",\"options\":{\"usePathForKeyRow\":true},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[760,840],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"={{$json[\\\"results\\\"][0][\\\"name\\\"][\\\"first\\\"]}} {{$json[\\\"results\\\"][0][\\\"name\\\"][\\\"last\\\"]}}\"},{\"name\":\"country\",\"value\":\"={{$json[\\\"results\\\"][0][\\\"location\\\"][\\\"country\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[960,980],\"parameters\":{\"options\":{\"fileName\":\"users_spreadsheet\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1160,720],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON > Google Sheets\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1140,980],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON > CSV\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0},{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import JSON data into Google Sheets and CSV file", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[560,840],\"parameters\":{\"url\":\"https://randomuser.me/api/\",\"options\":{}},\"typeVersion\":2},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[960,700],\"parameters\":{\"range\":\"A:C\",\"options\":{\"usePathForKeyRow\":true},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[760,840],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"={{$json[\\\"results\\\"][0][\\\"name\\\"][\\\"first\\\"]}} {{$json[\\\"results\\\"][0][\\\"name\\\"][\\\"last\\\"]}}\"},{\"name\":\"country\",\"value\":\"={{$json[\\\"results\\\"][0][\\\"location\\\"][\\\"country\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[960,980],\"parameters\":{\"options\":{\"fileName\":\"users_spreadsheet\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1160,720],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON > Google Sheets\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1140,980],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON > CSV\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0},{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Move data between JSON and spreadsheets", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[560,700],\"parameters\":{\"url\":\"https://randomuser.me/api/\",\"options\":{}},\"typeVersion\":2},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[960,560],\"parameters\":{\"range\":\"A:C\",\"options\":{\"usePathForKeyRow\":true},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[760,700],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"={{$json[\\\"results\\\"][0][\\\"name\\\"][\\\"first\\\"]}} {{$json[\\\"results\\\"][0][\\\"name\\\"][\\\"last\\\"]}}\"},{\"name\":\"country\",\"value\":\"={{$json[\\\"results\\\"][0][\\\"location\\\"][\\\"country\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[960,840],\"parameters\":{\"options\":{\"fileName\":\"users_spreadsheet\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[960,1200],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[1360,1200],\"parameters\":{\"fileName\":\"randomusers.json\"},\"typeVersion\":1},{\"name\":\"Move Binary Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1160,1200],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1360,1420],\"parameters\":{\"message\":\"Hello, attached is a JSON file with random user information.\",\"subject\":\"JSON file with users\",\"additionalFields\":{\"attachmentsUi\":{\"attachmentsBinary\":[{\"property\":\"data\"}]}}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"16\",\"name\":\"gmail\"}},\"typeVersion\":1},{\"name\":\"Google Sheets2\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"Append data to sheet\",\"position\":[1760,1420],\"parameters\":{\"range\":\"A:C\",\"options\":{\"usePathForKeyRow\":true},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Move Binary Data2\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1560,1420],\"parameters\":{\"options\":{},\"sourceKey\":\"attachment_0\"},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1200,560],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON > Google Sheets\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1200,860],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON > CSV\"},\"typeVersion\":1},{\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[580,1220],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## CSV > JSON file\"},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[980,1460],\"parameters\":{\"width\":320,\"height\":80,\"content\":\"## JSON file > Google Sheets\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0},{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Gmail1\":{\"main\":[[{\"node\":\"Move Binary Data2\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data1\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data2\":{\"main\":[[{\"node\":\"Google Sheets2\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"Move Binary Data1\",\"type\":\"main\",\"index\":0}]]},\"Write Binary File\":{\"main\":[[{\"node\":\"Gmail1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n Workflow Backup -> Dropbox", "output": "{\"id\":\"5dcd7226db772d9a7f80f0c1\",\"name\":\"Example - Backup n8n to Dropbox\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,180],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"* */6 * * *\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[770,180],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1070,180],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"useRawData\":false}},\"typeVersion\":1},{\"name\":\"Map\",\"type\":\"n8n-nodes-base.function\",\"position\":[520,180],\"parameters\":{\"functionCode\":\"return items[0].json.data.map(item => {\\n return {json: item}\\n});\"},\"typeVersion\":1},{\"name\":\"Get Workflow\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,320],\"parameters\":{\"url\":\"=http://localhost:5678/rest/workflows/{{$node[\\\"Map\\\"].data[\\\"id\\\"]}}\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Get Workflow List\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[380,180],\"parameters\":{\"url\":\"http://localhost:5678/rest/workflows\",\"options\":{}},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[920,180],\"parameters\":{\"functionCode\":\"item = item.data;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Dropbox\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1210,180],\"parameters\":{\"path\":\"=/n8n/Backup/lacnet1/{{$node[\\\"Merge\\\"].data[\\\"name\\\"]}}.json\",\"binaryData\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Map\":{\"main\":[[{\"node\":\"Get Workflow\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Get Workflow List\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Dropbox\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow List\":{\"main\":[[{\"node\":\"Map\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get Workflow List\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "JF Universal MKT Object Integration", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[420,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Salesforce\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[620,260],\"parameters\":{\"company\":\"CompanyInc\",\"lastname\":\"DudeOne\",\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":\"salesforce_creds\"},\"typeVersion\":1},{\"name\":\"Salesforce1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[810,260],\"parameters\":{\"leadId\":\"={{$node[\\\"Salesforce\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"city\":\"Berlin\"}},\"credentials\":{\"salesforceOAuth2Api\":\"salesforce_creds\"},\"typeVersion\":1},{\"name\":\"Salesforce2\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1020,260],\"parameters\":{\"title\":\"Deal Won!\",\"leadId\":\"={{$node[\\\"Salesforce\\\"].json[\\\"id\\\"]}}\",\"options\":{},\"operation\":\"addNote\"},\"credentials\":{\"salesforceOAuth2Api\":\"salesforce_creds\"},\"typeVersion\":1}],\"connections\":{\"Salesforce\":{\"main\":[[{\"node\":\"Salesforce1\",\"type\":\"main\",\"index\":0}]]},\"Salesforce1\":{\"main\":[[{\"node\":\"Salesforce2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Salesforce\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Working with dates and times", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[1140,780],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1480,760],\"parameters\":{\"width\":560,\"height\":400,\"content\":\"## 2. Advanced way: Using Expressions\\nIn this `Set` node, we set dates using [Luxon expressions](https://docs.n8n.io/code-examples/expressions/luxon/) for the following formats:\\n\\nNow - `{{$now}}`\\nCurrent time with seconds - `{{$now.toLocaleString(DateTime.TIME_WITH_SECONDS)}}`\\nToday - `{{$today}}`\\nTomorrow - `{{$today.plus({days: 1})}}`\\nOne hour ago - `{{$now.minus({hours: 1})}}`\\nWeekday name - `{{$today.weekdayLong}}`\\n\\n\"},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[660,780],\"parameters\":{\"width\":420,\"height\":100,\"content\":\"### Click the `Execute Workflow` button and double click on the nodes to see the input and output items.\"},\"typeVersion\":1},{\"name\":\"12 Hours from now\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1520,580],\"parameters\":{\"value\":\"={{$now}}\",\"action\":\"calculate\",\"options\":{},\"duration\":12,\"timeUnit\":\"hours\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1480,400],\"parameters\":{\"width\":560,\"height\":340,\"content\":\"## 1. Simple Way: Using the Date & Time node\\nThere are two actions available within the `Date & Time` node:\\n1. Calculating a date - adding/substracting minutes,hours, days, etc.\\n2. Formatting a date\\n\\n\"},\"typeVersion\":1},{\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1980,860],\"parameters\":{\"width\":480,\"height\":320,\"content\":\"### 2.1 Working with an existing time string\\nAs items pass between nodes, n8n saves dates as ISO strings. This means that in order to work with the data as a date again, we need to convert it back using `DateTime.fromISO('yyyy-mm-dd')`\\n. Once doing that, we are able to apply date and time function again such as : `{{DateTime.fromISO($json[\\\"Now\\\"]).toFormat('yyyy LLL dd')}}`\"},\"typeVersion\":1},{\"name\":\"Set times\",\"type\":\"n8n-nodes-base.set\",\"position\":[1520,1020],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Now\",\"value\":\"={{$now}}\"},{\"name\":\"Current time with seconds\",\"value\":\"={{$now.toLocaleString(DateTime.TIME_WITH_SECONDS)}}\"},{\"name\":\"Today\",\"value\":\"={{$today}}\"},{\"name\":\"Tomorrow\",\"value\":\"={{$today.plus({days: 1})}}\"},{\"name\":\"One hour from now\",\"value\":\"={{$now.minus({hours: 1})}}\"},{\"name\":\"Weekday\",\"value\":\"={{$today.weekdayLong}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Edit times\",\"type\":\"n8n-nodes-base.set\",\"position\":[2080,1020],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Current time\",\"value\":\"={{DateTime.fromISO($json[\\\"Now\\\"])}}\"},{\"name\":\"Current time formatted\",\"value\":\"={{DateTime.fromISO($json[\\\"Now\\\"]).toFormat('yyyy LLL dd')}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Format - MMMM DD YY\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1760,580],\"parameters\":{\"value\":\"={{$now}}\",\"options\":{},\"toFormat\":\"MMMM DD YYYY\"},\"typeVersion\":1}],\"connections\":{\"Set times\":{\"main\":[[{\"node\":\"Edit times\",\"type\":\"main\",\"index\":0}]]},\"12 Hours from now\":{\"main\":[[{\"node\":\"Format - MMMM DD YY\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set times\",\"type\":\"main\",\"index\":0},{\"node\":\"12 Hours from now\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Filtering and branching data", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[20,720],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[220,720],\"parameters\":{\"operation\":\"getAllPeople\"},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[500,600],\"parameters\":{\"width\":520,\"height\":280,\"content\":\"## 2. If with And/Or conditions\\nSet the **Combine** field to: \\n`ALL` for `AND` condition\\n`ANY` for `OR` condition\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[500,920],\"parameters\":{\"width\":520,\"height\":360,\"content\":\"## 3. Multiple branches\\nWe use the `Switch` when there more than 2 possible outcomes to the filtering. We do that by specifying the condition under **Routing rules** inside the node.\\n\\nIn this example we send all **US-based** customers data to route 0, **customers from CO** to route 1, **customers from the UK** to route 2, and all the rest to route 3 as a fallback\"},\"typeVersion\":1},{\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[500,300],\"parameters\":{\"width\":520,\"height\":260,\"content\":\"## 1. Single condition If\\nFilter out data that you don't want or send data to different branches\"},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-520,660],\"parameters\":{\"width\":480,\"height\":240,\"content\":\"## The `If` and the `Switch` nodes are the key nodes to set conditional logic for filtering and routing data\\n\\n\\n### Click `Execute Workflow` button and double click on the nodes to see the input and output items when you click on each node.\"},\"typeVersion\":1},{\"name\":\"Country equals US\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,420],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"country\\\"]}}\",\"value2\":\"US\"}]}},\"typeVersion\":1},{\"name\":\"Country is empty or Name contains 'Max'\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,720],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"country\\\"]}}\",\"operation\":\"isEmpty\"},{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"value2\":\"Max\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Country based branching\",\"type\":\"n8n-nodes-base.switch\",\"position\":[540,1120],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"US\"},{\"output\":1,\"value2\":\"CO\"},{\"output\":2,\"value2\":\"UK\"}]},\"value1\":\"={{$json[\\\"country\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1}],\"connections\":{\"Customer Datastore\":{\"main\":[[{\"node\":\"Country is empty or Name contains 'Max'\",\"type\":\"main\",\"index\":0},{\"node\":\"Country based branching\",\"type\":\"main\",\"index\":0},{\"node\":\"Country equals US\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Joining different datasets", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"9971f7ab-ecc3-468b-8eb9-b58491b660bd\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[1040,360],\"parameters\":{},\"typeVersion\":1},{\"id\":\"bb212963-9b6f-434c-9777-3360fb456d4b\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1320,600],\"parameters\":{\"width\":1020,\"height\":360,\"content\":\"# 3. Add items from B below items from A\\n\"},\"typeVersion\":1},{\"id\":\"cc9461f1-1016-4ef5-bc10-525942c45047\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1320,-200],\"parameters\":{\"width\":1020,\"height\":380,\"content\":\"# 1. Keep items from A if there's a match in B\\n\"},\"typeVersion\":1},{\"id\":\"09a68f64-5b2d-43a8-acff-7c26817cc025\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1320,200],\"parameters\":{\"width\":1020,\"height\":380,\"content\":\"# 2. Enrich items from A with matching data from B\"},\"typeVersion\":1},{\"id\":\"bcf0c7df-fb64-4ef8-9d75-300ff9b55f40\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[175,235],\"parameters\":{\"width\":740,\"height\":460,\"content\":\"# Aggregating data with the Merge node\\n\\n## The merge node is one of the most useful nodes in n8n. In this workflow we show how to merge data from two different sources (similar to SQL joins).\\n\\n## The most-used operations of the merge node are presented here. For more info, browse the [merge node docs](https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.merge/)\\n\\n## Click the `Execute Workflow` button and double click on the nodes to see the input and output items.\"},\"typeVersion\":1},{\"id\":\"b418defd-f58f-4f53-9bac-b1e6611151dc\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1855,335],\"parameters\":{\"width\":480,\"content\":\"## Adds the quantity needed to each ingredient in the recipe\\n\\n## Similar to SQL Left join\\n\\n\"},\"typeVersion\":1},{\"id\":\"017b5902-865e-4481-98d2-0a969cc09482\",\"name\":\"Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1855,-65],\"parameters\":{\"width\":480,\"content\":\"## This will keep only the ingredients needed that are also in stock\\n\\n## Similar to SQL Inner join\"},\"typeVersion\":1},{\"id\":\"e2b46667-da41-4448-a74d-3aa095f72619\",\"name\":\"Note9\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1855,695],\"parameters\":{\"width\":480,\"height\":200,\"content\":\"## This will create a super band by merging Queen and Led Zeppelin\\n\\n## Similar to SQL Union All \\n(more flexible as not requires all fields to be the same)\"},\"typeVersion\":1},{\"id\":\"9726c9cc-cab1-44f8-8c62-2b80899af4aa\",\"name\":\"Ingredients in stock from recipe\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,-20],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"mergeByFields\":{\"values\":[{\"field1\":\"Name\",\"field2\":\"Name\"}]}},\"typeVersion\":2},{\"id\":\"42367b1e-8a5d-4b0c-bfd3-8bb3f1b63df9\",\"name\":\"Super Band\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1620,760],\"parameters\":{},\"typeVersion\":2},{\"id\":\"b4a756d8-a729-4add-aafa-9868738a6790\",\"name\":\"A. Ingredients Needed\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,-100],\"parameters\":{\"jsCode\":\" return [\\n {\\n \\\"Name\\\": \\\"Flour\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Eggs\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Milk\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Lemon\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Sugar\\\",\\n },\\n];\\n\"},\"typeVersion\":1},{\"id\":\"eb69abdc-cb89-43c5-bcd6-5f1f6383b391\",\"name\":\"B. Ingredients in stock\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,40],\"parameters\":{\"jsCode\":\" return [\\n {\\n \\\"Name\\\": \\\"Eggs\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Lemon\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Sugar\\\",\\n },\\n];\\n\"},\"typeVersion\":1},{\"id\":\"b01228b8-c860-4725-a0e1-00b4c11218cc\",\"name\":\"Merge recipe\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1620,380],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"joinMode\":\"enrichInput1\",\"mergeByFields\":{\"values\":[{\"field1\":\"Name\",\"field2\":\"Name\"}]}},\"typeVersion\":2},{\"id\":\"fdb8a9cb-8a85-4a9a-bd2f-c9711178333f\",\"name\":\"A. Ingredients\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,300],\"parameters\":{\"jsCode\":\" return [\\n {\\n \\\"Name\\\": \\\"Flour\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Eggs\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Milk\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Lemon\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Sugar\\\",\\n },\\n];\\n\"},\"typeVersion\":1},{\"id\":\"2ca385e5-6833-49fa-b052-abc8583b4a7a\",\"name\":\"B. Recipe quantities\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,440],\"parameters\":{\"jsCode\":\" return [\\n {\\n \\\"Name\\\": \\\"Flour\\\",\\n \\\"Quantity\\\": \\\"100g\\\",\\n },\\n {\\n \\\"Name\\\": \\\"Eggs\\\",\\n \\\"Quantity\\\": 2,\\n },\\n {\\n \\\"Name\\\": \\\"Salt\\\",\\n \\\"Quantity\\\": \\\"50g\\\"\\n },\\n {\\n \\\"Name\\\": \\\"Lemon\\\",\\n \\\"Quantity\\\": 1,\\n },\\n {\\n \\\"Name\\\": \\\"Sugar\\\",\\n \\\"Quantity\\\": \\\"6tbsp\\\",\\n },\\n];\\n\"},\"typeVersion\":1},{\"id\":\"8e4c7da8-3700-4b1f-b937-739debf7aba4\",\"name\":\"A. Queen\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,680],\"parameters\":{\"jsCode\":\" return [\\n{\\n\\\"FirstName\\\": \\\"John\\\",\\n\\\"LastName\\\": \\\"Deacon\\\",\\n\\\"Instrument\\\": \\\"Drums\\\",\\n},\\n{\\n\\\"FirstName\\\": \\\"Freddy\\\",\\n\\\"LastName\\\": \\\"Mercury\\\",\\n\\\"Instrument\\\": \\\"Vocals and Piano\\\",\\n\\\"Superpower\\\": \\\"Crowd control\\\"\\n},\\n{\\n\\\"FirstName\\\": \\\"Brian\\\",\\n\\\"LastName\\\": \\\"May\\\",\\n\\\"Instrument\\\": \\\"Guitar\\\",\\n},\\n{\\n\\\"FirstName\\\": \\\"Roger\\\",\\n\\\"LastName\\\": \\\"Taylor\\\",\\n\\\"Instrument\\\": \\\"Bass\\\",\\n}\\n];\\n\"},\"typeVersion\":1},{\"id\":\"260c7a0a-43ba-46aa-bfa8-cbbb66aca493\",\"name\":\"B. Led Zeppelin\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,820],\"parameters\":{\"jsCode\":\" return [\\n{\\n\\\"FirstName\\\": \\\"Jimmy\\\",\\n\\\"LastName\\\": \\\"Page\\\",\\n\\\"Instrument\\\": \\\"Guitar\\\"\\n},\\n{\\n\\\"FirstName\\\": \\\"Robert\\\",\\n\\\"LastName\\\": \\\"Plant\\\",\\n\\\"Instrument\\\": \\\"Vocals\\\",\\n},\\n{\\n\\\"FirstName\\\": \\\"John\\\",\\n\\\"LastName\\\": \\\"Bonham\\\",\\n\\\"Instrument\\\": \\\"Drums\\\",\\n},\\n{\\n\\\"FirstName\\\": \\\"John\\\",\\n\\\"LastName\\\": \\\"Paul Jones\\\",\\n\\\"Instrument\\\": \\\"Bass\\\",\\n\\\"Second Instrument\\\": \\\"Keyboard\\\",\\n}\\n];\\n\"},\"typeVersion\":1}],\"connections\":{\"A. Queen\":{\"main\":[[{\"node\":\"Super Band\",\"type\":\"main\",\"index\":0}]]},\"A. Ingredients\":{\"main\":[[{\"node\":\"Merge recipe\",\"type\":\"main\",\"index\":0}]]},\"B. Led Zeppelin\":{\"main\":[[{\"node\":\"Super Band\",\"type\":\"main\",\"index\":1}]]},\"B. Recipe quantities\":{\"main\":[[{\"node\":\"Merge recipe\",\"type\":\"main\",\"index\":1}]]},\"A. Ingredients Needed\":{\"main\":[[{\"node\":\"Ingredients in stock from recipe\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"A. Ingredients Needed\",\"type\":\"main\",\"index\":0},{\"node\":\"B. Ingredients in stock\",\"type\":\"main\",\"index\":0},{\"node\":\"A. Ingredients\",\"type\":\"main\",\"index\":0},{\"node\":\"B. Recipe quantities\",\"type\":\"main\",\"index\":0},{\"node\":\"A. Queen\",\"type\":\"main\",\"index\":0},{\"node\":\"B. Led Zeppelin\",\"type\":\"main\",\"index\":0}]]},\"B. Ingredients in stock\":{\"main\":[[{\"node\":\"Ingredients in stock from recipe\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Pulling data from services that n8n doesn’t have a pre-built integration for", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"25ac6cda-31fb-474a-b6b6-083ec03b9273\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[925,285],\"parameters\":{},\"typeVersion\":1},{\"id\":\"93eaee43-7a39-4c83-aeaa-9ca14d0f4b4b\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,240],\"parameters\":{\"width\":440,\"height\":200,\"content\":\"## HTTP Request\\n### This workflow shows the most common use cases of the HTTP request node, and how to handle its output\\n\\n\\n### Click the `Execute Workflow` button and double click on the nodes to see the input and output items.\"},\"typeVersion\":1},{\"id\":\"3ccdc45b-aae1-4760-b45e-5b8dca2a9fcf\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1280,480],\"parameters\":{\"width\":986.3743856726365,\"height\":460.847917534361,\"content\":\"## 3. Handle Pagination\\n### Sometimes you need to make the same request multiple times to get all the data you need (pagination).\\n\\n### The pagination process goes as follow:\\n### 1. Loop through the pages of the input source (`HTTP Request` node named \\\"Get my Starts\\\")\\n### 2. Increment the page at the end of each loop (done with the `set` node named \\\"Increment Page\\\") \\n### 3. Stop looping when there are no pages left (checked at the `If` node named \\\"Are we Finished?\\\")\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"af19bb6d-5f0a-41ca-93b2-dbd27c3fd07e\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1345,725],\"parameters\":{\"values\":{\"number\":[{\"name\":\"page\"},{\"name\":\"perpage\",\"value\":15}],\"string\":[{\"name\":\"githubUser\",\"value\":\"that-one-tom\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"dad6055d-e06b-4f8c-ab90-deb196fce277\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1280,180],\"parameters\":{\"width\":680,\"height\":280,\"content\":\"## 2. Data Scraping\\n### In this example we fetch the titles from the n8n blog using the `HTTP request` node and then we use the `HTML extract` node to pass.\"},\"typeVersion\":1},{\"id\":\"a7d4b9db-4d38-4b8d-9585-fe65c379e381\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1280,-120],\"parameters\":{\"width\":500,\"height\":280,\"content\":\"## 1. Split into items\\n### In this example, we take the body from an `HTTP Request` node and split it out into items that are easier to manage.\"},\"typeVersion\":1},{\"id\":\"d8402820-fa72-4957-8cf6-432f928ae799\",\"name\":\"Item Lists - Create Items from Body\",\"type\":\"n8n-nodes-base.itemLists\",\"notes\":\"Create Items from Body\",\"position\":[1525,-15],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"body\"},\"notesInFlow\":false,\"typeVersion\":1},{\"id\":\"598939cd-e4c0-4a90-bd1f-f2b13ccbe072\",\"name\":\"HTML Extract - Extract Article Title\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1505,285],\"parameters\":{\"options\":{},\"sourceData\":\"binary\",\"extractionValues\":{\"values\":[{\"key\":\"ArticleTitle\",\"cssSelector\":\"#firstHeading\"}]}},\"typeVersion\":1},{\"id\":\"1c9b609c-5e41-4444-ade7-e1069943c904\",\"name\":\"Item Lists - Fetch Body\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1705,725],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"body\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"15dfab42-440c-4d06-9ba2-b7b17371d009\",\"name\":\"If - Are we finished?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1885,725],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"HTTP Request - Get my Stars\\\"].json[\\\"body\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"ba6e6904-6749-4ea2-84c1-8409b795bcf5\",\"name\":\"Set - Increment Page\",\"type\":\"n8n-nodes-base.set\",\"position\":[2105,745],\"parameters\":{\"values\":{\"string\":[{\"name\":\"page\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"page\\\"]++}}\"}]},\"options\":{}},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"9f0df828-27d7-4994-8934-c8fe88af8566\",\"name\":\"HTTP Request - Get Mock Albums\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1345,-15],\"parameters\":{\"url\":\"https://jsonplaceholder.typicode.com/albums\",\"options\":{\"response\":{\"response\":{\"fullResponse\":true}}}},\"typeVersion\":3},{\"id\":\"cbc64010-f6f4-4c35-b4e2-9e1d4a748308\",\"name\":\"HTTP Request - Get Wikipedia Page\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1325,285],\"parameters\":{\"url\":\"https://en.wikipedia.org/wiki/Special:Random\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}},\"response\":{\"response\":{\"responseFormat\":\"file\"}}}},\"typeVersion\":3},{\"id\":\"a1a19268-0be8-4379-99a4-4285c68691b5\",\"name\":\"HTTP Request - Get my Stars\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1525,725],\"parameters\":{\"url\":\"=https://api.github.com/users/{{$node[\\\"Set\\\"].json[\\\"githubUser\\\"]}}/starred\",\"options\":{\"response\":{\"response\":{\"fullResponse\":true}}},\"sendQuery\":true,\"queryParameters\":{\"parameters\":[{\"name\":\"per_page\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"perpage\\\"]}}\"},{\"name\":\"page\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"page\\\"]}}\"}]}},\"typeVersion\":3}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"HTTP Request - Get my Stars\",\"type\":\"main\",\"index\":0}]]},\"Set - Increment Page\":{\"main\":[[{\"node\":\"HTTP Request - Get my Stars\",\"type\":\"main\",\"index\":0}]]},\"If - Are we finished?\":{\"main\":[null,[{\"node\":\"Set - Increment Page\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0},{\"node\":\"HTTP Request - Get Mock Albums\",\"type\":\"main\",\"index\":0},{\"node\":\"HTTP Request - Get Wikipedia Page\",\"type\":\"main\",\"index\":0}]]},\"Item Lists - Fetch Body\":{\"main\":[[{\"node\":\"If - Are we finished?\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request - Get my Stars\":{\"main\":[[{\"node\":\"Item Lists - Fetch Body\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request - Get Mock Albums\":{\"main\":[[{\"node\":\"Item Lists - Create Items from Body\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request - Get Wikipedia Page\":{\"main\":[[{\"node\":\"HTML Extract - Extract Article Title\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Rate limiting and waiting for external events", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[400,520],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1500,360],\"parameters\":{\"width\":780,\"height\":360,\"content\":\"## 2. Wait for an external event\\nUse this operation when an external step is needed in order to continue with the rest of the workflow.\\nFor example - a workflow sends a purchase approval link to the merchant (using Gmail, Slack etc..) and waits for the merchant to click on it before continuing with the rest of the steps.\\n\\nIn this example, the `Customer Messenger` node mimics the email or messaging node.\\n\"},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[200,380],\"parameters\":{\"width\":300,\"height\":120,\"content\":\"### Click the `Execute Workflow` button and double click on the nodes to see the input and output items.\"},\"typeVersion\":1},{\"name\":\"Create approval URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[1540,520],\"parameters\":{\"values\":{\"string\":[{\"name\":\"URL\",\"value\":\"={{$resumeWebhookUrl}}?name=nathan\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Wait for external approval\",\"type\":\"n8n-nodes-base.wait\",\"position\":[1940,520],\"webhookId\":\"0bcafff8-9fc1-4415-95b1-00746bb1304d\",\"parameters\":{\"resume\":\"webhook\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Rest of the workflow placeholder\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2140,520],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[580,520],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[760,520],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[540,360],\"parameters\":{\"width\":900,\"height\":360,\"content\":\"## 1. Rate Limiting \\nSometimes you need to slow down how often you are contacting a service.\\n\\nIn this example, `Customer Datastore` node simulates the big batches of requests coming at once, the `SplitInBatches` node handles each one individually in a loop, and the `Wait` node creates a 2 second delay between each message to a customer.\"},\"typeVersion\":1},{\"name\":\"Wait for time interval\",\"type\":\"n8n-nodes-base.wait\",\"position\":[920,520],\"webhookId\":\"2b72e9d7-75b7-4ef5-87e7-2bfdfdbaa20f\",\"parameters\":{\"unit\":\"seconds\",\"amount\":2},\"typeVersion\":1},{\"name\":\"If - Are we Finished?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1280,520],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Customer Messenger - Send URL to merchant\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerMessenger\",\"position\":[1740,520],\"parameters\":{\"message\":\"={{$json[\\\"URL\\\"]}}\",\"customerId\":\"1\"},\"typeVersion\":1},{\"name\":\"Customer Messenger - Send message to client\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerMessenger\",\"position\":[1100,520],\"parameters\":{\"message\":\"=\\nHi {{$node[\\\"Customer Datastore\\\"].json[\\\"name\\\"]}}\\nThis message was sent at {{$now.toLocaleString(DateTime.TIME_WITH_SECONDS)}}\",\"customerId\":\"={{$node[\\\"Customer Datastore\\\"].json[\\\"id\\\"]}}\"},\"typeVersion\":1}],\"connections\":{\"SplitInBatches\":{\"main\":[[{\"node\":\"Wait for time interval\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Create approval URL\":{\"main\":[[{\"node\":\"Customer Messenger - Send URL to merchant\",\"type\":\"main\",\"index\":0}]]},\"If - Are we Finished?\":{\"main\":[[{\"node\":\"Create approval URL\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]},\"Wait for time interval\":{\"main\":[[{\"node\":\"Customer Messenger - Send message to client\",\"type\":\"main\",\"index\":0}]]},\"Wait for external approval\":{\"main\":[[{\"node\":\"Rest of the workflow placeholder\",\"type\":\"main\",\"index\":0}]]},\"Customer Messenger - Send URL to merchant\":{\"main\":[[{\"node\":\"Wait for external approval\",\"type\":\"main\",\"index\":0}]]},\"Customer Messenger - Send message to client\":{\"main\":[[{\"node\":\"If - Are we Finished?\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Backs up n8n Workflows to NextCloud", "output": "{\"id\":\"5dcd71e5db772d996680f0be\",\"name\":\"Example - Backup n8n to Nextcloud\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,180],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"* */6 * * *\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[770,180],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1070,180],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"useRawData\":false}},\"typeVersion\":1},{\"name\":\"Map\",\"type\":\"n8n-nodes-base.function\",\"position\":[520,180],\"parameters\":{\"functionCode\":\"return items[0].json.data.map(item => {\\n return {json: item}\\n});\"},\"typeVersion\":1},{\"name\":\"Get Workflow\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,320],\"parameters\":{\"url\":\"=http://localhost:5678/rest/workflows/{{$node[\\\"Map\\\"].data[\\\"id\\\"]}}\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Get Workflow List\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[380,180],\"parameters\":{\"url\":\"http://localhost:5678/rest/workflows\",\"options\":{}},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[920,180],\"parameters\":{\"functionCode\":\"item = item.data;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"NextCloud1\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[1210,180],\"parameters\":{\"path\":\"=/n8n/Backup/lacnet1/{{$node[\\\"Merge\\\"].data[\\\"name\\\"]}}.json\",\"binaryDataUpload\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Map\":{\"main\":[[{\"node\":\"Get Workflow\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Get Workflow List\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"NextCloud1\":{\"main\":[[]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"NextCloud1\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow List\":{\"main\":[[{\"node\":\"Map\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get Workflow List\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Creating an API endpoint", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"f80aceed-b676-42aa-bf25-f7a44408b1bc\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[375,115],\"webhookId\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"parameters\":{\"path\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"3b9ec913-0bbe-4906-bf8e-da352b556655\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[355,-25],\"parameters\":{\"width\":600,\"height\":280,\"content\":\"## Create a simple API endpoint\\n\\nIn this workflow we show how to create a simple API endpoint with `Webhook` and `Respond to Webhook` nodes\\n\\n\"},\"typeVersion\":1},{\"id\":\"9c36dae5-0700-450c-9739-e9f3eff31bfe\",\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[815,115],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"=The URL of the Google search query for the term \\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"first_name\\\"]}} {{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"last_name\\\"]}}\\\" is: {{$json[\\\"product\\\"]}}\"},\"typeVersion\":1},{\"id\":\"5a228fcb-78b9-4a28-95d2-d7c9fdf1d4ea\",\"name\":\"Create URL string\",\"type\":\"n8n-nodes-base.set\",\"position\":[595,115],\"parameters\":{\"values\":{\"string\":[{\"name\":\"product\",\"value\":\"=https://www.google.com/search?q={{$json[\\\"query\\\"][\\\"first_name\\\"]}}+{{$json[\\\"query\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"e7971820-45a8-4dc8-ba4c-b3220d65307a\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[355,275],\"parameters\":{\"width\":600,\"height\":220,\"content\":\"### How to use it\\n1. Execute the workflow so that the webhook starts listening\\n2. Make a test request by pasting, **in a new browser tab**, the test URL from the `Webhook` node and appending the following test at the end `?first_name=bob&last_name=dylan`\\n\\nYou will receive the following output in the new tab `The URL of the Google search query for the term \\\"bob dylan\\\" is: https://www.google.com/search?q=bob+dylan`\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Create URL string\",\"type\":\"main\",\"index\":0}]]},\"Create URL string\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Preparing data to be sent to a service", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[1160,480],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[800,420],\"parameters\":{\"width\":320,\"height\":200,\"content\":\"### Very often your data is not in the right format to insert in a node. you can use the set node to fix it.\\n\\n### Click the `Execute Workflow` button and double click on the nodes to see the input and output items.\"},\"typeVersion\":1},{\"name\":\"Create or Update record in Google Sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1920,480],\"parameters\":{\"range\":\"A:C\",\"options\":{},\"sheetId\":\"13_bAEYNTzVXVY6SfAkBa9ijtJGSxPd8D-hcXXwXtdDo\",\"operation\":\"upsert\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"8\",\"name\":\"Sheets\"}},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1480,360],\"parameters\":{\"width\":400,\"height\":280,\"content\":\"\\nThis is where we put the data in the format that Google Sheets expect. \\nThis means changing the field name from `name` to `Full name`, dropping all fields except `ID`, `Email` and adding a `Created time` field\"},\"typeVersion\":1},{\"name\":\"Set - Prepare fields\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Prepare fields\",\"position\":[1620,480],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ID\",\"value\":\"={{$json[\\\"id\\\"]}}\"}],\"string\":[{\"name\":\"Full name\",\"value\":\"={{$json[\\\"name\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Created time\",\"value\":\"={{$now}}\"}]},\"options\":{},\"keepOnlySet\":true},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"Customer Datastore - Generate some data\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[1340,480],\"parameters\":{\"operation\":\"getAllPeople\"},\"typeVersion\":1}],\"connections\":{\"Set - Prepare fields\":{\"main\":[[{\"node\":\"Create or Update record in Google Sheet\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore - Generate some data\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore - Generate some data\":{\"main\":[[{\"node\":\"Set - Prepare fields\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import data from Google Sheets into MySQL", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[100,160],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"MySQL - insert\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[500,160],\"parameters\":{\"table\":\"books\",\"columns\":\"title, price\",\"options\":{\"ignore\":true,\"priority\":\"LOW_PRIORITY\"}},\"credentials\":{\"mySql\":{\"id\":\"82\",\"name\":\"MySQL account\"}},\"typeVersion\":1},{\"name\":\"Google Sheets - read\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[300,160],\"parameters\":{\"options\":{},\"sheetId\":\"qwertz\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Google Sheets - read\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets - read\":{\"main\":[[{\"node\":\"MySQL - insert\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import data from MySQL into Google Sheets", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[100,420],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"MySQL - select\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[300,420],\"parameters\":{\"query\":\"SELECT * FROM books;\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"82\",\"name\":\"MySQL account\"}},\"typeVersion\":1},{\"name\":\"Google Sheets - write\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[500,420],\"parameters\":{\"options\":{},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"MySQL - select\",\"type\":\"main\",\"index\":0}]]},\"MySQL - select\":{\"main\":[[{\"node\":\"Google Sheets - write\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Identify new Google Sheets rows", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Is new?\",\"type\":\"n8n-nodes-base.if\",\"position\":[680,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"Processed\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Do something here\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[900,100],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mark Row as processed\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1120,300],\"parameters\":{\"key\":\"ID\",\"options\":{},\"sheetId\":\"1SdnwaIJ6xwaZl006FmK2j4f-b00tq7tT7iQgdfe7Qh4\",\"operation\":\"update\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"228\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Read sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[460,300],\"parameters\":{\"options\":{},\"sheetId\":\"1SdnwaIJ6xwaZl006FmK2j4f-b00tq7tT7iQgdfe7Qh4\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"228\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"name\":\"Set processed value\",\"type\":\"n8n-nodes-base.set\",\"position\":[900,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Processed\",\"value\":\"={{ $now.toISO() }}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Run every 5 minutes\",\"type\":\"n8n-nodes-base.interval\",\"position\":[240,100],\"parameters\":{\"unit\":\"minutes\",\"interval\":5},\"typeVersion\":1}],\"connections\":{\"Is new?\":{\"main\":[[{\"node\":\"Do something here\",\"type\":\"main\",\"index\":0},{\"node\":\"Set processed value\",\"type\":\"main\",\"index\":0}]]},\"Read sheet\":{\"main\":[[{\"node\":\"Is new?\",\"type\":\"main\",\"index\":0}]]},\"Run every 5 minutes\":{\"main\":[[{\"node\":\"Read sheet\",\"type\":\"main\",\"index\":0}]]},\"Set processed value\":{\"main\":[[{\"node\":\"Mark Row as processed\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read sheet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "SMS Notification System", "output": "{\"nodes\":[{\"name\":\"Add person to Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[800,-80],\"parameters\":{\"title\":\"={{$json[\\\"name\\\"]}}\",\"resource\":\"databasePage\",\"databaseId\":\"36a84e7c-8d2a-45cd-bfe1-2b7b0b43c4af\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Phone|phone_number\",\"phoneValue\":\"={{$json[\\\"phone\\\"].length == 10 ? \\\"+1\\\" + $json[\\\"phone\\\"] : $json[\\\"phone\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"n8n Personal Workflows\"}},\"typeVersion\":2},{\"name\":\"Check for new posts\",\"type\":\"n8n-nodes-base.cron\",\"position\":[440,540],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1},{\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"position\":[620,540],\"parameters\":{\"limit\":1,\"simple\":false,\"filters\":{\"conditions\":[{\"key\":\"Link|url\",\"condition\":\"is_not_empty\"},{\"key\":\"Notified Followers|checkbox\",\"condition\":\"does_not_equal\",\"checkboxValue\":true}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"databaseId\":\"e7f8e09e-7eeb-4814-b215-cfe8ae794d08\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"n8n Personal Workflows\"}},\"typeVersion\":2},{\"name\":\"Query for followers\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1040,700],\"parameters\":{\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"36a84e7c-8d2a-45cd-bfe1-2b7b0b43c4af\"},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"n8n Personal Workflows\"}},\"typeVersion\":2},{\"name\":\"Receive response\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[440,200],\"webhookId\":\"f3fd10bd-ddea-4a1c-812d-86b20d2f0e38\",\"parameters\":{\"path\":\"72b4971a-1e29-475b-8087-1d26306f0d1f/reply\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Receive new signup from Tally form\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[440,-80],\"webhookId\":\"f1615f2b-4b27-496d-8b0b-9f29fca6f849\",\"parameters\":{\"path\":\"8caabd24-8eed-4d22-80c4-aeb54c744e0d\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Set name and phone number\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Also remove hyphens\",\"position\":[620,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"fields\\\"][0][\\\"value\\\"]}}\"},{\"name\":\"phone\",\"value\":\"={{$json[\\\"body\\\"][\\\"data\\\"][\\\"fields\\\"][1][\\\"value\\\"].replace(/-/g, \\\"\\\")}}\"}]},\"options\":{},\"keepOnlySet\":true},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Send signup confirmation text\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[980,-80],\"parameters\":{\"to\":\"={{$json[\\\"property_phone\\\"]}}\",\"from\":\"+18065152085\",\"message\":\"You've successfully signed up to get notified when @stenzsends posts. To unfollow, send the message \\\"Unfollow\\\" and you will no longer receive notifications.\",\"options\":{}},\"credentials\":{\"twilioApi\":{\"id\":\"23\",\"name\":\"Twilio Account\"}},\"typeVersion\":1},{\"name\":\"Mark that notification has been sent\",\"type\":\"n8n-nodes-base.notion\",\"notes\":\"I do this before because if there is an error executing this node then it will notify people twice. \",\"position\":[860,700],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"simple\":false,\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Notified Followers|checkbox\",\"checkboxValue\":true}]}},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"n8n Personal Workflows\"}},\"typeVersion\":2},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1280,560],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Get TikTok link\",\"type\":\"n8n-nodes-base.set\",\"position\":[1040,540],\"parameters\":{\"values\":{\"string\":[{\"name\":\"link\",\"value\":\"={{$json[\\\"properties\\\"][\\\"Link\\\"][\\\"url\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Check for \\\"unfollow\\\" text\",\"type\":\"n8n-nodes-base.if\",\"position\":[620,200],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"Body\\\"].toLowerCase().includes(\\\"unfollow\\\")}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Find user\",\"type\":\"n8n-nodes-base.notion\",\"position\":[820,180],\"parameters\":{\"limit\":1,\"filters\":{\"conditions\":[{\"key\":\"Phone|phone_number\",\"condition\":\"equals\",\"phoneNumberValue\":\"={{$json[\\\"body\\\"][\\\"From\\\"]}}\"}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"databaseId\":\"36a84e7c-8d2a-45cd-bfe1-2b7b0b43c4af\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"n8n Personal Workflows\"}},\"typeVersion\":2,\"alwaysOutputData\":true},{\"name\":\"Stop And Error\",\"type\":\"n8n-nodes-base.stopAndError\",\"position\":[1180,340],\"parameters\":{\"errorMessage\":\"Unfollow request unsuccessful. Could not find a matching phone number.\"},\"typeVersion\":1},{\"name\":\"Was user returned\",\"type\":\"n8n-nodes-base.if\",\"position\":[1000,180],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{Object.keys($json).length > 0}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Send unfollow successful message\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[1360,160],\"parameters\":{\"to\":\"={{$json[\\\"property_phone\\\"]}}\",\"from\":\"+18065152085\",\"message\":\"You've successfully unfollowed @stenzsends. You will no longer receive notifications.\",\"options\":{}},\"credentials\":{\"twilioApi\":{\"id\":\"23\",\"name\":\"Twilio Account\"}},\"typeVersion\":1},{\"name\":\"Remove user from followers db\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1180,160],\"parameters\":{\"pageId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"archive\"},\"credentials\":{\"notionApi\":{\"id\":\"2\",\"name\":\"n8n Personal Workflows\"}},\"typeVersion\":2,\"alwaysOutputData\":true},{\"name\":\"Send notification message\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[1480,560],\"parameters\":{\"to\":\"={{$json[\\\"property_phone\\\"]}}\",\"from\":\"+18065152085\",\"message\":\"=A new TikTok has been posted by @stenzsends. Check it out here {{$json[\\\"link\\\"]}}\",\"options\":{}},\"credentials\":{\"twilioApi\":{\"id\":\"23\",\"name\":\"Twilio Account\"}},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Send notification message\",\"type\":\"main\",\"index\":0}]]},\"Notion\":{\"main\":[[{\"node\":\"Mark that notification has been sent\",\"type\":\"main\",\"index\":0},{\"node\":\"Get TikTok link\",\"type\":\"main\",\"index\":0}]]},\"Find user\":{\"main\":[[{\"node\":\"Was user returned\",\"type\":\"main\",\"index\":0}]]},\"Get TikTok link\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Receive response\":{\"main\":[[{\"node\":\"Check for \\\"unfollow\\\" text\",\"type\":\"main\",\"index\":0}]]},\"Was user returned\":{\"main\":[[{\"node\":\"Remove user from followers db\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop And Error\",\"type\":\"main\",\"index\":0}]]},\"Check for new posts\":{\"main\":[[{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]},\"Query for followers\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Add person to Notion\":{\"main\":[[{\"node\":\"Send signup confirmation text\",\"type\":\"main\",\"index\":0}]]},\"Check for \\\"unfollow\\\" text\":{\"main\":[[{\"node\":\"Find user\",\"type\":\"main\",\"index\":0}]]},\"Set name and phone number\":{\"main\":[[{\"node\":\"Add person to Notion\",\"type\":\"main\",\"index\":0}]]},\"Remove user from followers db\":{\"main\":[[{\"node\":\"Send unfollow successful message\",\"type\":\"main\",\"index\":0}]]},\"Receive new signup from Tally form\":{\"main\":[[{\"node\":\"Set name and phone number\",\"type\":\"main\",\"index\":0}]]},\"Mark that notification has been sent\":{\"main\":[[{\"node\":\"Query for followers\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Google Spreadsheet to HTML - Variant with Spreadsheet File", "output": "{\"nodes\":[{\"name\":\"Read from Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[460,300],\"parameters\":{\"options\":{},\"sheetId\":\"1uFISwZJ1rzkOnOSNocX-_n-ASSAznWGdpcPK3_KCvVo\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"19\",\"name\":\"Tom's Google Sheets account\"}},\"typeVersion\":2},{\"name\":\"Create HTML file\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[680,300],\"parameters\":{\"options\":{},\"operation\":\"toFile\",\"fileFormat\":\"html\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,300],\"webhookId\":\"08569699-fea2-4856-80aa-fe878ab9dd4f\",\"parameters\":{\"path\":\"08569699-fea2-4856-80aa-fe878ab9dd4f\",\"options\":{},\"responseData\":\"firstEntryBinary\",\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Read from Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Read from Google Sheets\":{\"main\":[[{\"node\":\"Create HTML file\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Google Spreadsheet to HTML - Variant with JS Function", "output": "{\"nodes\":[{\"name\":\"Read from Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[460,300],\"parameters\":{\"options\":{},\"sheetId\":\"1uFISwZJ1rzkOnOSNocX-_n-ASSAznWGdpcPK3_KCvVo\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"19\",\"name\":\"Tom's Google Sheets account\"}},\"typeVersion\":2},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[900,300],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/html; charset=UTF-8\"}]}},\"respondWith\":\"text\",\"responseBody\":\"={{$json[\\\"html\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Build HTML\",\"type\":\"n8n-nodes-base.function\",\"position\":[680,300],\"parameters\":{\"functionCode\":\"const columns = Object.keys(items[0].json);\\n\\nconst html = `\\n\\n\\n \\n \\n \\n HTML Table Example\\n \\n \\n \\n
\\n
\\n
\\n

HTML Table Example

\\n \\n \\n \\n ${columns.map(e => '').join('\\\\n')}\\n \\n \\n \\n ${items.map(e => '' + columns.map(ee => '').join('\\\\n') + '').join('\\\\n')}\\n \\n
' + e + '
' + e.json[ee] + '
\\n
\\n
\\n
\\n \\n \\n\\n`;\\n\\nreturn [{\\n json: {\\n html: html\\n }\\n}];\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,300],\"webhookId\":\"bbcd9487-54f9-449d-8246-49f3f61f44fc\",\"parameters\":{\"path\":\"bbcd9487-54f9-449d-8246-49f3f61f44fc\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Read from Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Build HTML\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]},\"Read from Google Sheets\":{\"main\":[[{\"node\":\"Build HTML\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Upload leads with custom fields from Typeform to Pipedrive", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"7917ccbb-ef43-4784-adb9-7347be1f1e20\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[580,560],\"parameters\":{\"values\":{\"string\":[{\"name\":\"company\",\"value\":\"={{$json[\\\"What *company* are you contacting us from?\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$json[\\\"Let's start with your *first and last name.*\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$json[\\\"What *email address* can we reach you at?\\\"]}}\"},{\"name\":\"n8nFamiliar\",\"value\":\"={{$json[\\\"How familiar are you with* n8n*?\\\"]}}\"},{\"name\":\"questions\",\"value\":\"={{$json[\\\"Do you have any *specific questions* about embedding n8n at this stage?\\\"]}}\"},{\"name\":\"employees\",\"value\":\"={{$json[\\\"How many employees?\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c0cc18d0-fdd1-4ef8-aabe-33bd13667c7d\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[540,360],\"parameters\":{\"width\":760,\"height\":440,\"content\":\"## Format Typeform inputs to Pipedrive\\nIn this example, we ask for the number of employees at a company. \\n\\nTo map this to Pipedrive, we need the unique item number coming from Pipedrive for each of these sections. This is what the function node does. \\n\\nIn the Pipedrive: Organization, we map this under the custom property.\\n\\n\\n\\n\\n\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"92646ffb-73fb-4fee-a2b4-5060c7e04b59\",\"name\":\"Create Organization\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1060,560],\"parameters\":{\"name\":\"={{$node[\\\"Map company size\\\"].json[\\\"company\\\"]}}\",\"resource\":\"organization\",\"additionalFields\":{\"customProperties\":{\"property\":[{\"name\":\"eb7a7fb64081a9b9100c0622c696c159330cf3d2\",\"value\":\"={{$node[\\\"Map company size\\\"].json[\\\"pipedriveemployees\\\"]}}\"}]}}},\"credentials\":{\"pipedriveApi\":{\"id\":\"96\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"4c1b7376-cc1f-4974-9110-7e1481e3fdbe\",\"name\":\"Create Person\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1400,560],\"parameters\":{\"name\":\"={{$node[\\\"Map company size\\\"].json[\\\"name\\\"]}}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{$node[\\\"On form completion\\\"].json[\\\"What *email address* can we reach you at?\\\"]}}\"],\"org_id\":\"={{$json.id}}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"96\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"5c463f99-38e0-4c2e-a34c-86fc199b9d1f\",\"name\":\"Create Lead\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1600,560],\"parameters\":{\"title\":\"={{$node[\\\"Map company size\\\"].json[\\\"company\\\"]}} lead\",\"resource\":\"lead\",\"organization_id\":\"={{$node[\\\"Create Organization\\\"].json.id}}\",\"additionalFields\":{\"person_id\":\"={{$json.id}}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"96\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"d63383ca-a71e-4384-a3fb-942c25d7fe01\",\"name\":\"Create Note\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1800,560],\"parameters\":{\"content\":\"=Website form submitted\\n\\nQuestion:\\n{{$node[\\\"Map company size\\\"].json[\\\"questions\\\"]}}\\n\\nCompany Size:\\n{{$node[\\\"Set\\\"].json[\\\"employees\\\"]}}\",\"resource\":\"note\",\"additionalFields\":{\"lead_id\":\"={{$json.id}}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"96\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"78568df6-1c6b-493d-b186-9f9246de518a\",\"name\":\"On form completion\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[380,560],\"webhookId\":\"[UPDATE ME]\",\"parameters\":{\"formId\":\"[UPDATE ME]\"},\"credentials\":{\"typeformApi\":{\"id\":\"21\",\"name\":\"Typeform account\"}},\"typeVersion\":1},{\"id\":\"6bc56059-6ae7-48bd-838c-08e717bd6bd4\",\"name\":\"Map company size\",\"type\":\"n8n-nodes-base.code\",\"position\":[820,560],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"switch ($input.item.json.employees) {\\n case '< 20':\\n // small\\n $input.item.json.pipedriveemployees='59' \\n break;\\n case '20 - 100':\\n // medium\\n $input.item.json.pipedriveemployees='60' \\n break;\\n case '101 - 500':\\n // large\\n $input.item.json.pipedriveemployees='73' \\n break;\\n case '501 - 1000':\\n // xlarge\\n $input.item.json.pipedriveemployees='74' \\n break;\\n case '1000+':\\n // Enterprise\\n $input.item.json.pipedriveemployees='61' \\n break;\\n}\\nreturn $input.item;\\n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Map company size\",\"type\":\"main\",\"index\":0}]]},\"Create Lead\":{\"main\":[[{\"node\":\"Create Note\",\"type\":\"main\",\"index\":0}]]},\"Create Person\":{\"main\":[[{\"node\":\"Create Lead\",\"type\":\"main\",\"index\":0}]]},\"Map company size\":{\"main\":[[{\"node\":\"Create Organization\",\"type\":\"main\",\"index\":0}]]},\"On form completion\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Create Organization\":{\"main\":[[{\"node\":\"Create Person\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Api Workflow Test", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[800,520],\"webhookId\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"parameters\":{\"path\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,380],\"parameters\":{\"width\":600,\"height\":280,\"content\":\"## Create a simple API endpoint\\n\\nIn this workflow we should how to create a simple API endpoint with `Webhook` and `Respond to Webhook` nodes\\n\\n\"},\"typeVersion\":1},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1240,520],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"=The URL of the Google search query for the term \\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"first_name\\\"]}} {{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"last_name\\\"]}}\\\" is: {{$json[\\\"product\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Create URL string\",\"type\":\"n8n-nodes-base.set\",\"position\":[1020,520],\"parameters\":{\"values\":{\"string\":[{\"name\":\"product\",\"value\":\"=https://www.google.com/search?q={{$json[\\\"query\\\"][\\\"first_name\\\"]}}+{{$json[\\\"query\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,680],\"parameters\":{\"width\":600,\"height\":220,\"content\":\"### How to use it\\n1. Execute the workflow so that the webhook starts listening\\n2. Make a test request by pasting, **in a new browser tab**, the test URL from the `Webhook` node and appending the following test at the end `?first_name=bob&last_name=dylen`\\n\\nYou should receive the following output in the new tab `The URL of the Google search query for the term \\\"bob dylen\\\" is: https://www.google.com/search?q=bob+dylen`\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Create URL string\",\"type\":\"main\",\"index\":0}]]},\"Create URL string\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test Workflow", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,440],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[680,440],\"webhookId\":\"e5f84b2f-2568-4f5b-a72b-ed54838c768b\",\"parameters\":{\"unit\":\"minutes\",\"amount\":5},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[880,440],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,440],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}} {{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}}\",\"value2\":\"=\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[320,440],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1320,520],\"parameters\":{\"text\":\"Something got changed\",\"chatId\":\"1234\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"4\",\"name\":\"n8n test bot\"}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1320,320],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test calendar", "output": "{\"nodes\":[{\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[540,-320],\"parameters\":{\"options\":{},\"calendar\":\"xxxxx@gmail.com\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":\"Google Accounts\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[540,70],\"parameters\":{\"functionCode\":\"var date = new Date().toISOString();\\nvar day = new Date().getDay();\\nconst weekday = [\\\"Sunday\\\", \\\"Monday\\\", \\\"Tuesday\\\", \\\"Wednesday\\\", \\\"Thursday\\\", \\\"Friday\\\", \\\"Saturday\\\"];\\n\\nitems[0].json.date_today = date;\\nitems[0].json.day_today = weekday[day];\\n\\nreturn items;\"},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[720,-320],\"parameters\":{\"value\":\"={{$json[\\\"start\\\"][\\\"dateTime\\\"]}}\",\"custom\":true,\"options\":{\"toTimezone\":\"Asia/Qatar\"},\"toFormat\":\"DD/MM/YYYY\",\"dataPropertyName\":\"Event Start Date Only\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1410,-110],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"= {{$json[\\\"Event Date\\\"]}}\",\"value2\":\"= {{$json[\\\"Today's Date\\\"]}}\"}],\"dateTime\":[]}},\"typeVersion\":1},{\"name\":\"Date & Time1\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[880,70],\"parameters\":{\"value\":\"={{$json[\\\"date_today\\\"]}}\",\"custom\":true,\"options\":{\"toTimezone\":\"Asia/Qatar\"},\"toFormat\":\"DD/MM/YYYY\",\"dataPropertyName\":\"Today's Date\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,-320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Event Name\",\"value\":\"={{$json[\\\"summary\\\"]}}\"},{\"name\":\"Event Date\",\"value\":\"={{$json[\\\"Event Start Date Only\\\"]}}\"},{\"name\":\"Today's Date\",\"value\":\"=\"},{\"name\":\"Gcal URL\",\"value\":\"={{$json[\\\"htmlLink\\\"]}}\"},{\"name\":\"Location\",\"value\":\"={{$json[\\\"location\\\"]}}\"},{\"name\":\"Start Time\",\"value\":\"={{$json[\\\"start\\\"][\\\"dateTime\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1200,-110],\"parameters\":{\"mode\":\"multiplex\"},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1630,-130],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"Event Name\\\"]}}\"},{\"name\":\"Time\",\"value\":\"={{$json[\\\"Start Time\\\"]}}\"},{\"name\":\"URL\",\"value\":\"={{$json[\\\"Gcal URL\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Date & Time2\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1800,-130],\"parameters\":{\"value\":\"={{$json[\\\"Time\\\"]}}\",\"custom\":true,\"options\":{\"toTimezone\":\"Asia/Qatar\"},\"toFormat\":\"HH:mm\",\"dataPropertyName\":\"Time\"},\"typeVersion\":1},{\"name\":\"Function1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1960,-130],\"parameters\":{\"functionCode\":\"// Create our Slack message\\n// This will output a list of Ticket URLs with the status and the subject\\n// 12345 [STATUS] - Ticket Subject\\nlet message = \\\"*Hello , Please find below a list of your meetings for today*. \\\\n\\\";\\n\\n// Loop the input items\\nfor (item of items) {\\n // Append the ticket information to the message\\n message += \\\"*\\\" + item.json.Name +' @ '+ item.json.Time + \\\"\\\\n* - \\\" + item.json.URL + \\\"\\\\n\\\"; \\n}\\n\\n// Return our message\\nreturn [{json: {message}}];\\n\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2150,-130],\"parameters\":{\"text\":\"={{$json[\\\"message\\\"]}}\",\"channel\":\"virtual-assistant\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"Slack account\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,-130],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":6}]}},\"retryOnFail\":true,\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Google Calendar\",\"type\":\"main\",\"index\":0},{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Date & Time2\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Date & Time1\",\"type\":\"main\",\"index\":0}]]},\"Function1\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Date & Time\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Date & Time1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Date & Time2\":{\"main\":[[{\"node\":\"Function1\",\"type\":\"main\",\"index\":0}]]},\"Google Calendar\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get Slack notifications when new product published on WooCommerce", "output": "{\"id\":1016,\"name\":\"Woocommerce to slack: notify new product created\",\"tags\":[{\"id\":\"5\",\"name\":\"FVF\",\"createdAt\":\"2022-07-30T07:43:44.795Z\",\"updatedAt\":\"2022-07-30T07:43:44.795Z\"}],\"nodes\":[{\"name\":\"If URL has /product/\",\"type\":\"n8n-nodes-base.if\",\"position\":[640,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"permalink\\\"]}}\",\"value2\":\"https://[add-your-url-here]/product/\",\"operation\":\"startsWith\"}]}},\"typeVersion\":1},{\"name\":\"Send message to slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[920,260],\"parameters\":{\"text\":\":new: A new product has been added! :new:\",\"channel\":\"newproducts\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[{\"color\":\"#66FF00\",\"fields\":{\"item\":[{\"short\":false,\"title\":\"Name\",\"value\":\"={{$json[\\\"name\\\"]}}\"},{\"short\":true,\"title\":\"Price\",\"value\":\"={{$json[\\\"regular_price\\\"]}}\"},{\"short\":true,\"title\":\"Sale Price\",\"value\":\"={{$json[\\\"sale_price\\\"]}}\"},{\"short\":false,\"title\":\"Link\",\"value\":\"={{$json[\\\"permalink\\\"]}}\"}]},\"footer\":\"=Added: {{$json[\\\"date_created\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"21\",\"name\":\"FVF bot\"}},\"typeVersion\":1},{\"name\":\"On product creation\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[460,300],\"webhookId\":\"267c4855-6227-4d33-867e-74600097473e\",\"parameters\":{\"event\":\"product.created\"},\"credentials\":{\"wooCommerceApi\":{\"id\":\"20\",\"name\":\"WooCommerce account FVF\"}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"On product creation\":{\"main\":[[{\"node\":\"If URL has /product/\",\"type\":\"main\",\"index\":0}]]},\"If URL has /product/\":{\"main\":[[{\"node\":\"Send message to slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test 1 - Johan", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"FTP\",\"type\":\"n8n-nodes-base.ftp\",\"position\":[650,350],\"parameters\":{\"path\":\"/upload/n8n_logo.png\",\"operation\":\"upload\"},\"credentials\":{\"ftp\":\"ftp_creds\"},\"typeVersion\":1},{\"name\":\"FTP1\",\"type\":\"n8n-nodes-base.ftp\",\"position\":[850,350],\"parameters\":{\"path\":\"/upload/\",\"operation\":\"list\"},\"credentials\":{\"ftp\":\"ftp_creds\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,350],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"connections\":{\"FTP\":{\"main\":[[{\"node\":\"FTP1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"FTP\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Orth new test workflow", "output": "{\"nodes\":[1,2,3],\"connections\":[3,2,1]}" }, { "input": "Sync tasks data between Notion and Asana", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"daaa472a-fff3-41e2-9b6f-f7f54655ea16\",\"name\":\"Determine create/update\",\"type\":\"n8n-nodes-base.if\",\"position\":[1380,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"action\\\"] }}\",\"value2\":\"Create\"}]}},\"typeVersion\":1},{\"id\":\"1b047238-80b4-4144-929d-f860510b68c6\",\"name\":\"Update task\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1580,420],\"parameters\":{\"pageId\":\"={{ $json[\\\"database_id\\\"] }}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Task|title\",\"title\":\"={{ $json[\\\"name\\\"] }}\"},{\"key\":\"Deadline|date\",\"date\":\"={{ $json[\\\"due_on\\\"] }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"71801502-14bd-42d2-beb9-e44e90bcac49\",\"name\":\"Create task\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1580,180],\"parameters\":{\"title\":\"={{$json[\\\"name\\\"]}}\",\"resource\":\"databasePage\",\"databaseId\":\"6181df20-c949-42e3-9999-7168d746efab\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Asana GID|number\",\"numberValue\":\"={{ parseInt($json[\\\"gid\\\"]) }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"executeOnce\":true,\"typeVersion\":2},{\"id\":\"76d95145-89ff-477f-9e28-a64c3601b4ea\",\"name\":\"Get tasks\",\"type\":\"n8n-nodes-base.asana\",\"position\":[780,300],\"parameters\":{\"id\":\"={{ $json[\\\"gid\\\"] }}\",\"operation\":\"get\"},\"credentials\":{\"asanaApi\":{\"id\":\"8\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"b79c96eb-ad00-4aa7-b02e-306a940396fc\",\"name\":\"Find tasks\",\"type\":\"n8n-nodes-base.notion\",\"position\":[980,160],\"parameters\":{\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"databaseId\":\"6181df20-c949-42e3-9999-7168d746efab\",\"filterJson\":\"={{$node[\\\"Get unique tasks\\\"].json[\\\"notionfilter\\\"]}}\",\"filterType\":\"json\"},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"9804b81f-b2f9-45dc-9bbd-a652543668fd\",\"name\":\"Get unique tasks\",\"type\":\"n8n-nodes-base.function\",\"position\":[580,300],\"parameters\":{\"functionCode\":\"const gids = [];\\n\\n// get all the unique Asana task gids\\nfor (item of items) {\\n var gid = parseInt(item.json.resource.gid);\\n var resource_type = item.json.resource.resource_type;\\n if (!(gids.includes(gid)) && resource_type == \\\"task\\\") {\\n gids.push(gid);\\n }\\n}\\n\\n// show in output\\nconst new_items = [];\\nfor (gid of gids) {\\n var new_item = {\\n \\\"json\\\": {\\n \\\"gid\\\": 0,\\n \\\"gids\\\": [],\\n \\\"notionfilter\\\": \\\"\\\"\\n }\\n };\\n new_item = JSON.stringify(new_item);\\n new_item = JSON.parse(new_item);\\n new_item.json.gid = gid;\\n new_item.json.gids = gids;\\n new_items.push(new_item);\\n\\n // Notion filter\\n notionfilter = {\\n or: [],\\n }\\n\\n for (gid of gids) {\\n const filter = {\\n property: 'Asana GID',\\n number: {\\n equals: gid\\n }\\n }\\n notionfilter[\\\"or\\\"].push(filter);\\n }\\n\\n\\n new_item.json.notionfilter = JSON.stringify(notionfilter); \\n}\\n\\nconsole.log(gids);\\nreturn new_items;\"},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"91883ca1-91f8-41ce-84d5-00f9f3296cc7\",\"name\":\"Determine\",\"type\":\"n8n-nodes-base.function\",\"position\":[1180,300],\"parameters\":{\"functionCode\":\"const gids_to_update = [];\\nconst database_ids = [];\\n\\nfor (item of $items(\\\"Find tasks\\\")) {\\n gids_to_update.push(parseInt(item.json.property_asana_gid));\\n database_ids.push(item.json.id);\\n}\\nconsole.log(gids_to_update);\\nconsole.log(database_ids);\\n\\nvar gid;\\nlet i = 0;\\nfor (item of $items(\\\"Get tasks\\\")) {\\n gid = parseInt(item.json.gid);\\n if (gids_to_update.includes(gid)) {\\n item.json.action = \\\"Update\\\"\\n item.json.database_id = database_ids[i];\\n } else {\\n item.json.action = \\\"Create\\\"\\n }\\n i++;\\n}\\n\\nreturn $items(\\\"Get tasks\\\");\"},\"typeVersion\":1},{\"id\":\"8ba512bb-671a-47d2-88fc-19ed358df728\",\"name\":\"Check required fields exist\",\"type\":\"n8n-nodes-base.if\",\"position\":[1780,180],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"Determine\\\"].json[\\\"due_on\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"512a09e0-c595-4613-a4d9-ed3160fd403b\",\"name\":\"Update deadline\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1980,180],\"parameters\":{\"pageId\":\"={{ $json[\\\"id\\\"] }}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Deadline|date\",\"date\":\"={{ $node[\\\"Determine\\\"].json[\\\"due_on\\\"] }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"4b08a930-93ef-4f88-8109-9afa45af703e\",\"name\":\"On update\",\"type\":\"n8n-nodes-base.asanaTrigger\",\"position\":[380,300],\"webhookId\":\"61055fe2-63c7-4b93-adcb-ddb7556c3060\",\"parameters\":{\"resource\":\"1202718722261680\",\"workspace\":\"1177253494675264\"},\"credentials\":{\"asanaApi\":{\"id\":\"8\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1}],\"connections\":{\"Determine\":{\"main\":[[{\"node\":\"Determine create/update\",\"type\":\"main\",\"index\":0}]]},\"Get tasks\":{\"main\":[[{\"node\":\"Find tasks\",\"type\":\"main\",\"index\":0},{\"node\":\"Determine\",\"type\":\"main\",\"index\":0}]]},\"On update\":{\"main\":[[{\"node\":\"Get unique tasks\",\"type\":\"main\",\"index\":0}]]},\"Find tasks\":{\"main\":[[{\"node\":\"Determine\",\"type\":\"main\",\"index\":0}]]},\"Create task\":{\"main\":[[{\"node\":\"Check required fields exist\",\"type\":\"main\",\"index\":0}]]},\"Get unique tasks\":{\"main\":[[{\"node\":\"Get tasks\",\"type\":\"main\",\"index\":0}]]},\"Determine create/update\":{\"main\":[[{\"node\":\"Create task\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update task\",\"type\":\"main\",\"index\":0}]]},\"Check required fields exist\":{\"main\":[[{\"node\":\"Update deadline\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add new contacts from HubSpot to the email list in Mailchimp", "output": "{\"meta\":{\"instanceId\":\"4eea70f6789129b82c5f438f374db25affb0eba28902cc3663e308cff7659044\"},\"nodes\":[{\"id\":\"30d8dca1-8e70-443e-a5b0-a048d6e3dc1c\",\"name\":\"Every day at 07:00\",\"type\":\"n8n-nodes-base.cron\",\"position\":[480,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":7}]}},\"typeVersion\":1},{\"id\":\"1e7b278f-7c6f-473c-acda-51fa5cf6bd00\",\"name\":\"Get new contacts\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[700,300],\"parameters\":{\"resource\":\"contact\",\"operation\":\"search\",\"authentication\":\"oAuth2\",\"filterGroupsUi\":{\"filterGroupsValues\":[{\"filtersUi\":{\"filterValues\":[{\"value\":\"={{$today.minus({day:1}).toMillis()}}\",\"operator\":\"GTE\",\"propertyName\":\"createdate\"},{\"value\":\"={{$today.toMillis()}}\",\"operator\":\"LT\",\"propertyName\":\"createdate\"}]}}]},\"additionalFields\":{}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"34\",\"name\":\"HubSpot account 2\"}},\"typeVersion\":1},{\"id\":\"003da27c-752e-47b6-b263-c90060b677f5\",\"name\":\"Create member\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[920,300],\"parameters\":{\"list\":\"8965eba136\",\"email\":\"={{ $json[\\\"properties\\\"].email }}\",\"status\":\"subscribed\",\"options\":{},\"mergeFieldsUi\":{\"mergeFieldsValues\":[{\"name\":\"FNAME\",\"value\":\"={{ $json[\\\"properties\\\"].firstname }}\"},{\"name\":\"LNAME\",\"value\":\"={{ $json[\\\"properties\\\"].lastname }}\"}]},\"authentication\":\"oAuth2\"},\"credentials\":{\"mailchimpOAuth2Api\":{\"id\":\"25\",\"name\":\"Mailchimp account\"}},\"typeVersion\":1}],\"connections\":{\"Get new contacts\":{\"main\":[[{\"node\":\"Create member\",\"type\":\"main\",\"index\":0}]]},\"Every day at 07:00\":{\"main\":[[{\"node\":\"Get new contacts\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send or update new Mailchimp subscribers in HubSpot", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"35451a0c-1ad5-4c02-804b-d19afd282b09\",\"name\":\"Get last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[540,100],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nif(!staticData.lastExecution){\\n staticData.lastExecution = new Date();\\n}\\n\\nitem.executionTimeStamp = new Date();\\nitem.lastExecution = staticData.lastExecution;\\n\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"18ff2308-216e-4c1e-afb9-bd41ae7b5e4d\",\"name\":\"Every day at 07:00\",\"type\":\"n8n-nodes-base.cron\",\"position\":[320,100],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":7}]}},\"typeVersion\":1},{\"id\":\"53d3203b-2518-471f-9c72-2ab41303cdf2\",\"name\":\"Set new last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1240,100],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nstaticData.lastExecution = $item(0).$node[\\\"Get last execution timestamp\\\"].executionTimeStamp;\\n\\nreturn item;\"},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"bf6f8843-53e8-4096-8614-da0b43f5f193\",\"name\":\"Create/Update contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1020,100],\"parameters\":{\"email\":\"={{ $json[\\\"email_address\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"appToken\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"merge_fields\\\"].LNAME }}\",\"firstName\":\"={{ $json[\\\"merge_fields\\\"].FNAME }}\"}},\"credentials\":{\"hubspotAppToken\":{\"id\":\"13\",\"name\":\"HubSpot App Token account\"}},\"typeVersion\":1},{\"id\":\"6bce7f89-e22e-4372-a1cc-1723756bb617\",\"name\":\"Get changed members\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[780,100],\"parameters\":{\"list\":\"bcfb6ff8f1\",\"options\":{\"sinceLastChanged\":\"={{ $json[\\\"lastExecution\\\"] }}\"},\"operation\":\"getAll\"},\"credentials\":{\"mailchimpApi\":{\"id\":\"19\",\"name\":\"Mailchimp account\"}},\"typeVersion\":1}],\"connections\":{\"Every day at 07:00\":{\"main\":[[{\"node\":\"Get last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Get changed members\":{\"main\":[[{\"node\":\"Create/Update contact\",\"type\":\"main\",\"index\":0}]]},\"Create/Update contact\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Get last execution timestamp\":{\"main\":[[{\"node\":\"Get changed members\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Scrapping tests", "output": "{\"id\":\"14\",\"name\":\"extract_swifts\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-140,820],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[320,820],\"parameters\":{\"url\":\"https://www.theswiftcodes.com/browse-by-country/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[510,820],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"countries\",\"attribute\":\"href\",\"cssSelector\":\"ol > li > a\",\"returnArray\":true,\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[910,820],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2250,740],\"parameters\":{\"url\":\"={{$node[\\\"Set\\\"].json[\\\"url\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"HTML Extract1\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[2750,590],\"parameters\":{\"options\":{},\"sourceData\":\"binary\",\"extractionValues\":{\"values\":[{\"key\":\"next_button\",\"attribute\":\"href\",\"cssSelector\":\"span.next > a\",\"returnValue\":\"attribute\"},{\"key\":\"names\",\"cssSelector\":\"td.table-name\",\"returnArray\":true},{\"key\":\"swifts\",\"cssSelector\":\"td.table-swift\",\"returnArray\":true},{\"key\":\"cities\",\"cssSelector\":\"td.table-city\",\"returnArray\":true},{\"key\":\"branches\",\"cssSelector\":\"td.table-branch\",\"returnArray\":true}]}},\"typeVersion\":1},{\"name\":\"MongoDB1\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[3280,590],\"parameters\":{\"fields\":\"iso_code,country,page,name,branch,city,swift_code,createdAt,updatedAt\",\"options\":{\"dateFields\":\"createdAt,updatedAt\"},\"operation\":\"insert\",\"collection\":\"swifts.meetup\"},\"credentials\":{\"mongoDb\":\"db-mongo\"},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[1100,820],\"parameters\":{\"tool\":\"getCountryNormalized\",\"group\":\"geographic\",\"country\":\"={{$node[\\\"SplitInBatches\\\"].json[\\\"country\\\"].replace(/[\\\\/0-9]/g, \\\"\\\")}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"uproc-miquel\"},\"typeVersion\":1},{\"name\":\"Prepare Documents\",\"type\":\"n8n-nodes-base.function\",\"position\":[2930,590],\"parameters\":{\"functionCode\":\"var newItems = [];\\n\\nfor (i = 0; i < items[0].json.swifts.length; i++) {\\n var item = {\\n iso_code: $node['uProc'].json.message.code,\\n country: $node['SplitInBatches'].json.country.replace(/[-\\\\/0-9]/g, \\\"\\\"),\\n page: $node['Set Page to Scrape'].json.page,\\n name: items[0].json.names[i],\\n city: items[0].json.cities[i],\\n branch: items[0].json.branches[i],\\n swift_code: items[0].json.swifts[i],\\n createdAt: new Date(),\\n updatedAt: new Date()\\n }\\n newItems.push({json: item});\\n}\\n\\nreturn newItems;\\n\\n\"},\"typeVersion\":1},{\"name\":\"More Countries\",\"type\":\"n8n-nodes-base.if\",\"position\":[2810,1100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"] + \\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Set Page to Scrape\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1290,680],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\nitem.page = \\\"\\\";\\nif (staticData.page && staticData.page.length) {\\n item.page = staticData.page;\\n} else {\\n item.page = $node['SplitInBatches'].json.country;\\n}\\nreturn item;\\n\"},\"typeVersion\":1},{\"name\":\"More Pages\",\"type\":\"n8n-nodes-base.if\",\"position\":[3070,1020],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"more_pages\\\"] + \\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Set More Pages\",\"type\":\"n8n-nodes-base.function\",\"position\":[3470,590],\"parameters\":{\"functionCode\":\"var next_page = $node['HTML Extract1'].json.next_button && $node['HTML Extract1'].json.next_button.length ? $node['HTML Extract1'].json.next_button : \\\"\\\";\\nvar more_pages = next_page.length > 0;\\nconst staticData = getWorkflowStaticData('global');\\n\\n//all current items are after date: needs pagination\\nif (more_pages) {\\n staticData.page = next_page;\\n} else {\\n //don't check more items in previous pages;\\n delete staticData.page;\\n}\\n\\nreturn [\\n {\\n json: {\\n more_pages: more_pages\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"=https://www.theswiftcodes.com{{$node[\\\"Set Page to Scrape\\\"].json[\\\"page\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Generate filename\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1600,610],\"parameters\":{\"functionCode\":\"var generateNameFromUrl = function(url){\\n return url.replace(/[^a-z0-9]/gi, \\\"_\\\");\\n}\\n\\nitem.file = generateNameFromUrl(item.url) + \\\".html\\\"\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[1770,610],\"parameters\":{\"filePath\":\"=/home/node/.cache/scrapper/{{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"File exists?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1950,610],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Read Binary File\\\"].binary.data.mimeType}}\",\"value2\":\"text/html\"}]}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[2400,740],\"parameters\":{\"fileName\":\"=/home/node/.cache/scrapper/{{$node[\\\"Generate filename\\\"].json[\\\"file\\\"]}}\",\"dataPropertyName\":\"=data\"},\"typeVersion\":1},{\"name\":\"Read Binary File1\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[2570,590],\"parameters\":{\"filePath\":\"=/home/node/.cache/scrapper/{{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.function\",\"position\":[2090,740],\"parameters\":{\"functionCode\":\"const waitTimeSeconds = 1;\\n\\nreturn new Promise((resolve) => {\\n setTimeout(() => {\\n resolve([]);\\n }, waitTimeSeconds * 1000);\\n});\\n\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Prepare countries\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,820],\"parameters\":{\"functionCode\":\"return items[0].json.countries.map(function(country) {\\n return {\\n json: {country: country}\\n }\\n});\"},\"typeVersion\":1},{\"name\":\"Create Directory\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[70,820],\"parameters\":{\"command\":\"mkdir -p /home/node/.cache/scrapper/\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"disabled\":true,\"position\":[3100,520],\"parameters\":{\"query\":\"={\\\"swift_code\\\": \\\"{{$json[\\\"swift_code\\\"]}}\\\"}\",\"options\":{},\"collection\":\"swifts.meetup\"},\"credentials\":{\"mongoDb\":\"db-mongo\"},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":true}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Generate filename\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"uProc\":{\"main\":[[{\"node\":\"Set Page to Scrape\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[]]},\"MongoDB1\":{\"main\":[[{\"node\":\"Set More Pages\",\"type\":\"main\",\"index\":0}]]},\"More Pages\":{\"main\":[[{\"node\":\"Set Page to Scrape\",\"type\":\"main\",\"index\":0}],[{\"node\":\"More Countries\",\"type\":\"main\",\"index\":0}]]},\"File exists?\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Prepare countries\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract1\":{\"main\":[[{\"node\":\"Prepare Documents\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"More Countries\":{\"main\":[[],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set More Pages\":{\"main\":[[{\"node\":\"More Pages\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0}]]},\"Create Directory\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"File exists?\",\"type\":\"main\",\"index\":0}]]},\"Generate filename\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]},\"Prepare Documents\":{\"main\":[[{\"node\":\"MongoDB1\",\"type\":\"main\",\"index\":0}]]},\"Prepare countries\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File1\":{\"main\":[[{\"node\":\"HTML Extract1\",\"type\":\"main\",\"index\":0}]]},\"Write Binary File\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}]]},\"Set Page to Scrape\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Directory\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Lead generation", "output": "{\"id\":1019,\"name\":\"Invest_tips Lead Generation Instagram\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,210],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[470,300],\"parameters\":{\"url\":\"https://i.instagram.com/api/v1/friendships/46448606265/followers/\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"count\",\"value\":\"5\"},{\"name\":\"search_surface\",\"value\":\"follow_list_page\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"sessionid=49835136701%3Ao7Eo6cLajPfxmH%3A3\"},{\"name\":\"X-IG-App-ID\",\"value\":\"936619743392459\"},{\"name\":\"User-Agent\",\"value\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36\"}]}},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Assign items of an Array\",\"type\":\"n8n-nodes-base.function\",\"position\":[680,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const element of items[0].json.users) {\\n newItems.push({json: element});\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Get profil\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[880,300],\"parameters\":{\"url\":\"=https://i.instagram.com/api/v1/users/{{$json[\\\"pk\\\"]}}/info/\",\"options\":{},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"sessionid=49835136701%3Ao7Eo6cLajPfxmH%3A3\"},{\"name\":\"X-IG-App-ID\",\"value\":\"936619743392459\"},{\"name\":\"User-Agent\",\"value\":\"Instagram 64.0.0.14.96\"}]}},\"typeVersion\":1},{\"name\":\"Follow\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1320,280],\"parameters\":{\"url\":\"=https://www.instagram.com/web/friendships/{{$json[\\\"user\\\"][\\\"pk\\\"]}}/follow/\",\"options\":{},\"requestMethod\":\"POST\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"sessionid=49835136701%3Ao7Eo6cLajPfxmH%3A3\"},{\"name\":\"X-Instagram-AJAX\",\"value\":\"038693313a95\"},{\"name\":\"User-Agent\",\"value\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36\"},{\"name\":\"X-CSRFToken\",\"value\":\"6jme8AsaRimCBY5fCuPhWiyCrSwfS1k3\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[270,440],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"30 9-18 * * *\"}]}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1090,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"user\\\"][\\\"follower_count\\\"]}}\",\"value2\":2000}],\"boolean\":[]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Follow\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Get profil\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Assign items of an Array\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Assign items of an Array\":{\"main\":[[{\"node\":\"Get profil\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Unfollow Instagram Invest tips", "output": "{\"id\":1020,\"name\":\"Unfollow Instagram Invest tips\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,120],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,300],\"parameters\":{\"url\":\"https://i.instagram.com/api/v1/friendships/49835136701/following/\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"count\",\"value\":\"500\"},{\"name\":\"search_surface\",\"value\":\"follow_list_page\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"sessionid=49835136701%3Ao7Eo6cLajPfxmH%3A3\"},{\"name\":\"X-IG-App-ID\",\"value\":\"936619743392459\"},{\"name\":\"User-Agent\",\"value\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36\"}]}},\"notesInFlow\":false,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Assign items of an Array\",\"type\":\"n8n-nodes-base.function\",\"position\":[680,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const element of items[0].json.users) {\\n newItems.push({json: element});\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Item Lists1\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[880,300],\"parameters\":{\"keep\":\"lastItems\",\"maxItems\":\"={{Math.floor(Math.random() * (50 - 20 + 1)) + 20}}\",\"operation\":\"limit\"},\"typeVersion\":1},{\"name\":\"Unfollow\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1080,300],\"parameters\":{\"url\":\"=https://www.instagram.com/web/friendships/{{$json[\\\"pk\\\"]}}/unfollow/\",\"options\":{},\"requestMethod\":\"POST\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"Cookie\",\"value\":\"sessionid=49835136701%3Ao7Eo6cLajPfxmH%3A3\"},{\"name\":\"X-Instagram-AJAX\",\"value\":\"038693313a95\"},{\"name\":\"User-Agent\",\"value\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36\"},{\"name\":\"X-CSRFToken\",\"value\":\"6jme8AsaRimCBY5fCuPhWiyCrSwfS1k3\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":22,\"minute\":23}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Item Lists1\":{\"main\":[[{\"node\":\"Unfollow\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Assign items of an Array\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Assign items of an Array\":{\"main\":[[{\"node\":\"Item Lists1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automatically add customers from Pipedrive to Stripe", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"acf47a04-1f3f-448a-b571-a94c84004c45\",\"name\":\"Current won time Not Equal to Previous\",\"type\":\"n8n-nodes-base.if\",\"position\":[140,260],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"current\\\"].won_time}}\",\"value2\":\"={{ $json[\\\"previous\\\"].won_time}}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"452a0208-be12-4aac-8c1a-9101ab79f8fb\",\"name\":\"On deal updated\",\"type\":\"n8n-nodes-base.pipedriveTrigger\",\"position\":[-80,260],\"webhookId\":\"af0f5626-e92f-4e29-bdc8-8e13c9c9cf99\",\"parameters\":{\"action\":\"updated\",\"object\":\"deal\"},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"202b9a47-2f00-43ec-bbab-ba82f94e4174\",\"name\":\"Get organisation details\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[380,240],\"parameters\":{\"resource\":\"organization\",\"operation\":\"get\",\"organizationId\":\"={{ $json[\\\"current\\\"].org_id }}\",\"resolveProperties\":true},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"b88e18a3-1514-424f-ba96-c8bb94c14cb3\",\"name\":\"Search customer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[600,100],\"parameters\":{\"url\":\"https://api.stripe.com/v1/customers/search\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"query\",\"value\":\"=name:'{{ $json[\\\"Name\\\"] }}'\"}]},\"nodeCredentialType\":\"stripeApi\"},\"credentials\":{\"stripeApi\":{\"id\":\"3\",\"name\":\"Stripe account\"}},\"typeVersion\":2},{\"id\":\"b4a4491e-8d69-41b6-83a4-128f228108e3\",\"name\":\"Customer does not exist\",\"type\":\"n8n-nodes-base.if\",\"position\":[860,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ JSON.stringify($json[\\\"data\\\"]) }}\",\"value2\":\"[]\"}]}},\"typeVersion\":1},{\"id\":\"6aeaa043-ce4b-4665-a1eb-9fe66d86202f\",\"name\":\"Continue with organisation data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1120,220],\"parameters\":{\"mode\":\"passThrough\",\"output\":\"input2\"},\"typeVersion\":1},{\"id\":\"21bc3b5a-72eb-4015-957a-7facfce371e0\",\"name\":\"Create customer\",\"type\":\"n8n-nodes-base.stripe\",\"position\":[1360,220],\"parameters\":{\"name\":\"={{ $json[\\\"Name\\\"] }}\",\"resource\":\"customer\",\"operation\":\"create\",\"additionalFields\":{\"address\":{\"details\":{\"city\":\"={{ $json[\\\"City/town/village/locality\\\"] }}\",\"line1\":\"={{ $json[\\\"Street/road name\\\"] }} {{ $json[\\\"House number\\\"] }}\",\"state\":\"={{ $json[\\\"State/county\\\"] }}\",\"country\":\"={{ $json[\\\"Country\\\"] }}\",\"postal_code\":\"={{ $json[\\\"ZIP/Postal code\\\"] }}\"}}}},\"credentials\":{\"stripeApi\":{\"id\":\"3\",\"name\":\"Stripe account\"}},\"typeVersion\":1}],\"connections\":{\"On deal updated\":{\"main\":[[{\"node\":\"Current won time Not Equal to Previous\",\"type\":\"main\",\"index\":0}]]},\"Search customer\":{\"main\":[[{\"node\":\"Customer does not exist\",\"type\":\"main\",\"index\":0}]]},\"Customer does not exist\":{\"main\":[[{\"node\":\"Continue with organisation data\",\"type\":\"main\",\"index\":0}]]},\"Get organisation details\":{\"main\":[[{\"node\":\"Search customer\",\"type\":\"main\",\"index\":0},{\"node\":\"Continue with organisation data\",\"type\":\"main\",\"index\":1}]]},\"Continue with organisation data\":{\"main\":[[{\"node\":\"Create customer\",\"type\":\"main\",\"index\":0}]]},\"Current won time Not Equal to Previous\":{\"main\":[[{\"node\":\"Get organisation details\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync payment and customer data between Stripe and Pipedrive", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"28349bfd-f68e-4479-9508-28d408033d09\",\"name\":\"Get customers\",\"type\":\"n8n-nodes-base.stripe\",\"position\":[5360,1100],\"parameters\":{\"filters\":{},\"resource\":\"customer\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"stripeApi\":{\"id\":\"26\",\"name\":\"Stripe account\"}},\"typeVersion\":1},{\"id\":\"3f3d2389-e9ab-4140-8b04-f0a07003cecc\",\"name\":\"Rename fields and keep only needed fields\",\"type\":\"n8n-nodes-base.set\",\"position\":[5560,1100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"customerName\",\"value\":\"={{ $json[\\\"name\\\"] }}\"},{\"name\":\"customerId\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"d6d3ccff-f565-49c9-9cda-8e278d298433\",\"name\":\"Add customer name to charge data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[5860,920],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"customer\",\"propertyName2\":\"customerId\"},\"typeVersion\":1},{\"id\":\"eadce8e7-f523-485b-8cc0-5a336c8633ef\",\"name\":\"Search organisation\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[6140,1060],\"parameters\":{\"term\":\"={{ $json[\\\"customerName\\\"] }}\",\"resource\":\"organization\",\"operation\":\"search\",\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":{\"id\":\"96\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"dde08b48-21b0-44af-a66d-ff69399608e7\",\"name\":\"Add organisation Information to charge data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[6400,940],\"parameters\":{\"join\":\"inner\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"id\":\"6cbd0f06-0f10-4360-8c5c-e181679ba370\",\"name\":\"Create note with charge information\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[6620,940],\"parameters\":{\"content\":\"={{ $json[\\\"description\\\"] }}: {{ $json[\\\"amount\\\"] / 100 }} {{ $json[\\\"currency\\\"] }}\",\"resource\":\"note\",\"additionalFields\":{\"org_id\":\"={{ $json[\\\"id\\\"] }}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"96\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"c6ed5a89-b50a-40ad-bd78-62ffc2430fde\",\"name\":\"Get last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[5140,900],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nif(!staticData.lastExecution){\\n staticData.lastExecution = Math.round( new Date().getTime() / 1000 );\\n}\\n\\nitem.executionTimeStamp = Math.round( new Date().getTime() / 1000 );\\nitem.lastExecution = staticData.lastExecution;\\n\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"41b2c937-d479-4402-b428-29faabe32845\",\"name\":\"Set new last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[6820,940],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nstaticData.lastExecution = $item(0).$node[\\\"Get last execution timestamp\\\"].executionTimeStamp;\\n\\nreturn item;\"},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"56612271-08c4-4347-92b1-b898c68c3460\",\"name\":\"Split array of charges to items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[5560,900],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"data\"},\"typeVersion\":1},{\"id\":\"b866ba46-6269-4c8d-8021-ea99591d676d\",\"name\":\"Search for charges in Stripe\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[5360,900],\"parameters\":{\"url\":\"https://api.stripe.com/v1/charges/search\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"query\",\"value\":\"=created>{{$json[\\\"lastExecution\\\"]}} AND status:\\\"succeeded\\\"\"}]},\"nodeCredentialType\":\"stripeApi\"},\"credentials\":{\"stripeApi\":{\"id\":\"26\",\"name\":\"Stripe account\"}},\"typeVersion\":2},{\"id\":\"a3249f70-1cd4-4d5f-8f27-15badcf10296\",\"name\":\"Every day at 8 am\",\"type\":\"n8n-nodes-base.cron\",\"position\":[4920,900],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1}],\"connections\":{\"Get customers\":{\"main\":[[{\"node\":\"Rename fields and keep only needed fields\",\"type\":\"main\",\"index\":0}]]},\"Every day at 8 am\":{\"main\":[[{\"node\":\"Get last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Search organisation\":{\"main\":[[{\"node\":\"Add organisation Information to charge data\",\"type\":\"main\",\"index\":1}]]},\"Get last execution timestamp\":{\"main\":[[{\"node\":\"Search for charges in Stripe\",\"type\":\"main\",\"index\":0}]]},\"Search for charges in Stripe\":{\"main\":[[{\"node\":\"Split array of charges to items\",\"type\":\"main\",\"index\":0}]]},\"Split array of charges to items\":{\"main\":[[{\"node\":\"Add customer name to charge data\",\"type\":\"main\",\"index\":0}]]},\"Add customer name to charge data\":{\"main\":[[{\"node\":\"Search organisation\",\"type\":\"main\",\"index\":0},{\"node\":\"Add organisation Information to charge data\",\"type\":\"main\",\"index\":0}]]},\"Create note with charge information\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Rename fields and keep only needed fields\":{\"main\":[[{\"node\":\"Add customer name to charge data\",\"type\":\"main\",\"index\":1}]]},\"Add organisation Information to charge data\":{\"main\":[[{\"node\":\"Create note with charge information\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add new products to Stripe when product added to Pipedrive", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"e95fc182-b13e-4eab-852b-66ea821c4129\",\"name\":\"On product created\",\"type\":\"n8n-nodes-base.pipedriveTrigger\",\"position\":[440,500],\"webhookId\":\"4a700bc2-a3bf-43fb-902c-5ca5a74bf38d\",\"parameters\":{\"action\":\"added\",\"object\":\"product\"},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"a64af9df-3084-4376-ace9-50f0f21bbf35\",\"name\":\"Set item to only current product data\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[680,500],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nitem = item.current;\\n\\n// You can write logs to the browser console\\nconsole.log('Done!');\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"79b265a9-4021-4a1a-9b4a-4f3aeace9fe5\",\"name\":\"Create product in Stripe\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[900,660],\"parameters\":{\"url\":\"https://api.stripe.com/v1/products\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"predefinedCredentialType\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"name\",\"value\":\"={{ $json[\\\"name\\\"] }}\"},{\"name\":\"description\",\"value\":\"={{ $json[\\\"description\\\"] || ' '}}\"}]},\"nodeCredentialType\":\"stripeApi\"},\"credentials\":{\"stripeApi\":{\"id\":\"3\",\"name\":\"Stripe account\"}},\"typeVersion\":2},{\"id\":\"69e40a2b-1680-42f9-add9-cbef9bc0f63f\",\"name\":\"Add created product Id to data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1320,520],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"id\":\"bc7428ba-829f-4a9b-af61-ea11c102d1d3\",\"name\":\"Keep only productId of created product\",\"type\":\"n8n-nodes-base.set\",\"position\":[1100,660],\"parameters\":{\"values\":{\"string\":[{\"name\":\"StripeCreatedProductId\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"8571acfb-8ee9-410d-a5ca-9b173d034202\",\"name\":\"Create price records in Stripe\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1760,520],\"parameters\":{\"url\":\"https://api.stripe.com/v1/prices\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"predefinedCredentialType\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"currency\",\"value\":\"={{ $json[\\\"prices\\\"].currency }}\"},{\"name\":\"unit_amount\",\"value\":\"={{ $json[\\\"prices\\\"].price * 100 }}\"},{\"name\":\"product\",\"value\":\"={{ $json[\\\"StripeCreatedProductId\\\"] }}\"}]},\"nodeCredentialType\":\"stripeApi\"},\"credentials\":{\"stripeApi\":{\"id\":\"3\",\"name\":\"Stripe account\"}},\"typeVersion\":2},{\"id\":\"f849ae73-aa7d-49b2-81a9-7470278d30a3\",\"name\":\"Split prices to seperate items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1540,520],\"parameters\":{\"include\":\"selectedOtherFields\",\"options\":{},\"fieldToSplitOut\":\"prices\",\"fieldsToInclude\":{\"fields\":[{\"fieldName\":\"StripeCreatedProductId\"}]}},\"typeVersion\":1}],\"connections\":{\"On product created\":{\"main\":[[{\"node\":\"Set item to only current product data\",\"type\":\"main\",\"index\":0}]]},\"Create product in Stripe\":{\"main\":[[{\"node\":\"Keep only productId of created product\",\"type\":\"main\",\"index\":0}]]},\"Add created product Id to data\":{\"main\":[[{\"node\":\"Split prices to seperate items\",\"type\":\"main\",\"index\":0}]]},\"Split prices to seperate items\":{\"main\":[[{\"node\":\"Create price records in Stripe\",\"type\":\"main\",\"index\":0}]]},\"Set item to only current product data\":{\"main\":[[{\"node\":\"Create product in Stripe\",\"type\":\"main\",\"index\":0},{\"node\":\"Add created product Id to data\",\"type\":\"main\",\"index\":0}]]},\"Keep only productId of created product\":{\"main\":[[{\"node\":\"Add created product Id to data\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Sync tasks automatically from Todoist to Notion", "output": "{\"id\":\"PtPKIqDlz5xrrvHP\",\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"name\":\"Sync Todoist tasks to Notion\",\"tags\":[],\"nodes\":[{\"id\":\"0122196d-e051-4154-9e39-3ddbfe26858f\",\"name\":\"On schedule\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[640,280],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"seconds\"}]}},\"typeVersion\":1.1},{\"id\":\"1a15e1cc-cdd5-4a49-aa7a-a0779f858e69\",\"name\":\"Get all tasks with specific label\",\"type\":\"n8n-nodes-base.todoist\",\"position\":[860,280],\"parameters\":{\"filters\":{\"labelId\":\"send-to-notion\"},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"todoistOAuth2Api\":{\"id\":\"E6PTOAR6ysBeLwCB\",\"name\":\"Todoist account\"}},\"typeVersion\":2},{\"id\":\"35b13f4a-da38-4d63-9fbf-7c36c97cbc11\",\"name\":\"Add to Notion database\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1080,280],\"parameters\":{\"title\":\"={{ $json.content }}\",\"options\":{},\"resource\":\"databasePage\",\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"5a98bd24-dd2b-41a3-b7e2-3b8a9ee21d41\",\"cachedResultUrl\":\"https://www.notion.so/5a98bd24dd2b41a3b7e23b8a9ee21d41\",\"cachedResultName\":\"My Todoist Tasks\"},\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Todoist ID|number\",\"numberValue\":\"={{ parseInt($json.id) }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"5hfWkRpcWCS4KGk5\",\"name\":\"n8n-demo-3\"}},\"typeVersion\":2.1},{\"id\":\"f3144751-28b0-48e1-9331-f25f55a5ddf6\",\"name\":\"Replace label on task\",\"type\":\"n8n-nodes-base.todoist\",\"position\":[1300,280],\"parameters\":{\"taskId\":\"={{ $('Get all tasks with specific label').item.json.id }}\",\"operation\":\"update\",\"updateFields\":{\"labels\":[\"sent\"],\"description\":\"=Notion Link: {{ $json.url }}\\n\\n{{ $('Get all tasks with specific label').item.json.description }}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"todoistOAuth2Api\":{\"id\":\"E6PTOAR6ysBeLwCB\",\"name\":\"Todoist account\"}},\"typeVersion\":2}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"14cd25c2-0a7b-45d0-b81e-173052ebdde7\",\"connections\":{\"On schedule\":{\"main\":[[{\"node\":\"Get all tasks with specific label\",\"type\":\"main\",\"index\":0}]]},\"Add to Notion database\":{\"main\":[[{\"node\":\"Replace label on task\",\"type\":\"main\",\"index\":0}]]},\"Get all tasks with specific label\":{\"main\":[[{\"node\":\"Add to Notion database\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Jetestworkflow", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[800,520],\"webhookId\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"parameters\":{\"path\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,380],\"parameters\":{\"width\":600,\"height\":280,\"content\":\"## Create a simple API endpoint\\n\\nIn this workflow we should how to create a simple API endpoint with `Webhook` and `Respond to Webhook` nodes\\n\\n\"},\"typeVersion\":1},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1240,520],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"=The URL of the Google search query for the term \\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"first_name\\\"]}} {{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"last_name\\\"]}}\\\" is: {{$json[\\\"product\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Create URL string\",\"type\":\"n8n-nodes-base.set\",\"position\":[1020,520],\"parameters\":{\"values\":{\"string\":[{\"name\":\"product\",\"value\":\"=https://www.google.com/search?q={{$json[\\\"query\\\"][\\\"first_name\\\"]}}+{{$json[\\\"query\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,680],\"parameters\":{\"width\":600,\"height\":220,\"content\":\"### How to use it\\n1. Execute the workflow so that the webhook starts listening\\n2. Make a test request by pasting, **in a new browser tab**, the test URL from the `Webhook` node and appending the following test at the end `?first_name=bob&last_name=dylen`\\n\\nYou should receive the following output in the new tab `The URL of the Google search query for the term \\\"bob dylen\\\" is: https://www.google.com/search?q=bob+dylen`\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Create URL string\",\"type\":\"main\",\"index\":0}]]},\"Create URL string\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich new accounts in Pipedrive using Datagma API", "output": "{\"nodes\":[{\"name\":\"list people\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[820,240],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"company.employees\"},\"typeVersion\":1},{\"name\":\"Pipedrive - Enrich Organization\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1060,740],\"parameters\":{\"resource\":\"organization\",\"operation\":\"update\",\"updateFields\":{\"customProperties\":{\"property\":[{\"name\":\"Total Funding Amount\",\"value\":\"={{$json[\\\"company\\\"][\\\"full\\\"][\\\"cards\\\"][\\\"fundingRoundsSummary\\\"][\\\"fundingTotal\\\"][\\\"valueUsdRoundup\\\"]}}\"},{\"name\":\"Website Traffic\",\"value\":\"={{$json[\\\"company\\\"][\\\"full\\\"][\\\"cards\\\"][\\\"trafficRankHeadline\\\"][\\\"visitsLastestMonthPrettier\\\"]}}\"},{\"name\":\"Industry\",\"value\":\"={{$json[\\\"company\\\"][\\\"premium\\\"][\\\"industries\\\"]}}\"},{\"name\":\"Linkedin URL\",\"value\":\"={{$json[\\\"company\\\"][\\\"full\\\"][\\\"cards\\\"][\\\"overviewFields2\\\"][\\\"linkedin\\\"][\\\"value\\\"]}}\"},{\"name\":\"=Website\",\"value\":\"={{$json[\\\"company\\\"][\\\"premium\\\"][\\\"website\\\"]}}\"},{\"name\":\"Number of Employees\",\"value\":\"={{$json[\\\"company\\\"][\\\"premium\\\"][\\\"companySize\\\"]}}\"},{\"name\":\"Address\",\"value\":\"={{$json[\\\"company\\\"][\\\"premium\\\"][\\\"headquaterAddr\\\"]}}\"}]}},\"organizationId\":\"={{$node[\\\"Pipedrive Trigger - New Company Created\\\"].json[\\\"meta\\\"][\\\"id\\\"]}}\",\"encodeProperties\":true},\"credentials\":{\"pipedriveApi\":{\"id\":\"27\",\"name\":\"Free TRial Lucas\"}},\"typeVersion\":1},{\"name\":\"Pipedrive - Add Person\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1840,660],\"parameters\":{\"name\":\"={{$json[\\\"name\\\"]}}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{$json[\\\"emailDatagma\\\"]}}\"],\"org_id\":\"={{$items(\\\"Pipedrive Trigger - New Company Created\\\")[0].json[\\\"meta\\\"][\\\"id\\\"]}}\",\"customProperties\":{\"property\":[{\"name\":\"aa8c534fc3ea812ffe8b155290873293b9950c3a\",\"value\":\"={{$json[\\\"jobTitle\\\"]}}\"},{\"name\":\"04215f535458ffd9092b4a337f217201087dae2b\",\"value\":\"={{$json[\\\"linkedInUrl\\\"]}}\"}]}}},\"credentials\":{\"pipedriveApi\":{\"id\":\"27\",\"name\":\"Free TRial Lucas\"}},\"typeVersion\":1},{\"name\":\"Datagma - Enrich Company\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[580,520],\"parameters\":{\"url\":\"https://gateway.datagma.net/api/ingress/v2/full\",\"options\":{\"batchSize\":10,\"fullResponse\":false,\"batchInterval\":2000},\"authentication\":\"queryAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"data\",\"value\":\"={{$json[\\\"current\\\"][\\\"name\\\"]}}\"},{\"name\":\"companyPremium\",\"value\":\"true\"},{\"name\":\"companyFull\",\"value\":\"true\"},{\"name\":\"companyEmployees\",\"value\":\"true\"},{\"name\":\"employeeTitle\",\"value\":\"(head of OR director) AND (sales OR business)\"},{\"name\":\"findEmailV2\",\"value\":\"true\"}]}},\"credentials\":{\"httpQueryAuth\":{\"id\":\"18\",\"name\":\"Datagma Auth\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1640,660],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"linkedInUrl\",\"propertyName2\":\"linkedInUrl\"},\"typeVersion\":1},{\"name\":\"If lead is Ideal Buyer\",\"type\":\"n8n-nodes-base.if\",\"position\":[1100,240],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"employeeCompanyScore\\\"]}}\",\"value2\":0.1,\"operation\":\"larger\"}],\"string\":[{\"value1\":\"={{$json[\\\"jobTitle\\\"].toLowerCase()\\t}}\",\"value2\":\"sales\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Datagma - Find Emails\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1320,220],\"parameters\":{\"url\":\"https://gateway.datagma.net/api/ingress/v4/findEmail?findEmailV2Step=3&findEmailV2Country=General\\n\",\"options\":{\"batchSize\":10,\"fullResponse\":false,\"batchInterval\":2000},\"authentication\":\"queryAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"fullName\",\"value\":\"={{$json[\\\"name\\\"]}}\"},{\"name\":\"company\",\"value\":\"={{$json[\\\"company\\\"]}}\"}]}},\"credentials\":{\"httpQueryAuth\":{\"id\":\"18\",\"name\":\"Datagma Auth\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Prepare Data Before Merge\",\"type\":\"n8n-nodes-base.set\",\"position\":[1520,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"linkedInUrl\",\"value\":\"={{$node[\\\"If lead is Ideal Buyer\\\"].json[\\\"linkedInUrl\\\"]}}\"},{\"name\":\"emailDatagma\",\"value\":\"={{$json[\\\"email\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Pipedrive Trigger - New Company Created\",\"type\":\"n8n-nodes-base.pipedriveTrigger\",\"position\":[320,520],\"webhookId\":\"90b68fad-3216-4dde-9afd-77f98cda0711\",\"parameters\":{\"action\":\"added\",\"object\":\"organization\"},\"credentials\":{\"pipedriveApi\":{\"id\":\"27\",\"name\":\"Free TRial Lucas\"}},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[500,340],\"parameters\":{\"height\":400,\"content\":\"### Find a different ideal buyer:\\nIn \\\"Datagma - Enrich Company\\\" node - change \\\"employeeTitle\\\" value with the keywords of your ideal buyer (-> Head of Marketing)\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1020,60],\"parameters\":{\"height\":380,\"content\":\"### Refine lead results\\nHere I am refining lead results to make sure they match my search.\\nIf you have a different ICP, make sure to change the first value.\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Pipedrive - Add Person\",\"type\":\"main\",\"index\":0}]]},\"list people\":{\"main\":[[{\"node\":\"If lead is Ideal Buyer\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Datagma - Find Emails\":{\"main\":[[{\"node\":\"Prepare Data Before Merge\",\"type\":\"main\",\"index\":0}]]},\"If lead is Ideal Buyer\":{\"main\":[[{\"node\":\"Datagma - Find Emails\",\"type\":\"main\",\"index\":0}]]},\"Datagma - Enrich Company\":{\"main\":[[{\"node\":\"list people\",\"type\":\"main\",\"index\":0},{\"node\":\"Pipedrive - Enrich Organization\",\"type\":\"main\",\"index\":0}]]},\"Prepare Data Before Merge\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Pipedrive Trigger - New Company Created\":{\"main\":[[{\"node\":\"Datagma - Enrich Company\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "testing 123456", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[800,520],\"webhookId\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"parameters\":{\"path\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,380],\"parameters\":{\"width\":600,\"height\":280,\"content\":\"## Create a simple API endpoint\\n\\nIn this workflow we should how to create a simple API endpoint with `Webhook` and `Respond to Webhook` nodes\\n\\n\"},\"typeVersion\":1},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1240,520],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"=The URL of the Google search query for the term \\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"first_name\\\"]}} {{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"last_name\\\"]}}\\\" is: {{$json[\\\"product\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Create URL string\",\"type\":\"n8n-nodes-base.set\",\"position\":[1020,520],\"parameters\":{\"values\":{\"string\":[{\"name\":\"product\",\"value\":\"=https://www.google.com/search?q={{$json[\\\"query\\\"][\\\"first_name\\\"]}}+{{$json[\\\"query\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,680],\"parameters\":{\"width\":600,\"height\":220,\"content\":\"### How to use it\\n1. Execute the workflow so that the webhook starts listening\\n2. Make a test request by pasting, **in a new browser tab**, the test URL from the `Webhook` node and appending the following test at the end `?first_name=bob&last_name=dylen`\\n\\nYou should receive the following output in the new tab `The URL of the Google search query for the term \\\"bob dylen\\\" is: https://www.google.com/search?q=bob+dylen`\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Create URL string\",\"type\":\"main\",\"index\":0}]]},\"Create URL string\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Track investments using Baserow and n8n", "output": "{\"nodes\":[{\"id\":\"70a44436-4b51-458a-ae93-60edeed170de\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d4c2dfa2-30bb-4f06-96c2-5811472302d2\",\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,100],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"15 7 * * 1-6\"}]}},\"typeVersion\":1},{\"id\":\"86924546-e4f2-4795-8e80-9e49626d2c42\",\"name\":\"Baserow\",\"type\":\"n8n-nodes-base.baserow\",\"position\":[460,200],\"parameters\":{\"tableId\":680,\"databaseId\":146,\"additionalOptions\":{}},\"credentials\":{\"baserowApi\":{\"id\":\"37\",\"name\":\"Baserow account\"}},\"typeVersion\":1},{\"id\":\"36f2947b-67cf-47eb-891f-e7e3b5ba9eac\",\"name\":\"Fetch tradegate stock page\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[680,200],\"parameters\":{\"url\":\"https://www.tradegate.de/orderbuch.php\",\"options\":{},\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"isin\",\"value\":\"={{$json[\\\"ISIN\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"b516e751-d1d1-43a0-8f19-6787a5c56ddc\",\"name\":\"Parse tradegate stock page\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[900,200],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"WKN\",\"cssSelector\":\"#col1_content > table > tbody > tr:nth-child(2) > td:nth-child(1)\"},{\"key\":\"ISIN\",\"cssSelector\":\"#col1_content > table > tbody > tr:nth-child(2) > td:nth-child(3)\"},{\"key\":\"Currency\",\"cssSelector\":\"#col1_content > table > tbody > tr:nth-child(2) > td:nth-child(4)\"},{\"key\":\"Name\",\"cssSelector\":\"#col1_content > h2\"},{\"key\":\"Bid\",\"cssSelector\":\"#bid\"},{\"key\":\"Ask\",\"cssSelector\":\"#ask\"}]}},\"typeVersion\":1},{\"id\":\"e51556c7-3f3a-4e4d-96e9-942f436422af\",\"name\":\"Build HTML\",\"type\":\"n8n-nodes-base.function\",\"position\":[1560,200],\"parameters\":{\"functionCode\":\"const columns = Object.keys(items[0].json);\\n\\n// Define the basic table structure\\nlet table_header = `${columns.map(e => '').join('')}`;\\nlet table_content = \\\"\\\";\\nlet table_footer = '
' + e + '
';\\n\\n// Add content to our table\\nfor (item of items) {\\n table_content += ''\\n for (column of columns) {\\n table_content += `${item.json[column]}`\\n }\\n table_content += ''\\n}\\n\\n// Prepare HTML email body\\nconst email_html = `\\n

Investments as of ${$now.setZone(\\\"Europe/Dublin\\\").setLocale('ie').toFormat('fff')}:

\\n${table_header}\\n${table_content}\\n${table_footer}\\n

Total: ${items.map(e => parseFloat(e.json['Current Value'])).reduce((a, b) => a + b, 0).toFixed(2)}

\\n

Workflow #${$workflow.id}

\\n`\\n\\n\\nreturn [{\\n json: {\\n html: email_html\\n }\\n}];\"},\"typeVersion\":1},{\"id\":\"361bf8f2-298c-4b96-9f21-4f4620f1e9a9\",\"name\":\"Format result\",\"type\":\"n8n-nodes-base.set\",\"position\":[1120,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{ $node[\\\"Baserow\\\"].json[\\\"Name\\\"] }}\"},{\"name\":\"ISIN\",\"value\":\"={{ $node[\\\"Baserow\\\"].json[\\\"ISIN\\\"] }}\"},{\"name\":\"Count\",\"value\":\"={{ $node[\\\"Baserow\\\"].json[\\\"Count\\\"] }}\"},{\"name\":\"Purchase Price\",\"value\":\"={{ $node[\\\"Baserow\\\"].json[\\\"Purchase Price\\\"] }}\"},{\"name\":\"Current Value\",\"value\":\"={{ (parseFloat($json[\\\"Bid\\\"].replace(',', '.')) * parseFloat($node[\\\"Baserow\\\"].json[\\\"Count\\\"])).toFixed(2) }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c2f329dc-3b97-402a-9d63-ed863c2aee84\",\"name\":\"Calculate change\",\"type\":\"n8n-nodes-base.set\",\"position\":[1340,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Change\",\"value\":\"={{ ( parseFloat($json[\\\"Current Value\\\"]) - parseFloat($json[\\\"Purchase Price\\\"]) ).toFixed(2) }}\"},{\"name\":\"Change (%)\",\"value\":\"={{ ( ( ( parseFloat($json[\\\"Current Value\\\"]) - parseFloat($json[\\\"Purchase Price\\\"]) ) / parseFloat($json[\\\"Purchase Price\\\"]) ) * 100).toFixed(2) }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"e0876374-c9f3-4253-8764-9aa78faa2193\",\"name\":\"SendGrid\",\"type\":\"n8n-nodes-base.sendGrid\",\"position\":[1780,200],\"parameters\":{\"subject\":\"Investment report\",\"toEmail\":\"mutedjam@n8n.io\",\"resource\":\"mail\",\"fromEmail\":\"mutedjam@n8n.io\",\"contentType\":\"text/html\",\"contentValue\":\"={{ $json[\\\"html\\\"] }}\",\"additionalFields\":{}},\"credentials\":{\"sendGridApi\":{\"id\":\"143\",\"name\":\"SendGrid account\"}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Baserow\",\"type\":\"main\",\"index\":0}]]},\"Baserow\":{\"main\":[[{\"node\":\"Fetch tradegate stock page\",\"type\":\"main\",\"index\":0}]]},\"Build HTML\":{\"main\":[[{\"node\":\"SendGrid\",\"type\":\"main\",\"index\":0}]]},\"Format result\":{\"main\":[[{\"node\":\"Calculate change\",\"type\":\"main\",\"index\":0}]]},\"Calculate change\":{\"main\":[[{\"node\":\"Build HTML\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Baserow\",\"type\":\"main\",\"index\":0}]]},\"Fetch tradegate stock page\":{\"main\":[[{\"node\":\"Parse tradegate stock page\",\"type\":\"main\",\"index\":0}]]},\"Parse tradegate stock page\":{\"main\":[[{\"node\":\"Format result\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Upload leads from a CSV file to Pipedrive CRM", "output": "{\"meta\":{\"instanceId\":\"4eea70f6789129b82c5f438f374db25affb0eba28902cc3663e308cff7659044\"},\"nodes\":[{\"id\":\"97b052c3-2a98-4dee-973a-f170a5e575c8\",\"name\":\"Google Drive Trigger\",\"type\":\"n8n-nodes-base.googleDriveTrigger\",\"position\":[960,140],\"parameters\":{\"event\":\"fileCreated\",\"options\":{},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"triggerOn\":\"specificFolder\",\"folderToWatch\":\"1uQ0YnGnQNzIaWGdTt2UBT58tTy8xDlpW\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"36\",\"name\":\"Hilary's Google Drive account\"}},\"typeVersion\":1},{\"id\":\"1e82f8f8-175d-4493-a3a9-35380431d91c\",\"name\":\"Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[1180,140],\"parameters\":{\"fileId\":\"={{ $json[\\\"id\\\"] }}\",\"options\":{},\"operation\":\"download\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"36\",\"name\":\"Hilary's Google Drive account\"}},\"typeVersion\":2},{\"id\":\"fb36224d-4acb-4aba-9543-dd534e76477f\",\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1400,140],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"323b2a18-fc98-4b73-9c7f-421780f04e94\",\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1540,400],\"parameters\":{\"filters\":{},\"resource\":\"lead\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"pipedriveApi\":{\"id\":\"22\",\"name\":\"n8n Production\"}},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"80d9733e-ccfb-4140-981f-8b818c4b9e70\",\"name\":\"Pipedrive1\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1920,380],\"parameters\":{\"personId\":\"={{ $json[\\\"person_id\\\"] }}\",\"resource\":\"person\",\"operation\":\"get\"},\"credentials\":{\"pipedriveApi\":{\"id\":\"22\",\"name\":\"n8n Production\"}},\"typeVersion\":1},{\"id\":\"57197318-b0a9-4f15-9e10-f3750a60936c\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1720,400],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json[\\\"person_id\\\"] }}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"id\":\"e5592e1d-da1f-4536-b816-3a6df764cd0a\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2140,100],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"Email address\",\"propertyName2\":\"email[0].value\"},\"typeVersion\":1},{\"id\":\"29918402-d224-411d-b563-44d68c5b1c10\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[2360,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"company\",\"value\":\"={{ $json[\\\"Company name\\\"] }}\"},{\"name\":\"name\",\"value\":\"={{ $json[\\\"First name\\\"] }} {{ $json[\\\"Last name\\\"] }}\"},{\"name\":\"email\",\"value\":\"={{ $json[\\\"Email address\\\"] }}\"},{\"name\":\"employees\",\"value\":\"={{ $json[\\\"Company size\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"a3c83915-3b87-41ec-ba3b-5db1134b1763\",\"name\":\"Create Organization\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[2840,100],\"parameters\":{\"name\":\"={{ $json[\\\"company\\\"] }}\",\"resource\":\"organization\",\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":{\"id\":\"22\",\"name\":\"n8n Production\"}},\"typeVersion\":1},{\"id\":\"e8f0a561-cc7a-4302-83dc-8c4a407b9b53\",\"name\":\"Create Person\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[3180,100],\"parameters\":{\"name\":\"={{ $node[\\\"Set\\\"].json[\\\"name\\\"] }}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{ $node[\\\"Set\\\"].json[\\\"email\\\"] }}\"],\"org_id\":\"={{ $json[\\\"id\\\"] }}\",\"customProperties\":{\"property\":[{\"name\":\"0bf0c49725830779ff146f5a087853d959dee064\",\"value\":\"LinkedIn_Ad\"}]}}},\"credentials\":{\"pipedriveApi\":{\"id\":\"22\",\"name\":\"n8n Production\"}},\"typeVersion\":1},{\"id\":\"7c038ae1-030e-4047-b4af-d13333ed14af\",\"name\":\"Create Lead\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[3380,100],\"parameters\":{\"title\":\"={{$node[\\\"Set\\\"].json[\\\"company\\\"]}} lead\",\"resource\":\"lead\",\"organization_id\":\"={{$node[\\\"Create Organization\\\"].json.id}}\",\"additionalFields\":{\"owner_id\":12672788,\"person_id\":\"={{$json.id}}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"22\",\"name\":\"n8n Production\"}},\"typeVersion\":1},{\"id\":\"46a433d1-0248-4208-89d2-747644e1face\",\"name\":\"Create Note\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[3580,100],\"parameters\":{\"content\":\"=\\nCompany Size:\\n{{$node[\\\"Set\\\"].json[\\\"employees\\\"]}}\",\"resource\":\"note\",\"additionalFields\":{\"lead_id\":\"={{$json.id}}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"22\",\"name\":\"n8n Production\"}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Pipedrive1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Create Organization\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Pipedrive\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Pipedrive1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Create Lead\":{\"main\":[[{\"node\":\"Create Note\",\"type\":\"main\",\"index\":0}]]},\"Google Drive\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Create Person\":{\"main\":[[{\"node\":\"Create Lead\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Create Organization\":{\"main\":[[{\"node\":\"Create Person\",\"type\":\"main\",\"index\":0}]]},\"Google Drive Trigger\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a new lead to Pipedrive once GitHub repo is forked", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"a84fa822-fd74-45db-93c6-f51be75ef307\",\"name\":\"person exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,340],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"500ef1bd-8965-4245-81d7-14c3897b4275\",\"name\":\"Set person Id\",\"type\":\"n8n-nodes-base.set\",\"position\":[1480,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"PipedrivePersonId\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"ab1a1335-92c8-41f8-b008-5b19530f08e9\",\"name\":\"Create lead\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1740,320],\"parameters\":{\"title\":\"=Repo '{{$node[\\\"On fork\\\"].json[\\\"body\\\"][\\\"repository\\\"][\\\"full_name\\\"]}}' forked by {{$json[\\\"name\\\"]}}\",\"resource\":\"lead\",\"person_id\":\"={{$json[\\\"PipedrivePersonId\\\"]}}\",\"associateWith\":\"person\",\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"4fd06c6a-4975-4a6a-95f3-bb48f3e9bdf6\",\"name\":\"On fork\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[180,340],\"webhookId\":\"ff05ca29-9ed3-4b97-a4ce-4f9b1c05255f\",\"parameters\":{\"owner\":\"John-n8n\",\"events\":[\"fork\"],\"repository\":\"DemoRepo\"},\"credentials\":{\"githubApi\":{\"id\":\"7\",\"name\":\"GitHub account\"}},\"typeVersion\":1},{\"id\":\"86554078-ce7c-4dd3-b36f-d1bf22530f7b\",\"name\":\"Create person\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1200,440],\"parameters\":{\"name\":\"={{ $node[\\\"On fork\\\"].json[\\\"body\\\"].forkee.owner.login }}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{$node[\\\"Get Github user information\\\"].email}}\"]}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"c4a8dae8-d6f3-4309-8fa5-78d69cf1b1e8\",\"name\":\"Create note with github url\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1980,320],\"parameters\":{\"content\":\"=Github user url: {{ $node[\\\"On fork\\\"].json[\\\"body\\\"].sender.html_url }}\",\"resource\":\"note\",\"additionalFields\":{\"lead_id\":\"={{ $json[\\\"id\\\"] }}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"8dfa3e8e-29d8-4098-825d-8ec915ca6f3f\",\"name\":\"Get Github user information\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[440,340],\"parameters\":{\"url\":\"={{$json[\\\"body\\\"].sender.url}}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"githubApi\"},\"credentials\":{\"githubApi\":{\"id\":\"7\",\"name\":\"GitHub account\"}},\"typeVersion\":2},{\"id\":\"c4c2538a-28e8-4c75-856d-000a727a4f13\",\"name\":\"Search forkee in Pipedrive by email\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[680,340],\"parameters\":{\"term\":\"={{ $json[\\\"email\\\"]}}\",\"resource\":\"person\",\"operation\":\"search\",\"additionalFields\":{\"fields\":\"email\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1,\"alwaysOutputData\":true}],\"connections\":{\"On fork\":{\"main\":[[{\"node\":\"Get Github user information\",\"type\":\"main\",\"index\":0}]]},\"Create lead\":{\"main\":[[{\"node\":\"Create note with github url\",\"type\":\"main\",\"index\":0}]]},\"Create person\":{\"main\":[[{\"node\":\"Set person Id\",\"type\":\"main\",\"index\":0}]]},\"Set person Id\":{\"main\":[[{\"node\":\"Create lead\",\"type\":\"main\",\"index\":0}]]},\"person exists\":{\"main\":[[{\"node\":\"Set person Id\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create person\",\"type\":\"main\",\"index\":0}]]},\"Get Github user information\":{\"main\":[[{\"node\":\"Search forkee in Pipedrive by email\",\"type\":\"main\",\"index\":0}]]},\"Search forkee in Pipedrive by email\":{\"main\":[[{\"node\":\"person exists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a note to Pipedrive's contact once PR is added on GitHub", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"28409b8d-3ae2-4cdb-a4ba-b0af9f31c1f2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[940,440],\"parameters\":{\"url\":\"={{$json[\\\"body\\\"].sender.url}}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"githubApi\"},\"credentials\":{\"githubApi\":{\"id\":\"7\",\"name\":\"GitHub account\"}},\"typeVersion\":2},{\"id\":\"aa604a92-7691-4b25-bbd0-ce42b8147fd8\",\"name\":\"Search PR user in Pipedrive by email\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1220,440],\"parameters\":{\"term\":\"={{ $json[\\\"email\\\"]}}\",\"resource\":\"person\",\"operation\":\"search\",\"additionalFields\":{\"fields\":\"email\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"444a840f-3d34-48c4-b539-fe23a2a2a39c\",\"name\":\"person exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[1460,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"b713ebee-0346-453e-bc1e-5dec1c74057f\",\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1780,340],\"parameters\":{\"content\":\"=Created a PR \\n{{$node[\\\"ON Pull Request\\\"].json[\\\"body\\\"][\\\"pull_request\\\"][\\\"html_url\\\"]}}\",\"resource\":\"note\",\"additionalFields\":{\"person_id\":\"={{ $json[\\\"id\\\"] }}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"72b08b20-5b30-4f06-bf7e-34ab28421455\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1780,540],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e0a1b859-16d4-4884-a17a-6e857fdbe8d4\",\"name\":\"ON Pull Request\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[640,440],\"webhookId\":\"ec0c326f-4ccd-4c07-8653-ec0fe23765d5\",\"parameters\":{\"owner\":\"John-n8n\",\"events\":[\"pull_request\"],\"repository\":\"DemoRepo\"},\"credentials\":{\"githubApi\":{\"id\":\"7\",\"name\":\"GitHub account\"}},\"typeVersion\":1}],\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Search PR user in Pipedrive by email\",\"type\":\"main\",\"index\":0}]]},\"person exists\":{\"main\":[[{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"ON Pull Request\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Search PR user in Pipedrive by email\":{\"main\":[[{\"node\":\"person exists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert Typeform data into Spreadsheet", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[500,520],\"parameters\":{\"formId\":\"\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"NextCloud\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[650,300],\"parameters\":{\"path\":\"examples/Problems.xls\",\"operation\":\"download\"},\"credentials\":{\"nextCloudApi\":\"\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[800,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1000,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1150,470],\"parameters\":{\"operation\":\"toFile\"},\"typeVersion\":1},{\"name\":\"NextCloud1\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[1300,470],\"parameters\":{\"path\":\"={{$node[\\\"NextCloud\\\"].parameter[\\\"path\\\"]}}\",\"binaryDataUpload\":true},\"credentials\":{\"nextCloudApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"NextCloud\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"NextCloud1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Generate dynamic contents for EMAILS or HTML pages", "output": "{\"meta\":{\"instanceId\":\"14c5980141526fbb38db85208103f515afa76de9c8760a23a1771b4ed940dc7b\"},\"nodes\":[{\"id\":\"4704e44a-80c6-41b4-a0b9-ece060d53836\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-220,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"74a78b35-b453-4345-8cd9-9d8a62961c29\",\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[20,300],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"id\":\"10b633de-e5e5-4fd2-bb4b-7a16bac5f69c\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[220,300],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"fieldName\":\"name\"}]}},\"typeVersion\":1},{\"id\":\"aa90be4e-f548-459f-822b-a3dc1d20d58e\",\"name\":\"One item per template\",\"type\":\"n8n-nodes-document-generator.DocumentGenerator\",\"position\":[660,160],\"parameters\":{\"template\":\"Date: {{created}}\\nTo: {{name}} <{{email}}>\\nAddress: {{country}}\\nDetails:\\n{{#each lines}}\\n- \\\"{{description}}\\\" x {{quantity}} = {{amount}}€ + {{vat}}€ = {{total}}€\\n{{/each}}\\nTotal invoice: {{total}}€\"},\"typeVersion\":1},{\"id\":\"914c4c67-81df-45ec-9eea-3efb96383dfc\",\"name\":\"All items, one template\",\"type\":\"n8n-nodes-document-generator.DocumentGenerator\",\"position\":[660,400],\"parameters\":{\"template\":\"\\n\\n\\n\\nNew customers in last 24h:\\n
    \\n {{#each items}}\\n
  • {{name}}: {{email}}
  • \\n {{/each}}\\n
\\n\\n\",\"oneTemplate\":true},\"typeVersion\":1},{\"id\":\"bc1821d1-7d08-4208-aa5e-7290f5604e91\",\"name\":\"Add lines\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[440,160],\"parameters\":{\"functionCode\":\"item.lines = [\\n {\\n concept: \\\"Service\\\",\\n description: \\\"Design of HTML banners\\\",\\n quantity: 1,\\n amount: 22,\\n vat: 22 * 0.21,\\n total: 22 * 1.21\\n },\\n {\\n concept: \\\"Service\\\",\\n description: \\\"Design of PNG banners\\\",\\n quantity: 1,\\n amount: 33,\\n vat: 33 * 0.21,\\n total: 33 * 1.21\\n }\\n]\\n\\nitem.date = \\\"2022-01-12\\\";\\nitem.total = 133.10;\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"99ccf5f0-6d82-4a9c-a314-711249fbdfc9\",\"name\":\"Send one TEXT email per item\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[880,160],\"parameters\":{\"html\":\"={{ $json[\\\"text\\\"] }}\",\"options\":{},\"subject\":\"=Invoice for {{ $node[\\\"Add lines\\\"].json[\\\"name\\\"] }}\",\"toEmail\":\"mcolomer@n8nhackers.com\",\"fromEmail\":\"mcolomer@n8nhackers.com\"},\"credentials\":{\"smtp\":{\"id\":\"54\",\"name\":\"SMTP account\"}},\"typeVersion\":1},{\"id\":\"3bc12345-da46-4c1f-8fe3-5bb0683cbcda\",\"name\":\"Send one HTML Email per list\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[880,400],\"parameters\":{\"html\":\"={{ $json[\\\"text\\\"] }}\",\"options\":{},\"subject\":\"New customers\",\"toEmail\":\"mcolomer@n8nhackers.com\",\"fromEmail\":\"mcolomer@n8nhackers.com\"},\"credentials\":{\"smtp\":{\"id\":\"54\",\"name\":\"SMTP account\"}},\"typeVersion\":1}],\"connections\":{\"Add lines\":{\"main\":[[{\"node\":\"One item per template\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"All items, one template\",\"type\":\"main\",\"index\":0},{\"node\":\"Add lines\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]},\"One item per template\":{\"main\":[[{\"node\":\"Send one TEXT email per item\",\"type\":\"main\",\"index\":0}]]},\"All items, one template\":{\"main\":[[{\"node\":\"Send one HTML Email per list\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transfer JSON data to CSV file", "output": "{\"nodes\":[{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"Append data to sheet\",\"position\":[980,-120],\"parameters\":{\"range\":\"A:C\",\"options\":{\"usePathForKeyRow\":true},\"sheetId\":\"qwertz\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"read json file\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[620,-120],\"parameters\":{\"filePath\":\"/username/users_spreadsheet.json\"},\"typeVersion\":1},{\"name\":\"move binary data 2\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[800,-120],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"connections\":{\"read json file\":{\"main\":[[{\"node\":\"move binary data 2\",\"type\":\"main\",\"index\":0}]]},\"move binary data 2\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Salesforce accounts based on Google Sheets data", "output": "{\"nodes\":[{\"id\":\"29451054-fcd6-4054-b072-a87c716f6c67\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"995ae9b0-130c-4989-8e94-81a14b7743c4\",\"name\":\"Read Google Sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[460,240],\"parameters\":{\"options\":{},\"sheetId\":\"1cz-4tVi7Nn3j1gh147hROq9l6S4ta06sMfhm2AAI6js\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"19\",\"name\":\"Tom's Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"2c1ed019-85f1-4b0f-bcf5-ce59ff13ea49\",\"name\":\"Search Salesforce accounts\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[680,240],\"parameters\":{\"query\":\"=SELECT id, Name FROM Account WHERE Name = '{{$json[\\\"Company Name\\\"].replace(/'/g, '\\\\\\\\\\\\'')}}'\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"c6978a27-3cdc-44a2-a961-94557b2aed88\",\"name\":\"Keep new companies\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,40],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"7b5df5cf-7019-415b-9758-7f62c4fb13c8\",\"name\":\"Merge existing account data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,440],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"7da1de2f-2b37-4e33-b8d4-d1dc59e94bbe\",\"name\":\"Account found?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"80890a2a-f6d3-4efd-92b1-6465f98f512b\",\"name\":\"Remove duplicate companies\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1120,140],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"Company Name\"}]}},\"typeVersion\":1},{\"id\":\"ea9afa15-77be-4d7a-a287-35d4c1c6e6c1\",\"name\":\"Set Account ID for existing accounts\",\"type\":\"n8n-nodes-base.renameKeys\",\"position\":[1340,440],\"parameters\":{\"keys\":{\"key\":[{\"newKey\":\"Account ID\",\"currentKey\":\"Id\"}]},\"additionalOptions\":{}},\"typeVersion\":1},{\"id\":\"61cfdf30-9135-40bf-929d-317fca0ad474\",\"name\":\"Retrieve new company contacts\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1780,40],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"c10dea7c-96b0-4f3b-b859-af094ced51cc\",\"name\":\"Set new account name\",\"type\":\"n8n-nodes-base.set\",\"position\":[1560,140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"Name\",\"value\":\"={{ $node[\\\"Remove duplicate companies\\\"].json[\\\"Company Name\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"a4a2be2a-7bd9-4a70-b4d9-0df53834bdda\",\"name\":\"Create Salesforce account\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1340,140],\"parameters\":{\"name\":\"={{ $json[\\\"Company Name\\\"] }}\",\"resource\":\"account\",\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"89f49e6f-62be-403f-9a4c-cd56e28141f3\",\"name\":\"Create Salesforce contact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2000,240],\"parameters\":{\"lastname\":\"={{ $json[\\\"Last Name\\\"] }}\",\"resource\":\"contact\",\"operation\":\"upsert\",\"externalId\":\"Email\",\"externalIdValue\":\"={{ $json[\\\"Email\\\"] }}\",\"additionalFields\":{\"email\":\"={{ $json[\\\"Email\\\"] }}\",\"firstName\":\"={{ $json[\\\"First Name\\\"] }}\",\"acconuntId\":\"={{ $json[\\\"Account ID\\\"] }}\"}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1}],\"connections\":{\"Account found?\":{\"main\":[[{\"node\":\"Set Account ID for existing accounts\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheet\":{\"main\":[[{\"node\":\"Search Salesforce accounts\",\"type\":\"main\",\"index\":0},{\"node\":\"Keep new companies\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge existing account data\",\"type\":\"main\",\"index\":0}]]},\"Keep new companies\":{\"main\":[[{\"node\":\"Remove duplicate companies\",\"type\":\"main\",\"index\":0},{\"node\":\"Retrieve new company contacts\",\"type\":\"main\",\"index\":0}]]},\"Set new account name\":{\"main\":[[{\"node\":\"Retrieve new company contacts\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Google Sheet\",\"type\":\"main\",\"index\":0}]]},\"Create Salesforce account\":{\"main\":[[{\"node\":\"Set new account name\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicate companies\":{\"main\":[[{\"node\":\"Create Salesforce account\",\"type\":\"main\",\"index\":0}]]},\"Search Salesforce accounts\":{\"main\":[[{\"node\":\"Keep new companies\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge existing account data\",\"type\":\"main\",\"index\":1}]]},\"Merge existing account data\":{\"main\":[[{\"node\":\"Account found?\",\"type\":\"main\",\"index\":0}]]},\"Retrieve new company contacts\":{\"main\":[[{\"node\":\"Create Salesforce contact\",\"type\":\"main\",\"index\":0}]]},\"Set Account ID for existing accounts\":{\"main\":[[{\"node\":\"Create Salesforce contact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Salesforce accounts based on Excel 365 data", "output": "{\"nodes\":[{\"id\":\"e67d505c-20a3-4318-ba6b-d73db55e88e4\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"172d7c44-c488-4523-a0ad-1c903374c3e8\",\"name\":\"Search Salesforce accounts\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[680,240],\"parameters\":{\"query\":\"=SELECT id, Name FROM Account WHERE Name = '{{$json[\\\"Company Name\\\"].replace(/'/g, '\\\\\\\\\\\\'')}}'\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"ae559728-f82e-44d6-8cfe-512151ee6867\",\"name\":\"Keep new companies\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,40],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"e01310a4-2b47-4deb-8058-ab878cf83fc1\",\"name\":\"Merge existing account data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,440],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"1bc3a47f-ad77-4e2f-a777-6259017d8551\",\"name\":\"Account found?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"a488fcfc-f67c-43db-8924-b8b341417aec\",\"name\":\"Remove duplicate companies\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1120,140],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"Company Name\"}]}},\"typeVersion\":1},{\"id\":\"c175dfee-2294-4fa1-a33a-801b66857541\",\"name\":\"Set Account ID for existing accounts\",\"type\":\"n8n-nodes-base.renameKeys\",\"position\":[1340,440],\"parameters\":{\"keys\":{\"key\":[{\"newKey\":\"Account ID\",\"currentKey\":\"Id\"}]},\"additionalOptions\":{}},\"typeVersion\":1},{\"id\":\"9a393665-afba-4bc1-b590-19fab4b675c7\",\"name\":\"Retrieve new company contacts\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1780,40],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"5be06058-5aa6-4160-b5e6-39677514dfcc\",\"name\":\"Set new account name\",\"type\":\"n8n-nodes-base.set\",\"position\":[1560,140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"Name\",\"value\":\"={{ $node[\\\"Remove duplicate companies\\\"].json[\\\"Company Name\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"5f535598-e50f-4ff6-a2db-687a7df3befe\",\"name\":\"Create Salesforce account\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1340,140],\"parameters\":{\"name\":\"={{ $json[\\\"Company Name\\\"] }}\",\"resource\":\"account\",\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"75c80602-7bfd-4662-b6bd-14384a03bc24\",\"name\":\"Create Salesforce contact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2000,240],\"parameters\":{\"lastname\":\"={{ $json[\\\"Last Name\\\"] }}\",\"resource\":\"contact\",\"operation\":\"upsert\",\"externalId\":\"Email\",\"externalIdValue\":\"={{ $json[\\\"Email\\\"] }}\",\"additionalFields\":{\"email\":\"={{ $json[\\\"Email\\\"] }}\",\"firstName\":\"={{ $json[\\\"First Name\\\"] }}\",\"acconuntId\":\"={{ $json[\\\"Account ID\\\"] }}\"}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"f73ed50e-8fa6-4baf-90d2-4167d1823d27\",\"name\":\"Microsoft Excel\",\"type\":\"n8n-nodes-base.microsoftExcel\",\"position\":[460,240],\"parameters\":{\"range\":\"A1:E11\",\"resource\":\"worksheet\",\"workbook\":\"CA5C20CA5A0862D9!1122\",\"operation\":\"getContent\",\"worksheet\":\"{00000000-0001-0000-0000-000000000000}\"},\"credentials\":{\"microsoftExcelOAuth2Api\":{\"id\":\"44\",\"name\":\"Microsoft Excel account\"}},\"typeVersion\":1}],\"connections\":{\"Account found?\":{\"main\":[[{\"node\":\"Set Account ID for existing accounts\",\"type\":\"main\",\"index\":0}]]},\"Microsoft Excel\":{\"main\":[[{\"node\":\"Keep new companies\",\"type\":\"main\",\"index\":0},{\"node\":\"Search Salesforce accounts\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge existing account data\",\"type\":\"main\",\"index\":0}]]},\"Keep new companies\":{\"main\":[[{\"node\":\"Remove duplicate companies\",\"type\":\"main\",\"index\":0},{\"node\":\"Retrieve new company contacts\",\"type\":\"main\",\"index\":0}]]},\"Set new account name\":{\"main\":[[{\"node\":\"Retrieve new company contacts\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft Excel\",\"type\":\"main\",\"index\":0}]]},\"Create Salesforce account\":{\"main\":[[{\"node\":\"Set new account name\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicate companies\":{\"main\":[[{\"node\":\"Create Salesforce account\",\"type\":\"main\",\"index\":0}]]},\"Search Salesforce accounts\":{\"main\":[[{\"node\":\"Keep new companies\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge existing account data\",\"type\":\"main\",\"index\":1}]]},\"Merge existing account data\":{\"main\":[[{\"node\":\"Account found?\",\"type\":\"main\",\"index\":0}]]},\"Retrieve new company contacts\":{\"main\":[[{\"node\":\"Create Salesforce contact\",\"type\":\"main\",\"index\":0}]]},\"Set Account ID for existing accounts\":{\"main\":[[{\"node\":\"Create Salesforce contact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Salesforce accounts based on Excel File data", "output": "{\"nodes\":[{\"id\":\"76f6b074-32a5-4419-aa0f-80505b3a31ad\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[20,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"42289f01-3af9-4bc3-babb-54b983de7e77\",\"name\":\"Search Salesforce accounts\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[680,240],\"parameters\":{\"query\":\"=SELECT id, Name FROM Account WHERE Name = '{{$json[\\\"Company Name\\\"].replace(/'/g, '\\\\\\\\\\\\'')}}'\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"954ef43f-4dc1-4955-9c56-c5d11bcd5d6e\",\"name\":\"Keep new companies\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,40],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"ec23bd4f-c6ee-4c2a-a352-8ff521a5ddf6\",\"name\":\"Merge existing account data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[900,440],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"85b460ee-e6b4-48c8-8315-ccf7875ec345\",\"name\":\"Account found?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"1c926f04-b218-4460-8a56-c39a0854d50e\",\"name\":\"Remove duplicate companies\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1120,140],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"Company Name\"}]}},\"typeVersion\":1},{\"id\":\"d35c3b0b-d7a8-4182-9277-17080655436b\",\"name\":\"Set Account ID for existing accounts\",\"type\":\"n8n-nodes-base.renameKeys\",\"position\":[1340,440],\"parameters\":{\"keys\":{\"key\":[{\"newKey\":\"Account ID\",\"currentKey\":\"Id\"}]},\"additionalOptions\":{}},\"typeVersion\":1},{\"id\":\"3747fdfa-f5f8-41b0-8393-1ac2ae29bab5\",\"name\":\"Retrieve new company contacts\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1780,40],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Company Name\",\"propertyName2\":\"Name\"},\"typeVersion\":1},{\"id\":\"0879e6a0-d782-4a0a-98f3-eeccbea760f6\",\"name\":\"Set new account name\",\"type\":\"n8n-nodes-base.set\",\"position\":[1560,140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"Name\",\"value\":\"={{ $node[\\\"Remove duplicate companies\\\"].json[\\\"Company Name\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"7263c4dd-64eb-44c4-9839-fe3e5aa7ddbc\",\"name\":\"Create Salesforce account\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1340,140],\"parameters\":{\"name\":\"={{ $json[\\\"Company Name\\\"] }}\",\"resource\":\"account\",\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"40d168af-346a-46ea-9fa0-641edd0f4937\",\"name\":\"Create Salesforce contact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2000,240],\"parameters\":{\"lastname\":\"={{ $json[\\\"Last Name\\\"] }}\",\"resource\":\"contact\",\"operation\":\"upsert\",\"externalId\":\"Email\",\"externalIdValue\":\"={{ $json[\\\"Email\\\"] }}\",\"additionalFields\":{\"email\":\"={{ $json[\\\"Email\\\"] }}\",\"firstName\":\"={{ $json[\\\"First Name\\\"] }}\",\"acconuntId\":\"={{ $json[\\\"Account ID\\\"] }}\"}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"40\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"dcd40640-c1d6-407c-95c9-84759ecaafab\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-20,0],\"parameters\":{\"width\":400,\"height\":400,\"content\":\"## Downloading a file\\nIn this example workflow, the spreadsheet file is downloaded from an HTTP location.\\n\\nDepending on your scenario you might want to swap the HTTP Request node downloading the file with another node fetching the file from another source (such as an FTP service, cloud storage, your local filesystem or an email for example).\"},\"typeVersion\":1},{\"id\":\"2fc38a06-11ec-4aa5-83f9-624f5a5ef47a\",\"name\":\"Download file\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[240,240],\"parameters\":{\"url\":\"https://static.thomasmartens.eu/n8n/Excel-File-to-Salesforce.xlsx\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":2},{\"id\":\"43d5ba55-d150-4c7e-b44a-531733418c68\",\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[460,240],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Download file\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Account found?\":{\"main\":[[{\"node\":\"Set Account ID for existing accounts\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Search Salesforce accounts\",\"type\":\"main\",\"index\":0},{\"node\":\"Keep new companies\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge existing account data\",\"type\":\"main\",\"index\":0}]]},\"Keep new companies\":{\"main\":[[{\"node\":\"Remove duplicate companies\",\"type\":\"main\",\"index\":0},{\"node\":\"Retrieve new company contacts\",\"type\":\"main\",\"index\":0}]]},\"Set new account name\":{\"main\":[[{\"node\":\"Retrieve new company contacts\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Download file\",\"type\":\"main\",\"index\":0}]]},\"Create Salesforce account\":{\"main\":[[{\"node\":\"Set new account name\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicate companies\":{\"main\":[[{\"node\":\"Create Salesforce account\",\"type\":\"main\",\"index\":0}]]},\"Search Salesforce accounts\":{\"main\":[[{\"node\":\"Keep new companies\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge existing account data\",\"type\":\"main\",\"index\":1}]]},\"Merge existing account data\":{\"main\":[[{\"node\":\"Account found?\",\"type\":\"main\",\"index\":0}]]},\"Retrieve new company contacts\":{\"main\":[[{\"node\":\"Create Salesforce contact\",\"type\":\"main\",\"index\":0}]]},\"Set Account ID for existing accounts\":{\"main\":[[{\"node\":\"Create Salesforce contact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "User sign up workflow", "output": "{\"nodes\":[1],\"connections\":[1]}" }, { "input": "Jira Email Notficiation Service", "output": "{\"nodes\":[{\"name\":\"Jira Trigger\",\"type\":\"n8n-nodes-base.jiraTrigger\",\"position\":[880,400],\"webhookId\":\"a3ddaf66-7f75-4494-b435-ef88ef1f1917\",\"parameters\":{\"events\":[\"*\"],\"additionalFields\":{}},\"credentials\":{\"jiraSoftwareCloudApi\":\"n8n\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "This is a test workflow for Animo", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[800,520],\"webhookId\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"parameters\":{\"path\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,380],\"parameters\":{\"width\":600,\"height\":280,\"content\":\"## Create a simple API endpoint\\n\\nIn this workflow we should how to create a simple API endpoint with `Webhook` and `Respond to Webhook` nodes\\n\\n\"},\"typeVersion\":1},{\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1240,520],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"=The URL of the Google search query for the term \\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"first_name\\\"]}} {{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"last_name\\\"]}}\\\" is: {{$json[\\\"product\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Create URL string\",\"type\":\"n8n-nodes-base.set\",\"position\":[1020,520],\"parameters\":{\"values\":{\"string\":[{\"name\":\"product\",\"value\":\"=https://www.google.com/search?q={{$json[\\\"query\\\"][\\\"first_name\\\"]}}+{{$json[\\\"query\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,680],\"parameters\":{\"width\":600,\"height\":220,\"content\":\"### How to use it\\n1. Execute the workflow so that the webhook starts listening\\n2. Make a test request by pasting, **in a new browser tab**, the test URL from the `Webhook` node and appending the following test at the end `?first_name=bob&last_name=dylen`\\n\\nYou should receive the following output in the new tab `The URL of the Google search query for the term \\\"bob dylen\\\" is: https://www.google.com/search?q=bob+dylen`\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Create URL string\",\"type\":\"main\",\"index\":0}]]},\"Create URL string\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "RSS feed for ARD Audiothek podcasts", "output": "{\"nodes\":[{\"id\":\"35c4aa9f-7535-4315-9174-fe97afc6de2e\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"ed1f4f78-733f-4dd5-9785-969c9ec0d637\",\"name\":\"Get overview page\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,300],\"parameters\":{\"url\":\"https://www.ardaudiothek.de/sendung/kalk-und-welk/10777871/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":2},{\"id\":\"28333c78-aa8f-401a-8033-2007a5e6991c\",\"name\":\"Extract links\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[680,300],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"links\",\"attribute\":\"href\",\"cssSelector\":\"a[href*=\\\"/episode/\\\"]\",\"returnArray\":true,\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"id\":\"58840494-4208-49ce-b82a-d7cf8abd3b29\",\"name\":\"Remove duplicate links\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1120,300],\"parameters\":{\"operation\":\"removeDuplicates\"},\"typeVersion\":1},{\"id\":\"17efb905-b947-4538-ab34-d50bf7fdbd75\",\"name\":\"Split out lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[900,300],\"parameters\":{\"options\":{\"destinationFieldName\":\"link\"},\"fieldToSplitOut\":\"links\"},\"typeVersion\":1},{\"id\":\"59a69e64-ebba-42cb-b8d0-8dd73f0ae962\",\"name\":\"Get episode page\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1340,300],\"parameters\":{\"url\":\"=https://www.ardaudiothek.de{{ $json[\\\"link\\\"] }}\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":2},{\"id\":\"68749bff-1499-4ef5-aefd-c4b6233d0fa7\",\"name\":\"Extract script\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1560,300],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"script\",\"cssSelector\":\"script:nth-of-type(2)\",\"returnValue\":\"html\"}]}},\"typeVersion\":1},{\"id\":\"158e7b18-f58d-453f-80f8-97e65f0b1fde\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.set\",\"position\":[1780,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"data\",\"value\":\"={{ JSON.parse($json.script) }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"a613c52e-395b-4d88-ab7d-b1cf2b664b43\",\"name\":\"Define feed items\",\"type\":\"n8n-nodes-base.function\",\"position\":[2000,300],\"parameters\":{\"functionCode\":\"const escapeHTML = str => str.replace(/[&<>'\\\"]/g, \\n tag => ({\\n '&': '&',\\n '<': '<',\\n '>': '>',\\n \\\"'\\\": ''',\\n '\\\"': '"'\\n }[tag]));\\n\\nlet feedItems = [];\\nfor (item of items) {\\n feedItems.push(`\\n ${escapeHTML(item.json.data.name)}\\n \\n ${item.json.data.identifier}\\n ${DateTime.fromISO(item.json.data.datePublished).toRFC2822()}\\n ${escapeHTML(item.json.data.description)}\\n`);\\n}\\n\\nreturn [{\\n data: `\\n\\n \\n ${escapeHTML(items[0].json.data.partOfSeries.name)}\\n ${escapeHTML(items[0].json.data.partOfSeries.about)}\\n \\n ${items[0].json.data.inLanguage}\\n \\n no\\n ${items[0].json.data.partOfSeries.url}\\n © ${$now.toFormat('yyyy')} ${escapeHTML(items[0].json.data.productionCompany)}\\n ${escapeHTML(items[0].json.data.productionCompany)}\\n ${feedItems.join('\\\\n')}\\n \\n\\n`\\n}];\\n\"},\"typeVersion\":1},{\"id\":\"cbdc367d-a685-4f0b-a9f3-0aedc2c8b3c1\",\"name\":\"Feed\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[240,100],\"webhookId\":\"3fbd94de-2fb3-4b32-a46e-c237865479b9\",\"parameters\":{\"path\":\"3fbd94de-2fb3-4b32-a46e-c237865479b9.rss\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"0dfb02cc-1944-4542-b5c5-9e0b198e143d\",\"name\":\"Serve feed\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[2220,300],\"parameters\":{\"options\":{\"responseCode\":200,\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"application/rss+xml\"}]}},\"respondWith\":\"text\",\"responseBody\":\"={{ $json[\\\"data\\\"] }}\"},\"typeVersion\":1}],\"connections\":{\"Feed\":{\"main\":[[{\"node\":\"Get overview page\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Define feed items\",\"type\":\"main\",\"index\":0}]]},\"Extract links\":{\"main\":[[{\"node\":\"Split out lists\",\"type\":\"main\",\"index\":0}]]},\"Extract script\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Split out lists\":{\"main\":[[{\"node\":\"Remove duplicate links\",\"type\":\"main\",\"index\":0}]]},\"Get episode page\":{\"main\":[[{\"node\":\"Extract script\",\"type\":\"main\",\"index\":0}]]},\"Define feed items\":{\"main\":[[{\"node\":\"Serve feed\",\"type\":\"main\",\"index\":0}]]},\"Get overview page\":{\"main\":[[{\"node\":\"Extract links\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get overview page\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicate links\":{\"main\":[[{\"node\":\"Get episode page\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n Nodemation basic - getting started on the workflow canvas (1/3)", "output": "{\"id\":\"5\",\"name\":\"testworkflow\",\"nodes\":[{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"color\":\"#067325\",\"position\":[860,680],\"parameters\":{\"functionCode\":\"item.myVariable = 1;\\nitem.myVariable2 = \\\"this is exciting\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"2 hours Interval\",\"type\":\"n8n-nodes-base.interval\",\"color\":\"#FF2A00\",\"notes\":\"It is the 4 hours interval in which this node gets executed\",\"position\":[630,680],\"parameters\":{\"unit\":\"hours\",\"interval\":2},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1040,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"data\",\"value\":\"={{$node[\\\"FunctionItem\\\"].data[\\\"myVariable2\\\"]}}\"}]},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"FunctionItem\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"2 hours Interval\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test BVB trading comp", "output": "{\"nodes\":[1],\"connections\":[1]}" }, { "input": "Generate random mock data with no code and zero dependencies", "output": "{\"id\":\"sNOCfwePN66wsyU7\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\",\"templateCredsSetupCompleted\":true},\"name\":\"Random Data Generator\",\"tags\":[],\"nodes\":[{\"id\":\"c00b9aef-a308-430c-9d89-09d29f9dd7ea\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-300,780],\"parameters\":{},\"typeVersion\":1},{\"id\":\"5bce473f-7e3a-4d54-8030-14c3ab68546e\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[-20,780],\"parameters\":{\"jsCode\":\"return [\\n {firsname:\\\"Name 1\\\",lastname:\\\"Surname 1\\\", occupation:\\\"Job 1\\\"},\\n {firsname:\\\"Name 2\\\",lastname:\\\"Surname 2\\\", occupation:\\\"Job 2\\\"},\\n {firsname:\\\"Name 3\\\",lastname:\\\"Surname 3\\\", occupation:\\\"Job 3\\\"}\\n];\"},\"typeVersion\":2},{\"id\":\"a7562be8-ca09-46c9-88ea-c82d41cee667\",\"name\":\"Firstname1\",\"type\":\"n8n-nodes-base.set\",\"position\":[340,420],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"516e4f30-bfe7-4891-8ff5-cd0ce70c5419\",\"name\":\"firsname\",\"type\":\"string\",\"value\":\"={{ $json[\\\"firsname\\\"] }}\"}]}},\"typeVersion\":3.3},{\"id\":\"6e23cc25-00b2-4ce3-ab94-dbf7141c1cb6\",\"name\":\"Lastname\",\"type\":\"n8n-nodes-base.set\",\"position\":[340,600],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"68d28ab6-d7c5-4110-86a2-a098443c64c4\",\"name\":\"lastname\",\"type\":\"string\",\"value\":\"={{ $json[\\\"lastname\\\"] }}\"}]}},\"typeVersion\":3.3},{\"id\":\"984d93b7-af7c-4545-bebe-baf6b4795954\",\"name\":\"Occupation\",\"type\":\"n8n-nodes-base.set\",\"position\":[340,760],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"e649e881-cc76-494e-adc2-51865ed87a68\",\"name\":\"occupation\",\"type\":\"string\",\"value\":\"={{ $json[\\\"occupation\\\"] }}\"}]}},\"typeVersion\":3.3},{\"id\":\"f957e7a5-7521-4408-adc7-eb853b05465f\",\"name\":\"Random\",\"type\":\"n8n-nodes-base.sort\",\"position\":[980,600],\"parameters\":{\"type\":\"random\"},\"typeVersion\":1},{\"id\":\"537a21dd-81a5-47f6-9cc8-41d838fd72bb\",\"name\":\"Limit\",\"type\":\"n8n-nodes-base.limit\",\"position\":[1160,600],\"parameters\":{\"maxItems\":10},\"typeVersion\":1},{\"id\":\"bdfcfd8e-273d-4473-b442-47eb206d3e4d\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-320,120],\"parameters\":{\"color\":5,\"width\":510.4010876954434,\"height\":486.6950298104135,\"content\":\"## Random data generator\\n### Beginner-level workflow, revamped version\\n### Zero coding and no external dependencies\\nSometimes you need mock data to test your workflows. Here's the most simple and bullet-proof example: no coding and zero external dependencies.\\n\\n*Click on the image to watch the full tutorial*\\n[![Click to watch the video](https://i.ytimg.com/vi/3AVJFk3uXBg/hqdefault.jpg)](https://www.youtube.com/watch?v=3AVJFk3uXBg)\"},\"typeVersion\":1},{\"id\":\"fb58a167-f5ce-48c8-b95b-37075e714fcf\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[260,346.1590754588717],\"parameters\":{\"width\":639.6193065941536,\"height\":584.745071380013,\"content\":\"### These nodes create a combination of all possible values.\\nWatch the YouTube video for details\"},\"typeVersion\":1},{\"id\":\"951d6efe-95d1-4c26-bad9-10aaa796d3a0\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[940,536.5601631543165],\"parameters\":{\"width\":362.039428959891,\"height\":222.21617946974848,\"content\":\"### Sort and limit the number of output items\"},\"typeVersion\":1},{\"id\":\"a883e636-2fc8-4e54-8936-de4a3bb0219b\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1360,487.5186947654655],\"parameters\":{\"width\":277.09041468388835,\"height\":265.28891910265116,\"content\":\"### You can do some additional post-processing here\\nFor example, derive Email address based on the user name and surname\"},\"typeVersion\":1},{\"id\":\"1847465d-4206-403a-abc5-63a89d0b8f76\",\"name\":\"Email\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,600],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"be85a167-8fdb-476d-a1e6-af91546a75be\",\"name\":\"email\",\"type\":\"string\",\"value\":\"={{$json[\\\"firsname\\\"].replaceAll(\\\" \\\",\\\"\\\")}}.{{$json[\\\"lastname\\\"].replaceAll(\\\" \\\",\\\"\\\")}}@gmail.com\"}]},\"includeOtherFields\":true},\"typeVersion\":3.3},{\"id\":\"80863d62-04bf-4467-869c-5144ed2af722\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-160,620],\"parameters\":{\"width\":356.0571040108765,\"height\":310.6267881974685,\"content\":\"## Create source values for for the random generator\\n\\n**PRO TIP**: you can use [Ask AI](https://docs.n8n.io/code/ai-code/) in the cloud version to generate mock values once and then re-use them.\"},\"typeVersion\":1},{\"id\":\"7e577e25-6bf3-40c8-bf52-ce1ba141698f\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[560,520],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combineBy\":\"combineAll\"},\"typeVersion\":3},{\"id\":\"69156809-40f3-4d59-ab47-8621f5bcac0e\",\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[760,600],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combineBy\":\"combineAll\"},\"typeVersion\":3}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"14201eec-a3e3-4e67-809c-113a6aa7849d\",\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Lastname\",\"type\":\"main\",\"index\":0},{\"node\":\"Firstname1\",\"type\":\"main\",\"index\":0},{\"node\":\"Occupation\",\"type\":\"main\",\"index\":0}]]},\"Limit\":{\"main\":[[{\"node\":\"Email\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Random\",\"type\":\"main\",\"index\":0}]]},\"Random\":{\"main\":[[{\"node\":\"Limit\",\"type\":\"main\",\"index\":0}]]},\"Lastname\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Firstname1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Occupation\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "New Merge Node starting from ver. 0.194", "output": "{\"meta\":{\"instanceId\":\"dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3\"},\"nodes\":[{\"id\":\"904ceeef-d540-44f6-8b70-8c596e59260a\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-280,-140],\"parameters\":{},\"typeVersion\":1},{\"id\":\"12b4f4d4-d48b-4213-a5c4-a4580cef83b2\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1080,-1020],\"parameters\":{},\"typeVersion\":2},{\"id\":\"03e4f3f1-e886-4033-b524-49d3f170e59c\",\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1180,-600],\"parameters\":{\"mode\":\"mergeByFields\",\"options\":{\"multipleMatches\":\"all\"},\"mergeByFields\":{\"values\":[{\"field1\":\"Id\",\"field2\":\"ClientId\"}]}},\"typeVersion\":2},{\"id\":\"fdec0fb0-a3a7-4b5a-b5d2-960251301cd3\",\"name\":\"Merge4\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1180,760],\"parameters\":{\"mode\":\"chooseBranch\"},\"typeVersion\":2},{\"id\":\"ee7d2870-b81c-4862-a09a-12fae95fbd40\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[720,560],\"parameters\":{\"width\":746.2625,\"height\":423.1110178206585,\"content\":\"## Choose Branch\\n### Output one branch when both inputs arrive\\n### *Use Cases: wait for subprocess to finish or synchronise several data streams*\"},\"typeVersion\":1},{\"id\":\"4ba80cfb-796c-40d0-b0ee-7c7da32dd893\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[40,-1040],\"parameters\":{},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"39d31656-bf75-49ba-b46a-01d71a404548\",\"name\":\"SomeData\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,700],\"parameters\":{\"functionCode\":\"return [\\n {Name:\\\"Willie\\\",BDAY:\\\"1933-04-29\\\"},\\n {Name:\\\"Dolly\\\", BDAY:\\\"1946-01-19\\\"},\\n {Name:\\\"Johny\\\", BDAY:\\\"1932-02-26\\\"}\\n];\"},\"typeVersion\":1},{\"id\":\"dfe0321b-a227-444c-80fd-f7ca196dd954\",\"name\":\"SubProcess\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,840],\"parameters\":{\"functionCode\":\"return [\\n {StatusCode:\\\"OK\\\"}\\n];\"},\"typeVersion\":1},{\"id\":\"e6ac1f2a-2e3e-48bf-8000-5beaa8955443\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[720,-360],\"parameters\":{\"width\":746.2625,\"height\":435.44076674233844,\"content\":\"## Multiplex\\n### Return all possible combinations of two outputs\\n### *Also known as Cross Join (in SQL) or Cartesian product (in math)*\"},\"typeVersion\":1},{\"id\":\"53551239-4f3e-4352-a2c9-3e3f34ca7caa\",\"name\":\"NoOp1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[40,-580],\"parameters\":{},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"982400f8-1301-4ab5-a99f-f69d71fa8c0d\",\"name\":\"NoOp2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[40,-140],\"parameters\":{},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"adfc85f2-e56a-4ad2-a20a-7962ca5ca3a7\",\"name\":\"NoOp3\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[40,300],\"parameters\":{},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"2eb2c4ea-805c-4650-90d4-bbdf9a7413af\",\"name\":\"NoOp4\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[40,760],\"parameters\":{},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"4e45f0e7-c236-45ee-93c4-f0f70710aa7a\",\"name\":\"WeekDays\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,-220],\"parameters\":{\"functionCode\":\"const { Info } = require('luxon');\\nvar arr=[];\\n for (i in Info.weekdays()){\\n arr.push({\\n weekday:Info.weekdays()[i],\\n daynum:Number(i)\\n });\\n }\\nreturn arr;\"},\"typeVersion\":1},{\"id\":\"76bf94f6-ac9a-4972-a13c-9493b0baa16e\",\"name\":\"Hours\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,-60],\"parameters\":{\"functionCode\":\"var arr=[];\\n for (i=0; i<24; i++){\\n arr.push({hour:i});\\n }\\nreturn arr;\"},\"typeVersion\":1},{\"id\":\"3074f5ca-c6e2-4097-a3f1-57dc8612a4c1\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[720,100],\"parameters\":{\"width\":746.2625,\"height\":435.44076674233844,\"content\":\"## Merge By Position\\n### Combine items \\\"side by side\\\"\\n### *Avoid using this merge mode! Be very careful with the input data!*\"},\"typeVersion\":1},{\"id\":\"afe709af-6c0e-406f-83ac-ca96570d1eb6\",\"name\":\"WeekDays1\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,240],\"parameters\":{\"functionCode\":\"const { Info } = require('luxon');\\nvar arr=[];\\n for (i in Info.weekdays()){\\n arr.push({\\n weekday:Info.weekdays()[i],\\n daynum:Number(i)\\n });\\n }\\nreturn arr;\"},\"typeVersion\":1},{\"id\":\"d3773f3f-5b5e-4b00-8c69-608867dbb648\",\"name\":\"Hours1\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,400],\"parameters\":{\"functionCode\":\"var arr=[];\\n for (i=23; i>=0; i=i-1){\\n arr.push({hour:i});\\n }\\nreturn arr;\"},\"typeVersion\":1},{\"id\":\"ba0f1c38-0f3f-4bdf-a7b0-5106c98c42f2\",\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1180,-140],\"parameters\":{\"mode\":\"multiplex\",\"options\":{}},\"typeVersion\":2},{\"id\":\"fb991701-7c9b-4145-ad29-9cf4a60d2a57\",\"name\":\"Merge3\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1180,320],\"parameters\":{\"mode\":\"mergeByPosition\",\"options\":{\"includeUnpaired\":true}},\"typeVersion\":2},{\"id\":\"cc87cb2e-1574-44fc-b0a2-6f5db12090c5\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[720,-1280],\"parameters\":{\"width\":746.2625,\"height\":482.2138877145574,\"content\":\"## Append\\n### \\\"Stack\\\" items on top of each other. Be careful with field names!\\n### *Use Cases:*\\n### *1) Combine two sources with similar structure*\\n### *2) Put back filtered records from the same dataset*\"},\"typeVersion\":1},{\"id\":\"464ac26d-d98f-49fe-a8e3-acf6265de610\",\"name\":\"Names1\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,-1100],\"parameters\":{\"functionCode\":\"return [\\n {Name:\\\"Willie\\\",BDAY:\\\"1933-04-29\\\",Occupation:\\\"Country musician\\\", id: 1},\\n {Name:\\\"Dolly\\\", BDAY:\\\"1946-01-19\\\",Occupation:\\\"Country musician\\\", id: 2},\\n {Name:\\\"Johny\\\", BDAY:\\\"1932-02-26\\\",Occupation:\\\"Country musician\\\", id: 3}\\n];\"},\"typeVersion\":1},{\"id\":\"82e2e5ad-23ae-4899-9027-039ee92d790d\",\"name\":\"Names2\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,-940],\"parameters\":{\"functionCode\":\"return [\\n {Name:\\\"Willie\\\",BDAY:\\\"1933-04-29\\\",Job:\\\"Country musician\\\", id: \\\"1\\\"},\\n {Name:\\\"Dolly\\\", BDAY:\\\"1946-01-19\\\",Job:\\\"Country musician\\\", id: \\\"2\\\"},\\n {Name:\\\"Johny\\\", BDAY:\\\"1932-02-26\\\",Job:\\\"Country musician\\\", id: \\\"3\\\"}\\n];\"},\"typeVersion\":1},{\"id\":\"11956369-bc3c-4f9c-8699-bbe1a60050ec\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[720,-780],\"parameters\":{\"width\":746.2625,\"height\":393.4913771827895,\"content\":\"## Merge By Fields\\n### Match records from two inputs by field(s) values\\n### *Use Cases: Combine two connected sources (i.e. 2 tables from SQL database)*\"},\"typeVersion\":1},{\"id\":\"46073ec5-4940-43a8-9f2b-dbe916b5d509\",\"name\":\"Clients\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,-660],\"parameters\":{\"functionCode\":\"return [\\n {Id:1, Name:\\\"Willie\\\",BDAY:\\\"1933-04-29\\\"},\\n {Id:2, Name:\\\"Dolly\\\", BDAY:\\\"1946-01-19\\\"},\\n {Id:3, Name:\\\"Johny\\\", BDAY:\\\"1932-02-26\\\"}\\n];\"},\"typeVersion\":1},{\"id\":\"c7a95185-8a9d-4d5d-8a94-32beaa2cf875\",\"name\":\"Orders\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,-520],\"parameters\":{\"functionCode\":\"return [\\n {Id:101, ClientId:1, OrderDate:\\\"1969-07-10\\\",OrderItems:[{Itemname:\\\"Trigger Guitar\\\", ItemValue:750}]},\\n {Id:100, ClientId:1, OrderDate:\\\"1962-01-06\\\",OrderItems:[{Itemname:\\\"Sigar\\\", ItemValue:2},{Itemname:\\\"Jack Daniels\\\", ItemValue:15}]},\\n {Id:102, ClientId:2, OrderDate:\\\"1980-07-10\\\",OrderItems:[{Itemname:\\\"Cowboy Hat\\\", ItemValue:50}]},\\n {Id:103, ClientId:2, OrderDate:\\\"1995-05-15\\\",OrderItems:[{Itemname:\\\"Lipstick\\\", ItemValue:10},{Itemname:\\\"Eyeliner\\\", ItemValue:10}]}\\n];\"},\"typeVersion\":1},{\"id\":\"3c0bce95-e738-4e2e-bca2-a3e9adef753a\",\"name\":\"NoOp5\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[920,840],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"NoOp\":{\"main\":[[{\"node\":\"Names1\",\"type\":\"main\",\"index\":0},{\"node\":\"Names2\",\"type\":\"main\",\"index\":0}]]},\"Hours\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"NoOp1\":{\"main\":[[{\"node\":\"Clients\",\"type\":\"main\",\"index\":0},{\"node\":\"Orders\",\"type\":\"main\",\"index\":0}]]},\"NoOp2\":{\"main\":[[{\"node\":\"WeekDays\",\"type\":\"main\",\"index\":0},{\"node\":\"Hours\",\"type\":\"main\",\"index\":0}]]},\"NoOp3\":{\"main\":[[{\"node\":\"WeekDays1\",\"type\":\"main\",\"index\":0},{\"node\":\"Hours1\",\"type\":\"main\",\"index\":0}]]},\"NoOp4\":{\"main\":[[{\"node\":\"SomeData\",\"type\":\"main\",\"index\":0},{\"node\":\"SubProcess\",\"type\":\"main\",\"index\":0}]]},\"NoOp5\":{\"main\":[[{\"node\":\"Merge4\",\"type\":\"main\",\"index\":1}]]},\"Hours1\":{\"main\":[[{\"node\":\"Merge3\",\"type\":\"main\",\"index\":1}]]},\"Names1\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Names2\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Orders\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Clients\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"SomeData\":{\"main\":[[{\"node\":\"Merge4\",\"type\":\"main\",\"index\":0}]]},\"WeekDays\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0}]]},\"WeekDays1\":{\"main\":[[{\"node\":\"Merge3\",\"type\":\"main\",\"index\":0}]]},\"SubProcess\":{\"main\":[[{\"node\":\"NoOp5\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"NoOp4\",\"type\":\"main\",\"index\":0},{\"node\":\"NoOp3\",\"type\":\"main\",\"index\":0},{\"node\":\"NoOp2\",\"type\":\"main\",\"index\":0},{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0},{\"node\":\"NoOp1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync your GitHub issues to your Notion database", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"0bd18974-8414-4b83-b3fb-85d2f6a74164\",\"name\":\"Create database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1220,400],\"parameters\":{\"title\":\"={{$json[\\\"body\\\"][\\\"issue\\\"][\\\"title\\\"]}}\",\"resource\":\"databasePage\",\"databaseId\":\"5026700b-6693-473a-8100-8cc6ddef62a6\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Issue ID|number\",\"numberValue\":\"={{$node[\\\"Trigger on issues\\\"].json[\\\"body\\\"][\\\"issue\\\"][\\\"id\\\"]}}\"},{\"key\":\"Link|url\",\"urlValue\":\"={{$node[\\\"Trigger on issues\\\"].json[\\\"body\\\"][\\\"issue\\\"][\\\"html_url\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"dfce23fd-7ff8-42d1-9544-694345156080\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1220,800],\"parameters\":{\"content\":\"## IF & Switch\\nDepends on what action was taken on an issue in GitHub.\"},\"typeVersion\":1},{\"id\":\"577e0d7a-0539-414f-8ec8-00ce12807d5b\",\"name\":\"Find database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1400,600],\"parameters\":{\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"5026700b-6693-473a-8100-8cc6ddef62a6\",\"filterJson\":\"={{$node[\\\"Create custom Notion filters\\\"].json[\\\"notionfilter\\\"]}}\",\"filterType\":\"json\"},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"91b0586c-eb08-41d0-bbb0-8a03c4a0ac3a\",\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1580,600],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"edited\"},{\"output\":1,\"value2\":\"deleted\"},{\"output\":2,\"value2\":\"closed\"},{\"output\":3,\"value2\":\"reopened\"}]},\"value1\":\"={{$node[\\\"Trigger on issues\\\"].json[\\\"body\\\"][\\\"action\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"5262e14e-adc2-45d1-9e3f-c0eba013077a\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1040,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Trigger on issues\\\"].json[\\\"body\\\"][\\\"action\\\"]}}\",\"value2\":\"opened\"}]}},\"typeVersion\":1},{\"id\":\"735ef0b3-70c3-4a88-ad02-35edf8f749c4\",\"name\":\"Edit issue\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1760,360],\"parameters\":{\"pageId\":\"={{ $node[\\\"Find database page\\\"].json[\\\"id\\\"] }}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Issue|title\",\"title\":\"={{$node[\\\"Trigger on issues\\\"].json[\\\"body\\\"][\\\"issue\\\"][\\\"title\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"39b75e78-bd62-40e4-9e88-12c6a1901c34\",\"name\":\"Delete issue\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1760,520],\"parameters\":{\"pageId\":\"={{$node[\\\"Find database page\\\"].json[\\\"id\\\"]}}\",\"operation\":\"archive\"},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"d8fee72d-c19d-4b99-85c2-dcc5d4fa6756\",\"name\":\"Create custom Notion filters\",\"type\":\"n8n-nodes-base.function\",\"position\":[1220,600],\"parameters\":{\"functionCode\":\"const new_items = [];\\nfor (item of $items(\\\"Trigger on issues\\\")) {\\n\\n // do not process this item if action is created\\n if (item.json[\\\"body\\\"][\\\"action\\\"] == \\\"opened\\\") {\\n continue;\\n }\\n\\n // build the output template\\n var new_item = {\\n \\\"json\\\": {\\n \\\"notionfilter\\\": \\\"\\\"\\n }\\n };\\n new_item = JSON.stringify(new_item);\\n new_item = JSON.parse(new_item);\\n new_items.push(new_item);\\n\\n // create Notion filter to find specific database page by issue ID\\n notionfilter = {\\n or: [],\\n }\\n\\n const filter = {\\n property: 'Issue ID',\\n number: {\\n equals: parseInt(item.json[\\\"body\\\"][\\\"issue\\\"][\\\"id\\\"])\\n }\\n }\\n notionfilter[\\\"or\\\"].push(filter);\\n\\n new_item.json.notionfilter = JSON.stringify(notionfilter); \\n}\\n\\nreturn new_items;\"},\"typeVersion\":1},{\"id\":\"99c69200-d932-4379-9a36-96cd8420f21c\",\"name\":\"Close issue\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1760,680],\"parameters\":{\"pageId\":\"={{$node[\\\"Find database page\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Closed|checkbox\",\"checkboxValue\":true}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"3f4b27d3-33ae-44f8-ab18-1c23ae7cf890\",\"name\":\"Reopen issue\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1760,840],\"parameters\":{\"pageId\":\"={{$node[\\\"Find database page\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Closed|checkbox\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"62e1a9d3-3fc6-46de-a048-cf8176f30f94\",\"name\":\"Trigger on issues\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[860,500],\"webhookId\":\"bc0a0a44-00db-473b-8746-b60b3b36039c\",\"parameters\":{\"owner\":\"John-n8n\",\"events\":[\"issues\"],\"repository\":\"DemoRepo\"},\"credentials\":{\"githubApi\":{\"id\":\"20\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create database page\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create custom Notion filters\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Edit issue\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Delete issue\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Close issue\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Reopen issue\",\"type\":\"main\",\"index\":0}]]},\"Trigger on issues\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Find database page\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Create custom Notion filters\":{\"main\":[[{\"node\":\"Find database page\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Shopify customers to your HubSpot contacts", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"5cb9cd37-a73d-4f3f-b4dd-4b56e79f4056\",\"name\":\"On order updated\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[380,200],\"webhookId\":\"0972ce92-d800-4049-ab60-7c71898ecbfa\",\"parameters\":{\"topic\":\"orders/updated\"},\"credentials\":{\"shopifyApi\":{\"id\":\"10\",\"name\":\"Shopify account\"}},\"typeVersion\":1},{\"id\":\"720e35c7-387e-428a-8930-0dfb67536382\",\"name\":\"Keep only userId\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,280],\"parameters\":{\"values\":{\"number\":[{\"name\":\"userId\",\"value\":\"={{ $json[\\\"vid\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"3bb1f676-6733-4c1f-b3d0-4604f8baa0c8\",\"name\":\"New Order, deal not found\",\"type\":\"n8n-nodes-base.if\",\"position\":[1560,220],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"7f4b86a1-9ea7-4c5d-a336-eea2ec6dc341\",\"name\":\"Do Nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1800,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f60c88f1-8dab-498e-9f18-d7842dfa60c6\",\"name\":\"Create new deal\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1800,120],\"parameters\":{\"stage\":\"closedwon\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"amount\":\"={{ $node[\\\"Add Hubspot userId to data\\\"].json[\\\"current_total_price\\\"] }}\",\"dealName\":\"={{ $node[\\\"Add Hubspot userId to data\\\"].json[\\\"name\\\"] }}\",\"closeDate\":\"={{ $node[\\\"Add Hubspot userId to data\\\"].json[\\\"created_at\\\"] }}\",\"associatedVids\":\"={{ $node[\\\"Add Hubspot userId to data\\\"].json[\\\"userId\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"21\",\"name\":\"HubSpot account\"}},\"typeVersion\":1},{\"id\":\"3d9de7e0-8cd4-4cea-a78c-8a862c32edeb\",\"name\":\"Find if order already exists as deal\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1340,220],\"parameters\":{\"operation\":\"search\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"query\":\"={{ $json[\\\"name\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"21\",\"name\":\"HubSpot account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"f85b698a-872a-477b-9466-e35622b381a2\",\"name\":\"Add Hubspot userId to data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1140,220],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"id\":\"11502ac7-1e57-4614-9dd5-31f5fc62c91c\",\"name\":\"Create or update contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[640,280],\"parameters\":{\"email\":\"={{ $json[\\\"contact_email\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"city\":\"={{ $json[\\\"customer\\\"][\\\"default_address\\\"][\\\"city\\\"] }}\",\"country\":\"={{ $json[\\\"customer\\\"][\\\"default_address\\\"][\\\"country\\\"] }}\",\"lastName\":\"={{ $json[\\\"customer\\\"][\\\"default_address\\\"][\\\"last_name\\\"] }}\",\"firstName\":\"={{ $json[\\\"customer\\\"][\\\"default_address\\\"][\\\"first_name\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"21\",\"name\":\"HubSpot account\"}},\"typeVersion\":1}],\"connections\":{\"Keep only userId\":{\"main\":[[{\"node\":\"Add Hubspot userId to data\",\"type\":\"main\",\"index\":1}]]},\"On order updated\":{\"main\":[[{\"node\":\"Add Hubspot userId to data\",\"type\":\"main\",\"index\":0},{\"node\":\"Create or update contact\",\"type\":\"main\",\"index\":0}]]},\"Create or update contact\":{\"main\":[[{\"node\":\"Keep only userId\",\"type\":\"main\",\"index\":0}]]},\"New Order, deal not found\":{\"main\":[[{\"node\":\"Create new deal\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do Nothing\",\"type\":\"main\",\"index\":0}]]},\"Add Hubspot userId to data\":{\"main\":[[{\"node\":\"Find if order already exists as deal\",\"type\":\"main\",\"index\":0}]]},\"Find if order already exists as deal\":{\"main\":[[{\"node\":\"New Order, deal not found\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Zendesk tickets to Pipedrive contacts and assign tasks", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"9d40c0b9-498f-421c-b731-3a387402b69a\",\"name\":\"Get last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[380,360],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nif(!staticData.lastExecution){\\n staticData.lastExecution = new Date().getTime();\\n}\\n\\nitem.executionTimeStamp = new Date().getTime();\\nitem.lastExecution = staticData.lastExecution;\\n\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"ddb12f68-1f6b-41fb-bfd4-038697ce4d75\",\"name\":\"Set new last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[3280,380],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nstaticData.lastExecution = $item(0).$node[\\\"Get last execution timestamp\\\"].executionTimeStamp;\\n\\nreturn item;\"},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"42888df0-1f7e-4990-87b3-3226a474110e\",\"name\":\"Get tickets created after last execution\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[620,360],\"parameters\":{\"options\":{\"query\":\"=created>{{ $json[\\\"lastExecution\\\"] }}\",\"sortBy\":\"updated_at\",\"sortOrder\":\"desc\"},\"operation\":\"getAll\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"2f0f71f6-3d4c-4895-9313-7f47e3b2ed86\",\"name\":\"Get requester information\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[840,460],\"parameters\":{\"id\":\"={{ $json[\\\"requester_id\\\"] }}\",\"resource\":\"user\",\"operation\":\"get\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"284fd54b-bd7b-4fbb-8a14-0c4fa62a3200\",\"name\":\"Keep only needed requester information\",\"type\":\"n8n-nodes-base.set\",\"position\":[1060,460],\"parameters\":{\"values\":{\"number\":[{\"name\":\"requester_id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}],\"string\":[{\"name\":\"requester_email\",\"value\":\"={{ $json[\\\"email\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"17c3b860-60cb-4885-b503-9086b461bde0\",\"name\":\"Keep only requester owner email\",\"type\":\"n8n-nodes-base.set\",\"position\":[2000,480],\"parameters\":{\"values\":{\"string\":[{\"name\":\"requester_pipedrive_email\",\"value\":\"={{ $node[\\\"Search requester in pipedrive\\\"].json[\\\"primary_email\\\"] }}\"},{\"name\":\"requester_pipedrive_owner_email\",\"value\":\"={{ $json[\\\"data\\\"].email }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"a4ccf1d7-5d9f-4c4e-a5b9-c54ed77c5c44\",\"name\":\"Every 5 minutes\",\"type\":\"n8n-nodes-base.cron\",\"position\":[160,360],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"id\":\"99fb51d8-0d93-4db9-868d-757046d1bdc2\",\"name\":\"Add requester information to ticket data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1280,380],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"requester_id\",\"propertyName2\":\"requester_id\"},\"typeVersion\":1},{\"id\":\"a4c7acd0-b2b6-48bb-b7b7-d2826ddb1f9d\",\"name\":\"Search requester in pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1560,480],\"parameters\":{\"term\":\"={{ $json[\\\"requester_email\\\"] }}\",\"resource\":\"person\",\"operation\":\"search\",\"additionalFields\":{\"fields\":\"email\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"7a8a3bf3-9f57-40ad-a31f-45522264f101\",\"name\":\"Get owner information of Pipedrive contact\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1780,480],\"parameters\":{\"url\":\"=https://n8n.pipedrive.com/api/v1/users/{{$json[\\\"owner\\\"][\\\"id\\\"]}}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"pipedriveApi\"},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":2},{\"id\":\"64a7fc0c-ddb4-4d84-86a6-3e9bd361ce46\",\"name\":\"Get agents and admins\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1780,700],\"parameters\":{\"filters\":{\"role\":[\"agent\",\"admin\"]},\"resource\":\"user\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"0117d5f8-e9b2-46c9-9777-7ae82e002cc2\",\"name\":\"Keep only email and Id\",\"type\":\"n8n-nodes-base.set\",\"position\":[2000,700],\"parameters\":{\"values\":{\"string\":[{\"name\":\"agent_email\",\"value\":\"={{ $json[\\\"email\\\"] }}\"},{\"name\":\"agent_id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"eaa7b072-0499-4b3a-96af-433d3afc12f9\",\"name\":\"Add Pipedrive agent data to pipedrive contact information\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2280,500],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"requester_pipedrive_owner_email\",\"propertyName2\":\"agent_email\"},\"typeVersion\":1},{\"id\":\"b9619e3d-c951-47ae-bbb5-db50e7ae5abe\",\"name\":\"Add contact owner to ticket data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2540,400],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"requester_email\",\"propertyName2\":\"requester_pipedrive_email\"},\"typeVersion\":1},{\"id\":\"14f88f5f-2bab-42f2-bea7-a7566e6d45b1\",\"name\":\"Contact exists in Pipedrive\",\"type\":\"n8n-nodes-base.if\",\"position\":[2760,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"agent_id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"38da1ccc-3d23-41cd-84b3-6fc249aedca5\",\"name\":\"Change assignee to Pipedrive contact owner\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[3020,380],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"assigneeEmail\":\"={{$json[\\\"requester_pipedrive_owner_email\\\"]}}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"4295e0e2-88e8-4f93-8432-47fff452cfc5\",\"name\":\"Add a note requester not found\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[3020,580],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"internalNote\":\"Requester not found in Pipedrive\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1}],\"connections\":{\"Every 5 minutes\":{\"main\":[[{\"node\":\"Get last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Get agents and admins\":{\"main\":[[{\"node\":\"Keep only email and Id\",\"type\":\"main\",\"index\":0}]]},\"Keep only email and Id\":{\"main\":[[{\"node\":\"Add Pipedrive agent data to pipedrive contact information\",\"type\":\"main\",\"index\":1}]]},\"Get requester information\":{\"main\":[[{\"node\":\"Keep only needed requester information\",\"type\":\"main\",\"index\":0}]]},\"Contact exists in Pipedrive\":{\"main\":[[{\"node\":\"Change assignee to Pipedrive contact owner\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Add a note requester not found\",\"type\":\"main\",\"index\":0}]]},\"Get last execution timestamp\":{\"main\":[[{\"node\":\"Get tickets created after last execution\",\"type\":\"main\",\"index\":0}]]},\"Search requester in pipedrive\":{\"main\":[[{\"node\":\"Get owner information of Pipedrive contact\",\"type\":\"main\",\"index\":0}]]},\"Add a note requester not found\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Keep only requester owner email\":{\"main\":[[{\"node\":\"Add Pipedrive agent data to pipedrive contact information\",\"type\":\"main\",\"index\":0}]]},\"Add contact owner to ticket data\":{\"main\":[[{\"node\":\"Contact exists in Pipedrive\",\"type\":\"main\",\"index\":0}]]},\"Keep only needed requester information\":{\"main\":[[{\"node\":\"Add requester information to ticket data\",\"type\":\"main\",\"index\":1}]]},\"Add requester information to ticket data\":{\"main\":[[{\"node\":\"Search requester in pipedrive\",\"type\":\"main\",\"index\":0},{\"node\":\"Add contact owner to ticket data\",\"type\":\"main\",\"index\":0}]]},\"Get tickets created after last execution\":{\"main\":[[{\"node\":\"Add requester information to ticket data\",\"type\":\"main\",\"index\":0},{\"node\":\"Get requester information\",\"type\":\"main\",\"index\":0}]]},\"Change assignee to Pipedrive contact owner\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Get owner information of Pipedrive contact\":{\"main\":[[{\"node\":\"Keep only requester owner email\",\"type\":\"main\",\"index\":0}]]},\"Add Pipedrive agent data to pipedrive contact information\":{\"main\":[[{\"node\":\"Add contact owner to ticket data\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Sync Zendesk tickets to Pipedrive contact owners", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"a4280167-97e0-4d12-bdfc-735dd9c69f03\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1160,540],\"parameters\":{},\"typeVersion\":1},{\"id\":\"a3ad4e3b-0841-4a6e-993b-5239d9e56eaf\",\"name\":\"Get last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[420,300],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nif(!staticData.lastExecution){\\n staticData.lastExecution = new Date().toISOString();\\n}\\n\\nitem.executionTimeStamp = new Date().toISOString();\\nitem.lastExecution = staticData.lastExecution;\\n\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"f917bc42-8b9f-4b60-860c-360eeb86b88c\",\"name\":\"Set new last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[4440,140],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nstaticData.lastExecution = $item(0).$node[\\\"Get last execution timestamp\\\"].executionTimeStamp;\\n\\nreturn item;\"},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"ff141018-5307-4754-a48a-2311fcd15f85\",\"name\":\"Pipedrive person Id found\",\"type\":\"n8n-nodes-base.if\",\"position\":[2280,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"PipeDrivePersonId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"d06b1dae-77cb-4c0b-98dc-0e7184f95095\",\"name\":\"NoOp1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2620,480],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e8a01cec-06d1-4fe6-8920-55fdd143f626\",\"name\":\"Get Zendesk comments for tickets\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2620,280],\"parameters\":{\"url\":\"=https://n8n.zendesk.com/api/v2/tickets/{{$json[\\\"id\\\"]}}/comments\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"zendeskApi\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":2},{\"id\":\"7f7addcb-4858-4fd0-b1c2-29800365241b\",\"name\":\"Add comments to tickets\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2860,160],\"parameters\":{\"join\":\"inner\",\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"id\":\"4ab3e897-b3d1-47f8-8c81-640e2ca6b3de\",\"name\":\"Add Pipedrive person Id to Zendesk tickets\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2060,300],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"via.source.from.address\",\"propertyName2\":\"primary_email\"},\"typeVersion\":1},{\"id\":\"1b25adda-15eb-4e23-bfb2-0a034656d8e2\",\"name\":\"Get tickets updated after last execution\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[640,300],\"parameters\":{\"options\":{\"query\":\"=updated>{{ $json[\\\"lastExecution\\\"] }}\",\"sortBy\":\"updated_at\",\"sortOrder\":\"desc\"},\"operation\":\"getAll\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"4884b8f5-d3f1-404d-87b3-1a802553cbee\",\"name\":\"Channel is email\",\"type\":\"n8n-nodes-base.if\",\"position\":[860,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"via\\\"].channel }}\",\"value2\":\"email\"}]}},\"typeVersion\":1},{\"id\":\"48541dcf-8ea6-47b8-ad52-1b3045df6832\",\"name\":\"Rename fields and keep only needed fields\",\"type\":\"n8n-nodes-base.set\",\"position\":[1820,360],\"parameters\":{\"values\":{\"number\":[{\"name\":\"PipeDrivePersonId\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}],\"string\":[{\"name\":\"primary_email\",\"value\":\"={{ $json[\\\"primary_email\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"e66d6b04-6a4e-4ab4-98a4-efba4bc5ec12\",\"name\":\"Search persons by email\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1600,360],\"parameters\":{\"term\":\"={{ $json[\\\"SearchEmail\\\"] }}\",\"resource\":\"person\",\"operation\":\"search\",\"additionalFields\":{\"fields\":\"email\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"01e008cf-6867-48b3-9a0d-b1b264bb5c08\",\"name\":\"Remove duplicates to make search efficient\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1360,360],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"SearchEmail\"}]}},\"typeVersion\":1},{\"id\":\"bc3ac74d-ac87-46b8-bd59-6cafe0e0e59c\",\"name\":\"Set search email\",\"type\":\"n8n-nodes-base.set\",\"position\":[1160,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"SearchEmail\",\"value\":\"={{ $json[\\\"via\\\"].source.from.address }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"e0cf4204-7640-41c7-9adc-39d2d86b6144\",\"name\":\"Process commenst per ticket\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[3080,160],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"056646c3-7e1f-4195-92bd-1c3c1c9e8d25\",\"name\":\"New comment\",\"type\":\"n8n-nodes-base.if\",\"position\":[3540,160],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{ $json[\\\"created_at\\\"] }}\",\"value2\":\"={{$item(0).$node[\\\"Get last execution timestamp\\\"].json[\\\"lastExecution\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"77ef979c-313e-4904-bf3e-8716f1e5c86f\",\"name\":\"Split comments to seperate items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[3320,160],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"comments\"},\"typeVersion\":1},{\"id\":\"01fbc85c-0c85-48d1-b2b2-cdf8d6310578\",\"name\":\"Add comment as a note in Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[3820,0],\"parameters\":{\"content\":\"=Message imported from Zendesk\\n------------------------------------------------\\nFrom {{$json[\\\"via\\\"][\\\"source\\\"][\\\"from\\\"][\\\"name\\\"] ?? 'Zendesk user'}}\\n------------------------------------------------\\n{{$json[\\\"body\\\"]}}\",\"resource\":\"note\",\"additionalFields\":{\"person_id\":\"={{$item(0).$node[\\\"Process commenst per ticket\\\"].json[\\\"PipeDrivePersonId\\\"]}}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"1\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"12296cee-7786-489d-9a33-7d0d1d7d755b\",\"name\":\"NoOp2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3820,180],\"parameters\":{},\"typeVersion\":1},{\"id\":\"0c21dbce-0820-4300-8da4-6e795288aa0b\",\"name\":\"Every day at 09:00\",\"type\":\"n8n-nodes-base.cron\",\"position\":[220,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1},{\"id\":\"e6990744-45e2-4c08-b611-7f5bbac7ad9a\",\"name\":\"Done processing\",\"type\":\"n8n-nodes-base.if\",\"position\":[4160,160],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Process commenst per ticket\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]},\"combineOperation\":\"any\"},\"typeVersion\":1}],\"connections\":{\"New comment\":{\"main\":[[{\"node\":\"Add comment as a note in Pipedrive\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp2\",\"type\":\"main\",\"index\":0}]]},\"Done processing\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Process commenst per ticket\",\"type\":\"main\",\"index\":0}]]},\"Channel is email\":{\"main\":[[{\"node\":\"Set search email\",\"type\":\"main\",\"index\":0},{\"node\":\"Add Pipedrive person Id to Zendesk tickets\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Set search email\":{\"main\":[[{\"node\":\"Remove duplicates to make search efficient\",\"type\":\"main\",\"index\":0}]]},\"Every day at 09:00\":{\"main\":[[{\"node\":\"Get last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Add comments to tickets\":{\"main\":[[{\"node\":\"Process commenst per ticket\",\"type\":\"main\",\"index\":0}]]},\"Search persons by email\":{\"main\":[[{\"node\":\"Rename fields and keep only needed fields\",\"type\":\"main\",\"index\":0}]]},\"Pipedrive person Id found\":{\"main\":[[{\"node\":\"Get Zendesk comments for tickets\",\"type\":\"main\",\"index\":0},{\"node\":\"Add comments to tickets\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp1\",\"type\":\"main\",\"index\":0}]]},\"Process commenst per ticket\":{\"main\":[[{\"node\":\"Split comments to seperate items\",\"type\":\"main\",\"index\":0}]]},\"Get last execution timestamp\":{\"main\":[[{\"node\":\"Get tickets updated after last execution\",\"type\":\"main\",\"index\":0}]]},\"Get Zendesk comments for tickets\":{\"main\":[[{\"node\":\"Add comments to tickets\",\"type\":\"main\",\"index\":1}]]},\"Split comments to seperate items\":{\"main\":[[{\"node\":\"New comment\",\"type\":\"main\",\"index\":0}]]},\"Add comment as a note in Pipedrive\":{\"main\":[[{\"node\":\"Done processing\",\"type\":\"main\",\"index\":0}]]},\"Get tickets updated after last execution\":{\"main\":[[{\"node\":\"Channel is email\",\"type\":\"main\",\"index\":0}]]},\"Rename fields and keep only needed fields\":{\"main\":[[{\"node\":\"Add Pipedrive person Id to Zendesk tickets\",\"type\":\"main\",\"index\":1}]]},\"Add Pipedrive person Id to Zendesk tickets\":{\"main\":[[{\"node\":\"Pipedrive person Id found\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicates to make search efficient\":{\"main\":[[{\"node\":\"Search persons by email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Shopify orders with your Zendesk contacts", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"94fc73af-a35d-4d5c-a192-6190d2a731ff\",\"name\":\"Keep only UserId and email\",\"type\":\"n8n-nodes-base.set\",\"position\":[1200,260],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ZendeskUserId\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}],\"string\":[{\"name\":\"ZendeskEmail\",\"value\":\"={{ $json[\\\"email\\\"] }}\"},{\"name\":\"ZendeskPhone\",\"value\":\"={{ $json[\\\"phone\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"6decc852-d5b9-40c4-b51e-832283637027\",\"name\":\"User exists in Zendesk\",\"type\":\"n8n-nodes-base.if\",\"position\":[1660,140],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json[\\\"ZendeskUserId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"70fa2ad7-c43c-4d22-ba6d-89495f8b5794\",\"name\":\"Add Zendesk contact Id to Shopify data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1420,140],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"email\",\"propertyName2\":\"ZendeskEmail\"},\"typeVersion\":1},{\"id\":\"346d3e04-433c-4b43-868f-729d3ee67ee2\",\"name\":\"On customer updated\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[740,120],\"webhookId\":\"a0d5e8ea-3f53-496e-a41b-cb022f715b43\",\"parameters\":{\"topic\":\"customers/update\"},\"credentials\":{\"shopifyApi\":{\"id\":\"10\",\"name\":\"Shopify account\"}},\"typeVersion\":1},{\"id\":\"a2ff1fa3-d67a-4abb-94ae-f22cad7de359\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2160,180],\"parameters\":{},\"typeVersion\":1},{\"id\":\"41418930-0898-4602-88a3-cf4238f32890\",\"name\":\"Contact data is modified\",\"type\":\"n8n-nodes-base.if\",\"position\":[1940,80],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"phone\\\"] }}\",\"value2\":\"={{ $json[\\\"ZendeskPhone\\\"] }}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"ee1791fb-eaa0-4829-af3b-e72d7b3e80d5\",\"name\":\"Create contact in Zendesk\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1940,240],\"parameters\":{\"name\":\"={{ $json[\\\"first_name\\\"] }} {{ $json[\\\"last_name\\\"] }}\",\"resource\":\"user\",\"additionalFields\":{\"email\":\"={{ $json[\\\"email\\\"] }}\",\"phone\":\"={{ $json[\\\"phone\\\"] ?? ' ' }}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"67dc85c6-39af-43cc-951e-bcfd31b73e46\",\"name\":\"Update contact in Zendesk\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[2160,-20],\"parameters\":{\"id\":\"={{ $json[\\\"ZendeskUserId\\\"] }}\",\"resource\":\"user\",\"operation\":\"update\",\"updateFields\":{\"phone\":\"={{ $json[\\\"phone\\\"] ?? 0}}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"9ab30a51-e599-4361-b170-b18b9d4021cb\",\"name\":\"Search contact by email adress\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1000,260],\"parameters\":{\"limit\":1,\"filters\":{\"query\":\"={{ $json[\\\"email\\\"] }}\"},\"resource\":\"user\",\"operation\":\"search\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1,\"alwaysOutputData\":true}],\"connections\":{\"On customer updated\":{\"main\":[[{\"node\":\"Add Zendesk contact Id to Shopify data\",\"type\":\"main\",\"index\":0},{\"node\":\"Search contact by email adress\",\"type\":\"main\",\"index\":0}]]},\"User exists in Zendesk\":{\"main\":[[{\"node\":\"Contact data is modified\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create contact in Zendesk\",\"type\":\"main\",\"index\":0}]]},\"Contact data is modified\":{\"main\":[[{\"node\":\"Update contact in Zendesk\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Keep only UserId and email\":{\"main\":[[{\"node\":\"Add Zendesk contact Id to Shopify data\",\"type\":\"main\",\"index\":1}]]},\"Search contact by email adress\":{\"main\":[[{\"node\":\"Keep only UserId and email\",\"type\":\"main\",\"index\":0}]]},\"Add Zendesk contact Id to Shopify data\":{\"main\":[[{\"node\":\"User exists in Zendesk\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Shopify orders with Zendesk tickets", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"1b1fd43f-5acb-45e7-bd98-e4774754cdfe\",\"name\":\"On order updated\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[180,520],\"webhookId\":\"0972ce92-d800-4049-ab60-7c71898ecbfa\",\"parameters\":{\"topic\":\"orders/updated\"},\"credentials\":{\"shopifyApi\":{\"id\":\"10\",\"name\":\"Shopify account\"}},\"typeVersion\":1},{\"id\":\"d96cde15-f810-4302-aa45-554f6675b505\",\"name\":\"Order exists in Zendesk\",\"type\":\"n8n-nodes-base.if\",\"position\":[1220,540],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"ZendeskTicketId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"62c09ef2-55c8-4269-9869-c15e8a955169\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,460],\"parameters\":{},\"typeVersion\":1},{\"id\":\"68f867c3-842c-478a-8afd-c7299e12b98d\",\"name\":\"Find if order already has a ticket in Zendesk\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[480,660],\"parameters\":{\"options\":{\"query\":\"external_id:1027\",\"status\":\"open\"},\"operation\":\"getAll\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"01d4acba-8641-43e8-b333-e4494a2594d1\",\"name\":\"Keep only ticket Id\",\"type\":\"n8n-nodes-base.set\",\"position\":[720,660],\"parameters\":{\"values\":{\"string\":[{\"name\":\"external_Id\",\"value\":\"={{ $json[\\\"external_id\\\"] }}\"},{\"name\":\"ZendeskTicketId\",\"value\":\"={{ $json[\\\"id\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"63099ec6-7ae5-4d88-881b-a6a8ae3a64b8\",\"name\":\"Add ticket info to order data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[960,540],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"order_number\",\"propertyName2\":\"external_Id\"},\"typeVersion\":1},{\"id\":\"79bf059e-d3b9-4323-88e5-7887deae74f7\",\"name\":\"Create new ticket for new orders\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1500,640],\"parameters\":{\"description\":\"=Order #{{ $json[\\\"order_number\\\"] }} - {{$json[\\\"line_items\\\"].length}} item(s)\\n\\nOrder:\\nCustomer: {{$json[\\\"customer\\\"][\\\"first_name\\\"]}} {{$json[\\\"customer\\\"][\\\"last_name\\\"]}} \\nemail: {{$json[\\\"customer\\\"][\\\"email\\\"]}}\\nStatus: New order\",\"additionalFields\":{\"status\":\"open\",\"subject\":\"=Order #{{ $json[\\\"order_number\\\"] }} - {{$json[\\\"line_items\\\"].length}} item(s)\",\"externalId\":\"={{ $json[\\\"order_number\\\"] }}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1}],\"connections\":{\"On order updated\":{\"main\":[[{\"node\":\"Find if order already has a ticket in Zendesk\",\"type\":\"main\",\"index\":0},{\"node\":\"Add ticket info to order data\",\"type\":\"main\",\"index\":0}]]},\"Keep only ticket Id\":{\"main\":[[{\"node\":\"Add ticket info to order data\",\"type\":\"main\",\"index\":1}]]},\"Order exists in Zendesk\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create new ticket for new orders\",\"type\":\"main\",\"index\":0}]]},\"Add ticket info to order data\":{\"main\":[[{\"node\":\"Order exists in Zendesk\",\"type\":\"main\",\"index\":0}]]},\"Find if order already has a ticket in Zendesk\":{\"main\":[[{\"node\":\"Keep only ticket Id\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "NASA - Astronomy Picture of the Day", "output": "{\"id\":\"5dcd78f3db772dde4680f0fd\",\"name\":\"Example - NASA - Astronomy Picture of the Day\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[530,280],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[530,120],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":1}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[700,120],\"parameters\":{\"url\":\"https://api.nasa.gov/planetary/apod?api_key=NNKOjkoul8n1CH18TWA9gwngW1s1SmjESPjNoUFo\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[850,120],\"parameters\":{\"text\":\"=**{{$node[\\\"HTTP Request\\\"].data[\\\"title\\\"]}}**\\n\\n{{$node[\\\"HTTP Request\\\"].data[\\\"explanation\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].data[\\\"hdurl\\\"]}}\",\"webhookUri\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read XML file and store content in Google Sheets", "output": "{\"nodes\":[{\"id\":\"d0c92688-14fc-4393-a1d6-926eb867b81e\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[180,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"0edbad78-249b-441c-877d-bac57fb44a91\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[180,31],\"parameters\":{\"width\":436,\"height\":169,\"content\":\"## n8n version\\n\\nThis workflow was created using n8n version 0.197.1 and uses a new [expression syntax](https://docs.n8n.io/code-examples/methods-variables-reference/) as well as a new version of the Merge node. Make sure you're also using n8n version 0.197.1 or newer when running this workflow.\"},\"typeVersion\":1},{\"id\":\"251d893c-11cb-4702-a289-44f198581722\",\"name\":\"Download XML File\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[400,240],\"parameters\":{\"url\":\"https://www.w3schools.com/xml/simple.xml\",\"options\":{}},\"typeVersion\":3},{\"id\":\"0973b302-1ba9-4faf-9d6c-2caca1b301f5\",\"name\":\"Parse XML content\",\"type\":\"n8n-nodes-base.xml\",\"position\":[620,240],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"01854111-27cb-40c1-b95e-14f91f89e9f1\",\"name\":\"Create new spreadsheet file\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1060,140],\"parameters\":{\"title\":\"My XML Data\",\"options\":{},\"resource\":\"spreadsheet\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"19\",\"name\":\"Tom's Google Sheets account\"}},\"executeOnce\":true,\"typeVersion\":2},{\"id\":\"affbcb81-5873-406e-a51d-cd6fee682992\",\"name\":\"Define header row\",\"type\":\"n8n-nodes-base.set\",\"position\":[1280,140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"columns\",\"value\":\"={{ [ Object.keys($(\\\"Split out food items\\\").first().json) ] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"537aff03-ae08-4712-bfae-15f0e3a5e69a\",\"name\":\"Split out food items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[840,240],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"breakfast_menu.food\"},\"typeVersion\":1},{\"id\":\"b247f984-6ed2-4de0-8877-a61571863ff8\",\"name\":\"Write header row\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1500,140],\"parameters\":{\"options\":{},\"rawData\":true,\"sheetId\":\"={{ $(\\\"Create new spreadsheet file\\\").first().json[\\\"spreadsheetId\\\"] }}\",\"operation\":\"update\",\"dataProperty\":\"columns\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"19\",\"name\":\"Tom's Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"fc9e2c32-30b1-4162-a686-2d049e52e111\",\"name\":\"Wait for spreadsheet creation\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1720,240],\"parameters\":{\"mode\":\"chooseBranch\",\"output\":\"input2\"},\"typeVersion\":2},{\"id\":\"fdc6d5d9-e08d-4086-a233-0edb3c11bc86\",\"name\":\"Write data to sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1940,240],\"parameters\":{\"options\":{},\"sheetId\":\"={{ $(\\\"Create new spreadsheet file\\\").first().json[\\\"spreadsheetId\\\"] }}\",\"operation\":\"append\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"19\",\"name\":\"Tom's Google Sheets account\"}},\"typeVersion\":2}],\"connections\":{\"Write header row\":{\"main\":[[{\"node\":\"Wait for spreadsheet creation\",\"type\":\"main\",\"index\":0}]]},\"Define header row\":{\"main\":[[{\"node\":\"Write header row\",\"type\":\"main\",\"index\":0}]]},\"Download XML File\":{\"main\":[[{\"node\":\"Parse XML content\",\"type\":\"main\",\"index\":0}]]},\"Parse XML content\":{\"main\":[[{\"node\":\"Split out food items\",\"type\":\"main\",\"index\":0}]]},\"Split out food items\":{\"main\":[[{\"node\":\"Create new spreadsheet file\",\"type\":\"main\",\"index\":0},{\"node\":\"Wait for spreadsheet creation\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Download XML File\",\"type\":\"main\",\"index\":0}]]},\"Create new spreadsheet file\":{\"main\":[[{\"node\":\"Define header row\",\"type\":\"main\",\"index\":0}]]},\"Wait for spreadsheet creation\":{\"main\":[[{\"node\":\"Write data to sheet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Find anyone's email address with waterfall enrichment", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"c8106d5b-bc86-4578-b712-1f19d4ab3292\",\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"dcaee026-b8c1-4acf-9b4f-4d46751e82ba\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[520,300],\"parameters\":{\"options\":{},\"additionalFields\":{\"website\":\"={{$json[\\\"domain\\\"]}}\",\"last_name\":\"={{$json[\\\"lastName\\\"]}}\",\"first_name\":\"={{$json[\\\"firstName\\\"]}}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"1\",\"name\":\"Dropcontact account\"}},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"4c073297-80b5-4ae6-a596-2474b8d2859b\",\"name\":\"Hunter\",\"type\":\"n8n-nodes-base.hunter\",\"position\":[700,300],\"parameters\":{\"domain\":\"={{$node[\\\"Get data\\\"].json[\\\"domain\\\"]}}\",\"lastname\":\"={{$node[\\\"Get data\\\"].json[\\\"lastName\\\"]}}\",\"firstname\":\"={{$node[\\\"Get data\\\"].json[\\\"firstName\\\"]}}\",\"operation\":\"emailFinder\"},\"credentials\":{\"hunterApi\":{\"id\":\"20\",\"name\":\"Hunter account\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"fb23870c-6102-4f34-8382-62948a3cbc22\",\"name\":\"verify mails in Bouncer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2180,100],\"parameters\":{\"url\":\"https://api.usebouncer.com/v1/email/verify\",\"options\":{},\"authentication\":\"headerAuth\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"email\",\"value\":\"={{$json[\\\"email\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"21\",\"name\":\"Bouncer\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"ea3d3637-bf72-459d-833e-af1c588c77c6\",\"name\":\"score results\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[2520,100],\"parameters\":{\"functionCode\":\"\\nswitch (item.emailStatus){\\n case \\\"deliverable\\\":\\n item.score = 20\\n break;\\n case \\\"risky\\\":\\n item.score=10\\n break;\\n case \\\"unknown\\\":\\n item.score=10\\n break;\\n default:\\n item.score=0\\n break;\\n}\\n\\n\\nswitch (item.provider){\\n case \\\"Dropcontact\\\":\\n item.score += 2\\n break;\\n\\n case \\\"Findymail\\\":\\n item.score+=3\\n break;\\n case \\\"Hunter\\\":\\n item.score+=1\\n break;\\n default:\\n item.score+=0\\n break;\\n}\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"b7920e87-2985-47ee-9183-40076748c170\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[3240,280],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"id\":\"8db622c8-fbfd-46fa-98d3-77030f2afb63\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1280,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"41643732-9a42-4b50-9bfa-06dd97f154f2\",\"name\":\"Create an array with all the emails\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1480,300],\"parameters\":{\"functionCode\":\"item.allemails = []\\n\\nitem.allemails.push({\\\"email\\\":item.Dropcontact,\\\"provider\\\":\\\"Dropcontact\\\"})\\nitem.allemails.push({\\\"email\\\":item.Hunter,\\\"provider\\\":\\\"Hunter\\\"})\\nitem.allemails.push({\\\"email\\\":item.Findymail,\\\"provider\\\":\\\"Findymail\\\"})\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"909b1290-5b69-4906-81ca-335474d70d66\",\"name\":\"Split emails to be checked by Bouncer\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1760,120],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"allemails\"},\"typeVersion\":1},{\"id\":\"1213c1bd-22b5-4c74-86eb-1a8db81fbfb2\",\"name\":\"sort by score\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2700,100],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"order\":\"descending\",\"fieldName\":\"score\"}]}},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"7b6865d4-0bfd-44b2-a339-d9224c8022b5\",\"name\":\"Keep best email\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2880,100],\"parameters\":{\"operation\":\"limit\"},\"typeVersion\":1},{\"id\":\"ebf88b92-9d2e-4b52-8fb5-937212cbfe74\",\"name\":\"Data sample\",\"type\":\"n8n-nodes-base.function\",\"position\":[80,300],\"parameters\":{\"functionCode\":\"\\n\\n\\n\\nreturn [{json: {\\\"userId\\\":\\\"user1\\\",\\n \\\"firstName\\\":\\\"Lucas\\\", \\n \\\"lastName\\\": \\\"Perret\\\",\\n \\\"domain\\\": \\\"lempire.com\\\"}},\\n {json: {\\\"userId\\\":\\\"user2\\\",\\n \\\"firstName\\\":\\\"Guillaume\\\", \\n \\\"lastName\\\": \\\"Moubeche\\\",\\n \\\"domain\\\": \\\"lemlist.com\\\"}},\\n {json: {\\\"userId\\\":\\\"user3\\\",\\n \\\"firstName\\\":\\\"John\\\", \\n \\\"lastName\\\": \\\"Do\\\",\\n \\\"domain\\\": \\\"lempire.com\\\"}}\\n \\n \\n \\n ];\"},\"typeVersion\":1},{\"id\":\"718fc141-9466-42e7-89ef-d106941ed85b\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2460,-260],\"parameters\":{\"width\":200,\"height\":540,\"content\":\"## Score the results\\nThe scoring is made under 2 parameters: \\n- email validity\\n- provider rank\\n\\nVerified emails will be prioritized but if there is emails found with the same status. We will prioritize our favorite email provider. \\n\\nWe use the function node to do it. \\n\\n\"},\"typeVersion\":1},{\"id\":\"4f853625-d344-4949-b86e-83cc69485906\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2680,-260],\"parameters\":{\"width\":360,\"height\":540,\"content\":\"## Keep the best result\\n\\nThen we sort the records in descending order to have the best email in the 1st position. \\n\\nFinally we limit the output to 1 item so we end with only the email with the highest score.\"},\"typeVersion\":1},{\"id\":\"ffde1bab-4665-4f3a-abdb-f37933addf68\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1420,-20],\"parameters\":{\"width\":500,\"height\":500,\"content\":\"## Iterate on each emails found\\n\\nThose 2 nodes allow me to iterate email verification on all the emails found per leads. \"},\"typeVersion\":1},{\"id\":\"e53dbd16-ed1e-40d7-9255-6f9bccbefe38\",\"name\":\"Remove empty emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[1960,120],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"email\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"91ea4ed9-ccdd-4f46-a1ca-fbd31365390e\",\"name\":\"clean output\",\"type\":\"n8n-nodes-base.set\",\"position\":[2340,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"emailStatus\",\"value\":\"={{$json[\\\"status\\\"]}}\"},{\"name\":\"bestEmailFound\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"provider\",\"value\":\"={{$node[\\\"Split emails to be checked by Bouncer\\\"].json[\\\"provider\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"33c63492-289e-4a20-8657-a43e073ce1be\",\"name\":\"Get data\",\"type\":\"n8n-nodes-base.set\",\"position\":[320,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$json[\\\"userId\\\"]}}\"},{\"name\":\"firstName\",\"value\":\"={{$json[\\\"firstName\\\"]}}\"},{\"name\":\"lastName\",\"value\":\"={{$json[\\\"lastName\\\"]}}\"},{\"name\":\"domain\",\"value\":\"={{$json[\\\"domain\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"5c7d63da-0d45-424e-823c-1979816ff10d\",\"name\":\"Add email results to items\",\"type\":\"n8n-nodes-base.set\",\"position\":[1060,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Findymail\",\"value\":\"={{$node[\\\"Findymail\\\"].json[\\\"contact\\\"][\\\"email\\\"] }}\"},{\"name\":\"Dropcontact\",\"value\":\"={{$node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"Hunter\",\"value\":\"={{$node[\\\"Hunter\\\"].json[\\\"email\\\"]}}\"},{\"name\":\"id\",\"value\":\"={{$node[\\\"Get data\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"firstName\",\"value\":\"={{$node[\\\"Get data\\\"].json[\\\"firstName\\\"]}}\"},{\"name\":\"lastName\",\"value\":\"={{$node[\\\"Get data\\\"].json[\\\"lastName\\\"]}}\"},{\"name\":\"domain\",\"value\":\"={{$node[\\\"Get data\\\"].json[\\\"domain\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"219bc7a7-fc4e-4cde-a89f-d1aa54013be8\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[480,-20],\"parameters\":{\"width\":520,\"height\":500,\"content\":\"## Email finders chain\\n\\nIn nodes settings: \\n\\n**Always Output Data** and **Continue on fail** are activated so the workflows continue to the end - even if 1 tool didn't find any data for a lead. \\n\"},\"typeVersion\":1},{\"id\":\"477cb504-ca50-40bc-b853-6aebc50fee6e\",\"name\":\"If worfklow is done\",\"type\":\"n8n-nodes-base.if\",\"position\":[2240,560],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"50733f40-e9f5-44db-8149-00a20a56eb43\",\"name\":\"Return all items\",\"type\":\"n8n-nodes-base.function\",\"position\":[2540,540],\"parameters\":{\"functionCode\":\"const allData = []\\n\\nlet counter = 0;\\ndo {\\n try {\\n const items = $items(\\\"Merge\\\", 0, counter).map(item => item.json);\\n allData.push.apply(allData, items);\\n } catch (error) {\\n return [{json: {allData}}]; \\n }\\n\\n counter++;\\n} while(true);\"},\"typeVersion\":1},{\"id\":\"1cdc63b5-6ef9-4a72-9e0d-1c086c0c2bdf\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2760,540],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"allData\"},\"typeVersion\":1},{\"id\":\"f66efe35-5246-4f48-a4f2-7249352ce338\",\"name\":\"Set clean output\",\"type\":\"n8n-nodes-base.set\",\"position\":[2980,540],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"bestEmail\",\"value\":\"={{$json[\\\"bestEmailFound\\\"]}}\"},{\"name\":\"firstName\",\"value\":\"={{$json[\\\"firstName\\\"]}}\"},{\"name\":\"lastName\",\"value\":\"={{$json[\\\"lastName\\\"]}}\"},{\"name\":\"domain\",\"value\":\"={{$json[\\\"domain\\\"]}}\"},{\"name\":\"FindymailEmail\",\"value\":\"={{$json[\\\"Findymail\\\"]}}\"},{\"name\":\"DropcontactEmail\",\"value\":\"={{$json[\\\"Dropcontact\\\"]}}\"},{\"name\":\"HunterEmail\",\"value\":\"={{$json[\\\"Hunter\\\"]}}\"},{\"name\":\"bestEmailStatus\",\"value\":\"={{ $json[\\\"emailStatus\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"7c199646-b6a2-4228-a707-59464a9eea6a\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[260,-20],\"parameters\":{\"width\":209.34884845288315,\"height\":499.35203498593495,\"content\":\"## Map your variables here\\n\\nCould look like this: \\nfirst_name -> firstName\\nlast_name -> lastName\\nwebsite -> domain\"},\"typeVersion\":1},{\"id\":\"57624e0c-7d20-4585-9594-c2592a594e82\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[0,-20],\"parameters\":{\"width\":232.99402250351613,\"height\":499.7899085794657,\"content\":\"## Change this node with your own data\\n\\nYou must communicate: \\n- firstName\\n- lastName\\n- domain\"},\"typeVersion\":1},{\"id\":\"d4552890-6cf2-458c-af65-642ee2c80686\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3140,500],\"parameters\":{\"width\":412.4127274525317,\"height\":187.36709959563996,\"content\":\"## Send the data in your favorite tools\\n\\n-> Lemlist\\n-> CRM\\n-> Email Marketing Platform\\n\"},\"typeVersion\":1},{\"id\":\"a0ed1c0d-157f-40b9-ae64-5c6bdf8df0a4\",\"name\":\"Findymail\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[880,300],\"parameters\":{\"url\":\"https://app.findymail.com/api/search/name\",\"method\":\"POST\",\"options\":{\"batching\":{\"batch\":{\"batchSize\":10}}},\"sendBody\":true,\"authentication\":\"genericCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"name\",\"value\":\"={{$node[\\\"Get data\\\"].json[\\\"firstName\\\"]}} {{$node[\\\"Get data\\\"].json[\\\"lastName\\\"]}}\"},{\"name\":\"domain\",\"value\":\"={{$node[\\\"Get data\\\"].json[\\\"domain\\\"]}}\"}]},\"genericAuthType\":\"httpHeaderAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"76\",\"name\":\"findymail\"}},\"typeVersion\":3,\"continueOnFail\":true,\"alwaysOutputData\":true}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"If worfklow is done\",\"type\":\"main\",\"index\":0}]]},\"Start\":{\"main\":[[{\"node\":\"Data sample\",\"type\":\"main\",\"index\":0}]]},\"Hunter\":{\"main\":[[{\"node\":\"Findymail\",\"type\":\"main\",\"index\":0}]]},\"Get data\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Findymail\":{\"main\":[[{\"node\":\"Add email results to items\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Set clean output\",\"type\":\"main\",\"index\":0}]]},\"Data sample\":{\"main\":[[{\"node\":\"Get data\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"Hunter\",\"type\":\"main\",\"index\":0}]]},\"clean output\":{\"main\":[[{\"node\":\"score results\",\"type\":\"main\",\"index\":0}]]},\"score results\":{\"main\":[[{\"node\":\"sort by score\",\"type\":\"main\",\"index\":0}]]},\"sort by score\":{\"main\":[[{\"node\":\"Keep best email\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Create an array with all the emails\",\"type\":\"main\",\"index\":0}]]},\"Keep best email\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Return all items\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"If worfklow is done\":{\"main\":[[{\"node\":\"Return all items\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Remove empty emails\":{\"main\":[[{\"node\":\"verify mails in Bouncer\",\"type\":\"main\",\"index\":0}]]},\"verify mails in Bouncer\":{\"main\":[[{\"node\":\"clean output\",\"type\":\"main\",\"index\":0}]]},\"Add email results to items\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Create an array with all the emails\":{\"main\":[[{\"node\":\"Split emails to be checked by Bouncer\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Split emails to be checked by Bouncer\":{\"main\":[[{\"node\":\"Remove empty emails\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Recover only new rows from Google Sheets", "output": "{\"meta\":{\"instanceId\":\"14c5980141526fbb38db85208103f515afa76de9c8760a23a1771b4ed940dc7b\"},\"nodes\":[{\"id\":\"bc473ccf-e0b8-4e70-9472-7c6731871a27\",\"name\":\"Google Sheets Trigger\",\"type\":\"n8n-nodes-google-sheets-trigger.googleSheetsTrigger\",\"position\":[-440,380],\"parameters\":{\"sheetId\":\"1UzzxzEy6N-B_A3bWGEm-iDa0fM1n7v2JNb2a7q8y_To\",\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"48\",\"name\":\"Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"00754b5f-c6fd-4e80-87f0-e995d8a45871\",\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[-20,380],\"parameters\":{\"text\":\"={{$json['text']}}\",\"chatId\":\"-1001235337538\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"63\",\"name\":\"it-killia-bot\"}},\"typeVersion\":1},{\"id\":\"a4a7f077-6bbc-4631-ac03-5329f4c7e8b0\",\"name\":\"DocumentGenerator\",\"type\":\"n8n-nodes-document-generator.DocumentGenerator\",\"position\":[-220,380],\"parameters\":{\"template\":\"{{#each items}}\\n{{sample}}\\n{{/each}}\",\"oneTemplate\":true},\"typeVersion\":1}],\"connections\":{\"DocumentGenerator\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets Trigger\":{\"main\":[[{\"node\":\"DocumentGenerator\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Auto-publish New Wordpress Posts to Social Media", "output": "{\"meta\":{\"instanceId\":\"244150e6a8834418cd9ea41f765805d5ab87e8c4fa071743fb52190eef1ac344\"},\"nodes\":[{\"id\":\"caafc345-8f43-49c8-94bb-bdeb1f7b4455\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[380,220],\"webhookId\":\"6509b71e-e00f-45e0-8483-7fbc12cb6478\",\"parameters\":{\"path\":\"6509b71e-e00f-45e0-8483-7fbc12cb6478\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"f72c14af-897a-4b28-9d89-fe334b644093\",\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[600,220],\"parameters\":{\"url\":\"={{ $json[\\\"body\\\"][\\\"methodcall\\\"][\\\"params\\\"][\\\"param\\\"][2][\\\"value\\\"][\\\"string\\\"] }}\"},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"776abf6d-791e-41bd-801f-a306808f8aa3\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[340,380],\"parameters\":{\"width\":183,\"height\":124,\"content\":\"Requires Wordpress to have the Webhook URL saved under **Settings -> Writing -> Update Services**\"},\"typeVersion\":1},{\"id\":\"22f554d9-87d3-4e9e-bc48-af5a2e2cdfa6\",\"name\":\"Get only the 1st item\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[820,220],\"parameters\":{\"operation\":\"limit\"},\"typeVersion\":1},{\"id\":\"bfa7ba38-cd3c-4e08-915e-a72422a22f56\",\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[1040,60],\"parameters\":{\"text\":\"={{$json[\\\"title\\\"]}}\\n\\n{{$json[\\\"link\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"12\",\"name\":\"Twitter Account\"}},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"d97b74fc-e355-41a8-ad66-a37a4a41cc24\",\"name\":\"Facebook Graph API\",\"type\":\"n8n-nodes-base.facebookGraphApi\",\"position\":[1040,220],\"parameters\":{\"node\":\"page/feed\",\"options\":{\"queryParameters\":{\"parameter\":[{\"name\":\"message\",\"value\":\"={{$json[\\\"title\\\"]}}\"},{\"name\":\"link\",\"value\":\"={{$json[\\\"link\\\"]}}\"}]}},\"graphApiVersion\":\"v14.0\",\"httpRequestMethod\":\"POST\"},\"credentials\":{\"facebookGraphApi\":{\"id\":\"15\",\"name\":\"Facebook Account\"}},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"efdf710b-bc10-4481-9262-b2a0f60da812\",\"name\":\"LinkedIn\",\"type\":\"n8n-nodes-base.linkedIn\",\"position\":[1040,380],\"parameters\":{\"text\":\"={{$json[\\\"title\\\"]}}\",\"person\":\"HrVtpPccKI\",\"additionalFields\":{\"originalUrl\":\"={{$json[\\\"link\\\"]}}\"},\"shareMediaCategory\":\"ARTICLE\"},\"credentials\":{\"linkedInOAuth2Api\":{\"id\":\"16\",\"name\":\"LinkedIn Account\"}},\"executeOnce\":true,\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Get only the 1st item\",\"type\":\"main\",\"index\":0}]]},\"Get only the 1st item\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0},{\"node\":\"Facebook Graph API\",\"type\":\"main\",\"index\":0},{\"node\":\"LinkedIn\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Merge multiple runs into one", "output": "{\"id\":\"ynTqojfUnGpG2rBP\",\"meta\":{\"instanceId\":\"bd0e051174def82b88b5cd547222662900558d74b239c4048ea0f6b7ed61c642\"},\"name\":\"Merge multiple runs into one\",\"tags\":[],\"nodes\":[{\"id\":\"a42e0906-2d44-4b9b-b4fa-63ab3c2a6abf\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[120,340],\"parameters\":{},\"typeVersion\":1},{\"id\":\"220df874-90fd-4cb0-aea5-f238d33a7bcc\",\"name\":\"Customer Datastore\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[340,340],\"parameters\":{\"operation\":\"getAllPeople\"},\"typeVersion\":1},{\"id\":\"e2819ff4-9ba8-4af4-8249-1edc018493ff\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[780,340],\"webhookId\":\"bfa744d6-ed39-4788-a6b5-836600f368bc\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1},{\"id\":\"e4c50762-d7f0-420b-8043-44060cd51451\",\"name\":\"Done looping?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1220,340],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Loop Over Items\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"9e506657-6788-40f1-9fa0-55bd9db77ecc\",\"name\":\"Merge loop items\",\"type\":\"n8n-nodes-base.code\",\"position\":[1440,340],\"parameters\":{\"jsCode\":\"let results = [],\\n i = 0;\\n\\ndo {\\n try {\\n results = results.concat($(\\\"NoOp\\\").all(0, i));\\n } catch (error) {\\n return results;\\n }\\n i++;\\n} while (true);\\n\"},\"typeVersion\":1},{\"id\":\"1b6dcb04-5945-48fb-925e-370ee1154df7\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1000,340],\"parameters\":{},\"typeVersion\":1},{\"id\":\"28809ed2-1465-4a12-b11b-fe1498b7e045\",\"name\":\"Loop Over Items\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[600,340],\"parameters\":{\"options\":{}},\"typeVersion\":3}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"0fd71e8c-7938-43a3-acec-fe746a183f9c\",\"connections\":{\"NoOp\":{\"main\":[[{\"node\":\"Done looping?\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Done looping?\":{\"main\":[[{\"node\":\"Merge loop items\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}]]},\"Loop Over Items\":{\"main\":[[],[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore\":{\"main\":[[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Customer Datastore\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test test test", "output": "{\"nodes\":[],\"connections\":[]}" }, { "input": "Testingn8n", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Amudhan-GoogleSheets\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[850,300],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Amudhan-GoogleSheets\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Google Drive files to Notion database", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"fa143713-0a54-465b-bfeb-cfb180871ab4\",\"name\":\"On file upload\",\"type\":\"n8n-nodes-base.googleDriveTrigger\",\"position\":[240,480],\"parameters\":{\"event\":\"fileCreated\",\"options\":{},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"triggerOn\":\"specificFolder\",\"folderToWatch\":\"1_vYi00lSdzU2p6wGrnW_IqsOblOL-3zG\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"16\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"78fe0319-e8bf-4c37-8d49-2cd1d6d084e6\",\"name\":\"Create database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[440,480],\"parameters\":{\"title\":\"={{$node[\\\"On file upload\\\"].json[\\\"name\\\"]}}\",\"resource\":\"databasePage\",\"databaseId\":\"d637c796-d33b-4768-b955-55c66a0966b7\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"File|files\",\"fileUrls\":{\"fileUrl\":[{\"url\":\"={{ $json[\\\"webViewLink\\\"] }}\",\"name\":\"={{ $node[\\\"On file upload\\\"].json[\\\"name\\\"] }}\"}]}}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2}],\"connections\":{\"On file upload\":{\"main\":[[{\"node\":\"Create database page\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Zendesk tickets to Slack thread", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"b220e0c7-3c34-4221-8fee-11c133a5345b\",\"name\":\"Get ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[740,540],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"e58834a7-1a94-429f-a50c-2e27293c32a0\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1140,540],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Determine\\\"].json[\\\"Slack Thread ID\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"c6f82ab9-54f4-4f91-a4d9-018739c6519d\",\"name\":\"Update ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"notes\":\"Update the Zendesk ticket by adding the Jira issue key to the \\\"Jira Issue Key\\\" field.\",\"position\":[1540,640],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"id\":7022397804317,\"value\":\"={{$node[\\\"Create thread\\\"].json[\\\"ts\\\"]}}\"}]}}},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"74d93ba5-d82d-4cc4-a177-bd86dbc18534\",\"name\":\"On new Zendesk ticket\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[540,540],\"webhookId\":\"b7845b15-0a44-4be5-b513-f4f4bb8989a6\",\"parameters\":{\"path\":\"b7845b15-0a44-4be5-b513-f4f4bb8989a6\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"65d387cd-5c7a-4567-9a3c-9fa033f98ac9\",\"name\":\"Create thread\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1340,640],\"parameters\":{\"text\":\"={{$node[\\\"Get ticket\\\"].json[\\\"subject\\\"]}}\",\"channel\":\"={{$node[\\\"Configure\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"28\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"50f5aa84-70bc-4b08-a9cc-576fbed72636\",\"name\":\"Create reply on existing thread\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1340,440],\"parameters\":{\"text\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"comment\\\"]}}\",\"channel\":\"={{$node[\\\"Configure\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}\",\"attachments\":[],\"otherOptions\":{\"thread_ts\":\"={{$node[\\\"Determine\\\"].json[\\\"Slack Thread ID\\\"]}}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"28\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"6d5e8df0-4b0b-487c-81be-93359976dd90\",\"name\":\"Configure\",\"type\":\"n8n-nodes-base.set\",\"position\":[540,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Slack channel\",\"value\":\"#zendesk-updates\"}]},\"options\":{\"dotNotation\":false}},\"typeVersion\":1},{\"id\":\"934b95bb-2ffa-40a4-a2ca-02cfd646dd78\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-20,360],\"parameters\":{\"width\":469.4813676974197,\"height\":268.2900466166276,\"content\":\"## Sync Zendesk tickets to Slack threads\\n### Setup\\n1. Add your [Zendesk credential](https://docs.n8n.io/integrations/builtin/credentials/zendesk/) to the `Get ticket` and `Update ticket` nodes.\\n2. Add your [Slack credential](https://docs.n8n.io/integrations/builtin/credentials/slack/) to `Create Thread` and `Create reply on existing thread` nodes.\\n3. Open `Configure` node and change \\\"Slack channel\\\" value to your slack channel (like #zendesk-updates).\\n4. Activate the workflow so it runs automatically each time a Zendesk ticket is created.\"},\"typeVersion\":1},{\"id\":\"b582f7ff-7cc6-48dc-89fc-bc8bde13b06e\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"notes\":\"if thread was created already in Slack\",\"position\":[940,540],\"parameters\":{\"jsCode\":\"/* configure here =========================================================== */\\n/* Zendesk field ID which represents the \\\"Slack Thread ID\\\" field.\\n*/\\nconst ISSUE_KEY_FIELD_ID = 7022397804317;\\n\\n/* ========================================================================== */\\nnew_items = [];\\n\\nfor (item of $items(\\\"Get ticket\\\")) {\\n \\n // instantiate a new variable for status\\n var custom_fields = item.json[\\\"custom_fields\\\"];\\n var slack_thread_id = \\\"\\\";\\n for (var i = 0; i < custom_fields.length; i++) {\\n if (custom_fields[i].id == ISSUE_KEY_FIELD_ID) {\\n slack_thread_id = custom_fields[i].value;\\n break;\\n }\\n }\\n\\n // push the new item to the new_items array\\n new_items.push({\\n \\\"Slack Thread ID\\\": slack_thread_id\\n });\\n}\\n\\nreturn new_items;\"},\"notesInFlow\":true,\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create reply on existing thread\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create thread\",\"type\":\"main\",\"index\":0}]]},\"Code\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Get ticket\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]},\"Create thread\":{\"main\":[[{\"node\":\"Update ticket\",\"type\":\"main\",\"index\":0}]]},\"On new Zendesk ticket\":{\"main\":[[{\"node\":\"Get ticket\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Zendesk tickets with subsequent comments to Asana tasks", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"1c041974-2a1f-4464-be3e-70b8a700f40d\",\"name\":\"Get ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[460,480],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"a4a05b2a-2382-44af-8226-a2c60bee1ce3\",\"name\":\"Create task\",\"type\":\"n8n-nodes-base.asana\",\"position\":[1000,580],\"parameters\":{\"name\":\"={{$node[\\\"Get ticket\\\"].json[\\\"subject\\\"]}}\",\"workspace\":\"1177253494675264\",\"otherProperties\":{\"assignee\":\"1202718619090236\",\"assignee_status\":\"inbox\"}},\"credentials\":{\"asanaApi\":{\"id\":\"8\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"55128ee9-9210-4341-bf9a-2e4ea415b668\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[820,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Determine\\\"].json[\\\"Asana GID\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"6319045c-7df8-4031-b738-835f8fe12d06\",\"name\":\"Update ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"notes\":\"Update the Zendesk ticket by adding the Jira issue key to the \\\"Jira Issue Key\\\" field.\",\"position\":[1180,580],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"id\":6707064637597,\"value\":\"={{$node[\\\"Create task\\\"].json[\\\"gid\\\"]}}\"}]}}},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"39172e43-def7-4e05-9ce3-6d0bb1c3ff59\",\"name\":\"Determine\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"if issue was created already in Jira\",\"position\":[640,480],\"parameters\":{\"functionCode\":\"/* configure here =========================================================== */\\n/* Zendesk field ID which represents the \\\"Jira Issue Key\\\" field.\\n*/\\nconst ISSUE_KEY_FIELD_ID = 6707064637597;\\n\\n/* ========================================================================== */\\nnew_items = [];\\n\\nfor (item of $items(\\\"Get ticket\\\")) {\\n \\n // instantiate a new variable for status\\n var custom_fields = item.json[\\\"custom_fields\\\"];\\n var asana_gid = \\\"\\\";\\n for (var i = 0; i < custom_fields.length; i++) {\\n if (custom_fields[i].id == ISSUE_KEY_FIELD_ID) {\\n asana_gid = custom_fields[i].value;\\n break;\\n }\\n }\\n\\n // push the new item to the new_items array\\n new_items.push({\\n \\\"Asana GID\\\": asana_gid\\n });\\n}\\n\\nreturn new_items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"26f2aaf3-8b21-429f-bfec-c5876792d4b9\",\"name\":\"Create comment on existing task\",\"type\":\"n8n-nodes-base.asana\",\"position\":[1000,380],\"parameters\":{\"id\":\"={{$node[\\\"Determine\\\"].json[\\\"Asana GID\\\"]}}\",\"text\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"comment\\\"]}}\",\"resource\":\"taskComment\",\"isTextHtml\":true,\"additionalFields\":{}},\"credentials\":{\"asanaApi\":{\"id\":\"8\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"bbbf0fc1-3fa7-4a15-a949-c8d9d5e32031\",\"name\":\"On new Zendesk ticket\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[280,480],\"webhookId\":\"4637a853-0b3a-43d4-9d76-92e1ce87889d\",\"parameters\":{\"path\":\"4637a853-0b3a-43d4-9d76-92e1ce87889d\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create comment on existing task\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create task\",\"type\":\"main\",\"index\":0}]]},\"Determine\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Get ticket\":{\"main\":[[{\"node\":\"Determine\",\"type\":\"main\",\"index\":0}]]},\"Create task\":{\"main\":[[{\"node\":\"Update ticket\",\"type\":\"main\",\"index\":0}]]},\"On new Zendesk ticket\":{\"main\":[[{\"node\":\"Get ticket\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Two way sync Pipedrive and MySQL", "output": "{\"id\":65,\"meta\":{\"instanceId\":\"104a4d08d8897b8bdeb38aaca515021075e0bd8544c983c2bb8c86e6a8e6081c\"},\"name\":\"Two Way Sync Pipedrive and MySQL\",\"tags\":[],\"nodes\":[{\"id\":\"7355c5ac-a9a6-4fa5-8036-71fd09e95cd4\",\"name\":\"Compare Datasets\",\"type\":\"n8n-nodes-base.compareDatasets\",\"position\":[1220,480],\"parameters\":{\"options\":{},\"resolve\":\"includeBoth\",\"mergeByFields\":{\"values\":[{\"field1\":\"email\",\"field2\":\"email\"}]}},\"typeVersion\":1},{\"id\":\"7a422493-94d4-4f94-b39c-f6c3980a967c\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[800,320],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1},{\"id\":\"b3a0e831-7030-43dd-863a-0c2a4697a14d\",\"name\":\"MySQL\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1000,320],\"parameters\":{\"query\":\"SELECT id, name, email, phone, updated_on FROM contact\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"23\",\"name\":\"MySQL account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"a3a64bb5-8a6f-4011-bc2d-3996a823012c\",\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[800,620],\"parameters\":{\"resource\":\"person\",\"operation\":\"getAll\",\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":{\"id\":\"29\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"089e91df-abf7-4de9-b088-357cffce6949\",\"name\":\"Create Person\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1420,300],\"parameters\":{\"name\":\"={{ $json[\\\"name\\\"] }}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{ $json[\\\"email\\\"] }}\"],\"phone\":[\"={{ $json[\\\"phone\\\"] }}\"]}},\"credentials\":{\"pipedriveApi\":{\"id\":\"29\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"a99c3242-8263-4a92-a1f2-dcce7a9a6d81\",\"name\":\"Create Contact\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1420,620],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"contact\",\"cachedResultName\":\"contact\"},\"columns\":\"name, email, phone\",\"options\":{}},\"credentials\":{\"mySql\":{\"id\":\"23\",\"name\":\"MySQL account\"}},\"typeVersion\":1},{\"id\":\"7697d03a-7bc4-40b3-9e06-e38c13ccaaf3\",\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1760,460],\"parameters\":{\"value\":\"={{ $json[\\\"different\\\"][\\\"updated_on\\\"][\\\"input1\\\"] }}\",\"custom\":true,\"options\":{},\"toFormat\":\"YYYY-MM-DD HH:mm:ss\",\"dataPropertyName\":\"different.updated_on.input1\"},\"typeVersion\":1},{\"id\":\"f882a2e7-a8cf-4683-abe3-77a5b7376bb2\",\"name\":\"Update Contact\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[2340,620],\"parameters\":{\"query\":\"=UPDATE contact\\nSET name = '{{$json[\\\"name\\\"]}}', phone= '{{$json[\\\"phone\\\"]}}'\\nWHERE id = {{$json[\\\"id\\\"]}};\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"23\",\"name\":\"MySQL account\"}},\"typeVersion\":1},{\"id\":\"d7549678-5d35-4a8a-b440-5c347b4434f4\",\"name\":\"Set Input2\",\"type\":\"n8n-nodes-base.set\",\"position\":[2120,620],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"different\\\"][\\\"id\\\"] ? $json[\\\"different\\\"][\\\"id\\\"][\\\"input1\\\"] : $json[\\\"same\\\"][\\\"id\\\"] }}\"},{\"name\":\"name\",\"value\":\"={{ $json[\\\"different\\\"][\\\"name\\\"] ? $json[\\\"different\\\"][\\\"name\\\"][\\\"input2\\\"] : $json[\\\"same\\\"][\\\"name\\\"] }}\"},{\"name\":\"phone\",\"value\":\"={{ $json[\\\"different\\\"][\\\"phone\\\"] ? $json[\\\"different\\\"][\\\"phone\\\"][\\\"input2\\\"] : $json[\\\"same\\\"][\\\"phone\\\"] }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"0018751e-c295-4f8d-b9df-257b9538eedc\",\"name\":\"Set Input1\",\"type\":\"n8n-nodes-base.set\",\"position\":[2120,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"different\\\"][\\\"id\\\"] ? $json[\\\"different\\\"][\\\"id\\\"][\\\"input2\\\"] : $json[\\\"same\\\"][\\\"id\\\"] }}\"},{\"name\":\"name\",\"value\":\"={{ $json[\\\"different\\\"][\\\"name\\\"] ? $json[\\\"different\\\"][\\\"name\\\"][\\\"input1\\\"] : $json[\\\"same\\\"][\\\"name\\\"] }}\"},{\"name\":\"phone\",\"value\":\"={{ $json[\\\"different\\\"][\\\"phone\\\"] ? $json[\\\"different\\\"][\\\"phone\\\"][\\\"input1\\\"] : $json[\\\"same\\\"][\\\"phone\\\"] }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"89af3385-4788-4693-ad02-917b927e7384\",\"name\":\"Update Person\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[2340,300],\"parameters\":{\"personId\":\"={{ $json[\\\"id\\\"] }}\",\"resource\":\"person\",\"operation\":\"update\",\"updateFields\":{\"name\":\"={{ $json[\\\"name\\\"] }}\",\"phone\":[\"={{ $json[\\\"phone\\\"] }}\"]}},\"credentials\":{\"pipedriveApi\":{\"id\":\"29\",\"name\":\"Pipedrive account\"}},\"typeVersion\":1},{\"id\":\"8ffbbb4b-7c2f-457e-ae73-464620aa1588\",\"name\":\"IF Data Changed\",\"type\":\"n8n-nodes-base.if\",\"position\":[1560,480],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ !!$json[\\\"different\\\"][\\\"name\\\"] || !!$json[\\\"different\\\"][\\\"phone\\\"] }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"f8d60404-942d-4bb3-96e7-a247a9447a32\",\"name\":\"IF Updated On\",\"type\":\"n8n-nodes-base.if\",\"position\":[1940,460],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{ $json[\\\"different\\\"][\\\"updated\\\"][\\\"input1\\\"] }} {{ $json[\\\"different\\\"][\\\"updated_on\\\"][\\\"input1\\\"] }}\",\"value2\":\"={{ $json[\\\"different\\\"][\\\"updated\\\"][\\\"input2\\\"] }} {{ $json[\\\"different\\\"][\\\"updated_on\\\"][\\\"input2\\\"] }}\"}]}},\"typeVersion\":1},{\"id\":\"6965e281-10bd-4e8a-b016-f788030a6d9f\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1000,620],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"name\",\"value\":\"={{ $json[\\\"name\\\"] }}\"},{\"name\":\"email\",\"value\":\"={{ $json[\\\"primary_email\\\"] }}\"},{\"name\":\"phone\",\"value\":\"={{ $json[\\\"phone\\\"][0][\\\"value\\\"] }}\"},{\"name\":\"updated_on\",\"value\":\"={{ $json[\\\"update_time\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":1}]]},\"MySQL\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":0}]]},\"Pipedrive\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set Input1\":{\"main\":[[{\"node\":\"Update Person\",\"type\":\"main\",\"index\":0}]]},\"Set Input2\":{\"main\":[[{\"node\":\"Update Contact\",\"type\":\"main\",\"index\":0}]]},\"Date & Time\":{\"main\":[[{\"node\":\"IF Updated On\",\"type\":\"main\",\"index\":0}]]},\"IF Updated On\":{\"main\":[[{\"node\":\"Set Input1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set Input2\",\"type\":\"main\",\"index\":0}]]},\"IF Data Changed\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]},\"Compare Datasets\":{\"main\":[[{\"node\":\"Create Person\",\"type\":\"main\",\"index\":0}],[],[{\"node\":\"IF Data Changed\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create Contact\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"MySQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Monday item on a new Mautic contact", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"4da16859-d29b-4eb7-90a4-3904c1bfff68\",\"name\":\"Create item\",\"type\":\"n8n-nodes-base.mondayCom\",\"position\":[620,240],\"parameters\":{\"name\":\"={{$node[\\\"On created contact\\\"].json[\\\"mautic.lead_post_save_new\\\"][0][\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"firstname\\\"][\\\"value\\\"]}} {{$node[\\\"On created contact\\\"].json[\\\"mautic.lead_post_save_new\\\"][0][\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"lastname\\\"][\\\"value\\\"]}}\",\"boardId\":\"3461879764\",\"groupId\":\"topics\",\"resource\":\"boardItem\",\"additionalFields\":{\"columnValues\":\"={\\n \\\"email\\\": {\\n \\\"email\\\": \\\"{{$node[\\\"On created contact\\\"].json[\\\"mautic.lead_post_save_new\\\"][0][\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"value\\\"]}}\\\",\\n \\\"text\\\" : \\\"{{$node[\\\"On created contact\\\"].json[\\\"mautic.lead_post_save_new\\\"][0][\\\"contact\\\"][\\\"fields\\\"][\\\"core\\\"][\\\"email\\\"][\\\"value\\\"]}}\\\"\\n }\\n}\"}},\"credentials\":{\"mondayComApi\":{\"id\":\"26\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"88655428-439e-4324-8d8f-865625650c7a\",\"name\":\"On created contact\",\"type\":\"n8n-nodes-base.mauticTrigger\",\"position\":[400,240],\"webhookId\":\"8c80d932-4c37-4ebe-92ad-e456249db2c5\",\"parameters\":{\"events\":[\"mautic.lead_post_save_new\"]},\"credentials\":{\"mauticApi\":{\"id\":\"34\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"bff916e6-2ddc-456b-a8fa-c8841f47abed\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[620,400],\"parameters\":{\"width\":301,\"height\":309,\"content\":\"## How to add more fields to Monday\\nBy default, this `Create item` node only adds the name of the item and the email to Monday (provided that there is an email field already created).\\n\\nIdeally, you would like to share more fields than just the name and email. Refer to the [community discussion here](https://community.n8n.io/t/change-multiple-column-values-with-monday/4262) for more information on how to set up more column values in the `Create item` Monday node.\"},\"typeVersion\":1}],\"connections\":{\"On created contact\":{\"main\":[[{\"node\":\"Create item\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "N8N en Español - Epoch to DATE", "output": "{\"id\":41,\"name\":\"Transformar EPOCH a fecha usando Luxon\",\"tags\":[],\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[420,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Epoch\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"clock\",\"value\":\"1668160833\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Fecha\",\"type\":\"n8n-nodes-base.set\",\"position\":[880,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"fecha\",\"value\":\"={{DateTime.fromSeconds(+ $node[\\\"Epoch\\\"].json['clock'], {zone: \\\"Europe/Madrid\\\"}).toFormat('d/M/y - HH:mm')}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[220,380],\"parameters\":{\"width\":1100,\"height\":340,\"content\":\"## Transformar Epoch a Fecha\\n\\nPara este ejemplo usaremos la librería luxon para transformar un timestamp de Unix en una fecha.\\n\\nPara ello usaremos la variable clock capturada desde la salida de `current node`, puedes usar un **+** para referenciar una variable dentro de una expresión y en este caso usar la librería luxon para transformar la salida en una fecha.\\n\\n```\\n{{DateTime.fromSeconds(+ $node[\\\"Epoch\\\"].json['clock'], {zone: \\\"Europe/Madrid\\\"}).toFormat('d/M/y - HH:mm')}}\\n```\\n\\n**Más info:** https://docs.n8n.io/code-examples/expressions/luxon/#date-and-time-behavior-in-n8n\\n**Reference:** https://moment.github.io/luxon/demo/global.html\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"connections\":{\"Epoch\":{\"main\":[[{\"node\":\"Fecha\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Epoch\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Petrogas Coneção", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Amudhan-GoogleSheets\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[850,300],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Amudhan-GoogleSheets\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Working with Excel spreadsheet files (xls & xlsx)", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"05bd643c-6dd0-4f36-a586-3a06cc26893c\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[200,780],\"parameters\":{\"width\":476.4578377639565,\"height\":299.6468819708682,\"content\":\"## Working with Excel files\\n1. Load the spreadsheet file into the workflow (.xls, .xlsx, .csv).\\n2. Convert the file with **Spreadsheet File** node. This allows other nodes to access the data.\\n3. Transform and manipulate the spreadsheet data as needed\\n4. [Optional] Convert back to a spreadsheet file\\n5. [Optional] Save file locally or upload to a server\\n\\n\\n\\nℹ️ This template shows how to work with spreadsheet files themselves. Use the **Microsoft Excel 365** node to interact with the Microsoft Office 365 cloud platform. \"},\"typeVersion\":1},{\"id\":\"84db705b-b45f-447f-b3e6-ac9650816e3b\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,800],\"parameters\":{\"width\":261.5285597588645,\"height\":244.71805702217537,\"content\":\"### 1A. From a public URL\"},\"typeVersion\":1},{\"id\":\"92b8375b-92a3-41ca-874e-d9c4567e21d4\",\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"notes\":\"Fetches a local file\",\"disabled\":true,\"position\":[920,1140],\"parameters\":{\"filePath\":\"/files/customer-datastore.xlsx\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"e595db63-8556-4e5e-89df-9895691ed4bb\",\"name\":\"Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,680],\"parameters\":{\"width\":332.13093980992585,\"height\":80,\"content\":\"## 1. Load file into workflow\"},\"typeVersion\":1},{\"id\":\"66ae38b6-01e6-486b-aae1-d696d22fb2cf\",\"name\":\"Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,1380],\"parameters\":{\"width\":263.20908130939836,\"height\":475.9602777402797,\"content\":\"### 1C. From a cloud platform\"},\"typeVersion\":1},{\"id\":\"c2e2cc7e-01a2-4138-ba6f-344be3dd91f3\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[500,1140],\"parameters\":{},\"typeVersion\":1},{\"id\":\"050bdd2e-6fe5-4145-8a0b-c1b4b8870c53\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[2060,680],\"parameters\":{\"width\":326.8935002375224,\"height\":302.0190073917633,\"content\":\"## 4. [Optional] Convert node data back to .xls file\"},\"typeVersion\":1},{\"id\":\"3822a521-c1f4-40a9-bbb6-540a2bb4651b\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1640,680],\"parameters\":{\"width\":359.63512407276517,\"height\":304.93769799366413,\"content\":\"## 3. Manipulate or transform your spreadsheet data \\n\\n\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"a90ef806-62a7-492d-b493-337d796c677a\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2460,1080],\"parameters\":{\"width\":253.5004831258875,\"height\":243.48423158332457,\"content\":\"### 4B. To a webserver via (S)FTP\"},\"typeVersion\":1},{\"id\":\"a5419c12-4be4-4fdf-8b9f-f6c73104477a\",\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[2520,860],\"parameters\":{\"options\":{},\"fileName\":\"=/tmp/{{$binary.data.fileName}}\"},\"typeVersion\":1},{\"id\":\"3d3474ee-298f-48ee-b7b4-2dd64729c747\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1280,680],\"parameters\":{\"width\":279.5841955487948,\"height\":309.4318901795142,\"content\":\"## 2. Convert the file into JSON format\\nJSON data can be used by nodes\\n\\n\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"93cd3132-460b-4a67-b627-b417bbd74012\",\"name\":\"Note9\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[2460,680],\"parameters\":{\"width\":332.13093980992585,\"height\":86.72208620213638,\"content\":\"## 5. Save or upload new file\\n### [Optional]\"},\"typeVersion\":1},{\"id\":\"4ca7e58c-2d8f-463f-86f9-f87f47a7364b\",\"name\":\"Note10\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2460,800],\"parameters\":{\"width\":253.5004831258875,\"height\":245.22344655940856,\"content\":\"### 4A. To a local filesystem\"},\"typeVersion\":1},{\"id\":\"db8f95b3-db71-4111-b5a4-a53cdfeea896\",\"name\":\"Note11\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[2460,1380],\"parameters\":{\"width\":253.5004831258875,\"height\":480.2511652360096,\"content\":\"### 4C. To a cloud service\"},\"typeVersion\":1},{\"id\":\"ae1a1cdf-4670-41da-8bc5-aa6817ce08bc\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,1080],\"parameters\":{\"width\":263.20908130939836,\"height\":244.71805702217537,\"content\":\"### 1B. From the local filesystem\"},\"typeVersion\":1},{\"id\":\"529b03fb-b81d-40f3-bade-684cc9776cba\",\"name\":\"Download from Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"disabled\":true,\"position\":[920,1440],\"parameters\":{\"fileId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1ffuj8v-s0h8LeEmrA2hBk-b7qKF_c9uT\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1ffuj8v-s0h8LeEmrA2hBk-b7qKF_c9uT/edit?usp=drivesdk&ouid=112909978107527312058&rtpof=true&sd=true\",\"cachedResultName\":\"customer-datastore.xlsx\"},\"options\":{},\"operation\":\"download\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"148\",\"name\":\"FPS\"}},\"typeVersion\":2},{\"id\":\"b63c9748-0c7d-4d2a-aa5b-db76d31af957\",\"name\":\"Download from Microsoft OneDrive\",\"type\":\"n8n-nodes-base.microsoftOneDrive\",\"disabled\":true,\"position\":[920,1640],\"parameters\":{\"fileId\":\"549D14658E697C62!2087\",\"operation\":\"download\"},\"credentials\":{\"microsoftOneDriveOAuth2Api\":{\"id\":\"88\",\"name\":\"Microsoft Drive account\"}},\"typeVersion\":1},{\"id\":\"6333d0b5-d58b-4a19-af9a-0e5ea4fa15e8\",\"name\":\"Download Excel File\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Fetches file from server\",\"position\":[920,860],\"parameters\":{\"url\":\"https://internal.users.n8n.cloud/webhook/709a234d-add7-41d2-9326-8d981f58120b\",\"options\":{}},\"notesInFlow\":true,\"typeVersion\":3},{\"id\":\"88b24dbb-dc9f-4f03-a5b3-71ba89295346\",\"name\":\"Work out Age\",\"type\":\"n8n-nodes-base.set\",\"position\":[1760,820],\"parameters\":{\"values\":{\"string\":[{\"name\":\"age\",\"value\":\"={{ Math.trunc($today.diff(DateTime.fromFormat($json[\\\"created\\\"], 'yyyy-MM-dd'), 'years').toObject().years) }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"2f1f2fa9-4995-46c9-a415-3768a0895e88\",\"name\":\"Upload to SFTP\",\"type\":\"n8n-nodes-base.ftp\",\"disabled\":true,\"position\":[2520,1140],\"parameters\":{\"path\":\"=/home/n8n/{{$binary.data.fileName}}\",\"protocol\":\"sftp\",\"operation\":\"upload\"},\"credentials\":{\"sftp\":{\"id\":\"8\",\"name\":\"SFTP\"}},\"typeVersion\":1},{\"id\":\"81c06f12-83f1-4973-a1ec-6d58e26eb8c9\",\"name\":\"Upload to Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"disabled\":true,\"position\":[2520,1440],\"parameters\":{\"name\":\"={{$binary.data.fileName}}\",\"options\":{},\"binaryData\":true},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"148\",\"name\":\"FPS\"}},\"typeVersion\":2},{\"id\":\"a0ef4740-8716-4fab-8498-c13ee32842cb\",\"name\":\"Upload to Microsoft OneDrive\",\"type\":\"n8n-nodes-base.microsoftOneDrive\",\"disabled\":true,\"position\":[2520,1640],\"parameters\":{\"fileName\":\"={{$binary.data.fileName}}\",\"parentId\":\"root\",\"binaryData\":true},\"credentials\":{\"microsoftOneDriveOAuth2Api\":{\"id\":\"88\",\"name\":\"Microsoft Drive account\"}},\"typeVersion\":1},{\"id\":\"01e6575d-bb92-4f32-82b4-acfe7448a364\",\"name\":\"Read Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1360,820],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"ed09f502-109f-42dc-a62c-6b6f54aad46e\",\"name\":\"Write Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[2160,820],\"parameters\":{\"options\":{\"fileName\":\"=customer-datastore_{{$today.toFormat('yyyyMMdd')}}.xlsx\"},\"operation\":\"toFile\",\"fileFormat\":\"xlsx\"},\"typeVersion\":1}],\"connections\":{\"Work out Age\":{\"main\":[[{\"node\":\"Write Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Read Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Download Excel File\":{\"main\":[[{\"node\":\"Read Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0},{\"node\":\"Download Excel File\",\"type\":\"main\",\"index\":0},{\"node\":\"Download from Google Drive\",\"type\":\"main\",\"index\":0},{\"node\":\"Download from Microsoft OneDrive\",\"type\":\"main\",\"index\":0}]]},\"Read Spreadsheet File\":{\"main\":[[{\"node\":\"Work out Age\",\"type\":\"main\",\"index\":0}]]},\"Write Spreadsheet File\":{\"main\":[[{\"node\":\"Upload to SFTP\",\"type\":\"main\",\"index\":0},{\"node\":\"Upload to Google Drive\",\"type\":\"main\",\"index\":0},{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0},{\"node\":\"Upload to Microsoft OneDrive\",\"type\":\"main\",\"index\":0}]]},\"Download from Google Drive\":{\"main\":[[{\"node\":\"Read Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Download from Microsoft OneDrive\":{\"main\":[[{\"node\":\"Read Spreadsheet File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "testestest", "output": "{\"nodes\":[\"alpha\"],\"connections\":[\"alpha\"]}" }, { "input": "Create or update Mautic contact on a new Calendly event", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"40216649-af2c-44df-83c6-75afe75dcdaf\",\"name\":\"On new event\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[400,240],\"webhookId\":\"28087fc9-e623-48fe-949e-e002cbc7a817\",\"parameters\":{\"events\":[\"invitee.created\"]},\"credentials\":{\"calendlyApi\":{\"id\":\"38\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"46914a34-984e-4736-b2a3-6e97555b73c7\",\"name\":\"Create/update contact\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[620,240],\"parameters\":{\"email\":\"={{$node[\\\"On new event\\\"].json[\\\"payload\\\"][\\\"email\\\"]}}\",\"options\":{},\"firstName\":\"={{$json[\\\"payload\\\"][\\\"name\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"mauticApi\":{\"id\":\"34\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"df809a8d-7b05-4ecc-a022-7bb12842b4bc\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-20,180],\"parameters\":{\"width\":313,\"height\":229,\"content\":\"### Create/update Mautic contact on a new Calendly event\\n1. `On new event` triggers on new Calendly events.\\n2. `Create/update contact` will create a contact in Mautic or update the contact's first name. If the contact's email is already in Mautic, then the first name will be overwritten to the new first name.\"},\"typeVersion\":1}],\"connections\":{\"On new event\":{\"main\":[[{\"node\":\"Create/update contact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Mautic contact on a new Shopify customer", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"a5f74e05-acea-4ff4-b3b2-5997850be036\",\"name\":\"On new customer\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[180,420],\"webhookId\":\"8efd263c-73fb-481b-90d8-8ae0db929548\",\"parameters\":{\"topic\":\"customers/create\",\"authentication\":\"accessToken\"},\"credentials\":{\"shopifyAccessTokenApi\":{\"id\":\"37\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"5b4a9e71-3aa7-40d8-a439-79a504c60a46\",\"name\":\"Create contact\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[400,420],\"parameters\":{\"email\":\"={{$node[\\\"On new customer\\\"].json[\\\"email\\\"]}}\",\"options\":{},\"lastName\":\"={{$node[\\\"On new customer\\\"].json[\\\"last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"On new customer\\\"].json[\\\"first_name\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"mauticApi\":{\"id\":\"34\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"4b7b306e-1b4c-464f-b8f0-373167ded16f\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[400,600],\"parameters\":{\"width\":332,\"height\":116,\"content\":\"### Add more fields to Mautic\\nBy default, the first name, last name and email are pushed to Mautic. If you require more fields, add it in the `Create contact` node.\"},\"typeVersion\":1}],\"connections\":{\"On new customer\":{\"main\":[[{\"node\":\"Create contact\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "creating text using machine learning", "output": "{\"nodes\":[11],\"connections\":[1111]}" }, { "input": "Sync Jira issues with subsequent comments to Notion database", "output": "{\"id\":\"YCQFaJdmJc6Rx4o7\",\"meta\":{\"instanceId\":\"0c0787ab1a9ebbb0967650f7b4012417acdd61c2fa7c9e119981847e2fc8b09c\"},\"name\":\"Sync Jira issues with subsequent comments to Notion database\",\"tags\":[{\"id\":\"24\",\"name\":\"n8n team\",\"createdAt\":\"2023-02-28T11:17:04.513Z\",\"updatedAt\":\"2023-02-28T11:17:04.513Z\"}],\"nodes\":[{\"id\":\"3f36dc12-5011-4786-aa21-f20ba72944df\",\"name\":\"Create database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[460,460],\"parameters\":{\"title\":\"={{$node[\\\"On issues created/updated/deleted\\\"].json[\\\"issue\\\"][\\\"fields\\\"][\\\"summary\\\"]}}\",\"options\":{},\"resource\":\"databasePage\",\"databaseId\":\"e3503d88-accb-4ddb-aa45-f962cb03e729\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Issue Key|rich_text\",\"textContent\":\"={{$node[\\\"On issues created/updated/deleted\\\"].json[\\\"issue\\\"][\\\"key\\\"]}}\"},{\"key\":\"Issue ID|number\",\"numberValue\":\"={{parseInt($node[\\\"On issues created/updated/deleted\\\"].json[\\\"issue\\\"][\\\"id\\\"])}}\"},{\"key\":\"Link|url\",\"urlValue\":\"=https://n8n-io.atlassian.net/browse/{{$node[\\\"On issues created/updated/deleted\\\"].json[\\\"issue\\\"][\\\"key\\\"]}}\",\"ignoreIfEmpty\":true},{\"key\":\"Status|select\",\"selectValue\":\"={{$node[\\\"Lookup table\\\"].json[\\\"Status ID\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"XNjSmr171NUO17TK\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2},{\"id\":\"2d13b713-dd3d-48aa-a550-fe8db1e7aafd\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[660,460],\"parameters\":{\"width\":232.65822784810126,\"height\":137.9746835443038,\"content\":\"### `IF` & `Switch` nodes\\nThese conditional nodes (`IF` and `Switch`) determine which Notion [**CRUD**](https://www.sumologic.com/glossary/crud/) operations will be performed.\"},\"typeVersion\":1},{\"id\":\"374761f7-9299-41a3-8bb3-25434f4f9eaf\",\"name\":\"Find database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[660,660],\"parameters\":{\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"e3503d88-accb-4ddb-aa45-f962cb03e729\",\"filterJson\":\"={{$node[\\\"Create custom Notion filters\\\"].json[\\\"notionfilter\\\"]}}\",\"filterType\":\"json\"},\"credentials\":{\"notionApi\":{\"id\":\"XNjSmr171NUO17TK\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2},{\"id\":\"159db4ca-c8da-439a-aa44-63527c7b9dcd\",\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[860,660],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"jira:issue_updated\"},{\"output\":1,\"value2\":\"jira:issue_deleted\"}]},\"value1\":\"={{$node[\\\"On issues created/updated/deleted\\\"].json[\\\"webhookEvent\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"080fb157-e160-4bf0-9348-05eabee60f9f\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[240,560],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"On issues created/updated/deleted\\\"].json[\\\"webhookEvent\\\"]}}\",\"value2\":\"jira:issue_created\"}]}},\"typeVersion\":1},{\"id\":\"3ec2a130-251d-4d28-8dc3-ca31f528f90e\",\"name\":\"Delete issue\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1080,760],\"parameters\":{\"pageId\":\"={{ $node[\\\"Find database page\\\"].json[\\\"id\\\"] }}\",\"operation\":\"archive\"},\"credentials\":{\"notionApi\":{\"id\":\"XNjSmr171NUO17TK\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2},{\"id\":\"5a23919a-ee95-4935-b619-5eb0b486eef7\",\"name\":\"On issues created/updated/deleted\",\"type\":\"n8n-nodes-base.jiraTrigger\",\"position\":[-160,560],\"webhookId\":\"042e0fd3-9776-4c23-9f0d-dc032ef22744\",\"parameters\":{\"events\":[\"jira:issue_created\",\"jira:issue_deleted\",\"jira:issue_updated\"],\"additionalFields\":{}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"xZbqpSTMv8IjtS5Y\",\"name\":\"REPLACE ME\"}},\"typeVersion\":1},{\"id\":\"6d3bbfce-cbfc-4590-827b-4ec1eb5c11b6\",\"name\":\"Lookup table\",\"type\":\"n8n-nodes-base.code\",\"position\":[40,560],\"parameters\":{\"jsCode\":\"/* Lookup table for the statuses in Jira. You can find the status IDs by\\n following the instructions provided at this link:\\n https://community.atlassian.com/t5/Jira-Service-Management/How-do-I-get-a-list-of-statuses-that-show-the-associated-status/qaq-p/1803682\\n*/\\nvar lookup = {\\n \\\"To Do\\\": \\\"To do\\\",\\n \\\"In Progress\\\": \\\"In progress\\\",\\n \\\"Done\\\": \\\"Done\\\"\\n};\\n\\n\\n\\nnew_items = [];\\n\\nfor (item of $items(\\\"On issues created/updated/deleted\\\")) {\\n console.log(item.json[\\\"Status\\\"]);\\n // instantiate a new variable for status\\n var issue_status = item.json[\\\"issue\\\"][\\\"fields\\\"][\\\"status\\\"][\\\"name\\\"];\\n // check if the status is in the lookup table\\n if (issue_status in lookup) {\\n // if it is, then add the status ID to the new_items array\\n new_items.push({\\n \\\"Status ID\\\": lookup[issue_status]\\n });\\n }\\n}\\n\\nreturn new_items;\"},\"typeVersion\":2},{\"id\":\"bdc966ce-16bf-47de-aba3-fcd0f912f95f\",\"name\":\"Create custom Notion filters\",\"type\":\"n8n-nodes-base.code\",\"position\":[460,660],\"parameters\":{\"jsCode\":\"const new_items = [];\\nfor (item of $items(\\\"On issues created/updated/deleted\\\")) {\\n\\n // do not process this item if action is created\\n if (item.json[\\\"webhookEvent\\\"] == \\\"jira:issue_created\\\") {\\n continue;\\n }\\n\\n // build the output template\\n var new_item = {\\n \\\"json\\\": {\\n \\\"notionfilter\\\": \\\"\\\"\\n }\\n };\\n new_item = JSON.stringify(new_item);\\n new_item = JSON.parse(new_item);\\n new_items.push(new_item);\\n\\n // create Notion filter to find specific database page by issue ID\\n notionfilter = {\\n or: [],\\n }\\n\\n const filter = {\\n property: 'Issue ID',\\n number: {\\n equals: parseInt(item.json[\\\"issue\\\"][\\\"id\\\"])\\n }\\n }\\n notionfilter[\\\"or\\\"].push(filter);\\n\\n new_item.json.notionfilter = JSON.stringify(notionfilter); \\n}\\n\\nreturn new_items;\"},\"typeVersion\":2},{\"id\":\"f92157a9-1a63-4907-87c8-0b54c3b0ac8e\",\"name\":\"Update issue\",\"type\":\"n8n-nodes-base.notion\",\"position\":[1080,560],\"parameters\":{\"pageId\":\"={{ $node[\\\"Find database page\\\"].json[\\\"id\\\"] }}\",\"options\":{},\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Title|title\",\"title\":\"={{$node[\\\"On issues created/updated/deleted\\\"].json[\\\"issue\\\"][\\\"fields\\\"][\\\"summary\\\"]}}\"},{\"key\":\"Status|select\",\"selectValue\":\"={{$node[\\\"Lookup table\\\"].json[\\\"Status ID\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"XNjSmr171NUO17TK\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"490138aa-d92d-439a-b7bb-d6d00a9fab86\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create database page\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create custom Notion filters\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Update issue\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Delete issue\",\"type\":\"main\",\"index\":0}]]},\"Lookup table\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Find database page\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Create custom Notion filters\":{\"main\":[[{\"node\":\"Find database page\",\"type\":\"main\",\"index\":0}]]},\"On issues created/updated/deleted\":{\"main\":[[{\"node\":\"Lookup table\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Zendesk tickets with subsequent comments to GitHub issues", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"f0913aa6-4e78-4808-b828-7e9953e71764\",\"name\":\"Get ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[380,480],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"f8774217-bc05-4b02-8632-154654f79d5f\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[780,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Determine\\\"].json[\\\"GitHub Issue Number\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"6ae7e40b-b75c-41e2-9ba7-bb299f12911a\",\"name\":\"Update ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"notes\":\"Update the Zendesk ticket by adding the Jira issue key to the \\\"Jira Issue Key\\\" field.\",\"position\":[1180,580],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"id\":6721726848029,\"value\":\"={{$node[\\\"Create issue\\\"].json[\\\"number\\\"]}}\"}]}}},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"7959986c-cfbf-4ba2-a968-95b62d2aa819\",\"name\":\"Determine\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"if issue was created already in Jira\",\"position\":[580,480],\"parameters\":{\"functionCode\":\"/* configure here =========================================================== */\\n/* Zendesk field ID which represents the \\\"GitHub Issue Number\\\" field.\\n*/\\nconst ISSUE_KEY_FIELD_ID = 6721726848029;\\n\\n/* ========================================================================== */\\nnew_items = [];\\n\\nfor (item of $items(\\\"Get ticket\\\")) {\\n \\n // instantiate a new variable for status\\n var custom_fields = item.json[\\\"custom_fields\\\"];\\n var github_issue_number = \\\"\\\";\\n for (var i = 0; i < custom_fields.length; i++) {\\n if (custom_fields[i].id == ISSUE_KEY_FIELD_ID) {\\n github_issue_number = custom_fields[i].value;\\n break;\\n }\\n }\\n\\n // push the new item to the new_items array\\n new_items.push({\\n \\\"GitHub Issue Number\\\": github_issue_number\\n });\\n}\\n\\nreturn new_items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"a1ca21d3-958f-498c-a896-05d4ecbc286d\",\"name\":\"Create issue\",\"type\":\"n8n-nodes-base.github\",\"position\":[980,580],\"parameters\":{\"owner\":\"John-n8n\",\"title\":\"={{$node[\\\"Get ticket\\\"].json[\\\"subject\\\"]}}\",\"labels\":[],\"assignees\":[],\"repository\":\"DemoRepo\"},\"credentials\":{\"githubApi\":{\"id\":\"20\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"1ad6f536-2cdb-4ecc-85b4-2e960fb84498\",\"name\":\"Create comment on existing issue\",\"type\":\"n8n-nodes-base.github\",\"position\":[980,380],\"parameters\":{\"body\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"comment\\\"]}}\",\"owner\":\"John-n8n\",\"operation\":\"createComment\",\"repository\":\"DemoRepo\",\"issueNumber\":\"={{$node[\\\"Determine\\\"].json[\\\"GitHub Issue Number\\\"]}}\"},\"credentials\":{\"githubApi\":{\"id\":\"20\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"73e8c380-63de-4e5a-8e57-a17956174869\",\"name\":\"On new Zendesk ticket\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[180,480],\"webhookId\":\"b4253880-b5e2-4d61-bb2a-b0ea335bee14\",\"parameters\":{\"path\":\"b4253880-b5e2-4d61-bb2a-b0ea335bee14\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create comment on existing issue\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create issue\",\"type\":\"main\",\"index\":0}]]},\"Determine\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Get ticket\":{\"main\":[[{\"node\":\"Determine\",\"type\":\"main\",\"index\":0}]]},\"Create issue\":{\"main\":[[{\"node\":\"Update ticket\",\"type\":\"main\",\"index\":0}]]},\"On new Zendesk ticket\":{\"main\":[[{\"node\":\"Get ticket\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Zendesk tickets with subsequent comments to Jira issues", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"b374f136-0050-40ea-b889-03c1e20a161e\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1000,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Determine\\\"].json[\\\"Jira issue key\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"52e85300-9a2f-45e9-973e-0fda49a50bf1\",\"name\":\"Create issue\",\"type\":\"n8n-nodes-base.jira\",\"position\":[1180,400],\"parameters\":{\"project\":\"10000\",\"summary\":\"={{$node[\\\"Get ticket\\\"].json[\\\"subject\\\"]}}\",\"issueType\":\"10003\",\"additionalFields\":{\"description\":\"=See Zendesk issue at: https://n8n.zendesk.com/agent/tickets/{{$node[\\\"Get ticket\\\"].json[\\\"id\\\"]}}\"}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"23\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"85c93002-95d3-434d-b9e9-10ef714432b1\",\"name\":\"Update ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"notes\":\"Update the Zendesk ticket by adding the Jira issue key to the \\\"Jira Issue Key\\\" field.\",\"position\":[1360,400],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"id\":6689934837021,\"value\":\"={{$node[\\\"Create issue\\\"].json[\\\"key\\\"]}}\"}]}}},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"3aa0dff6-f4a5-47c1-9843-271b78bfbf36\",\"name\":\"Get ticket\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[640,300],\"parameters\":{\"id\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"zendeskApi\":{\"id\":\"24\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"efd1f838-226f-4869-83f8-086d31f8a9bc\",\"name\":\"Determine\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"if issue was created already in Jira\",\"position\":[820,300],\"parameters\":{\"functionCode\":\"/* configure here =========================================================== */\\n/* Zendesk field ID which represents the \\\"Jira Issue Key\\\" field.\\n*/\\nconst ISSUE_KEY_FIELD_ID = 6689934837021;\\n\\n/* ========================================================================== */\\nnew_items = [];\\n\\nfor (item of $items(\\\"Get ticket\\\")) {\\n \\n // instantiate a new variable for status\\n var custom_fields = item.json[\\\"custom_fields\\\"];\\n var jira_issue_key = \\\"\\\";\\n for (var i = 0; i < custom_fields.length; i++) {\\n if (custom_fields[i].id == ISSUE_KEY_FIELD_ID) {\\n jira_issue_key = custom_fields[i].value;\\n break;\\n }\\n }\\n\\n // push the new item to the new_items array\\n new_items.push({\\n \\\"Jira issue key\\\": jira_issue_key\\n });\\n}\\n\\nreturn new_items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"41a1c04b-561b-41e3-be6e-fc953319abc1\",\"name\":\"Create comment to existing issue\",\"type\":\"n8n-nodes-base.jira\",\"position\":[1180,200],\"parameters\":{\"comment\":\"={{$node[\\\"On new Zendesk ticket\\\"].json[\\\"body\\\"][\\\"comment\\\"]}}\",\"options\":{},\"issueKey\":\"={{$node[\\\"Determine\\\"].json[\\\"Jira issue key\\\"]}}\",\"resource\":\"issueComment\"},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"23\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"33e0121e-703d-4c60-b257-a89a99db771a\",\"name\":\"On new Zendesk ticket\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[460,300],\"webhookId\":\"d596c0c6-7377-4a17-9ed5-6ee953f072b9\",\"parameters\":{\"path\":\"d596c0c6-7377-4a17-9ed5-6ee953f072b9\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Create comment to existing issue\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create issue\",\"type\":\"main\",\"index\":0}]]},\"Determine\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Get ticket\":{\"main\":[[{\"node\":\"Determine\",\"type\":\"main\",\"index\":0}]]},\"Create issue\":{\"main\":[[{\"node\":\"Update ticket\",\"type\":\"main\",\"index\":0}]]},\"On new Zendesk ticket\":{\"main\":[[{\"node\":\"Get ticket\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send new Clockify invoice to Notion database", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"cc514d10-89cc-4fcf-8c1f-b65395cd168a\",\"name\":\"On new invoice in Clockify\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[460,460],\"webhookId\":\"8af31ab8-e16a-4401-84b7-b246c65ba6a9\",\"parameters\":{\"path\":\"8af31ab8-e16a-4401-84b7-b246c65ba6a9\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"ef9e5ce6-cb3e-4cb9-b33d-3b05a2ab589d\",\"name\":\"Create database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[680,460],\"parameters\":{\"title\":\"={{ $json[\\\"body\\\"][\\\"number\\\"] }}\",\"resource\":\"databasePage\",\"databaseId\":\"ea3219a7-0a1a-4792-8dd6-ab450204dc06\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Issue date|date\",\"date\":\"={{ $json[\\\"body\\\"][\\\"issuedDate\\\"] }}\"},{\"key\":\"Due date|date\",\"date\":\"={{ $json[\\\"body\\\"][\\\"dueDate\\\"] }}\"},{\"key\":\"Amount|number\",\"numberValue\":\"={{ $json[\\\"body\\\"][\\\"amount\\\"] }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"e2ecb86f-2f0c-4fe7-8919-e9095abdb5a0\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-60,240],\"parameters\":{\"width\":462,\"height\":595,\"content\":\"## Send new Clockify invoice to Notion database\\n### How it works\\n1. `On new invoice in Clockify` webhook node will trigger when a new invoice is created in Clockify. Setup is involved.\\n2. `Create database page` Notion node will create a database page with the information specified from the Clockify trigger. You can add additional fields if required by following the setup.\\n\\n### Setup\\n1. Create a Clockify webhook by going to the [webhooks section in Clockify](https://app.clockify.me/webhooks).\\n2. Create the webhook specifying the \\\"Invoice created\\\" event and paste in the URL provided from `On new invoice in Clockify` webhook step.\\n3. Now go to Notion and create a new database where we will store our Clockify invoices.\\n4. In the new Notion database, create the following fields:\\n - Invoice number (renamed from \\\"Name\\\" field)\\n - Issue date (date field)\\n - Due date (date field)\\n - Amount (number field)\\n5. If you want to add more fields to Notion, create those fields in Notion and map it accordingly in `Create database page` node.\"},\"typeVersion\":1}],\"connections\":{\"On new invoice in Clockify\":{\"main\":[[{\"node\":\"Create database page\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Notion database pages as ClickUp tasks", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"22e8e117-2475-4b06-966c-9b35c9c749f8\",\"name\":\"On updated database page\",\"type\":\"n8n-nodes-base.notionTrigger\",\"position\":[180,620],\"parameters\":{\"event\":\"pagedUpdatedInDatabase\",\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"databaseId\":\"38aa89c7-defd-4268-be2d-9119590521a9\"},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"6938eddf-39ec-46c4-a9a9-082ee0edd836\",\"name\":\"Update an existing task\",\"type\":\"n8n-nodes-base.clickUp\",\"position\":[400,620],\"parameters\":{\"id\":\"={{$node[\\\"On updated database page\\\"].json[\\\"ClickUp ID\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"name\":\"={{$node[\\\"On updated database page\\\"].json[\\\"Task name\\\"]}}\",\"status\":\"={{$node[\\\"On updated database page\\\"].json[\\\"Status\\\"]}}\",\"dueDate\":\"={{$node[\\\"On updated database page\\\"].json[\\\"Deadline\\\"][\\\"start\\\"]}}\"}},\"credentials\":{\"clickUpApi\":{\"id\":\"29\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"84cd269a-e732-408e-8b1a-66b1a7623fc1\",\"name\":\"On task status updated\",\"type\":\"n8n-nodes-base.clickUpTrigger\",\"position\":[180,820],\"webhookId\":\"86d6bbce-1591-4db9-9ccb-214ab0977ae8\",\"parameters\":{\"team\":\"2627397\",\"events\":[\"taskStatusUpdated\"],\"filters\":{}},\"credentials\":{\"clickUpApi\":{\"id\":\"29\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"a5d6cee8-9dae-45ca-9540-4835365a4ab1\",\"name\":\"Get database page by ClickUp ID\",\"type\":\"n8n-nodes-base.notion\",\"position\":[400,820],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"ClickUp ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{$node[\\\"On task status updated\\\"].json[\\\"task_id\\\"]}}\"}]},\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":\"38aa89c7-defd-4268-be2d-9119590521a9\",\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"eeaff75d-8c47-4e2d-b2e2-87d5b6e59499\",\"name\":\"Update the status of found database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[620,820],\"parameters\":{\"pageId\":\"={{$node[\\\"Get database page by ClickUp ID\\\"].json[\\\"id\\\"]}}\",\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Status|select\",\"selectValue\":\"={{$node[\\\"On task status updated\\\"].json[\\\"history_items\\\"][0][\\\"after\\\"][\\\"status\\\"]}}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"9\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2}],\"connections\":{\"On task status updated\":{\"main\":[[{\"node\":\"Get database page by ClickUp ID\",\"type\":\"main\",\"index\":0}]]},\"On updated database page\":{\"main\":[[{\"node\":\"Update an existing task\",\"type\":\"main\",\"index\":0}]]},\"Get database page by ClickUp ID\":{\"main\":[[{\"node\":\"Update the status of found database page\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "update_country", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[100,160],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":5,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"MySQL - insert\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[500,160],\"parameters\":{\"table\":\"books\",\"columns\":\"title, price\",\"options\":{\"ignore\":true,\"priority\":\"LOW_PRIORITY\"}},\"credentials\":{\"mySql\":{\"id\":\"82\",\"name\":\"MySQL account\"}},\"typeVersion\":1},{\"name\":\"Google Sheets - read\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[300,160],\"parameters\":{\"options\":{},\"sheetId\":\"qwertz\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"google_sheets_oauth\"}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Google Sheets - read\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets - read\":{\"main\":[[{\"node\":\"MySQL - insert\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "TESTSSSSSasas asfasda ", "output": "{\"id\":\"14\",\"name\":\"extract_swifts\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-140,820],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[320,820],\"parameters\":{\"url\":\"https://www.theswiftcodes.com/browse-by-country/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[510,820],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"countries\",\"attribute\":\"href\",\"cssSelector\":\"ol > li > a\",\"returnArray\":true,\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[910,820],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2250,740],\"parameters\":{\"url\":\"={{$node[\\\"Set\\\"].json[\\\"url\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"HTML Extract1\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[2750,590],\"parameters\":{\"options\":{},\"sourceData\":\"binary\",\"extractionValues\":{\"values\":[{\"key\":\"next_button\",\"attribute\":\"href\",\"cssSelector\":\"span.next > a\",\"returnValue\":\"attribute\"},{\"key\":\"names\",\"cssSelector\":\"td.table-name\",\"returnArray\":true},{\"key\":\"swifts\",\"cssSelector\":\"td.table-swift\",\"returnArray\":true},{\"key\":\"cities\",\"cssSelector\":\"td.table-city\",\"returnArray\":true},{\"key\":\"branches\",\"cssSelector\":\"td.table-branch\",\"returnArray\":true}]}},\"typeVersion\":1},{\"name\":\"MongoDB1\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[3280,590],\"parameters\":{\"fields\":\"iso_code,country,page,name,branch,city,swift_code,createdAt,updatedAt\",\"options\":{\"dateFields\":\"createdAt,updatedAt\"},\"operation\":\"insert\",\"collection\":\"swifts.meetup\"},\"credentials\":{\"mongoDb\":\"db-mongo\"},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[1100,820],\"parameters\":{\"tool\":\"getCountryNormalized\",\"group\":\"geographic\",\"country\":\"={{$node[\\\"SplitInBatches\\\"].json[\\\"country\\\"].replace(/[\\\\/0-9]/g, \\\"\\\")}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"uproc-miquel\"},\"typeVersion\":1},{\"name\":\"Prepare Documents\",\"type\":\"n8n-nodes-base.function\",\"position\":[2930,590],\"parameters\":{\"functionCode\":\"var newItems = [];\\n\\nfor (i = 0; i < items[0].json.swifts.length; i++) {\\n var item = {\\n iso_code: $node['uProc'].json.message.code,\\n country: $node['SplitInBatches'].json.country.replace(/[-\\\\/0-9]/g, \\\"\\\"),\\n page: $node['Set Page to Scrape'].json.page,\\n name: items[0].json.names[i],\\n city: items[0].json.cities[i],\\n branch: items[0].json.branches[i],\\n swift_code: items[0].json.swifts[i],\\n createdAt: new Date(),\\n updatedAt: new Date()\\n }\\n newItems.push({json: item});\\n}\\n\\nreturn newItems;\\n\\n\"},\"typeVersion\":1},{\"name\":\"More Countries\",\"type\":\"n8n-nodes-base.if\",\"position\":[2810,1100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"] + \\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Set Page to Scrape\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1290,680],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\nitem.page = \\\"\\\";\\nif (staticData.page && staticData.page.length) {\\n item.page = staticData.page;\\n} else {\\n item.page = $node['SplitInBatches'].json.country;\\n}\\nreturn item;\\n\"},\"typeVersion\":1},{\"name\":\"More Pages\",\"type\":\"n8n-nodes-base.if\",\"position\":[3070,1020],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"more_pages\\\"] + \\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Set More Pages\",\"type\":\"n8n-nodes-base.function\",\"position\":[3470,590],\"parameters\":{\"functionCode\":\"var next_page = $node['HTML Extract1'].json.next_button && $node['HTML Extract1'].json.next_button.length ? $node['HTML Extract1'].json.next_button : \\\"\\\";\\nvar more_pages = next_page.length > 0;\\nconst staticData = getWorkflowStaticData('global');\\n\\n//all current items are after date: needs pagination\\nif (more_pages) {\\n staticData.page = next_page;\\n} else {\\n //don't check more items in previous pages;\\n delete staticData.page;\\n}\\n\\nreturn [\\n {\\n json: {\\n more_pages: more_pages\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"url\",\"value\":\"=https://www.theswiftcodes.com{{$node[\\\"Set Page to Scrape\\\"].json[\\\"page\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Generate filename\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1600,610],\"parameters\":{\"functionCode\":\"var generateNameFromUrl = function(url){\\n return url.replace(/[^a-z0-9]/gi, \\\"_\\\");\\n}\\n\\nitem.file = generateNameFromUrl(item.url) + \\\".html\\\"\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[1770,610],\"parameters\":{\"filePath\":\"=/home/node/.cache/scrapper/{{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"File exists?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1950,610],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Read Binary File\\\"].binary.data.mimeType}}\",\"value2\":\"text/html\"}]}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[2400,740],\"parameters\":{\"fileName\":\"=/home/node/.cache/scrapper/{{$node[\\\"Generate filename\\\"].json[\\\"file\\\"]}}\",\"dataPropertyName\":\"=data\"},\"typeVersion\":1},{\"name\":\"Read Binary File1\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[2570,590],\"parameters\":{\"filePath\":\"=/home/node/.cache/scrapper/{{$json[\\\"file\\\"]}}\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Wait\",\"type\":\"n8n-nodes-base.function\",\"position\":[2090,740],\"parameters\":{\"functionCode\":\"const waitTimeSeconds = 1;\\n\\nreturn new Promise((resolve) => {\\n setTimeout(() => {\\n resolve([]);\\n }, waitTimeSeconds * 1000);\\n});\\n\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Prepare countries\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,820],\"parameters\":{\"functionCode\":\"return items[0].json.countries.map(function(country) {\\n return {\\n json: {country: country}\\n }\\n});\"},\"typeVersion\":1},{\"name\":\"Create Directory\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[70,820],\"parameters\":{\"command\":\"mkdir -p /home/node/.cache/scrapper/\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"disabled\":true,\"position\":[3100,520],\"parameters\":{\"query\":\"={\\\"swift_code\\\": \\\"{{$json[\\\"swift_code\\\"]}}\\\"}\",\"options\":{},\"collection\":\"swifts.meetup\"},\"credentials\":{\"mongoDb\":\"db-mongo\"},\"executeOnce\":false,\"typeVersion\":1,\"alwaysOutputData\":true}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Generate filename\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"uProc\":{\"main\":[[{\"node\":\"Set Page to Scrape\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[]]},\"MongoDB1\":{\"main\":[[{\"node\":\"Set More Pages\",\"type\":\"main\",\"index\":0}]]},\"More Pages\":{\"main\":[[{\"node\":\"Set Page to Scrape\",\"type\":\"main\",\"index\":0}],[{\"node\":\"More Countries\",\"type\":\"main\",\"index\":0}]]},\"File exists?\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Prepare countries\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract1\":{\"main\":[[{\"node\":\"Prepare Documents\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"More Countries\":{\"main\":[[],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set More Pages\":{\"main\":[[{\"node\":\"More Pages\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0}]]},\"Create Directory\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"File exists?\",\"type\":\"main\",\"index\":0}]]},\"Generate filename\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]},\"Prepare Documents\":{\"main\":[[{\"node\":\"MongoDB1\",\"type\":\"main\",\"index\":0}]]},\"Prepare countries\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File1\":{\"main\":[[{\"node\":\"HTML Extract1\",\"type\":\"main\",\"index\":0}]]},\"Write Binary File\":{\"main\":[[{\"node\":\"Read Binary File1\",\"type\":\"main\",\"index\":0}]]},\"Set Page to Scrape\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Directory\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "lemlist <> GPT-3: Supercharge your sales workflows", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"44b2e0ac-1ec9-4acd-bf00-7e280378b8df\",\"name\":\"Lemlist - Unsubscribe\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[1300,-180],\"parameters\":{\"email\":\"={{ $json[\\\"leadEmail\\\"] }}\",\"resource\":\"lead\",\"operation\":\"unsubscribe\",\"campaignId\":\"={{$json[\\\"campaignId\\\"]}}\"},\"credentials\":{\"lemlistApi\":{\"id\":\"45\",\"name\":\"Lemlist - \\\"lemlist\\\" team API key\"}},\"typeVersion\":1},{\"id\":\"75dd6db8-5e59-4521-a4be-2272e2914494\",\"name\":\"follow up task\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1520,640],\"parameters\":{\"type\":\"task\",\"metadata\":{\"subject\":\"=OOO - Follow up with {{ $json[\\\"properties\\\"][\\\"firstname\\\"][\\\"value\\\"] }} {{ $json[\\\"properties\\\"][\\\"lastname\\\"][\\\"value\\\"] }}\"},\"resource\":\"engagement\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"associations\":{\"contactIds\":\"={{ $json[\\\"vid\\\"] }}\"}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"14\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"id\":\"0ba95d5d-fe73-4687-8e21-02b97b19924f\",\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[380,300],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Unsubscribe\"},{\"output\":1,\"value2\":\"Interested\"},{\"output\":2,\"value2\":\"Out of Office\"}]},\"value1\":\"={{ $json[\\\"text\\\"].trim() }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"abdb4925-4b2a-48e0-aa3d-042e1112150a\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[140,300],\"parameters\":{\"mode\":\"combine\",\"options\":{\"clashHandling\":{\"values\":{\"resolveClash\":\"preferInput1\"}}},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"b911bd29-9141-43ac-87d4-3922be5cbe5c\",\"name\":\"lemlist - Mark as interested\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1300,160],\"parameters\":{\"url\":\"=https://api.lemlist.com/api/campaigns/YOUR_CAMPAIGN_ID/leads/{{$json[\\\"leadEmail\\\"]}}/interested\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"lemlistApi\"},\"credentials\":{\"lemlistApi\":{\"id\":\"45\",\"name\":\"Lemlist - \\\"lemlist\\\" team API key\"}},\"typeVersion\":2},{\"id\":\"510adb64-fb3a-4d56-abf3-ab9cc0d3e683\",\"name\":\"HubSpot - Create Deal\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1520,380],\"parameters\":{\"stage\":\"79009480\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"dealName\":\"=New Deal with {{ $json[\\\"identity-profiles\\\"][0][\\\"identities\\\"][0][\\\"value\\\"] }}\",\"associatedVids\":\"={{$json[\\\"canonical-vid\\\"]}}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"14\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"id\":\"635e40a2-0546-4c3e-8080-26d72fc5ea35\",\"name\":\"HubSpot - Get contact ID\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1300,380],\"parameters\":{\"email\":\"={{ $json[\\\"leadEmail\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"leadLastName\\\"] }}\",\"firstName\":\"={{ $json[\\\"leadFirstName\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"14\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"id\":\"a072f9bb-09ca-4edb-b4ae-76c768be681f\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1740,380],\"parameters\":{\"text\":\"=Hello a new lead is interested. \\n\\nMore info in Hubspot here: \\nhttps://app-eu1.hubspot.com/contacts/25897606/deal/{{$json[\\\"dealId\\\"]}}\",\"channel\":\"Your channel name\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1},{\"id\":\"db18ac14-8e18-4d86-853d-19590a09b7cc\",\"name\":\"HubSpot - Get contact ID1\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1300,640],\"parameters\":{\"email\":\"={{ $json[\\\"leadEmail\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"leadLastName\\\"] }}\",\"firstName\":\"={{ $json[\\\"leadFirstName\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"14\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"id\":\"9153abd0-4606-423c-8e9b-7cdcf7a9c490\",\"name\":\"Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1300,900],\"parameters\":{\"text\":\"=Hello a lead replied to your emails. \\n\\nMore info in lemlist here: \\nhttps://app.lemlist.com/teams/{{$json[\\\"teamId\\\"]}}/reports/campaigns/{{$json[\\\"campaignId\\\"]}}\",\"channel\":\"Your channel name\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1},{\"id\":\"42b93264-df66-4528-ab02-c038ea0d8758\",\"name\":\"Lemlist - Lead Replied\",\"type\":\"n8n-nodes-base.lemlistTrigger\",\"position\":[-520,320],\"webhookId\":\"c8f49f36-7ab6-4607-bc5a-41c9555ebd09\",\"parameters\":{\"event\":\"emailsReplied\",\"options\":{\"isFirst\":true}},\"credentials\":{\"lemlistApi\":{\"id\":\"45\",\"name\":\"Lemlist - \\\"lemlist\\\" team API key\"}},\"typeVersion\":1},{\"id\":\"c3b52828-e6d6-41a0-b9ca-101cec379dbf\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[-240,140],\"parameters\":{\"prompt\":\"=The following is a list of emails and the categories they fall into:\\nCategories=[\\\"interested\\\", \\\"Out of office\\\", \\\"unsubscribe\\\", \\\"other\\\"]\\n\\nInterested is when the reply is positive.\\\"\\n\\n{{$json[\\\"text\\\"].replaceAll(/^\\\\s+|\\\\s+$/g, '').replace(/(\\\\r\\\\n|\\\\n|\\\\r)/gm, \\\"\\\")}}\\\\\\\"\\nCategory:\",\"options\":{\"topP\":1,\"maxTokens\":6,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Lemlist - Unsubscribe\",\"type\":\"main\",\"index\":0}],[{\"node\":\"lemlist - Mark as interested\",\"type\":\"main\",\"index\":0},{\"node\":\"HubSpot - Get contact ID\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HubSpot - Get contact ID1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack1\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Create Deal\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Lemlist - Lead Replied\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HubSpot - Get contact ID\":{\"main\":[[{\"node\":\"HubSpot - Create Deal\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Get contact ID1\":{\"main\":[[{\"node\":\"follow up task\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import CSV into MySQL", "output": "{\"meta\":{\"instanceId\":\"dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3\"},\"nodes\":[{\"id\":\"aecce7a8-24f6-48c0-a7f0-f48a421d1d8c\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[540,400],\"parameters\":{},\"typeVersion\":1},{\"id\":\"66822f20-83a9-4272-920c-5d8c9140f912\",\"name\":\"Read From File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[740,400],\"parameters\":{\"filePath\":\"/home/node/.n8n/concerts-2023.csv\"},\"typeVersion\":1},{\"id\":\"9b469774-7c1d-41a3-9bfe-18fc3527f96e\",\"name\":\"Convert To Spreadsheet\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[940,400],\"parameters\":{\"options\":{\"rawData\":true,\"readAsString\":true}},\"typeVersion\":1},{\"id\":\"a10bd105-16f7-47c8-b5a0-a5a10e51ae10\",\"name\":\"Insert into MySQL\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1140,400],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"concerts_2023_csv\"},\"columns\":\"Date, Band, ConcertName, Country, City, Location, LocationAddress\",\"options\":{}},\"credentials\":{\"mySql\":{\"id\":\"46\",\"name\":\"MySQL n8n articles\"}},\"typeVersion\":1}],\"connections\":{\"Read From File\":{\"main\":[[{\"node\":\"Convert To Spreadsheet\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read From File\",\"type\":\"main\",\"index\":0}]]},\"Convert To Spreadsheet\":{\"main\":[[{\"node\":\"Insert into MySQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Zendesk tickets to your HubSpot contacts", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"60e3ee97-68cb-46ef-8a92-a9e8d1cdd45d\",\"name\":\"Add Zendesk company data to Hubspot data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1120,320],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"properties.name.value\",\"propertyName2\":\"name\"},\"typeVersion\":1},{\"id\":\"d72c4307-c24c-494f-b5c2-57fd44ede5a5\",\"name\":\"Set new last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1820,300],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nstaticData.lastExecution = $item(0).$node[\\\"Get last execution timestamp\\\"].executionTimeStamp;\\n\\nreturn item;\"},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"c10e7993-4cd4-4b79-9dce-66097d797b30\",\"name\":\"Get last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[400,300],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nif(!staticData.lastExecution){\\n staticData.lastExecution = new Date();\\n}\\n\\nitem.executionTimeStamp = new Date();\\nitem.lastExecution = staticData.lastExecution;\\n\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"3c154d99-7984-4561-9fdf-60b0f705c5ee\",\"name\":\"Get modified companies\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[620,300],\"parameters\":{\"filters\":{\"since\":\"={{ $json[\\\"lastExecution\\\"] }}\"},\"resource\":\"company\",\"operation\":\"getRecentlyModified\",\"authentication\":\"appToken\"},\"credentials\":{\"hubspotAppToken\":{\"id\":\"13\",\"name\":\"HubSpot App Token account\"}},\"typeVersion\":1},{\"id\":\"6f05aae1-731e-42cf-b403-baf5f86aa934\",\"name\":\"Get all Zendesk organisations\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[880,420],\"parameters\":{\"resource\":\"organization\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"a8ae65dc-0c60-42cb-9996-26e84770e299\",\"name\":\"Company exists in Zendesk\",\"type\":\"n8n-nodes-base.if\",\"position\":[1340,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"a81ff688-8639-476d-8274-383e5ff51b97\",\"name\":\"Create organisation\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1600,400],\"parameters\":{\"name\":\"={{ $json[\\\"properties\\\"].name.value }}\",\"resource\":\"organization\",\"additionalFields\":{\"domain_names\":\"={{ $json[\\\"properties\\\"].domain.value }}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"fd2780b3-c5cc-4535-ba71-840b13578a07\",\"name\":\"Update organisation\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1600,200],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"resource\":\"organization\",\"operation\":\"update\",\"updateFields\":{\"name\":\"={{ $json[\\\"properties\\\"].name.value }}\",\"domain_names\":\"={{ $json[\\\"properties\\\"].domain.value }}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"7f19e5ba-e973-4e6c-a2d0-a320ac314fa6\",\"name\":\"Every 5 minutes\",\"type\":\"n8n-nodes-base.cron\",\"position\":[180,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1}],\"connections\":{\"Every 5 minutes\":{\"main\":[[{\"node\":\"Get last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Create organisation\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Update organisation\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Get modified companies\":{\"main\":[[{\"node\":\"Get all Zendesk organisations\",\"type\":\"main\",\"index\":0},{\"node\":\"Add Zendesk company data to Hubspot data\",\"type\":\"main\",\"index\":0}]]},\"Company exists in Zendesk\":{\"main\":[[{\"node\":\"Update organisation\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create organisation\",\"type\":\"main\",\"index\":0}]]},\"Get last execution timestamp\":{\"main\":[[{\"node\":\"Get modified companies\",\"type\":\"main\",\"index\":0}]]},\"Get all Zendesk organisations\":{\"main\":[[{\"node\":\"Add Zendesk company data to Hubspot data\",\"type\":\"main\",\"index\":1}]]},\"Add Zendesk company data to Hubspot data\":{\"main\":[[{\"node\":\"Company exists in Zendesk\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Update HubSpot contacts with Zendesk tickets", "output": "{\"meta\":{\"instanceId\":\"237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9\"},\"nodes\":[{\"id\":\"dcd5f025-9af9-4e3a-96fc-25a33dcc6c00\",\"name\":\"Ticket Exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"external_id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"a5e8ec4d-bc80-4153-a677-91be2e7d02b7\",\"name\":\"Get user data of Ticket requester\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[220,480],\"parameters\":{\"id\":\"={{ $json[\\\"requester_id\\\"] }}\",\"resource\":\"user\",\"operation\":\"get\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"6dc07af8-d446-4704-9a08-e65f89772a9b\",\"name\":\"Only keep needed data\",\"type\":\"n8n-nodes-base.set\",\"position\":[440,480],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"contactExternalId\",\"value\":\"={{ $json[\\\"external_id\\\"] }}\"}],\"string\":[{\"name\":\"contactEmail\",\"value\":\"={{ $json[\\\"email\\\"] }}\"},{\"name\":\"contactName\",\"value\":\"={{ $json[\\\"name\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c3ca22e4-ae76-49ee-b117-f6da9d90ec1a\",\"name\":\"Add user data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[640,320],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"requester_id\",\"propertyName2\":\"id\"},\"typeVersion\":1},{\"id\":\"713b919a-3a39-4466-b9b8-cc3575f02e45\",\"name\":\"Update existing ticket\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1280,300],\"parameters\":{\"resource\":\"ticket\",\"ticketId\":\"={{ $json[\\\"external_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"ticketName\":\"={{ $json[\\\"raw_subject\\\"] }}\",\"description\":\"={{ $json[\\\"description\\\"] }}\"},\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"21\",\"name\":\"HubSpot account\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"1eb40a93-2d36-4b3e-a39d-f19f369adc4e\",\"name\":\"Update Zendesk ticket with External Id\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[2020,480],\"parameters\":{\"id\":\"={{ $node[\\\"Contact Exists\\\"].json[\\\"id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"externalId\":\"={{ $json[\\\"objectId\\\"] }}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"a11c8809-c22f-40f5-a019-79274eba4d70\",\"name\":\"Get last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[-260,300],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nif(!staticData.lastExecution){\\n staticData.lastExecution = new Date().toISOString();\\n}\\n\\nitem.executionTimeStamp = new Date().toISOString();\\nitem.lastExecution = staticData.lastExecution;\\n\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"a62685c9-f786-4e7c-9e2d-cdcb1e0a3aea\",\"name\":\"Get tickets updated after last execution\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[-40,300],\"parameters\":{\"options\":{\"query\":\"=updated>{{ $json[\\\"lastExecution\\\"] }}\",\"sortBy\":\"updated_at\",\"sortOrder\":\"desc\"},\"operation\":\"getAll\"},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"c1b23aa8-a9f6-4966-b1dc-fe48c203364c\",\"name\":\"Set new last execution timestamp\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[2360,300],\"parameters\":{\"functionCode\":\"// Code here will run once per input item.\\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\\n\\n// Add a new field called 'myNewField' to the JSON of the item\\nconst staticData = getWorkflowStaticData('global');\\n\\nstaticData.lastExecution = $item(0).$node[\\\"Get last execution timestamp\\\"].executionTimeStamp;\\n\\nreturn item;\"},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"97ae70de-bce8-4861-a256-17002625da58\",\"name\":\"Every 5 minutes\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-460,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"id\":\"1d2dd552-175c-4405-b304-d4136dd2968b\",\"name\":\"Create new Ticket\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1780,480],\"parameters\":{\"stageId\":\"1\",\"resource\":\"ticket\",\"pipelineId\":\"0\",\"ticketName\":\"={{ $node['Ticket Exists'].json[\\\"raw_subject\\\"] }}\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"description\":\"={{ $node['Ticket Exists'].json[\\\"description\\\"] }}\",\"associatedContactIds\":\"={{ [].concat($node[\\\"Create or update contact\\\"].json[\\\"vid\\\"]) }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"21\",\"name\":\"HubSpot account\"}},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"e2217f74-f1b2-4449-9937-543758a333ea\",\"name\":\"Update External Id in Zendesk for contact\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[1520,480],\"parameters\":{\"id\":\"={{ $node[\\\"Ticket Exists\\\"].json[\\\"requester_id\\\"] }}\",\"resource\":\"user\",\"operation\":\"update\",\"updateFields\":{\"external_id\":\"={{ $json[\\\"vid\\\"] }}\"}},\"credentials\":{\"zendeskApi\":{\"id\":\"5\",\"name\":\"Zendesk account\"}},\"typeVersion\":1},{\"id\":\"144a3395-9f61-4aad-99e0-4a689145f93d\",\"name\":\"Create or update contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1280,480],\"parameters\":{\"email\":\"={{ $json[\\\"contactEmail\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"21\",\"name\":\"HubSpot account\"}},\"typeVersion\":1}],\"connections\":{\"Add user data\":{\"main\":[[{\"node\":\"Ticket Exists\",\"type\":\"main\",\"index\":0}]]},\"Ticket Exists\":{\"main\":[[{\"node\":\"Update existing ticket\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create or update contact\",\"type\":\"main\",\"index\":0}]]},\"Every 5 minutes\":{\"main\":[[{\"node\":\"Get last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Create new Ticket\":{\"main\":[[{\"node\":\"Update Zendesk ticket with External Id\",\"type\":\"main\",\"index\":0}]]},\"Only keep needed data\":{\"main\":[[{\"node\":\"Add user data\",\"type\":\"main\",\"index\":1}]]},\"Update existing ticket\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Create or update contact\":{\"main\":[[{\"node\":\"Update External Id in Zendesk for contact\",\"type\":\"main\",\"index\":0}]]},\"Get last execution timestamp\":{\"main\":[[{\"node\":\"Get tickets updated after last execution\",\"type\":\"main\",\"index\":0}]]},\"Get user data of Ticket requester\":{\"main\":[[{\"node\":\"Only keep needed data\",\"type\":\"main\",\"index\":0}]]},\"Update Zendesk ticket with External Id\":{\"main\":[[{\"node\":\"Set new last execution timestamp\",\"type\":\"main\",\"index\":0}]]},\"Get tickets updated after last execution\":{\"main\":[[{\"node\":\"Get user data of Ticket requester\",\"type\":\"main\",\"index\":0},{\"node\":\"Add user data\",\"type\":\"main\",\"index\":0}]]},\"Update External Id in Zendesk for contact\":{\"main\":[[{\"node\":\"Create new Ticket\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sample data for lemlist trigger", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"2f283229-966d-4561-a0b7-0cd6e7f3acae\",\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[100,520],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7f106b3e-42f0-4d4b-aa6d-1ab01a49028e\",\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[260,520],\"parameters\":{\"functionCode\":\"\\nreturn [\\n {\\n \\\"_id\\\": \\\"act_EtE6H4QFJnmwQLjN3\\\",\\n \\\"type\\\": \\\"emailsReplied\\\",\\n \\\"emailId\\\": \\\"eml_kqvSadveZaFxqv8th\\\",\\n \\\"messageId\\\": \\\"\\\",\\n \\\"createdBy\\\": \\\"usr_F4suBeQ6buEv7PA7c\\\",\\n \\\"createdAt\\\": \\\"2022-12-16T12:45:34.000Z\\\",\\n \\\"isFirst\\\": true,\\n \\\"stopped\\\": true,\\n \\\"teamId\\\": \\\"tea_b4rMsi2trB42WyuWP\\\",\\n \\\"leadId\\\": \\\"lea_WBpccbJk8zNGozMQz\\\",\\n \\\"campaignId\\\": \\\"cam_3ywrKdhsmBshsRTHB\\\",\\n \\\"sequenceId\\\": \\\"seq_SPK4wX8sQGBDGPzvE\\\",\\n \\\"sequenceStep\\\": 0,\\n \\\"emailTemplateId\\\": \\\"etp_8tG2bxKaNAheDxAGM\\\",\\n \\\"sendUserId\\\": \\\"usr_F4suBeQ6buEv7PA7c\\\",\\n \\\"sendUserName\\\": \\\"Lucas Perret\\\",\\n \\\"sendUserEmail\\\": \\\"lucas@lempire.co\\\",\\n \\\"name\\\": \\\"Lucas\\\",\\n \\\"leadFirstName\\\": \\\"lucas\\\",\\n \\\"leadLastName\\\": \\\"perret\\\",\\n \\\"leadEmail\\\": \\\"lucas@live.fr\\\",\\n \\\"relatedSentAt\\\": \\\"2022-12-16T12:41:38.260Z\\\",\\n \\\"metaData\\\": {\\n \\\"teamId\\\": \\\"tea_b4rMsi2trB42WyuWP\\\",\\n \\\"campaignId\\\": \\\"cam_3ywrKdhsmBshsRTHB\\\",\\n \\\"leadId\\\": \\\"lea_WBpccbJk8zNGozMQz\\\"\\n },\\n \\\"campaignName\\\": \\\"Lucas\\\",\\n \\\"subject\\\": \\\"Re: Hello\\\",\\n \\\"html\\\": \\\"\\\\n\\\\n\\\\n\\\\n\\\\ni am on vacation. I return to the office on Monday
\\\\n
\\\\n
Sent from my iPhone
\\\\n

\\\\n
On 16 Dec 2022, at 13:41, Lucas Perret <lucas@lempire.co> wrote:
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
Hello
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n
\\\\n\\\\\\\"logo\\\\\\\"\\\\n
\\\\n
\\\\n\\\\n\\\\n\\\",\\n \\\"text\\\": \\\"Hello unsub me now,.\\\\n\\\\nSent from my iPhone\\\\n\\\\nOn 16 Dec 2022, at 13:41, Lucas Perret wrote:\\\\n\\\\n\\\\nHello\\\\n\\\\n\\\",\\n \\\"firstName\\\": \\\"lucas\\\",\\n \\\"lastName\\\": \\\"perret\\\",\\n \\\"email\\\": \\\"lucas@live.fr\\\",\\n \\\"emailTemplateName\\\": \\\"Blank\\\"\\n }\\n];\"},\"typeVersion\":1}],\"connections\":{\"Start\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Tracking contacts' job changes to Salesforce", "output": "{\"id\":\"21\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Tracking contacts' job changes to Salesforce\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"b67ca866-4e44-4671-a580-e0ec7208c9bc\",\"name\":\"searchContact\",\"type\":\"n8n-nodes-base.salesforce\",\"disabled\":true,\"position\":[-220,940],\"parameters\":{\"query\":\"=SELECT Name, Id FROM Contact WHERE Linkedin_Company_Id__c = '{{$json[\\\"company_id\\\"]}}' LIMIT 1\",\"resource\":\"search\"},\"typeVersion\":1},{\"id\":\"445cfdcb-0c52-442b-b677-b66dc1e1f26a\",\"name\":\"searchAccount\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[140,740],\"parameters\":{\"query\":\"=SELECT Name, Id FROM Account WHERE Linkedin_Company_Id__c = '{{$json[\\\"company_id\\\"]}}' LIMIT 1\",\"resource\":\"search\"},\"typeVersion\":1},{\"id\":\"01b2d9f2-cb6c-4d57-a15f-c5985b19373d\",\"name\":\"LoneScale - GetJobChanges\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-740,760],\"webhookId\":\"964614c1-bed7-4af2-b77f-1530737a9234\",\"parameters\":{\"path\":\"lonescalecontacttracking\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"8ed590d9-d7a4-45d5-9de9-a46c247db718\",\"name\":\"checkAccountExist\",\"type\":\"n8n-nodes-base.if\",\"position\":[340,740],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"searchAccount\\\"].json[\\\"item\\\"][\\\"id\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"c2d658aa-5e61-404b-93b5-a3331a7bb499\",\"name\":\"createAccount\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[700,820],\"parameters\":{\"name\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}}\",\"resource\":\"account\",\"additionalFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"= {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\",\"fieldId\":\"APIId_LinkedinUrl\"}]}}},\"typeVersion\":1},{\"id\":\"66db17ae-83bf-41be-a8ef-f63ec45e865d\",\"name\":\"updateContact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1180,520],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"title\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"acconuntId\":\"={{ $json[\\\"id\\\" }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\",\"fieldId\":\"linkedinurl\"},{\"value\":\"={{new Date()}}\",\"fieldId\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"fieldId\":\"LS - job change\"}]}}},\"typeVersion\":1},{\"id\":\"56adc34c-97f5-41ba-9a39-58bbadd37803\",\"name\":\"IFPersonCRMId\",\"type\":\"n8n-nodes-base.if\",\"position\":[-540,760],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"idcrm\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"5ed79117-570c-4997-8a46-8881b6cb490b\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-740,620],\"parameters\":{\"width\":183.5294162084655,\"height\":102.58823351661385,\"content\":\"Change \\\"idcrm\\\" based the field name of your CRMId in your file imported on LoneScale\"},\"typeVersion\":1},{\"id\":\"cf95ff51-460c-423b-8180-51d1e73ad2de\",\"name\":\"check_company\",\"type\":\"n8n-nodes-base.if\",\"position\":[500,960],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\",\"operation\":\"isNotEmpty\"},{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\",\"value2\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\",\"operation\":\"notContains\"}]}},\"typeVersion\":1},{\"id\":\"b26a2db7-018d-4e79-a827-6437dd66a53e\",\"name\":\"IF_LinkedIn_url_contact\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,600],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"3d18c51a-42da-432e-9d4e-bcdb91571021\",\"name\":\"IF_LinkedIn_url_contact1\",\"type\":\"n8n-nodes-base.if\",\"position\":[900,980],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"328c3d14-7ba2-4fa8-b234-97a4fd198af5\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2460,860],\"parameters\":{\"height\":80,\"content\":\"Final step can be a slack post to your sales reps notification channel\"},\"typeVersion\":1},{\"id\":\"254d8364-d677-4e6a-9357-5f13573bc122\",\"name\":\"postNotifSlack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2500,700],\"parameters\":{\"text\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"]}} has a job changes:\\nStatut: {{$node[\\\"routeJobChangeType\\\"].parameter[\\\"fallbackOutput\\\"] === 2 ? \\\"position\\\" : $node[\\\"routeJobChangeType\\\"].parameter[\\\"fallbackOutput\\\"] === 1 ? \\\"company\\\" : $node[\\\"routeJobChangeType\\\"].parameter[\\\"fallbackOutput\\\"] === 0 ? \\\"company + position\\\" : \\\"\\\" }}\\n
Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
New company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1},{\"id\":\"54dd87df-bbf5-46ec-8cc0-f1d0f9c39dc9\",\"name\":\"createTask\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1880,480],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"description\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company + position\"}},\"typeVersion\":1},{\"id\":\"5b2a971b-15d2-4bce-847c-ff4df955045a\",\"name\":\"updateContact1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1180,720],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"title\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"acconuntId\":\"={{ $json[\\\"id\\\" }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{new Date()}}\",\"fieldId\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"fieldId\":\"LS - job change\"}]}}},\"typeVersion\":1},{\"id\":\"63efb1e0-9301-4faf-9a3e-18c6b7a179b5\",\"name\":\"updateContact2\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1180,980],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"title\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"acconuntId\":\"={{ $json[\\\"id\\\" }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{new Date()}}\",\"fieldId\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"fieldId\":\"LS - job change\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\",\"fieldId\":\"linkedinurl\"}]}}},\"typeVersion\":1},{\"id\":\"c66b2454-1941-4801-a508-f553606ae7f6\",\"name\":\"updateContact3\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1180,1160],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"title\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"acconuntId\":\"={{ $json[\\\"id\\\" }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{new Date()}}\",\"fieldId\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"fieldId\":\"LS - job change\"}]}}},\"typeVersion\":1},{\"id\":\"24ef6fc0-4a25-4bd8-a074-a38cb9f87b65\",\"name\":\"routeJobChangeType\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1480,520],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"6d118a0b-9c8e-4ed5-bfb9-422ddec6eba2\",\"name\":\"routeJobChangeType1\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1480,720],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"ed800a81-30a0-4206-8e3e-0a1821ffcdf7\",\"name\":\"routeJobChangeType2\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1480,980],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"caa03f3a-eaa2-4707-abda-baf1ee28e217\",\"name\":\"routeJobChangeType3\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1480,1160],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"0da0a19d-6b1f-47c1-9be9-8b1ab0c10713\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1440,340],\"parameters\":{\"width\":176.47059323452353,\"height\":125.2763927405135,\"content\":\"Check if contact:\\n1. Position Changed\\n2. Account changed\\n3. Account & Position changed\"},\"typeVersion\":1},{\"id\":\"9578557b-15fa-4511-99fd-a01c164f19dd\",\"name\":\"createTask1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1880,620],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"description\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company\"}},\"typeVersion\":1},{\"id\":\"82ab49e0-28fe-44b1-8576-6c928d957d76\",\"name\":\"createTask2\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1880,760],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"description\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: position\"}},\"typeVersion\":1},{\"id\":\"0a8f606a-aa2a-4c40-a399-793d334d505a\",\"name\":\"createTask3\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1880,980],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"description\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company + position\"}},\"typeVersion\":1},{\"id\":\"1c13acf4-b734-4fef-954f-be7db456a676\",\"name\":\"createTask4\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1880,1100],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"description\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company\"}},\"typeVersion\":1},{\"id\":\"eaf99a8c-00b2-4da9-8b87-a6689aac83db\",\"name\":\"createTask5\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1880,1240],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"description\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: position\"}},\"typeVersion\":1},{\"id\":\"9718d2b5-786c-4915-97a9-a54632bf4a69\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1820,160],\"parameters\":{\"height\":220.68599524879056,\"content\":\"Choose your process between:\\n- Create a Task in Sales reps ToDoList \\n- Add an item to your Intent Custom Object\\n\\nIf you choose Custom Object, replace all the createTask nodes with it.\\nDelete the node you don't need.\"},\"typeVersion\":1},{\"id\":\"7f09eadd-f424-49e2-a2b4-86614434ecf1\",\"name\":\"createCustomObject\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2100,220],\"parameters\":{\"resource\":\"customObject\",\"operation\":\"upsert\",\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"f59765f7-1b7d-4215-aa14-b85e64e72d8c\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2500,1020],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c215c059-9a1a-4f82-b2cd-2ae35b9afc56\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[820,460],\"parameters\":{\"height\":110.54838709677419,\"content\":\"With this IF, you choose to not replace LinkedIn Url in your CRM even if it's outdated and LoneScale detects a new one.\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"5f5d8515-798e-4fe8-8e04-4c3b426165b7\",\"connections\":{\"createTask\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask1\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask2\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask3\":{\"main\":[[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"createTask4\":{\"main\":[[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"createTask5\":{\"main\":[[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"IFPersonCRMId\":{\"main\":[[{\"node\":\"searchAccount\",\"type\":\"main\",\"index\":0}],[{\"node\":\"searchContact\",\"type\":\"main\",\"index\":0}]]},\"check_company\":{\"main\":[[{\"node\":\"createAccount\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF_LinkedIn_url_contact1\",\"type\":\"main\",\"index\":0}]]},\"createAccount\":{\"main\":[[{\"node\":\"IF_LinkedIn_url_contact1\",\"type\":\"main\",\"index\":0}]]},\"searchAccount\":{\"main\":[[{\"node\":\"checkAccountExist\",\"type\":\"main\",\"index\":0}]]},\"searchContact\":{\"main\":[[{\"node\":\"searchAccount\",\"type\":\"main\",\"index\":0}]]},\"updateContact\":{\"main\":[[{\"node\":\"routeJobChangeType\",\"type\":\"main\",\"index\":0}]]},\"updateContact1\":{\"main\":[[{\"node\":\"routeJobChangeType1\",\"type\":\"main\",\"index\":0}]]},\"updateContact2\":{\"main\":[[{\"node\":\"routeJobChangeType2\",\"type\":\"main\",\"index\":0}]]},\"updateContact3\":{\"main\":[[{\"node\":\"routeJobChangeType3\",\"type\":\"main\",\"index\":0}]]},\"checkAccountExist\":{\"main\":[[{\"node\":\"IF_LinkedIn_url_contact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"check_company\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType\":{\"main\":[[{\"node\":\"createTask\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType1\":{\"main\":[[{\"node\":\"createTask\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType2\":{\"main\":[[{\"node\":\"createTask3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask4\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask5\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType3\":{\"main\":[[{\"node\":\"createTask3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask4\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask5\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"IF_LinkedIn_url_contact\":{\"main\":[[{\"node\":\"updateContact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"updateContact1\",\"type\":\"main\",\"index\":0}]]},\"IF_LinkedIn_url_contact1\":{\"main\":[[{\"node\":\"updateContact2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"updateContact3\",\"type\":\"main\",\"index\":0}]]},\"LoneScale - GetJobChanges\":{\"main\":[[{\"node\":\"IFPersonCRMId\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Tracking contacts' job changes to Hubspot", "output": "{\"id\":\"23\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Tracking contacts' job changes to HubSpot\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"69511b5c-2f68-4740-98fa-8d4d2fe01458\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1700,260],\"parameters\":{\"height\":220.68599524879056,\"content\":\"Choose your process between:\\n- Create a Task in Sales reps ToDoList \\n- Add an item to your Intent Custom Object\\n\\nIf you choose Custom Object, replace all the createTask nodes with it.\\nDelete the node you don't need.\"},\"typeVersion\":1},{\"id\":\"f639c829-94fb-471a-bfb0-d8fc8f646698\",\"name\":\"postNotifSlack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2520,880],\"parameters\":{\"text\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"]}} has a job changes:\\nStatut: {{$node[\\\"routeJobChangeType\\\"].parameter[\\\"fallbackOutput\\\"] === 2 ? \\\"position\\\" : $node[\\\"routeJobChangeType\\\"].parameter[\\\"fallbackOutput\\\"] === 1 ? \\\"company\\\" : $node[\\\"routeJobChangeType\\\"].parameter[\\\"fallbackOutput\\\"] === 0 ? \\\"company + position\\\" : \\\"\\\" }}\\n
Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
New company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1},{\"id\":\"a3c66788-81c5-458a-9603-5ceabc0aaf5b\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2460,740],\"parameters\":{\"height\":80,\"content\":\"Final step can be a slack post to your sales reps notification channel\"},\"typeVersion\":1},{\"id\":\"db8697c0-6af7-4851-b4bd-652ceba10ee4\",\"name\":\"LoneScale - GetJobChanges\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-600,760],\"webhookId\":\"53432bfa-74f5-4567-baa9-2b17056e6894\",\"parameters\":{\"path\":\"lonescalecontacttracking\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"014b3bca-f421-4332-bb1a-8f3953307aa6\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1460,520],\"parameters\":{\"width\":176.47059323452353,\"height\":125.2763927405135,\"content\":\"Check if contact:\\n1. Position Changed\\n2. Account changed\\n3. Account & Position changed\"},\"typeVersion\":1},{\"id\":\"0f0fe5ae-2a58-43d6-b218-84aad7a754a7\",\"name\":\"checkAccountExist\",\"type\":\"n8n-nodes-base.if\",\"position\":[200,740],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"searchCompany\\\"].json[\\\"item\\\"][\\\"id\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"fc933cfd-4c2a-40b0-8053-f2a571e240a6\",\"name\":\"IFPersonCRMId\",\"type\":\"n8n-nodes-base.if\",\"position\":[-440,760],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"idcrm\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"2ef55367-9bc8-4722-b54d-708eadd4b890\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-720,640],\"parameters\":{\"width\":183.5294162084655,\"height\":105.33732442570476,\"content\":\"Change \\\"idcrm\\\" based the field name of your CRMId in your file imported on LoneScale\"},\"typeVersion\":1},{\"id\":\"f9cbacfb-7a80-4553-ada5-4ac52665e381\",\"name\":\"searchContact\",\"type\":\"n8n-nodes-base.hubspot\",\"disabled\":true,\"position\":[-260,920],\"parameters\":{\"resource\":\"contact\",\"operation\":\"search\",\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"f30a49eb-1bad-48e5-9703-873d8d8bc4b8\",\"name\":\"searchCompany\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-20,740],\"parameters\":{\"options\":{},\"resource\":\"company\",\"operation\":\"searchByDomain\"},\"typeVersion\":1},{\"id\":\"225a3c94-093c-4281-a77c-74a525817e1e\",\"name\":\"createCompany\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[540,820],\"parameters\":{\"name\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}}\",\"resource\":\"company\",\"additionalFields\":{\"linkedInCompanyPage\":\"= {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\"}},\"typeVersion\":1},{\"id\":\"dc008f7d-d39e-4d01-8e6a-3bcdeafeb63f\",\"name\":\"updateContact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1160,680],\"parameters\":{\"email\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\",\"resource\":\"contact\",\"resolveData\":false,\"additionalFields\":{\"jobTitle\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\",\"property\":\"linkedinurl\"},{\"value\":\"={{new Date()}}\",\"property\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"property\":\"LS - job change\"}]},\"associatedCompanyId\":\"={{ $json[\\\"id\\\" }}\"}},\"typeVersion\":1},{\"id\":\"b59125c5-b8f4-4bb4-91b4-4e63dba62520\",\"name\":\"createTask\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1920,540],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company + position\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{$node[\\\"searchCompany\\\"].json[\\\"id\\\"]}}\",\"contactIds\":\"={{ $json[\\\"contactId\\\" } }}\"}}},\"typeVersion\":1},{\"id\":\"c9271f2e-1a49-46d1-9dc6-12de375873e6\",\"name\":\"createCustomObjectHubspot\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2020,340],\"parameters\":{\"method\":\"POST\",\"options\":{}},\"typeVersion\":3},{\"id\":\"281461a8-01b5-401f-9468-c5da1cff3378\",\"name\":\"check_company\",\"type\":\"n8n-nodes-base.if\",\"position\":[380,940],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\",\"operation\":\"isNotEmpty\"},{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\",\"value2\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\",\"operation\":\"notContains\"}]}},\"typeVersion\":1},{\"id\":\"0595916c-5602-48d3-8397-8a0e0227dff8\",\"name\":\"routeJobChangeType\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1500,680],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"b1a187e7-6082-434a-b2a2-b242ab30db78\",\"name\":\"updateContact1\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1160,860],\"parameters\":{\"email\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\",\"resource\":\"contact\",\"resolveData\":false,\"additionalFields\":{\"jobTitle\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{new Date()}}\",\"property\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"property\":\"LS - job change\"}]},\"associatedCompanyId\":\"={{ $json[\\\"id\\\" }}\"}},\"typeVersion\":1},{\"id\":\"9ccf809f-0dcb-440d-8077-dd8a927fdbfa\",\"name\":\"routeJobChangeType1\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1500,860],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"4ede1308-af47-4f84-a0c3-7b296bc8accb\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[660,540],\"parameters\":{\"height\":110.54838709677419,\"content\":\"With this IF, you choose to not replace LinkedIn Url in your CRM even if it's outdated and LoneScale detects a new one.\"},\"typeVersion\":1},{\"id\":\"1ec882c4-6613-4332-94ea-2aabb8d8aa73\",\"name\":\"IF_LinkedIn_url_contact\",\"type\":\"n8n-nodes-base.if\",\"position\":[720,700],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"29f21fad-40eb-499d-89ff-03f162a07b5f\",\"name\":\"IF_LinkedIn_url_contact1\",\"type\":\"n8n-nodes-base.if\",\"position\":[720,1140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"29d9a867-9673-40d2-a6d1-17b30d4d70e4\",\"name\":\"updateContact2\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1160,1140],\"parameters\":{\"email\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\",\"resource\":\"contact\",\"resolveData\":false,\"additionalFields\":{\"jobTitle\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\",\"property\":\"linkedinurl\"},{\"value\":\"={{new Date()}}\",\"property\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"property\":\"LS - job change\"}]},\"associatedCompanyId\":\"={{ $json[\\\"id\\\" }}\"}},\"typeVersion\":1},{\"id\":\"4eadc0ab-67e7-4c05-a8df-913ce26a72b4\",\"name\":\"routeJobChangeType2\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1500,1140],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"e7b3d049-7e8a-4bb6-ae95-7ff762d90823\",\"name\":\"updateContact3\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1160,1320],\"parameters\":{\"email\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\",\"resource\":\"contact\",\"resolveData\":false,\"additionalFields\":{\"jobTitle\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{new Date()}}\",\"property\":\"datelastupdate\"},{\"value\":\"=enriched_by_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"property\":\"LS - job change\"}]},\"associatedCompanyId\":\"={{ $json[\\\"id\\\" }}\"}},\"typeVersion\":1},{\"id\":\"a2a32377-8dfb-4dc5-9a0f-21da4829ac13\",\"name\":\"routeJobChangeType3\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1500,1320],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"true true\"},{\"output\":1,\"value2\":\"true false\"},{\"output\":2,\"value2\":\"false true\"}]},\"value1\":\"={{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"bc75c762-aba7-413b-a2cc-60edf29d35ac\",\"name\":\"createTask1\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1920,680],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{$node[\\\"searchCompany\\\"].json[\\\"id\\\"]}}\",\"contactIds\":\"={{ $json[\\\"contactId\\\" } }}\"}}},\"typeVersion\":1},{\"id\":\"f50a27d8-c996-473b-a6ac-a317bb756012\",\"name\":\"createTask2\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1920,820],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: position\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{$node[\\\"searchCompany\\\"].json[\\\"id\\\"]}}\",\"contactIds\":\"={{ $json[\\\"contactId\\\" } }}\"}}},\"typeVersion\":1},{\"id\":\"1feb25bb-53e1-4bb9-a71c-928be5c1bf1c\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2520,1120],\"parameters\":{},\"typeVersion\":1},{\"id\":\"440c120d-2714-491d-9cfc-e4a4dc76c96b\",\"name\":\"createTask3\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1940,1120],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company + position\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{$node[\\\"createCompany\\\"].json[\\\"id\\\"]}}\",\"contactIds\":\"={{ $json[\\\"contactId\\\" } }}\"}}},\"typeVersion\":1},{\"id\":\"f218c586-2181-488f-8916-b1e37b97ea42\",\"name\":\"createTask4\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1940,1260],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: company\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{$node[\\\"searchCompany\\\"].json[\\\"id\\\"]}}\",\"contactIds\":\"={{ $json[\\\"contactId\\\" } }}\"}}},\"typeVersion\":1},{\"id\":\"745d068d-8108-41de-b2f2-4367806b2be0\",\"name\":\"createTask5\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1940,1400],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=Job title: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"]}}\\n
\\nNew company: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}} {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\\n
\\nStatut: position\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{$node[\\\"createCompany\\\"].json[\\\"id\\\"]}}\",\"contactIds\":\"={{ $json[\\\"contactId\\\" } }}\"}}},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"1516c882-9324-4423-aa74-388e132e528b\",\"connections\":{\"createTask\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask1\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask2\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask3\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask4\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"createTask5\":{\"main\":[[{\"node\":\"postNotifSlack\",\"type\":\"main\",\"index\":0}]]},\"IFPersonCRMId\":{\"main\":[[{\"node\":\"searchCompany\",\"type\":\"main\",\"index\":0}],[{\"node\":\"searchContact\",\"type\":\"main\",\"index\":0}]]},\"check_company\":{\"main\":[[{\"node\":\"createCompany\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF_LinkedIn_url_contact1\",\"type\":\"main\",\"index\":0}]]},\"createCompany\":{\"main\":[[{\"node\":\"IF_LinkedIn_url_contact1\",\"type\":\"main\",\"index\":0}]]},\"searchCompany\":{\"main\":[[{\"node\":\"checkAccountExist\",\"type\":\"main\",\"index\":0}]]},\"searchContact\":{\"main\":[[{\"node\":\"searchCompany\",\"type\":\"main\",\"index\":0}]]},\"updateContact\":{\"main\":[[{\"node\":\"routeJobChangeType\",\"type\":\"main\",\"index\":0}]]},\"updateContact1\":{\"main\":[[{\"node\":\"routeJobChangeType1\",\"type\":\"main\",\"index\":0}]]},\"updateContact2\":{\"main\":[[{\"node\":\"routeJobChangeType2\",\"type\":\"main\",\"index\":0}]]},\"updateContact3\":{\"main\":[[{\"node\":\"routeJobChangeType3\",\"type\":\"main\",\"index\":0}]]},\"checkAccountExist\":{\"main\":[[{\"node\":\"IF_LinkedIn_url_contact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"check_company\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType\":{\"main\":[[{\"node\":\"createTask\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType1\":{\"main\":[[{\"node\":\"createTask\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType2\":{\"main\":[[{\"node\":\"createTask3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask4\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask5\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"routeJobChangeType3\":{\"main\":[[{\"node\":\"createTask3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask4\",\"type\":\"main\",\"index\":0}],[{\"node\":\"createTask5\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"IF_LinkedIn_url_contact\":{\"main\":[[{\"node\":\"updateContact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"updateContact1\",\"type\":\"main\",\"index\":0}]]},\"IF_LinkedIn_url_contact1\":{\"main\":[[{\"node\":\"updateContact2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"updateContact3\",\"type\":\"main\",\"index\":0}]]},\"LoneScale - GetJobChanges\":{\"main\":[[{\"node\":\"IFPersonCRMId\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Push contacts to track from Salesforce to LoneScale", "output": "{\"id\":\"24\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Push contacts to track from Salesforce to LoneScale\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"8dac3ff8-8d9a-4a30-b175-95624090eded\",\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"5c143596-a0b5-4256-8f56-68e04c36adee\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[720,620],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=data\"},\"typeVersion\":1},{\"id\":\"c9e71711-4bc1-465f-95df-cf0d5585b04a\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[940,620],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"98ba39d6-e5b3-4491-a4f1-774810f32325\",\"name\":\"pushIntoLoneScale\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1340,620],\"parameters\":{\"url\":\"https://public-api.lonescale.com/lists/IDLIST/item\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"first_name\",\"value\":\"={{ $json[\\\"first_name\\\"] }}\"},{\"name\":\"last_name\",\"value\":\"={{ $json[\\\"last_name\\\"]}}\"},{\"name\":\"full_name\",\"value\":\"={{ $json[\\\"name\\\"]}}\"},{\"name\":\"linkedin_url\",\"value\":\"={{ $json[\\\"b3fe861be77138ed4fe55d59115ad0721b78d868\\\"]}}\"},{\"name\":\"company_name\",\"value\":\"={{ $json[\\\"org_id\\\"][\\\"name\\\"]}}\"},{\"name\":\"current_position\",\"value\":\"={{ $json[\\\"54a75180ed4af35899fd8920ac24d442d45036a1\\\"]}}\"},{\"name\":\"location\",\"value\":\"={{ $json[\\\"7ac2ca9eaf569ce3a9c441012bb9fe5c2b7cdf57\\\"]}}\"},{\"name\":\"contact_id\",\"value\":\"= {{ $json[\\\"id\\\"]}}\"},{\"name\":\"email\",\"value\":\"= {{ $json[\\\"email\\\"][0][\\\"value\\\"] }}\"},{\"name\":\"typeContact\",\"value\":\"customers\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"2\",\"name\":\"LoneScaleAccount\"}},\"typeVersion\":2},{\"id\":\"6882520c-3c32-49c0-b536-5a8a372696e9\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1100,500],\"parameters\":{\"width\":505,\"height\":96,\"content\":\"Replace \\\"IDLIST\\\" in the API Url with your list ID: \\nhttps://public-api.lonescale.com/lists/IDLIST/item\"},\"typeVersion\":1},{\"id\":\"29619a64-120b-43c3-982e-9253ab2c968c\",\"name\":\"createListLoneScale\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[620,920],\"parameters\":{\"url\":\"https://public-api.lonescale.com/lists/\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"name\",\"value\":\"Test 1\"},{\"name\":\"entity\",\"value\":\"PEOPLE\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"2\",\"name\":\"LoneScaleAccount\"}},\"typeVersion\":2},{\"id\":\"97446cea-ef7c-41b2-8aa9-03f22ab50b5a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[540,1080],\"parameters\":{\"height\":84.26512968299707,\"content\":\"Node you can use alone clicking on ▶️ to create a list in lonescale\"},\"typeVersion\":1},{\"id\":\"27ae69ed-1f82-4fbb-848c-acba82112378\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[1140,620],\"webhookId\":\"50768c4d-9686-4ec4-8b26-a73e02f8f604\",\"parameters\":{\"unit\":\"seconds\",\"amount\":0.1},\"typeVersion\":1},{\"id\":\"18e8e8a3-5c85-4a70-85af-b9dd7cac4fdf\",\"name\":\"Salesforce\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[500,620],\"parameters\":{\"options\":{},\"resource\":\"contact\",\"operation\":\"getAll\"},\"typeVersion\":1},{\"id\":\"4f2eedec-c05e-4e98-ad3f-873e96dc0aa5\",\"name\":\"Salesforce1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1560,620],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"SplitInBatches\\\"].json[\\\"id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"=pushed_to_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"fieldId\":\"statut\"}]}}},\"typeVersion\":1},{\"id\":\"26eb8207-e436-4b7d-b2e8-6a3116934f31\",\"name\":\"Workflow Trigger\",\"type\":\"n8n-nodes-base.workflowTrigger\",\"position\":[200,620],\"parameters\":{\"events\":[\"activate\"]},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"9a049770-914c-4169-9c62-925ccc6506a1\",\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"pushIntoLoneScale\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Salesforce\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Salesforce1\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Workflow Trigger\":{\"main\":[[{\"node\":\"Salesforce\",\"type\":\"main\",\"index\":0}]]},\"pushIntoLoneScale\":{\"main\":[[{\"node\":\"Salesforce1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Push contacts to track from Hubspot to LoneScale", "output": "{\"id\":\"25\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Push contacts to track from Hubspot to LoneScale\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"b59c88ed-a249-4a48-baa7-a4e89b50bf5f\",\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[-200,80],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d7c9c910-3987-4216-8733-717d271db09b\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[860,440],\"parameters\":{\"width\":505,\"height\":96,\"content\":\"Replace \\\"IDLIST\\\" in the API Url with your list ID: \\nhttps://public-api.lonescale.com/lists/IDLIST/item\"},\"typeVersion\":1},{\"id\":\"a812dbd8-d380-4ec9-872a-f218d360d51c\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[360,560],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=data\"},\"typeVersion\":1},{\"id\":\"9878a00b-840c-4080-bc8a-e30294a7d84b\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[580,560],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"f21cd126-cd88-482d-8605-e0185ebd983b\",\"name\":\"pushIntoLoneScale\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[920,560],\"parameters\":{\"url\":\"https://public-api.lonescale.com/lists/IDLIST/item\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"first_name\",\"value\":\"={{ $json[\\\"first_name\\\"] }}\"},{\"name\":\"last_name\",\"value\":\"={{ $json[\\\"last_name\\\"]}}\"},{\"name\":\"full_name\",\"value\":\"={{ $json[\\\"name\\\"]}}\"},{\"name\":\"linkedin_url\",\"value\":\"={{ $json[\\\"b3fe861be77138ed4fe55d59115ad0721b78d868\\\"]}}\"},{\"name\":\"company_name\",\"value\":\"={{ $json[\\\"org_id\\\"][\\\"name\\\"]}}\"},{\"name\":\"current_position\",\"value\":\"={{ $json[\\\"54a75180ed4af35899fd8920ac24d442d45036a1\\\"]}}\"},{\"name\":\"location\",\"value\":\"={{ $json[\\\"7ac2ca9eaf569ce3a9c441012bb9fe5c2b7cdf57\\\"]}}\"},{\"name\":\"contact_id\",\"value\":\"= {{ $json[\\\"id\\\"]}}\"},{\"name\":\"email\",\"value\":\"= {{ $json[\\\"email\\\"][0][\\\"value\\\"] }}\"},{\"name\":\"typeContact\",\"value\":\"customers\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"2\",\"name\":\"LoneScaleAccount\"}},\"typeVersion\":2},{\"id\":\"b400d5f6-5b2a-492c-bc1b-f02dd56e19ea\",\"name\":\"HubSpot Trigger\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[120,500],\"webhookId\":\"2bcc2aec-91d4-4ff4-874d-94de798f3f14\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{\"name\":\"contact.propertyChange\"}]},\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"5908a21d-b7f3-4c8a-93d1-4906a81fd23f\",\"name\":\"HubSpot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[120,660],\"parameters\":{\"resource\":\"contact\",\"operation\":\"getAll\",\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"f5b1a3ec-8f72-4e5e-b9af-01a5c2faa6ee\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[80,360],\"parameters\":{\"width\":219,\"height\":124,\"content\":\"Choose if you wish to have workflow start by Hubspot for any contact matching criteria or to get a list of contacts\"},\"typeVersion\":1},{\"id\":\"343780d7-13cc-4c62-814c-5496c5187121\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[740,560],\"webhookId\":\"50768c4d-9686-4ec4-8b26-a73e02f8f604\",\"parameters\":{\"unit\":\"seconds\",\"amount\":0.1},\"typeVersion\":1},{\"id\":\"5d713907-0004-425f-8e55-5b516154f9da\",\"name\":\"HubSpot1\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1140,560],\"parameters\":{\"resource\":\"contact\",\"additionalFields\":{\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"=pushed_to_lonescale_{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\",\"property\":\"statut\"}]}}},\"typeVersion\":1},{\"id\":\"bb4e242e-12b6-485b-9821-149bde4dc54a\",\"name\":\"createListLoneScale\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[380,920],\"parameters\":{\"url\":\"https://public-api.lonescale.com/lists/\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"name\",\"value\":\"Test 1\"},{\"name\":\"entity\",\"value\":\"PEOPLE\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"2\",\"name\":\"LoneScaleAccount\"}},\"typeVersion\":2},{\"id\":\"f3f98f76-a27e-4237-9f5e-e5cba8b3ac3e\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[300,1080],\"parameters\":{\"height\":84.26512968299707,\"content\":\"Node you can use alone clicking on ▶️ to create a list in lonescale\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"1e0df133-7f56-4038-b26c-60def836ad3a\",\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"pushIntoLoneScale\",\"type\":\"main\",\"index\":0}]]},\"HubSpot\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"HubSpot1\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"HubSpot Trigger\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"pushIntoLoneScale\":{\"main\":[[{\"node\":\"HubSpot1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "[1/3] Automate Lead Generation ", "output": "{\"meta\":{\"instanceId\":\"5e94c4e840a537eafad41834dc1cdea87e7b992e4a38d15d50e7b95cebc2ce55\"},\"nodes\":[{\"id\":\"2cfab6e6-c3f1-467e-821a-a3497d849d3c\",\"name\":\"Split1\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[360,1120],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"results\"},\"typeVersion\":1},{\"id\":\"3c2ca421-5cc4-45ec-a84e-e3622082de6b\",\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1100,1120],\"parameters\":{\"table\":\"Lead_infos_staging\",\"options\":{},\"operation\":\"append\",\"application\":\"app\"},\"credentials\":{\"airtableApi\":{\"id\":\"37\",\"name\":\"Airtable credentials \"}},\"typeVersion\":1},{\"id\":\"e13a8286-3aaf-44c4-8100-5ce27f03d688\",\"name\":\"Date & Time1\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[760,1120],\"parameters\":{\"value\":\"={{$json[\\\"extracted_at\\\"]}}\",\"options\":{}},\"typeVersion\":1},{\"id\":\"d9ebad03-e7b6-478e-860e-2e5fd08d3899\",\"name\":\"Set_column1\",\"type\":\"n8n-nodes-base.set\",\"position\":[580,1120],\"parameters\":{\"values\":{\"string\":[{\"name\":\"first_name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"last_name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"job_title\",\"value\":\"={{$json[\\\"job_title\\\"]}}\"},{\"name\":\"company_name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"extracted_at\",\"value\":\"={{$json[\\\"extracted_at\\\"]}}\"},{\"name\":\"search_url\",\"value\":\"={{$json[\\\"sales_navigator_profile_url\\\"]}}\"},{\"name\":\"email\",\"value\":\"\\\" \\\" \"},{\"name\":\"phone\",\"value\":\"\\\" \\\" \"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"6aa1c24e-717b-4431-b7f8-f969ab38ccba\",\"name\":\"Set_time1\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,1120],\"parameters\":{\"values\":{\"string\":[{\"name\":\"first_name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"last_name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"job_title\",\"value\":\"={{$json[\\\"job_title\\\"]}}\"},{\"name\":\"company_name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"extracted_at\",\"value\":\"={{$node[\\\"Date & Time1\\\"].json[\\\"data\\\"]}}\"},{\"name\":\"search_url\",\"value\":\"={{$json[\\\"search_url\\\"]}}\"},{\"name\":\"email\",\"value\":\"\\\"\\\"\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"d61b3659-5e65-4c7d-886c-68f1a503413b\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[40,940],\"parameters\":{\"height\":420,\"content\":\"Get results from last Captain Data Workflow\\nStart with a Linkedin Sales Nav URL and scrap the leads\\n\\n**Prior to this step**: Wait until Captain Data job is finished\\n\"},\"typeVersion\":1},{\"id\":\"7d9dad78-36b8-4c72-8ed6-a13e1d3752c9\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[300,940],\"parameters\":{\"height\":420,\"content\":\"Split our items to iterate over each contacts\"},\"typeVersion\":1},{\"id\":\"e30b0b63-83af-4867-9b83-c5bfa27e1c76\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[560,940],\"parameters\":{\"width\":492.8395061728394,\"height\":420,\"content\":\"Set columns, date and time \"},\"typeVersion\":1},{\"id\":\"0f0f556b-eef4-4171-97c2-77ac66177920\",\"name\":\"Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1080,940],\"parameters\":{\"width\":160,\"height\":420,\"content\":\"Update Airtable\\n\"},\"typeVersion\":1},{\"id\":\"728ed328-4bf5-46ac-9473-41ab092dd1fc\",\"name\":\"Get_leads_results1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[100,1120],\"parameters\":{\"url\":\"https://api.captaindata.co/v2/results/last\",\"options\":{},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"54\",\"name\":\"Captain_Data\"}},\"typeVersion\":3}],\"connections\":{\"Split1\":{\"main\":[[{\"node\":\"Set_column1\",\"type\":\"main\",\"index\":0}]]},\"Set_time1\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Set_column1\":{\"main\":[[{\"node\":\"Date & Time1\",\"type\":\"main\",\"index\":0}]]},\"Date & Time1\":{\"main\":[[{\"node\":\"Set_time1\",\"type\":\"main\",\"index\":0}]]},\"Get_leads_results1\":{\"main\":[[{\"node\":\"Split1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "[2/3] Automate Lead Generation ", "output": "{\"meta\":{\"instanceId\":\"94c4e840a537eafad41834dc1cdea87e7b992e4a38d15d50e7b95cebc2ce\"},\"nodes\":[{\"id\":\"7ec2af3e-0351-4ec2-a827-2ce1670efdcc\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-400,1540],\"parameters\":{},\"typeVersion\":1},{\"id\":\"189bb27b-184e-4cb6-95df-52c2bd703ef7\",\"name\":\"Lead_of_interest ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-860,1300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"fields\\\"][\\\"checkbox\\\"]}}\",\"value2\":\"B\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"fields\\\"][\\\"company_name\\\"]}}\",\"value2\":\"ROVI Pharmaceutical Company\",\"operation\":\"notContains\"}]}},\"typeVersion\":1},{\"id\":\"9d9b4729-416a-4c06-94cf-1604afa6a4af\",\"name\":\"Airtable2\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[-1100,1300],\"parameters\":{\"table\":\"Lead_infos_staging\",\"operation\":\"list\",\"application\":{\"__rl\":true,\"mode\":\"\",\"value\":\"\"},\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"4\",\"name\":\"Airtable_api\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"7d684025-2f50-4e13-a3ae-2c566e79f9c3\",\"name\":\"POST Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1680,480],\"parameters\":{\"url\":\"https://api.usebouncer.com/v1/email/verify/\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"jsonParameters\":true,\"genericAuthType\":\"httpBasicAuth\",\"bodyParametersJson\":\"=\\n {\\n \\\"email\\\": \\\"{{$json[\\\"fields\\\"][0][\\\"email\\\"]}}\\\"\\n \\n }\\n\",\"headerParametersJson\":\"{\\\"api-key\\\"}\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"33\",\"name\":\"Bouncer_2\"}},\"typeVersion\":2},{\"id\":\"32f9e77d-8a77-45e7-96f9-3e5dfde379a5\",\"name\":\"Check_Status\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,480],\"parameters\":{\"url\":\"=https://api.usebouncer.com/v1/email/verify/{{$json[\\\"requestId\\\"]}}\",\"options\":{},\"authentication\":\"basicAuth\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"x-api-key\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"33\",\"name\":\"Bouncer\"}},\"typeVersion\":1},{\"id\":\"460945fe-8499-4697-9d16-befe4e253cc2\",\"name\":\"Check_succes\",\"type\":\"n8n-nodes-base.if\",\"position\":[2140,480],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"progress\\\"][\\\"completed\\\"]}}\",\"value2\":1,\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"8ac176a0-0321-4af2-9c07-82e04f8ddedd\",\"name\":\"Get_results\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2460,500],\"parameters\":{\"url\":\"=https://api.usebouncer.com/v1/email/{{$json[\\\"requestId\\\"]}}?download=all\",\"options\":{},\"authentication\":\"basicAuth\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"x-api-key\"}]}},\"credentials\":{\"httpBasicAuth\":{\"id\":\"33\",\"name\":\"Bouncer\"}},\"typeVersion\":1},{\"id\":\"a1a9b306-e57d-403f-921f-69576d66c9c8\",\"name\":\"Mail_found\",\"type\":\"n8n-nodes-base.if\",\"position\":[140,880],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"email\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"e85f074f-04f4-4569-b93d-63a00b76b447\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[420,1080],\"parameters\":{\"values\":{\"string\":[{\"name\":\"first_name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"last_name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"linkedin_url\",\"value\":\"={{$json[\\\"linkedin\\\"]}}\"},{\"name\":\"company\",\"value\":\"={{$json[\\\"company\\\"]}}\"},{\"name\":\"job_title\",\"value\":\"={{$json[\\\"job\\\"]}}\"},{\"name\":\"id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"email\",\"value\":\"not_found\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"d7ef965e-5833-44e0-afed-015b2fee92cd\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[980,480],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"4555c590-cd6c-4491-bc6a-ba4a24ecf26f\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[620,480],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"3aed7df7-8db1-4cb5-a057-e8a9a7339c79\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1340,480],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"fields\"}]}},\"typeVersion\":1},{\"id\":\"f53ff366-ecf9-4bb8-a7e6-46bceabaa34a\",\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[620,1080],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"c512855d-484e-44bb-a389-d6ba01101435\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[780,1080],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"f18329a8-cc81-400e-9f45-26dc338b0a8a\",\"name\":\"Set_id\",\"type\":\"n8n-nodes-base.set\",\"position\":[-80,1140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Lead_of_interest ?\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"first_name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"last_name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$json[\\\"email\\\"][0][\\\"email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"31a4ea8b-7e24-4347-b6e0-ee0ac21afde8\",\"name\":\"Set_id1\",\"type\":\"n8n-nodes-base.set\",\"position\":[420,480],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$json[\\\"email\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"d2de7788-597e-4a67-864d-dc3d82aea252\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.function\",\"position\":[2140,820],\"parameters\":{\"functionCode\":\"const waitTimeSeconds = 5;\\n\\nreturn new Promise((resolve) => {\\n setTimeout(() => {\\n resolve(items);\\n }, waitTimeSeconds * 1000);\\n});\\n\\n\"},\"typeVersion\":1},{\"id\":\"1e91f437-d96d-48fe-bf1b-acda30534206\",\"name\":\"Split object\",\"type\":\"n8n-nodes-base.function\",\"position\":[2740,500],\"parameters\":{\"functionCode\":\"return items[0].json;\"},\"typeVersion\":1},{\"id\":\"569f1645-67dd-44a8-8fd2-175e449c8ef7\",\"name\":\"Dropcontact_mail_finder\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[-380,1140],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{$json[\\\"fields\\\"][\\\"company_name\\\"]}}\",\"linkedin\":\"={{$json[\\\"fields\\\"][\\\"search_url\\\"]}}\",\"last_name\":\"={{$json[\\\"fields\\\"][\\\"last_name\\\"]}}\",\"first_name\":\"={{$json[\\\"fields\\\"][\\\"first_name\\\"]}}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"55\",\"name\":\"Dropcontact account 3\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"2e99c532-c3f5-4360-a715-bee72cb69941\",\"name\":\"Set_Airtable\",\"type\":\"n8n-nodes-base.set\",\"position\":[2980,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"mail\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"deliverabilite\",\"value\":\"={{$json[\\\"status\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c30bbd80-8aa9-4480-bae5-3cab8095b917\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-480,980],\"parameters\":{\"width\":280,\"height\":500,\"content\":\"Find emails\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"fad09475-a66d-4b38-8cb2-35a5ddde1af3\",\"name\":\"Note10\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[400,860],\"parameters\":{\"width\":540,\"height\":500,\"content\":\"If **Mail not_found** update Airtable\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"f6f3b4ca-1361-485e-9eef-f1f212750c49\",\"name\":\"Note11\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-920,980],\"parameters\":{\"width\":280,\"height\":480,\"content\":\"Select only the lead of interest\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"d855efe9-8f22-417d-9374-7e49cc1d5d60\",\"name\":\"Note12\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1220,980],\"parameters\":{\"width\":280,\"height\":480,\"content\":\"\\n**Steps to execute manually before launch**\\n\\n1.Second filtering -> Select with a checkbox only the leads of interest \\n\\n2.Check for duplicate and delete\\n\\n3.Verify First Name / Last name\\n \\n\\n4.Remove Phd, MSc, ....\\n\\n**Process by batch of 15**\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"98e853a0-4721-4feb-ac8e-a532d4eefefa\",\"name\":\"Airtable4\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[800,480],\"parameters\":{\"id\":\"={{$json[\\\"id\\\"]}}\",\"table\":\"Lead_infos_staging\",\"fields\":[\"email\"],\"options\":{},\"operation\":\"update\",\"application\":{\"__rl\":true,\"mode\":\"\",\"value\":\"\"},\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"56\",\"name\":\"Airtable account\"}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0},{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[null,[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Check_Status\",\"type\":\"main\",\"index\":0}]]},\"Set_id\":{\"main\":[[{\"node\":\"Mail_found\",\"type\":\"main\",\"index\":0}]]},\"Set_id1\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Airtable2\":{\"main\":[[{\"node\":\"Lead_of_interest ?\",\"type\":\"main\",\"index\":0}]]},\"Airtable4\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"POST Request1\",\"type\":\"main\",\"index\":0}]]},\"Mail_found\":{\"main\":[[{\"node\":\"Set_id1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Get_results\":{\"main\":[[{\"node\":\"Split object\",\"type\":\"main\",\"index\":0}]]},\"Check_Status\":{\"main\":[[{\"node\":\"Check_succes\",\"type\":\"main\",\"index\":0}]]},\"Check_succes\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get_results\",\"type\":\"main\",\"index\":0}]]},\"Set_Airtable\":{\"main\":[[{\"node\":\"Airtable4\",\"type\":\"main\",\"index\":0}]]},\"Split object\":{\"main\":[[{\"node\":\"Set_Airtable\",\"type\":\"main\",\"index\":0}]]},\"POST Request1\":{\"main\":[[{\"node\":\"Check_Status\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Airtable4\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"Airtable4\",\"type\":\"main\",\"index\":0}]]},\"Lead_of_interest ?\":{\"main\":[[{\"node\":\"Dropcontact_mail_finder\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact_mail_finder\":{\"main\":[[{\"node\":\"Set_id\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "[3/3] Automate Lead Generation", "output": "{\"meta\":{\"instanceId\":\"e840a537eafad41834dc1cdea87e7b992e4a38d15d50e7b95\"},\"nodes\":[{\"id\":\"41cbf9fe-125e-4af6-87b1-941f9d60e2e4\",\"name\":\"LGM_Linkedin\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-1580,1700],\"parameters\":{\"url\":\"https://apiv2.lagrowthmachine.com\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"audience\",\"value\":\"(Linkedin)\"},{\"name\":\"firstname\",\"value\":\"={{$json[\\\"fields\\\"][\\\"first_name\\\"]}}\"},{\"name\":\"lastname\",\"value\":\"={{$json[\\\"fields\\\"][\\\"last_name\\\"]}}\"},{\"name\":\"linkedinUrl\",\"value\":\"={{$json[\\\"fields\\\"][\\\"search_url\\\"]}}\"},{\"name\":\"companyName\",\"value\":\"={{$json[\\\"fields\\\"][\\\"company_name\\\"]}}\"},{\"name\":\"jobTitle\",\"value\":\"={{$json[\\\"fields\\\"][\\\"job_title\\\"]}}\"},{\"name\":\"proEmail\",\"value\":\"={{$json[\\\"fields\\\"][\\\"email\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"27\",\"name\":\"LGM_Header Auth\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"750f784b-ff21-4ba9-ba88-5599425cebfa\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-2460,1660],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d03c1ef8-2d39-415c-a086-85bbd59cb45d\",\"name\":\"Check_deliverability\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1840,1538.0551537555662],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"fields\\\"][\\\"Deliverability Check\\\"]}}\",\"value2\":\"deliverable\"}]}},\"typeVersion\":1},{\"id\":\"81a23668-d754-4724-8f1b-b1b50f943c0a\",\"name\":\"Airtable2\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[-2260,1658.0551537555662],\"parameters\":{\"table\":\"Lead_infos_staging\",\"operation\":\"list\",\"application\":{\"__rl\":true,\"mode\":\"\",\"value\":\"\"},\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"4\",\"name\":\"Airtable_api\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"663fe153-1eaa-4796-89ec-8f5b1331e094\",\"name\":\"LGM_Mail\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-1600,1318.0551537555662],\"parameters\":{\"url\":\"https://apiv2.lagrowthmachine.com/\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"audience\"},{\"name\":\"firstname\",\"value\":\"={{$json[\\\"fields\\\"][\\\"first_name\\\"]}}\"},{\"name\":\"lastname\",\"value\":\"={{$json[\\\"fields\\\"][\\\"last_name\\\"]}}\"},{\"name\":\"linkedinUrl\",\"value\":\"={{$json[\\\"fields\\\"][\\\"search_url\\\"]}}\"},{\"name\":\"companyName\",\"value\":\"={{$json[\\\"fields\\\"][\\\"company_name\\\"]}}\"},{\"name\":\"jobTitle\",\"value\":\"={{$json[\\\"fields\\\"][\\\"job_title\\\"]}}\"},{\"name\":\"proEmail\",\"value\":\"={{$json[\\\"fields\\\"][\\\"email\\\"]}}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"27\",\"name\":\"LGM_Header Auth\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"fdad0b18-ccd7-45e1-a01e-c3f5d7b09713\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1920,1978.0551537555662],\"parameters\":{},\"typeVersion\":1},{\"id\":\"ed0949a2-94c3-4d8f-adde-9fa213cd4164\",\"name\":\"Process only A\",\"type\":\"n8n-nodes-base.if\",\"position\":[-2060,1658.0551537555662],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"fields\\\"][\\\"checkbox\\\"]}}\",\"value2\":\"A\"}]}},\"typeVersion\":1},{\"id\":\"5a47f08b-91f9-4070-a060-279cd8845bc6\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1640,1260],\"parameters\":{\"width\":220,\"height\":224.70246705237878,\"content\":\"Send to Email audience\\n**Change the audience name** \\n\\n\"},\"typeVersion\":1},{\"id\":\"e440487d-45a1-4d9c-99e4-d1e12176bf22\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1640,1658.0551537555662],\"parameters\":{\"width\":220,\"height\":220,\"content\":\"Send to Linkedin Audience\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Airtable2\":{\"main\":[[{\"node\":\"Process only A\",\"type\":\"main\",\"index\":0}]]},\"Process only A\":{\"main\":[[{\"node\":\"Check_deliverability\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Check_deliverability\":{\"main\":[[{\"node\":\"LGM_Mail\",\"type\":\"main\",\"index\":0}],[{\"node\":\"LGM_Linkedin\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Airtable2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Twitter: Challenge-Response Check (CRC) for Twitter Webhook", "output": "{\"meta\":{\"instanceId\":\"b58f9c532cfa493b792ff3884e07e063d6a86a136a85e5104d0e8e5fc0aece44\"},\"nodes\":[{\"id\":\"f4b63486-7738-473f-9218-f356df21ee63\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[480,100],\"parameters\":{\"width\":229,\"height\":326,\"content\":\"## Incoming Twitter events\"},\"typeVersion\":1},{\"id\":\"962becd3-f9dc-4870-a731-d0ee7f9e5d42\",\"name\":\"TwitterWebhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[520,260],\"webhookId\":\"15ad5dcd-ad35-482e-a39c-d69cefc789a1\",\"parameters\":{\"path\":\"15ad5dcd-ad35-482e-a39c-d69cefc789a1\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"dcae6d72-1535-4bc3-a401-4c621110eae6\",\"name\":\"CRC_HMAC\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[900,260],\"parameters\":{\"type\":\"SHA256\",\"value\":\"={{$json[\\\"query\\\"][\\\"crc_token\\\"]}}\",\"action\":\"hmac\",\"encoding\":\"base64\",\"dataPropertyName\":\"crc_token\"},\"typeVersion\":1},{\"id\":\"cfa4afc5-340f-46b8-ad0a-c6e0c816bf34\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,100],\"parameters\":{\"width\":229,\"height\":326,\"content\":\"## HMAC the crc_token received with your secret\"},\"typeVersion\":1},{\"id\":\"a7a954a8-71ab-49a1-8efd-5d0ab6b24465\",\"name\":\"RespondTwitterWebhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1300,260],\"parameters\":{\"options\":{\"responseCode\":200},\"respondWith\":\"json\",\"responseBody\":\"={\\\"response_token\\\":\\\"sha256={{ $json[\\\"crc_token\\\"]}}\\\"}\"},\"typeVersion\":1},{\"id\":\"d75d7466-9d07-4cde-ad90-4b8187137adb\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1240,100],\"parameters\":{\"width\":229,\"height\":326,\"content\":\"## Send back response token to Twitter\"},\"typeVersion\":1}],\"connections\":{\"CRC_HMAC\":{\"main\":[[{\"node\":\"RespondTwitterWebhook\",\"type\":\"main\",\"index\":0}]]},\"TwitterWebhook\":{\"main\":[[{\"node\":\"CRC_HMAC\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich contact directly from gsheet ", "output": "{\"meta\":{\"instanceId\":\"cfcf523e0c8c498776ae0b6a27a387f41fc3bf83fc905f5a93f8d0bdf4266c6f\"},\"nodes\":[{\"id\":\"359a20ee-b448-4f3e-9b2e-5b97001e8004\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,-140],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"2a14f1cb-904c-41d7-99c4-01d4c8c0eecd\",\"name\":\"Item Lists1\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1000,-240],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"Account: SalesNavigator Company URL\"}]}},\"typeVersion\":1},{\"id\":\"5cb9adea-7823-4586-9170-30691df7ecbc\",\"name\":\"Item Lists2\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[960,740],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"Account: SalesNavigator Company URL\"}]}},\"typeVersion\":1},{\"id\":\"e9eb5a7b-8d83-4555-9672-ae783950ba5f\",\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1160,-240],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"FR\"},{\"output\":1,\"value2\":\"DE\"},{\"output\":2,\"value2\":\"ES\"}]},\"value1\":\"={{$json[\\\"Account: Last Intent Country\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"a484d79b-512d-4e19-947e-98485acca061\",\"name\":\"findSalesFR\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,-540],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact FR Sales KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((CSO OR CRO OR CBO OR CEO OR VP Sales) OR Fundador OR Founder OR Fondateur OR Grünter (Chief AND (Revenue OR Sales OR Business) OR Country Manager OR (Head of OR Teamleiter OR Director OR Directeur OR VP OR Responsable OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Sales OR Équipe Commerciale OR Landesleiter OR Verkaufs OR Vertrieb OR Kaufmännisch OR BDR OR SDR OR Representative OR Unternehmen OR Geschäftsentwickler OR Account Executive OR AE OR Business Developer OR Call Center OR Key Account OR PreSales OR Business Development OR Inside Sales OR Venta OR Ventes OR Commercial OR Comercial OR Vente) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data) AND (NOT Assistent) AND (NOT Assistentin) AND (NOT Schüler)\\\",\\n \\\"geo\\\": 105015875,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"bfe6435d-57c2-4c92-98eb-0a98d1c4baac\",\"name\":\"findSalesDE\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,-340],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact DE Sales KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((CSO OR CRO OR CBO OR CEO OR VP Sales) OR Fundador OR Founder OR Fondateur OR Grünter (Chief AND (Revenue OR Sales OR Business) OR Country Manager OR (Head of OR Teamleiter OR Director OR Directeur OR VP OR Responsable OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Sales OR Équipe Commerciale OR Landesleiter OR Verkaufs OR Vertrieb OR Kaufmännisch OR BDR OR SDR OR Representative OR Unternehmen OR Geschäftsentwickler OR Account Executive OR AE OR Business Developer OR Call Center OR Key Account OR PreSales OR Business Development OR Inside Sales OR Venta OR Ventes OR Commercial OR Comercial OR Vente) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data) AND (NOT Assistent) AND (NOT Assistentin) AND (NOT Schüler)\\\",\\n \\\"geo\\\": 101282230,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"f9c1bb5f-e61a-4d72-9ddd-2bf4c3b5e841\",\"name\":\"findSalesES\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1940,-140],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact ES Sales KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((CSO OR CRO OR CBO OR CEO OR VP Sales) OR Fundador OR Founder OR Fondateur OR Grünter (Chief AND (Revenue OR Sales OR Business) OR Country Manager OR (Head of OR Teamleiter OR Director OR Directeur OR VP OR Responsable OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Sales OR Équipe Commerciale OR Landesleiter OR Verkaufs OR Vertrieb OR Kaufmännisch OR BDR OR SDR OR Representative OR Unternehmen OR Geschäftsentwickler OR Account Executive OR AE OR Business Developer OR Call Center OR Key Account OR PreSales OR Business Development OR Inside Sales OR Venta OR Ventes OR Commercial OR Comercial OR Vente) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data) AND (NOT Assistent) AND (NOT Assistentin) AND (NOT Schüler)\\\",\\n \\\"geo\\\": 105646813,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"a00bd12c-d636-43b8-8a58-14352ae7f460\",\"name\":\"SplitInBatches3\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,-340],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"8de74edd-ba7c-489d-8ced-a29045dc7d6a\",\"name\":\"SplitInBatches4\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,-540],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"05139211-3aa9-4820-b2ea-95f604cf3a09\",\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,60],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"48679be4-c440-4042-b56c-a41016a33e01\",\"name\":\"findSalesEU\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1940,60],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact ES Sales KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((CSO OR CRO OR CBO OR CEO OR VP Sales) OR Fundador OR Founder OR Fondateur OR Grünter (Chief AND (Revenue OR Sales OR Business) OR Country Manager OR (Head of OR Teamleiter OR Director OR Directeur OR VP OR Responsable OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Sales OR Équipe Commerciale OR Landesleiter OR Verkaufs OR Vertrieb OR Kaufmännisch OR BDR OR SDR OR Representative OR Unternehmen OR Geschäftsentwickler OR Account Executive OR AE OR Business Developer OR Call Center OR Key Account OR PreSales OR Business Development OR Inside Sales OR Venta OR Ventes OR Commercial OR Comercial OR Vente) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data) AND (NOT Assistent) AND (NOT Assistentin) AND (NOT Schüler)\\\",\\n \\\"geo\\\": 100506914,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"c6e8bffb-9e3d-49f8-9d93-c51dfcfbde47\",\"name\":\"Switch1\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1140,740],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"FR\"},{\"output\":1,\"value2\":\"DE\"},{\"output\":2,\"value2\":\"ES\"}]},\"value1\":\"={{$json[\\\"Account: Last Intent Country\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"df83a6b8-deb9-4238-ba37-bc98d3a42178\",\"name\":\"findCSuccessFR\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,400],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact FR CS KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"(CEO OR Founder OR Fondateur OR Chief Customer OR Fundador OR Grünter OR (Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 105015875,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"5bc52dd2-5339-4132-b64a-b30d2434f7f2\",\"name\":\"findCSuccessDE\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,640],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact DE CS KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"(CEO OR Founder OR Fondateur OR Chief Customer OR Fundador OR Grünter OR (Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 101282230,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"d558ffde-7605-4ab4-9e32-65684660bc5d\",\"name\":\"findCSuccessES\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,880],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact ES CS KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"(CEO OR Founder OR Fondateur OR Chief Customer OR Fundador OR Grünter OR (Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 105646813,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"cdf6fd0c-1ca4-4657-b398-09ea0b64d25f\",\"name\":\"SplitInBatches5\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,640],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"4aad0a11-c88e-4639-ae18-d654b2ddea25\",\"name\":\"SplitInBatches6\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,400],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"bad02a99-1cad-4fb9-9554-2e68fec7f685\",\"name\":\"SplitInBatches7\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,880],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"c1f46a3c-19ca-44c3-ba6e-33da2e3ade05\",\"name\":\"SplitInBatches8\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1720,1100],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"2b5d8492-b588-4568-af2d-cd151547a62a\",\"name\":\"findCSuccessEU\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1920,1100],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact ES CS KDT - {{$json[\\\"Account: Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"077b84e2-1369-428c-a191-3b7165d32a13\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"(CEO OR Founder OR Fondateur OR Chief Customer OR Fundador OR Grünter OR (Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d’affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 100506914,\\n \\\"max_results\\\": 5\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"8e46d842-ab40-4b5e-9817-7d572b9675f7\",\"name\":\"findCSuccessFR1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2380,420],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact FR CS KDT - {{$json[\\\"Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d'affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 105015875,\\n \\\"max_results\\\": 3\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"73c41d4d-7f3c-436a-ba47-325eba665d1c\",\"name\":\"findCSuccessDE1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2380,660],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact DE CS KDT - {{$json[\\\"Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d'affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 101282230,\\n \\\"max_results\\\": 3\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"111585dd-b382-43a4-89d0-4b75026287a3\",\"name\":\"findCSuccessES1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2380,900],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact ES CS KDT - {{$json[\\\"Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d'affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 105646813,\\n \\\"max_results\\\": 3\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"5d0b5867-e57b-4210-b30e-1c28f0f75038\",\"name\":\"findCSuccessEU1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2380,1120],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/workflows/40870282-795b-42f5-8be4-f2ea3c36566a/schedule\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\\"inputs\\\": [\\\"{{$json[\\\"Account: SalesNavigator Company URL\\\"]}}\\\"],\\n\\\"job_name\\\": \\\"Enrich Contact ES CS KDT - {{$json[\\\"Account ID\\\"]}}\\\",\\n\\\"steps\\\": [\\n{\\n\\\"accounts\\\": [\\n\\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n],\\n\\\"step_uid\\\": \\\"7d58e4ce-4c20-4bde-a4f2-853720ece32a\\\"\\n},\\n {\\n \\\"accounts\\\": [\\n \\\"98a7a81a-b7c3-477f-8dc3-25615815ba5e\\\"\\n ],\\n \\\"parameters\\\": {\\n \\\"employeesSearchKeywords\\\": \\\"\\\",\\n \\\"employeesTitle\\\": \\\"((Head of OR Director OR Directeur OR VP OR Lead OR Gruppenleiter OR Direktor OR Blei OR Leitung OR Leiter OR Leiterin) AND (Customer Success OR Account OR Care OR Relation Client OR Relation Clients OR KAM OR CSM OR CS OR Upsell OR Support OR Customer Delivery OR Grand Compte OR Clientèle OR Client OR Experience OR Kundenerfolg OR Kundenbetreuung OR Kundenbetreuer OR Kunde)) AND (NOT Assistant) AND (NOT Assistante) AND (NOT CFO) AND (NOT Conseiller) AND (NOT Courtier) AND (NOT CTO) AND (NOT Data) AND (NOT Etudiant) AND (NOT Finance) AND (NOT Financial) AND (NOT Infrastructure) AND (NOT Intern) AND (NOT Logistic) AND (NOT Logistique) AND (NOT magasin) AND (NOT Marketing) AND (NOT operations) AND (NOT opérations) AND (NOT ops) AND (NOT Partenariat) AND (NOT Product) AND (NOT Resources) AND (NOT Ressources) AND (NOT Stagiaire) AND (NOT Student) AND (NOT Supply) AND (NOT Tech) AND (NOT Technicien) AND (NOT Technologie) AND (NOT Strategist) AND (NOT Strategy) AND (NOT Lead Gen) AND (NOT Lead Generation) AND (NOT Demand Gen) AND (NOT Demand Generation) AND (NOT Demand) AND (NOT Engineer) AND (NOT Backend) AND (NOT Back-End) AND (NOT Frontend) AND (NOT Front-end) AND (NOT Strategic) AND (NOT architect) AND (NOT Software) AND (NOT Project) AND (NOT DevOps) AND (NOT Growth) AND (NOT Full-stack) AND (NOT Fullstack) AND (NOT Développeur web) AND (NOT Data) AND (NOT Stagiaire) AND (NOT Account) AND (NOT AE) AND (NOT Area Sales Manager) AND (NOT BDM) AND (NOT BDR) AND (NOT Business) AND (NOT Call Center) AND (NOT Ingénieur Commercial) AND (NOT Ingénieur d'affaires) AND (NOT Talent) AND (NOT Procurement) AND (NOT IT) AND (NOT Strategy) AND (NOT Workplace) AND (NOT Managing DIrector) AND (NOT Board) AND (NOT CEO) AND (NOT Trainee) AND (NOT Stagiaire) AND (NOT Software) AND (NOT Data)\\\",\\n \\\"geo\\\": 100506914,\\n \\\"max_results\\\": 3\\n },\\n \\\"step_uid\\\": \\\"9c3b6ec0-132c-4aba-b209-b9177797d736\\\"\\n },\\n {\\n \\\"accounts\\\": [],\\n \\\"step_uid\\\": \\\"7b898cf9-45d5-4b45-9247-7fba9959d9e9\\\"\\n },\\n {\\n \\\"accounts\\\": [\\n \\\"f0c278a8-4ab1-4f7f-9bc6-317bf5c340c6\\\"\\n ],\\n \\\"step_uid\\\": \\\"49b6d876-b8aa-4bb2-bdc2-d05d8b314a4f\\\"\\n }\\n ]\\n}\",\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"7af52092-c390-4afa-99dc-7cacdc326203\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[340,280],\"parameters\":{\"range\":\"IntentNew!A:AZ\",\"keyRow\":1,\"options\":{},\"sheetId\":\"1DJB1Z41HaQFmHOK9txAngVTzpI4k83I_JlqmfxQ8j_s\",\"dataStartRow\":2,\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":4,\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"ce1f1d16-a74a-4669-84c0-0553ace2f920\",\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[40,20],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":20,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"id\":\"535b8b18-f45c-41a2-acdc-994b57444a2d\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,280],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"Type\\\"]}}\",\"value2\":\"Job Offer - Sales\"},{\"value1\":\"={{$json[\\\"Type\\\"]}}\",\"value2\":\"Job Offer - Ops\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"0fcd0a53-cb09-46ce-b812-8f6963cf15b1\",\"name\":\"Workflow Trigger1\",\"type\":\"n8n-nodes-base.workflowTrigger\",\"position\":[-200,280],\"parameters\":{\"events\":[\"activate\"]},\"typeVersion\":1}],\"connections\":{\"IF1\":{\"main\":[[{\"node\":\"Item Lists1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Item Lists2\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"SplitInBatches4\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"Switch1\":{\"main\":[[{\"node\":\"SplitInBatches6\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches5\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches7\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches8\",\"type\":\"main\",\"index\":0}]]},\"Item Lists1\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"Item Lists2\":{\"main\":[[{\"node\":\"Switch1\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0},{\"node\":\"findSalesES\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"findSalesEU\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches3\":{\"main\":[[{\"node\":\"findSalesDE\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches3\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches4\":{\"main\":[[{\"node\":\"findSalesFR\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches4\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches5\":{\"main\":[[{\"node\":\"findCSuccessDE\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches5\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches6\":{\"main\":[[{\"node\":\"findCSuccessFR\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches6\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches7\":{\"main\":[[{\"node\":\"findCSuccessES\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches7\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches8\":{\"main\":[[{\"node\":\"findCSuccessEU\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches8\",\"type\":\"main\",\"index\":0}]]},\"Workflow Trigger1\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich buyer persona from captain", "output": "{\"meta\":{\"instanceId\":\"cfcf523e0c8c498776ae0b6a27a387f41fc3bf83fc905f5a93f8d0bdf4266c6f\"},\"nodes\":[{\"id\":\"2b5a5836-29ae-4c39-80fa-01774ddd8ea6\",\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[-860,-440],\"parameters\":{},\"typeVersion\":1},{\"id\":\"ee925565-68f8-41ce-b63d-35ce693bfa8c\",\"name\":\"GetCaptainDataResults2\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-880,-80],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/jobs/{{$json[\\\"body\\\"][\\\"job_uid\\\"]}}/results\",\"options\":{},\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"6b839f13-8743-40eb-80c6-aef788a0dd0f\",\"name\":\"Append Contacts4\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-40,1080],\"parameters\":{\"range\":\"frResult!A:Z\",\"options\":{\"valueInputMode\":\"RAW\"},\"sheetId\":\"1Q75z5Quf7RTGWBXVpyPWV_oZqRKz-Wi164XTwK9yyNA\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":4,\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"98794958-5e5f-46df-bd1f-a078e981033b\",\"name\":\"Function7\",\"type\":\"n8n-nodes-base.function\",\"position\":[-420,-80],\"parameters\":{\"functionCode\":\"return [{json: items[0].json.results}];\\n\"},\"typeVersion\":1},{\"id\":\"16f8c47a-2d9b-4e37-96bf-22499d36a51c\",\"name\":\"Function8\",\"type\":\"n8n-nodes-base.function\",\"position\":[-280,-80],\"parameters\":{\"functionCode\":\"return items[0].json.map(item => {\\n return {\\n json: item\\n }\\n});\"},\"typeVersion\":1},{\"id\":\"ec53fcbf-9078-412a-81b2-83f8030a7e30\",\"name\":\"SetCompanyExist5\",\"type\":\"n8n-nodes-base.set\",\"position\":[1360,200],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"Account: SFId\",\"value\":\"={{$json[\\\"Id\\\"]}}\"},{\"name\":\"Account: Owner Id\",\"value\":\"={{$json[\\\"OwnerId\\\"]}}\"},{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"97076be9-111b-4a5b-90a3-a6edf9fd2cda\",\"name\":\"Append Contacts5\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1520,200],\"parameters\":{\"key\":\"Contact: Linkedin Id\",\"range\":\"frResult!A:W\",\"options\":{},\"sheetId\":\"1Q75z5Quf7RTGWBXVpyPWV_oZqRKz-Wi164XTwK9yyNA\",\"operation\":\"update\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":4,\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"a2c1a579-8715-40d6-9bf0-9fd791ac8b48\",\"name\":\"findAccount\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1040,380],\"parameters\":{\"query\":\"=SELECT Name, Id FROM Account WHERE Linkedin_Company_Id__c = '{{$json[\\\"company_id\\\"]}}' LIMIT 1\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":8,\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"3c2bd56e-7e1d-4ece-8d5b-d1023baddf68\",\"name\":\"getAccountData\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[860,380],\"parameters\":{\"resource\":\"account\",\"accountId\":\"={{$json[\\\"Id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":8,\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"4953bc32-4b60-4f73-b1f1-1a027ddd4b57\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1200,200],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"company_id\",\"propertyName2\":\"Linkedin_Company_Id__c\"},\"typeVersion\":1},{\"id\":\"b224d8ff-9c46-4ef7-83bb-2acc687342ad\",\"name\":\"GetCaptainDataResults\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-680,-440],\"parameters\":{\"url\":\"=https://api.captaindata.co/v3/jobs/4b945143-9bba-4d4a-b63e-7b021e24035d/results\",\"options\":{},\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"headerParametersJson\":\"={\\n\\\"x-project-id\\\": \\\"d337fbb2-6081-43c3-8976-8576fa14279f\\\"\\n}\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":3,\"name\":\"Captaindata\"}},\"typeVersion\":1},{\"id\":\"1bafe49a-3f97-42cb-86df-ea8217c16b8b\",\"name\":\"sqCLEVEL\",\"type\":\"n8n-nodes-base.if\",\"position\":[-320,140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"data\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"product\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"marketing\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"]}}\",\"value2\":\"growth\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"developer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"tech\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"partner\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"supply\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"logist\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"category\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"design\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"quality\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"media\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"e-commerce\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"procurement\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"buyer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"engineer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"interim\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"junior\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"event\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"student\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"schüler\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"étudiant\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"altern\",\"operation\":\"notContains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"b8d0f8f9-9d15-438c-aa50-7e3f1f26c060\",\"name\":\"setClevel\",\"type\":\"n8n-nodes-base.set\",\"position\":[160,140],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Account: Linkedin Id\",\"value\":\"={{$json[\\\"company_id\\\"]}}\"}],\"string\":[{\"name\":\"Contact: First Name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"Contact: Last Name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Title\",\"value\":\"={{$json[\\\"current_job_title\\\"]}}\"},{\"name\":\"Contact: Linkedin\",\"value\":\"={{$json[\\\"linkedin_url\\\"]}}\"},{\"name\":\"Contact: Location\",\"value\":\"={{$json[\\\"location\\\"]}}\"},{\"name\":\"Account: Account Name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"Contact: Tier\",\"value\":\"C-Level\"},{\"name\":\"Contact: Full Name\",\"value\":\"={{$json[\\\"full_name\\\"]}}\"},{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Account: Name\",\"value\":\"={{$json[\\\"current_company\\\"]}}\"},{\"name\":\"Data Source\",\"value\":\"Marketing\"},{\"name\":\"Path\",\"value\":\"To be contacted\"},{\"name\":\"Source\",\"value\":\"Outbound\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"0fc2629c-6b66-448e-81c6-858263162c7b\",\"name\":\"setCS\",\"type\":\"n8n-nodes-base.set\",\"position\":[160,600],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Account: Linkedin Id\",\"value\":\"={{$json[\\\"company_id\\\"]}}\"}],\"string\":[{\"name\":\"Contact: First Name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"Contact: Last Name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Title\",\"value\":\"={{$json[\\\"current_job_title\\\"]}}\"},{\"name\":\"Contact: Linkedin\",\"value\":\"={{$json[\\\"linkedin_url\\\"]}}\"},{\"name\":\"Contact: Location\",\"value\":\"={{$json[\\\"location\\\"]}}\"},{\"name\":\"Account: Account Name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"Contact: Tier\",\"value\":\"Customer Success\"},{\"name\":\"Contact: Full Name\",\"value\":\"={{$json[\\\"full_name\\\"]}}\"},{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Account: Name\",\"value\":\"={{$json[\\\"current_company\\\"]}}\"},{\"name\":\"Data Source\",\"value\":\"Marketing\"},{\"name\":\"Path\",\"value\":\"To be contacted\"},{\"name\":\"Source\",\"value\":\"Outbound\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"45981316-1130-43bf-815d-67bced3ca07d\",\"name\":\"setOps\",\"type\":\"n8n-nodes-base.set\",\"position\":[160,840],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Account: Linkedin Id\",\"value\":\"={{$json[\\\"company_id\\\"]}}\"}],\"string\":[{\"name\":\"Contact: First Name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"Contact: Last Name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Title\",\"value\":\"={{$json[\\\"current_job_title\\\"]}}\"},{\"name\":\"Contact: Linkedin\",\"value\":\"={{$json[\\\"linkedin_url\\\"]}}\"},{\"name\":\"Contact: Location\",\"value\":\"={{$json[\\\"location\\\"]}}\"},{\"name\":\"Account: Account Name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"Contact: Tier\",\"value\":\"Ops\"},{\"name\":\"Contact: Full Name\",\"value\":\"={{$json[\\\"full_name\\\"]}}\"},{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Account: Name\",\"value\":\"={{$json[\\\"current_company\\\"]}}\"},{\"name\":\"Data Source\",\"value\":\"Marketing\"},{\"name\":\"Source\",\"value\":\"Outbound\"},{\"name\":\"Path\",\"value\":\"To be contacted\"},{\"name\":\"Source\",\"value\":\"Outbound\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"5f9ff12c-6fb1-48d4-b76a-e0a9d17ca81b\",\"name\":\"setTrash\",\"type\":\"n8n-nodes-base.set\",\"position\":[-320,1080],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Account: Linkedin Id\",\"value\":\"={{$json[\\\"company_id\\\"]}}\"}],\"string\":[{\"name\":\"Contact: First Name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"Contact: Last Name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Title\",\"value\":\"={{$json[\\\"current_job_title\\\"]}}\"},{\"name\":\"Contact: Linkedin\",\"value\":\"={{$json[\\\"linkedin_url\\\"]}}\"},{\"name\":\"Contact: Location\",\"value\":\"={{$json[\\\"location\\\"]}}\"},{\"name\":\"Account: Account Name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"Contact: Tier\",\"value\":\"Other\"},{\"name\":\"Contact: Full Name\",\"value\":\"={{$json[\\\"full_name\\\"]}}\"},{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Account: Name\",\"value\":\"={{$json[\\\"current_company\\\"]}}\"},{\"name\":\"Data Source\",\"value\":\"Marketing\"},{\"name\":\"Path\",\"value\":\"To be contacted\"},{\"name\":\"Source\",\"value\":\"Outbound\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"01d02987-1c5a-48a7-80ad-4c4cd71589ee\",\"name\":\"sqSales\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"data\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"product\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"marketing\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"]}}\",\"value2\":\"growth\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"developer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"tech\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"partner\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"supply\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"logist\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"category\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"design\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"quality\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"media\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"e-commerce\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"procurement\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"buyer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"engineer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"interim\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"junior\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"event\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"student\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"schüler\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"étudiant\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"altern\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"administration\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"consult\",\"operation\":\"notContains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"ac0c82e4-ba0d-4d4b-adfe-f32eb296df5f\",\"name\":\"sqCS\",\"type\":\"n8n-nodes-base.if\",\"position\":[-320,600],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"data\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"product\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"marketing\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"]}}\",\"value2\":\"growth\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"developer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"tech\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"partner\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"supply\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"logist\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"category\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"design\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"quality\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"media\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"e-commerce\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"procurement\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"buyer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"engineer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"interim\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"junior\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"event\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"student\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"schüler\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"étudiant\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"altern\",\"operation\":\"notContains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"6cec729e-fa0e-48ce-b043-126cc9c4a487\",\"name\":\"sqOps\",\"type\":\"n8n-nodes-base.if\",\"position\":[-320,840],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"data\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"product\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"developer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"tech\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"partner\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"supply\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"logist\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"category\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"design\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"quality\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"media\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"e-commerce\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"procurement\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"buyer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"engineer\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"interim\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"junior\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"event\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"student\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"schüler\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"étudiant\",\"operation\":\"notContains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"altern\",\"operation\":\"notContains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"ac7e48a1-ac9b-422f-a920-9f15420976df\",\"name\":\"autoContactTier\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-1040,-80],\"webhookId\":\"4a12cc5c-2aee-48fc-934d-97a77117d12c\",\"parameters\":{\"path\":\"autoContactTier\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"e74089c8-261c-4121-ba7f-bda2f123f2e1\",\"name\":\"Sales Ops\",\"type\":\"n8n-nodes-base.if\",\"position\":[-320,360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"enablement\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"operation\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"ops\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"opération\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"56b53cbe-6734-4be8-9730-783357969a5e\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[160,-80],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"65f9ae7e-6475-40a4-bbb6-2253adff38a2\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[-600,-80],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"items_count\\\"]}}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"c71f54cd-3283-49be-b29f-152c3bf744d5\",\"name\":\"Email Exist\",\"type\":\"n8n-nodes-base.if\",\"position\":[560,680],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"email\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"03c3f13c-da85-4453-ad9c-a8fe31fe7bb8\",\"name\":\"Append Contacts\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[880,680],\"parameters\":{\"key\":\"Contact: Linkedin Id\",\"range\":\"frResult!A:Z\",\"options\":{},\"sheetId\":\"1Q75z5Quf7RTGWBXVpyPWV_oZqRKz-Wi164XTwK9yyNA\",\"operation\":\"update\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":4,\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"f2840c91-0edb-480a-8bba-7b7784a251f2\",\"name\":\"SetCompanyExist\",\"type\":\"n8n-nodes-base.set\",\"position\":[720,680],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Enrichment Tool\",\"value\":\"Dropcontact\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"e64b1512-f9ae-4a77-bbb6-c7511c155f62\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1040,680],\"parameters\":{\"url\":\"=https://api.usebouncer.com/v1/email/verify?email={{$json[\\\"Contact: Email\\\"]}}&timeout=10\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":9,\"name\":\"Bouncer\"}},\"typeVersion\":1},{\"id\":\"57ebc695-fad6-4c3c-9f9d-bc4bf2d90fce\",\"name\":\"SetCompanyExist1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Provider\",\"value\":\"={{$json[\\\"provider\\\"]}}\"},{\"name\":\"Contact: Email Status\",\"value\":\"={{$json[\\\"status\\\"]}}\"}],\"boolean\":[]},\"options\":{}},\"typeVersion\":1},{\"id\":\"6343d4f8-3323-4cc6-a0f1-4f8f800fe8e4\",\"name\":\"Append Contacts1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1600,680],\"parameters\":{\"key\":\"Contact: Email\",\"range\":\"frResult!A:Z\",\"options\":{},\"sheetId\":\"1Q75z5Quf7RTGWBXVpyPWV_oZqRKz-Wi164XTwK9yyNA\",\"operation\":\"update\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":4,\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"c18f26ec-f3ec-4db4-8e64-42de9052477d\",\"name\":\"Email Exist1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1220,680],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"status\\\"]}}\",\"value2\":\"undeliverable\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"6d7c7fc3-1ec0-4ef4-871c-a75aab7c3e8b\",\"name\":\"SetCompanyExist2\",\"type\":\"n8n-nodes-base.set\",\"position\":[1440,880],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Provider\",\"value\":\"={{$json[\\\"provider\\\"]}}\"},{\"name\":\"Contact: Email Status\",\"value\":\"={{$json[\\\"status\\\"]}}\"}],\"boolean\":[]},\"options\":{}},\"typeVersion\":1},{\"id\":\"0e0ad278-2bb0-481a-8ccf-42cbebc08f1f\",\"name\":\"Append Contacts2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1620,880],\"parameters\":{\"key\":\"Contact: Email\",\"range\":\"frResult!A:Z\",\"options\":{},\"sheetId\":\"1Q75z5Quf7RTGWBXVpyPWV_oZqRKz-Wi164XTwK9yyNA\",\"operation\":\"update\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":4,\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"71377811-4e7d-46ee-a331-a66a3b2130f3\",\"name\":\"setSales\",\"type\":\"n8n-nodes-base.set\",\"position\":[220,380],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Account: Linkedin Id\",\"value\":\"={{$json[\\\"company_id\\\"]}}\"}],\"string\":[{\"name\":\"Contact: First Name\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"Contact: Last Name\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"},{\"name\":\"Contact: Title\",\"value\":\"={{$json[\\\"current_job_title\\\"]}}\"},{\"name\":\"Contact: Linkedin\",\"value\":\"={{$json[\\\"linkedin_url\\\"]}}\"},{\"name\":\"Contact: Location\",\"value\":\"={{$json[\\\"location\\\"]}}\"},{\"name\":\"Account: Account Name\",\"value\":\"={{$json[\\\"company_name\\\"]}}\"},{\"name\":\"Contact: Tier\",\"value\":\"Sales\"},{\"name\":\"Contact: Full Name\",\"value\":\"={{$json[\\\"full_name\\\"]}}\"},{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Account: Name\",\"value\":\"={{$json[\\\"current_company\\\"]}}\"},{\"name\":\"Data Source\",\"value\":\"Marketing\"},{\"name\":\"Path\",\"value\":\"To be contacted\"},{\"name\":\"Source\",\"value\":\"Outbound\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"d533b4c0-ffcc-4626-8a02-8573dd9ad9a1\",\"name\":\"C-Level\",\"type\":\"n8n-nodes-base.if\",\"position\":[-600,140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"founder\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"ceo\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"coo\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"chief\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"dg\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"directeur général\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"managing director\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"fundador\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"founding\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"président\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"fondateur\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"cso\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"cro\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"generaldirektor\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"geschäftsführer\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"vorstand\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"associé\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"associate\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"general manager\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"directrice général\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"directeur général\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"vp\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"president\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"président\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"chef d’entreprise\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"board\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"directeur general\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"diretor executivo\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"officina\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"director general\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"cco\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"chairman\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"ccc81613-d16e-41de-8f02-f328d8ea753f\",\"name\":\"Sales\",\"type\":\"n8n-nodes-base.if\",\"position\":[-600,360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"sales\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"commercial\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"bdr\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"sdr\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"representative\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"business\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"comercial\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"corporate\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"venta\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"vente\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"compte\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"revenue\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"verkaufs\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"vertrieb\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"landesleiter\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"betrieb\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"country manager\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"développement\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"development\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"cuentas\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"desarrollo\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"negocio\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"expansion\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"call center\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"66538bf9-6497-41b9-b655-0c28a3958dfa\",\"name\":\"CustomerSuccess\",\"type\":\"n8n-nodes-base.if\",\"position\":[-600,620],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"customer\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"account\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"relationship\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"client\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"support\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"experience\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"care\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"kunde\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"upsell\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"delivery\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"anwender\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"cs\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"csm\",\"operation\":\"contains\"},{\"value1\":\"={{$json[\\\"current_job_title\\\"].toLowerCase()}}\",\"value2\":\"service\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"8006cb62-07e5-40fa-ad43-d05c2e28ab10\",\"name\":\"Waterfall Enrichment\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[400,1080],\"parameters\":{\"url\":\"=https://modjotothemoon.app.n8n.cloud/webhook/Waterfall\",\"options\":{},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"Contact: Linkedin Id\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Contact: Firstname\",\"value\":\"={{$json[\\\"first_name\\\"]}}\"},{\"name\":\"Contact: Lastname\",\"value\":\"={{$json[\\\"last_name\\\"]}}\"},{\"name\":\"Contact: Fullname\",\"value\":\"={{$json[\\\"full_name\\\"]}}\"},{\"name\":\"Account: Linkedin Id\",\"value\":\"={{$json[\\\"company_id\\\"]}}\"},{\"name\":\"Contact: Email\",\"value\":\"={{$json[\\\"email\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"c368e5d1-98a4-44b2-bf4a-38dcda7c4463\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[180,1080],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"Contact: Tier\\\"]}}\",\"value2\":\"Other\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"ac67e749-5beb-4ce4-bcfe-93bfd4b38e6b\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[620,1180],\"webhookId\":\"6d108b24-b5b8-46ba-8a97-adaf13dc105b\",\"parameters\":{\"unit\":\"seconds\",\"amount\":30},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Function7\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"Waterfall Enrichment\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"sqCS\":{\"main\":[[{\"node\":\"setCS\",\"type\":\"main\",\"index\":0}],[{\"node\":\"setTrash\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"SetCompanyExist5\",\"type\":\"main\",\"index\":0}]]},\"Sales\":{\"main\":[[{\"node\":\"Sales Ops\",\"type\":\"main\",\"index\":0}],[{\"node\":\"CustomerSuccess\",\"type\":\"main\",\"index\":0}]]},\"Start\":{\"main\":[[{\"node\":\"GetCaptainDataResults\",\"type\":\"main\",\"index\":0}]]},\"setCS\":{\"main\":[[{\"node\":\"Append Contacts4\",\"type\":\"main\",\"index\":0}]]},\"sqOps\":{\"main\":[[{\"node\":\"setOps\",\"type\":\"main\",\"index\":0}],[{\"node\":\"setTrash\",\"type\":\"main\",\"index\":0}]]},\"setOps\":{\"main\":[[{\"node\":\"Append Contacts4\",\"type\":\"main\",\"index\":0}]]},\"C-Level\":{\"main\":[[{\"node\":\"sqCLEVEL\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Sales\",\"type\":\"main\",\"index\":0}]]},\"sqSales\":{\"main\":[[{\"node\":\"setSales\",\"type\":\"main\",\"index\":0}],[{\"node\":\"setTrash\",\"type\":\"main\",\"index\":0}]]},\"setSales\":{\"main\":[[{\"node\":\"Append Contacts4\",\"type\":\"main\",\"index\":0}]]},\"setTrash\":{\"main\":[[{\"node\":\"Append Contacts4\",\"type\":\"main\",\"index\":0}]]},\"sqCLEVEL\":{\"main\":[[{\"node\":\"setClevel\",\"type\":\"main\",\"index\":0}],[{\"node\":\"setTrash\",\"type\":\"main\",\"index\":0}]]},\"Function7\":{\"main\":[[{\"node\":\"Function8\",\"type\":\"main\",\"index\":0}]]},\"Function8\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Sales Ops\":{\"main\":[[{\"node\":\"setOps\",\"type\":\"main\",\"index\":0}],[{\"node\":\"sqSales\",\"type\":\"main\",\"index\":0}]]},\"setClevel\":{\"main\":[[{\"node\":\"Append Contacts4\",\"type\":\"main\",\"index\":0}]]},\"Email Exist\":{\"main\":[[{\"node\":\"SetCompanyExist\",\"type\":\"main\",\"index\":0}]]},\"findAccount\":{\"main\":[[{\"node\":\"getAccountData\",\"type\":\"main\",\"index\":0}]]},\"Email Exist1\":{\"main\":[[{\"node\":\"SetCompanyExist1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SetCompanyExist2\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Email Exist1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"C-Level\",\"type\":\"main\",\"index\":0}]]},\"getAccountData\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Append Contacts\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"CustomerSuccess\":{\"main\":[[{\"node\":\"sqCS\",\"type\":\"main\",\"index\":0}],[{\"node\":\"setTrash\",\"type\":\"main\",\"index\":0}]]},\"SetCompanyExist\":{\"main\":[[{\"node\":\"Append Contacts\",\"type\":\"main\",\"index\":0}]]},\"autoContactTier\":{\"main\":[[{\"node\":\"GetCaptainDataResults2\",\"type\":\"main\",\"index\":0}]]},\"Append Contacts4\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"SetCompanyExist1\":{\"main\":[[{\"node\":\"Append Contacts1\",\"type\":\"main\",\"index\":0}]]},\"SetCompanyExist2\":{\"main\":[[{\"node\":\"Append Contacts2\",\"type\":\"main\",\"index\":0}]]},\"SetCompanyExist5\":{\"main\":[[{\"node\":\"Append Contacts5\",\"type\":\"main\",\"index\":0}]]},\"Waterfall Enrichment\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"GetCaptainDataResults2\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Stripe charges to HubSpot contacts", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"9be821db-fbc7-4168-962f-26c8382cefbf\",\"name\":\"If charge has customer\",\"type\":\"n8n-nodes-base.if\",\"position\":[1560,880],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"customer\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"d06bae31-6856-4941-b86c-c611fc9d3da6\",\"name\":\"Get customer\",\"type\":\"n8n-nodes-base.stripe\",\"position\":[2160,920],\"parameters\":{\"resource\":\"customer\",\"customerId\":\"={{ $json[\\\"customer\\\"] }}\"},\"credentials\":{\"stripeApi\":{\"id\":\"22\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"4e0d87bf-084f-4958-b2d3-cf7985f8c901\",\"name\":\"On schedule\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[-400,1400],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1},{\"id\":\"fb620c92-5e22-4a9c-9320-847442b5e955\",\"name\":\"Remove duplicate customers\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1880,920],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{\"removeOtherFields\":true},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"customer\"}]}},\"typeVersion\":1},{\"id\":\"3ad7554d-24b3-4ee2-8136-6a151bf06c71\",\"name\":\"Aggregate `amount_captured`\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1880,540],\"parameters\":{\"options\":{},\"operation\":\"aggregateItems\",\"fieldsToAggregate\":{\"fieldToAggregate\":[{\"fieldToAggregate\":\"amount_captured\"}]}},\"typeVersion\":1},{\"id\":\"c8448580-40f2-4cf6-87ba-80903555d5a5\",\"name\":\"Aggregate totals\",\"type\":\"n8n-nodes-base.code\",\"position\":[2820,1360],\"parameters\":{\"jsCode\":\"// aggregate `amounts_captured` with the customer, taking note \\n// that `aggregateAmountsPerContact` is the value in cents\\nconst aggregateAmountsPerContact = new Object();\\nfor (const item of $input.all()) {\\n if (aggregateAmountsPerContact[item.json.email] == null) {\\n aggregateAmountsPerContact[item.json.email] = 0;\\n }\\n aggregateAmountsPerContact[item.json.email] += item.json.amount_captured;\\n}\\n\\n// parse the data in a way that is usable in future nodes, and\\n// converts amounts from cents to dollars\\nconst parsed = [];\\nfor (const contact of Object.keys(aggregateAmountsPerContact)) {\\n parsed.push({\\n email: contact,\\n amount_captured: aggregateAmountsPerContact[contact] / 100\\n });\\n}\\n\\nreturn parsed;\"},\"typeVersion\":1},{\"id\":\"dedaf89e-84d1-4964-9c87-94beea4adf26\",\"name\":\"Create or update customer\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[3140,1360],\"parameters\":{\"email\":\"={{$node[\\\"Aggregate totals\\\"].json[\\\"email\\\"]}}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{$node[\\\"Aggregate totals\\\"].json[\\\"amount_captured\\\"]}}\",\"property\":\"={{$(\\\"Configure\\\").first().json[\\\"contactPropertyId\\\"]}}\"}]}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"11\",\"name\":\"[UPDATE ME]\"}},\"notesInFlow\":false,\"typeVersion\":1},{\"id\":\"4c419e90-facc-4a64-83f2-d349264338c6\",\"name\":\"Merge data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2520,1360],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"mergeByFields\":{\"values\":[{\"field1\":\"id\",\"field2\":\"customer\"}]}},\"typeVersion\":2},{\"id\":\"6a21495f-e567-4b0f-b584-34306bf7fa18\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2460,1160],\"parameters\":{\"width\":219.61431588546765,\"height\":378.32426823578305,\"content\":\"### `Merge data`\\nMore specifically, we merge the Stripe data from `Get charges` and `Get customer` nodes. Only the charges with customers on them will continue.\"},\"typeVersion\":1},{\"id\":\"7319c8fe-9e55-43d9-a634-3a7884268016\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2760,1160],\"parameters\":{\"width\":218.46574043407196,\"height\":379.1631729345614,\"content\":\"### `Aggregate totals`\\nGiven the merged data, we now aggregate the amounts from charges to the customers/contacts.\"},\"typeVersion\":1},{\"id\":\"c24d972b-270d-4467-9352-4ced18e377c0\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1780,400],\"parameters\":{\"width\":297.57428772569784,\"height\":325.06310253513686,\"content\":\"### ``Aggregate `amount_captured` ``\\nThis does nothing. It is an alternative way to find the totals of every charge in existence in Stripe. Potentially useful for debugging purposes.\"},\"typeVersion\":1},{\"id\":\"43da8885-fac3-4cb7-9f01-c4770cd0b030\",\"name\":\"Get all charges\",\"type\":\"n8n-nodes-base.stripe\",\"position\":[1300,1380],\"parameters\":{\"resource\":\"charge\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"stripeApi\":{\"id\":\"22\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"abfe75f5-c36f-4904-a703-cb8d1d83b686\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-960,1220],\"parameters\":{\"width\":504,\"height\":510.0404950205649,\"content\":\"## Sync Stripe charges to HubSpot contacts\\nThis workflow pushes Stripe charges to HubSpot contacts. It uses the Stripe API to get all charges and the HubSpot API to update the contacts. The workflow will create a new HubSpot property to store the total amount charged. If the property already exists, it will update the property.\\n\\n### How it works\\n1. On a schedule, the first Stripe node gets all charges. The default schedule is once a day at midnight.\\n2. Once the charges are returned, the second Stripe node gets extra customer information.\\n3. Once the customer information is returned, `Merge data` node will merge the customer information with the charges so that the next node `Aggregate totals` can calculate the total amount charged per contact.\\n4. Once we have the total amount charged per contact, the `Create or update customer` node will create a new HubSpot property to store the total amount charged. If the property already exists, it will update the property.\\n\\n\\n\\nWorkflow written by [David Sha](https://davidsha.me).\"},\"typeVersion\":1},{\"id\":\"67e44a47-18db-48a3-a08e-c4f2afb13a30\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1780,760],\"parameters\":{\"width\":298.2919335506821,\"height\":339.6783118583311,\"content\":\"### `Remove duplicate customers`\\nEnsures that we do not poll Stripe too many times unnecessarily. If multiple charges have the same customer, we ensure that we do not ask for the same information again.\"},\"typeVersion\":1},{\"id\":\"02d46492-f3ba-47fe-ba88-f2baad30fc73\",\"name\":\"Get HubSpot field\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[580,1540],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/properties/contact/{{$(\\\"Configure\\\").first().json[\\\"contactPropertyId\\\"]}}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"11\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"827882c4-5d3f-4cc6-b876-ae575a9a1b36\",\"name\":\"Create field in HubSpot\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[980,1660],\"parameters\":{\"url\":\"https://api.hubapi.com/crm/v3/properties/contact\",\"method\":\"POST\",\"options\":{\"response\":{\"response\":{\"neverError\":true}}},\"sendBody\":true,\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"name\",\"value\":\"={{$(\\\"Configure\\\").first().json[\\\"contactPropertyId\\\"]}}\"},{\"name\":\"label\",\"value\":\"={{$(\\\"Configure\\\").first().json[\\\"contactPropertyLabelName\\\"]}}\"},{\"name\":\"type\",\"value\":\"number\"},{\"name\":\"fieldType\",\"value\":\"number\"},{\"name\":\"groupName\",\"value\":\"contactinformation\"},{\"name\":\"formField\",\"value\":\"false\"},{\"name\":\"description\",\"value\":\"=The total spend determined by the charges in Stripe. This is a field required for \\\"{{$workflow.name}}\\\" n8n workflow.\"}]},\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"11\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":3},{\"id\":\"b4092718-bf35-49b5-aefa-b9900596fcb5\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[500,1480],\"parameters\":{\"width\":656.5118956254801,\"height\":367.20468504951214,\"content\":\"### Create HubSpot field if required\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n_These nodes create a HubSpot field if required.\\nIt makes the contact field that this workflow uses \\nto store the Stripe information. To disable this \\nsection, in `Configure` node change `checkFields`\\nto false._\"},\"typeVersion\":1},{\"id\":\"6d74e2e3-bd95-4ccb-89c0-3d6f8f1e01f9\",\"name\":\"Configure\",\"type\":\"n8n-nodes-base.set\",\"position\":[-80,1400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"contactPropertyId\",\"value\":\"stripe___total_spend\"},{\"name\":\"contactPropertyLabelName\",\"value\":\"Stripe - Total Spend\"}],\"boolean\":[{\"name\":\"checkFields\",\"value\":true}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"8a8262bc-0742-4529-9f10-328c338854fe\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-200,1340],\"parameters\":{\"width\":338.8262165118159,\"height\":505.43603897947025,\"content\":\"### Configuration\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nBy default, this does not need to be updated. \\n\\n__`contactPropertyId` (required)__: Only change if the specific HubSpot field ID has been taken.\\n\\n__`contactPropertyLabelName` (required)__: Change if you would like a different display name.\\n\\n__`checkFields` (required)__: Turn to false if you would like to optimise this workflow, provided this workflow has run once before with this configurable enabled. This will disable the section of this workflow which deals with creating a HubSpot field.\"},\"typeVersion\":1},{\"id\":\"fc640a31-2050-4276-a1f7-8154f61d2729\",\"name\":\"Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3080,1160],\"parameters\":{\"width\":219.86482940052417,\"height\":377.58888520886353,\"content\":\"### `Create or update customer`\\nBy default, the only field updated is \\\"Stripe - Total Spend\\\". The contact is identified by its email.\"},\"typeVersion\":1},{\"id\":\"c91295e6-0306-4f3d-adcf-923fbef1c173\",\"name\":\"Skip field checking\",\"type\":\"n8n-nodes-base.if\",\"position\":[240,1400],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Configure\\\"].json[\\\"checkFields\\\"]}}\",\"value2\":\"={{false}}\"}]}},\"typeVersion\":1},{\"id\":\"8f8b5a15-4895-4c5a-b8ba-8592dd754aca\",\"name\":\"Do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1880,1240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"b953e439-955c-4046-9000-32cbb3577c27\",\"name\":\"Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1780,1140],\"parameters\":{\"width\":298.2919335506821,\"height\":247.94509463108915,\"content\":\"### `Do nothing`\\nThis is useful to know what Stripe charges had no customer assigned.\"},\"typeVersion\":1},{\"id\":\"ec2116e5-2a4a-4edf-a816-b15c349f23e0\",\"name\":\"If field exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[780,1540],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json[\\\"error\\\"][\\\"httpCode\\\"] }}\",\"value2\":\"404\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1}],\"connections\":{\"Configure\":{\"main\":[[{\"node\":\"Skip field checking\",\"type\":\"main\",\"index\":0}]]},\"Merge data\":{\"main\":[[{\"node\":\"Aggregate totals\",\"type\":\"main\",\"index\":0}]]},\"On schedule\":{\"main\":[[{\"node\":\"Configure\",\"type\":\"main\",\"index\":0}]]},\"Get customer\":{\"main\":[[{\"node\":\"Merge data\",\"type\":\"main\",\"index\":0}]]},\"Get all charges\":{\"main\":[[{\"node\":\"If charge has customer\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge data\",\"type\":\"main\",\"index\":1}]]},\"If field exists\":{\"main\":[[{\"node\":\"Get all charges\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create field in HubSpot\",\"type\":\"main\",\"index\":0}]]},\"Aggregate totals\":{\"main\":[[{\"node\":\"Create or update customer\",\"type\":\"main\",\"index\":0}]]},\"Get HubSpot field\":{\"main\":[[{\"node\":\"If field exists\",\"type\":\"main\",\"index\":0}]]},\"Skip field checking\":{\"main\":[[{\"node\":\"Get all charges\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get HubSpot field\",\"type\":\"main\",\"index\":0}]]},\"If charge has customer\":{\"main\":[[{\"node\":\"Remove duplicate customers\",\"type\":\"main\",\"index\":0},{\"node\":\"Aggregate `amount_captured`\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do nothing\",\"type\":\"main\",\"index\":0}]]},\"Create field in HubSpot\":{\"main\":[[{\"node\":\"Get all charges\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicate customers\":{\"main\":[[{\"node\":\"Get customer\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Turn on a light to a specific color on any update in GitHub repository", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"161c2837-6a3c-4492-93d0-c094b8788362\",\"name\":\"On any update in repository\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[620,520],\"webhookId\":\"9f16fefe-dacf-48b8-a576-48ed0599e911\",\"parameters\":{\"owner\":\"dummydavid\",\"events\":[\"*\"],\"repository\":\"DemoRepo\"},\"credentials\":{\"githubApi\":{\"id\":\"20\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"2703e869-60e0-4906-9fd2-35a5e54aae1f\",\"name\":\"Turn a light red\",\"type\":\"n8n-nodes-base.homeAssistant\",\"position\":[840,520],\"parameters\":{\"domain\":\"light\",\"service\":\"turn_on\",\"resource\":\"service\",\"operation\":\"call\",\"serviceAttributes\":{\"attributes\":[{\"name\":\"entity_id\",\"value\":\"light.lamp\"},{\"name\":\"rgb_color\",\"value\":\"={{[255,0,0]}}\"}]}},\"credentials\":{\"homeAssistantApi\":{\"id\":\"21\",\"name\":\"home.davidsha.me\"}},\"typeVersion\":1},{\"id\":\"bbbd01eb-9409-414e-bc85-c615add05580\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[160,420],\"parameters\":{\"width\":378,\"height\":351,\"content\":\"## Turn on a light to a specific color on any update in GitHub repository\\nThis workflow turns a light red when an update is made to a GitHub repository. By default, updates include pull requests, issues, pushes just to name a few.\\n\\n### How it works\\n1. Triggers off on the `On any update in repository` node.\\n2. Uses Home Assistant to turn on a light and then configure the light to turn red.\"},\"typeVersion\":1},{\"id\":\"33dfde3b-a4b5-468d-8d13-9d3577563f9b\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,700],\"parameters\":{\"width\":315,\"height\":248,\"content\":\"### Configure light here\\nIt is likely the name of the light that you want to turn a specific colour is not called `light.lamp`. In which case, please head to your Home Assistant instance and find the light taking note of it's `entity_id`. See discussion [here](https://community.home-assistant.io/t/find-the-entity-id-of-a-yeelight-light-in-manual-mode-or-automatic-mode-doesnt-work/165557) for help.\\n\\nIf you would also like to change the colour the light turns to, do so with an [RGB color picker](https://www.google.com/search?q=rgb+color+picker&oq=rgb+colo&aqs=chrome.0.0i67i433j69i57j0i67l4j0i512l4.6248j0j7&sourceid=chrome&ie=UTF-8). Default colour is red (255,0,0).\"},\"typeVersion\":1}],\"connections\":{\"On any update in repository\":{\"main\":[[{\"node\":\"Turn a light red\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Jobs intent data to Salesforce", "output": "{\"id\":\"124\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Job postings intent data to Salesforce\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"6a4fd22e-7baa-47d3-addb-4d5a07eda596\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1547,1040],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Text_note\",\"value\":\"=Company Name:\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] : \\\"\\\")}}
\\nJob name & link & number matched:
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_name\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_name\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_link\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_link\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"matched_job_offers_company_count\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"matched_job_offers_company_count\\\"] : \\\"\\\")}}
\\nJob Location:
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_location\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_location\\\"]: \\\"\\\")}}\\nCompany industry/labels:
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_industry\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_industry\\\"] : \\\"\\\")}}
{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_labels\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_labels\\\"] : \\\"\\\")}}
\\nId & Employees & tools:
\\n{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_linkedin_id\\\"]}}
\\n{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_staff_count\\\"]}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"workflow_tools\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"workflow_tools\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"] : \\\"\\\")}}
\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"4c409178-0de0-4aea-999c-feac5d21fc2b\",\"name\":\"JobIntentLoneScale\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-1120,420],\"webhookId\":\"b5161eef-3e61-4288-bc55-293e0e99ed2b\",\"parameters\":{\"path\":\"lonescalefrsdr\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"ff93e040-1d31-4f7f-99cd-9ae006f5a906\",\"name\":\"checkInternship\",\"type\":\"n8n-nodes-base.if\",\"position\":[-940,420],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_level\\\"]}}\",\"value2\":\"=Internship\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"6dcdce1d-270e-4301-95d2-ebd7106fb063\",\"name\":\"splitJobOffers\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[807,1040],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=body.job_offers\"},\"typeVersion\":1},{\"id\":\"e2f6670f-0329-4c48-be6d-d5f22a4a7a32\",\"name\":\"detectJobBoardName\",\"type\":\"n8n-nodes-base.code\",\"position\":[1347,1040],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobTitles = ['indeed', 'linkedin', 'welcome', 'hellowork', 'glassdoor', 'apec', 'jobfeeder', 'careerbuilder']\\n\\n\\nreturn ({json:{...$input.item.json, jobboard: jobTitles.find(j =>$input.item.json.job_link.match(j) )}})\"},\"typeVersion\":1},{\"id\":\"357a9e0a-81dc-49a0-ad22-fe40e7d3bb20\",\"name\":\"detectSalesEngagementTools\",\"type\":\"n8n-nodes-base.code\",\"position\":[-740,440],\"parameters\":{\"jsCode\":\"const enablement= ['Salesloft', 'Outreach']\\nconst marketing= ['Hubspot', 'Sendinblue', 'Marketo', 'Pardot']\\n\\n\\nreturn ({json:{enablement: enablement.find(j =>$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) ), marketing: marketing.find(j =>$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"874fddb1-d436-4577-a907-f146e13c36fd\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1087,900],\"parameters\":{\"width\":196.24107455713448,\"height\":123.46895074946463,\"content\":\"Extract a word or a string from jobs name.\\nJust replace the job names by yours.\"},\"typeVersion\":1},{\"id\":\"45aed615-3ae4-4ab4-ab4a-0b70ecf0ac49\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1307,940],\"parameters\":{\"width\":150,\"height\":80,\"content\":\"Extract the job boards names.\"},\"typeVersion\":1},{\"id\":\"374a347b-e60e-40f2-b9da-c6d97dd0fb73\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-800,620],\"parameters\":{\"width\":182.29090909090905,\"height\":93.91006423982867,\"content\":\"Extract the names of the tools of interest to you in two different category.\"},\"typeVersion\":1},{\"id\":\"0e5ac97c-4bb4-4fcc-9725-a88cfe6baec9\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-580,300],\"parameters\":{\"height\":105.34090909090904,\"content\":\"If you don't have LinkedIn ID for account in your CRM, you can replace with domain_name, linkedin_url OR company_name\"},\"typeVersion\":1},{\"id\":\"60f85d4a-cc48-4c67-86b6-706241c3592b\",\"name\":\"check_prospects_included_intent\",\"type\":\"n8n-nodes-base.if\",\"position\":[560,520],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_full_name\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"71ea9d1e-7732-4197-8e80-f38d9c688eb1\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1787,1360],\"parameters\":{\"height\":179.62421316167655,\"content\":\"Choose your process between:\\n- Create a Task in Sales reps ToDoList \\n- Add an item to your Intent Custom Object\\n\\nDelete the node you don't need.\"},\"typeVersion\":1},{\"id\":\"eb4cf67c-7a8c-45bd-89ff-8945a325cf49\",\"name\":\"Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2267,1320],\"parameters\":{\"height\":80,\"content\":\"Final step can be a slack post to your sales reps notification channel\"},\"typeVersion\":1},{\"id\":\"7e6f1d51-9838-4613-8ec0-12279727173a\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[160,1000],\"parameters\":{\"width\":233.54181818181817,\"height\":80,\"content\":\"Select company data you want to save.\"},\"typeVersion\":1},{\"id\":\"1bc52bbb-44b5-429c-81cc-d0eac7bfb3cf\",\"name\":\"Note12\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[180,140],\"parameters\":{\"height\":337.35331905781584,\"content\":\"Update Hubspot account if you miss data in Hubspot.\\nWarning: we advice you to be very cautious because if you already have data in your Hubspot Account field, you could replace it.\\n\\nBetter it's to have a specific workflow for this.\\n\\nTips:\\n\\n{{ old data | new data }} \\nWill write new data only if the field is empty\"},\"typeVersion\":1},{\"id\":\"90d1a70d-658c-4272-842a-77f96308f76d\",\"name\":\"Note11\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1300,140],\"parameters\":{\"width\":157.09604777997805,\"height\":80,\"content\":\"Choose contact information you want to save.\"},\"typeVersion\":1},{\"id\":\"6b21d8cb-20c9-487a-9ee9-046a61d85013\",\"name\":\"Note13\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1527,860],\"parameters\":{\"width\":158.81841932147992,\"height\":102.94782608695652,\"content\":\"Personalize your node to set intent data to add them as a string in a task.\"},\"typeVersion\":1},{\"id\":\"87128ebd-d945-4c16-8c8b-ad5177b313a1\",\"name\":\"post_slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2307,1140],\"parameters\":{\"text\":\"={{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1},{\"id\":\"c809f2bb-ef36-41e7-bd7f-7fe67d687ad1\",\"name\":\"If_find_1\",\"type\":\"n8n-nodes-base.if\",\"position\":[-380,540],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"results\\\"][0][\\\"id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"07b94f95-960f-4f0f-8033-10f6938a5e0e\",\"name\":\"If_find_4\",\"type\":\"n8n-nodes-base.if\",\"position\":[0,760],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"companyId\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"42eab84f-02b2-4e11-b552-fb506bcd801d\",\"name\":\"split_in_batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[740,380],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"7a098e66-ecad-47a4-82f7-d16530d75561\",\"name\":\"split_in_batches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[987,1040],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"f5bcb252-df1c-4109-9f07-629694c94e9f\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1520,400],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"split_in_batches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"5b420bad-f70c-4665-836e-8a1f7263b028\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[2120,1160],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"split_in_batches1\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"a35b7783-84e7-4bae-9c78-696185c086e6\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-800,-60],\"parameters\":{\"width\":1268.6792452830189,\"height\":1252.0215633423181,\"content\":\"**Account**\"},\"typeVersion\":1},{\"id\":\"e23b6433-a57f-4ef1-94b5-c500b1a9ec59\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[520,-60],\"parameters\":{\"width\":1228.140161725068,\"height\":849.1644204851752,\"content\":\"**Contacts**\"},\"typeVersion\":1},{\"id\":\"7a37fefa-d622-4981-b5f2-664ae914bc7a\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[760,840],\"parameters\":{\"width\":1860.1242048517545,\"height\":760.9513746630726,\"content\":\"**Job Postings**\"},\"typeVersion\":1},{\"id\":\"cae41d82-f57f-4b80-9544-27546eb123ea\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[2620,80],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.job_description){\\n\\n$input.item.json.content = $input.item.json.fields.job_description.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 4000)\\n}\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"2eb70687-2e65-4b69-9260-9bfe9c57a922\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[2920,80],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.message.content).value_proposition\\n\\n$input.item.json.departments=JSON.parse($input.item.json.message.content).departments\\n\\n$input.item.json.job_titles=JSON.parse($input.item.json.message.content).job_titles\\n\\n$input.item.json.keywords=JSON.parse($input.item.json.message.content).keywords\\n\\n$input.item.json.customer_highlight=JSON.parse($input.item.json.message.content).customer_highlight\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"8d74cc74-7fb7-46a0-b96c-273e3f66582d\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[3160,100],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"b586f4a2-c854-46ba-bf4b-427028a38d68\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2320,-80],\"parameters\":{\"width\":1370.8377358490568,\"height\":849.1644204851752,\"content\":\"**AI**\"},\"typeVersion\":1},{\"id\":\"8fa32a3b-1541-4e64-b5f3-2321622d9d34\",\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[3340,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Text_note\",\"value\":\"={{ $json.value_proposition }}\\n\\n {{ $json.departments }}\\n\\n {{ $json.job_titles }}\\n\\n {{ $json.keywords }}\\n\\n {{ $json.customer_highlight }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"2a1052d0-7740-4b6b-915a-6c420164f3fa\",\"name\":\"OpenAI - write Icebreaker\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[2780,80],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"content\":\"=This is a job posting description of the company {{ $json[\\\"company_name\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\nThis is the tagline of the company {{ $json[\\\"company_name\\\"] }}:\\\"{{ $json[\\\"company_tagline\\\"] }}\\\"\\nThis is the specialities of the company {{ $json[\\\"company_name\\\"] }}:\\\"{{ $json[\\\"company_specialities\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"{{ $json[\\\"company_name\\\"] }} helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n- Give me a 1 sentence summary of the problems their product or services help solve. In English. Casual Tone.\\n- Which company department or departments would they likely sell their product or services to considering these departments only: C-Suite, Executive, Engineering & Technical, Design, Finance, Human Resources, Information Technology, Legal, Marketing, Operations, Sales, Consulting\\n- Give me the most comprehensive list you can think of job titles across those departments, sorted by the most likely to be the decision maker, that would most likely buy this product or service, making sure to also include job titles of the people that would use or interact with the product or service in their daily tasks.\\n- Thinking about all of the information generated and the company description, provide a comprehensive comma separated list of keywords and jargon that you might find in the job descriptions of roles listed in the titles column that relate specifically to the problems the company is trying to solve. In English. Max 15 keywords.\\n- My company LoneScale is a sales intelligence platform. LoneScale targets medium companies that need to drive a bigger sales pipeline with warm leads and unique selling points. Here is the list of our customers: XXX,XXX,XX. I have a prospect called {{ $json[\\\"company_name\\\"] }}, give me the customer to highlight in our marketing campaigns. First answer is competitor, then company industry space industry, and then company size. Format is: \\\"Customer name because reason why\\\".\\n\\n- Now double check your work\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"departments\\\": departments,\\n\\\"job_titles\\\": job_titles,\\n\\\"keywords\\\": keywords,\\n\\\"customer highlight\\\": customer_highlight}\\n\\nJSON:\"}]},\"options\":{\"topP\":1,\"maxTokens\":400,\"temperature\":0},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"14\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"e06d5178-a381-4b32-8829-1857d07702f0\",\"name\":\"Set2\",\"type\":\"n8n-nodes-base.set\",\"position\":[2440,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"company_name\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.company_name }}\"},{\"name\":\"company_tagline\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.company_tagline }}\"},{\"name\":\"company_tagline\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.company_specialities }}\"},{\"name\":\"job_description\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.job_offers[0].job_description }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"517eb774-deb6-406a-9f96-258695d3459e\",\"name\":\"cleanJobName\",\"type\":\"n8n-nodes-base.code\",\"position\":[1147,1040],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobname = ['account manager','sdr','bdr','growth','marketing', 'outbound','business developer','sales development','business development']\\n\\n\\nreturn ({json:{...$input.item.json, jobname: jobname.find(j =>$input.item.json.job_name.toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"270cc160-1e54-4274-887b-b2e9c236a075\",\"name\":\"search_account_domain\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-200,680],\"parameters\":{\"query\":\"=SELECT Name, Id FROM Account WHERE Domain = '{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"]}}' LIMIT 1\\n\",\"resource\":\"search\"},\"typeVersion\":1},{\"id\":\"cb1ba37f-660e-47e4-97b3-aa847be41c5e\",\"name\":\"search_account_linkedin_id\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-560,440],\"parameters\":{\"query\":\"=SELECT Name, Id FROM Account WHERE Linkedin_Company_Id__c = '{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_linkedin_id\\\"]}}' LIMIT 1\\n\",\"resource\":\"search\"},\"typeVersion\":1},{\"id\":\"e39295c6-8941-4e5b-96c7-b904fe37e83d\",\"name\":\"update_account\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[300,520],\"parameters\":{\"resource\":\"account\",\"accountId\":\"={{$json[\\\"Id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{}},\"typeVersion\":1},{\"id\":\"97695f78-cb7c-4342-a801-fbcace5d8ec1\",\"name\":\"get_account\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[120,520],\"parameters\":{\"resource\":\"account\",\"accountId\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"get\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"21\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"9ad172fb-2051-4639-b784-26449428fc73\",\"name\":\"search_contact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[940,380],\"parameters\":{\"query\":\"=SELECT Name, Id FROM Contact WHERE Full_Name = '{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_full_name\\\"]}}' LIMIT 1\",\"resource\":\"search\"},\"typeVersion\":1},{\"id\":\"de74c2c0-9ff9-4679-9b3f-6be0b1e88435\",\"name\":\"check_contact_exist\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"b6c9653d-a3bb-44c7-9b00-b3611e7cf54e\",\"name\":\"create_contact1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1320,280],\"parameters\":{\"lastname\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_last_name\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"title\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_current_position\\\"]}}\",\"firstName\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_first_name\\\"]}}\"}},\"typeVersion\":1},{\"id\":\"57f49330-27d5-448e-b7c2-fe8fea974de8\",\"name\":\"create_account1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[240,780],\"parameters\":{\"name\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"]}}\",\"resource\":\"account\",\"additionalFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_staff_count\\\"]}}\",\"fieldId\":\"employee_count\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_linkedin_url\\\"]}}\",\"fieldId\":\"linkedin_url\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"]}}\",\"fieldId\":\"company_domain\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"]}}\",\"fieldId\":\"company_tools\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tagline\\\"]}}\",\"fieldId\":\"company_tagline\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_description\\\"]}}\",\"fieldId\":\"company_description\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_follower_count\\\"]}}\",\"fieldId\":\"company_followers_count\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_labels\\\"]}}\",\"fieldId\":\"company_labels\"},{\"value\":\"={{$node[\\\"detectSalesEngagementTools\\\"].json[\\\"marketing\\\"]}}\",\"fieldId\":\"detectSalesEngagementTools_marketing\"}]}}},\"typeVersion\":1},{\"id\":\"6288dc0a-14db-411a-9b51-3954d3e9fad3\",\"name\":\"create_custom_object\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1840,1160],\"parameters\":{\"resource\":\"customObject\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\",\"fieldId\":\"description\"}]},\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"e0d388eb-c3fb-40e4-a42f-ff523e6be30e\",\"name\":\"create_task\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1840,1000],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"type\":\"intent\",\"description\":\"={{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\"}},\"typeVersion\":1},{\"id\":\"49d68acb-ae53-44bb-929f-8645b84bca8a\",\"name\":\"create_task_openAI\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[3520,100],\"parameters\":{\"resource\":\"task\",\"additionalFields\":{\"type\":\"intent\",\"description\":\"={{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\"}},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"JobIntentLoneScale\":[{\"json\":{\"body\":{\"source\":\"LoneScale\",\"workflow\":\"name of your workflow\",\"job_offers\":[{\"job_id\":\"9077f7a4-ed60-4eba-acb2-cc8172dd8816\",\"job_link\":\"https://fr.indeed.com/\",\"job_name\":\"Head of Customer Care\",\"job_level\":\"Director\",\"job_contract\":\"Permanent, Full Time\",\"job_location\":\"Paris, FRANCE\",\"job_categories\":\"Customer Success\",\"job_description\":\"As a Head of Customer Care at LoneScale, you will\\n • Be a LoneScale Ambassador! You will delight our customers by providing sharp, quick technical support and guiding them in using LoneScale, according to their needs. Answering all their questions via email, chat, and phone.\\n • Be the voice of our customers by putting yourself in clients' shoes to anticipate their expectations and understand their needs. Continuously improve our product and keep the \\\"WOW\\\" effect along with the relation. Your role is key to allowing us to improve our product constantly!\\n • Set up internal processes to better respond to customer requests (update FAQs, dashboards, macros, make feedback to Ops and Product teams, etc.).\\n • Monitoring KPI dashboards.\\n • Take ownership along with our continuous improvement methodology. You will identify anomalies, optimize and set up new ways of problem-solving and keep your colleagues up to date on all of this.\",\"job_published_at\":\"25/04/2023\",\"workflow_all_keywords\":\"technical support, dashboards, internal processes\",\"count_category_process\":\"1\",\"context_category_process\":[\"• Set up internal processes to better respond to customer requests (update FAQs, dashboards, macros, make feedback to Ops and Product teams, etc.)\",\"• Monitoring KPI dashboards.\"],\"count_category_experience\":\"2\",\"keywords_category_process\":\"internal processes\",\"context_category_experience\":[\"• You will delight our customers by providing sharp, quick technical support and guiding them in using LoneScale, according to their needs\",\"• You have to improve our technical support process\"],\"keywords_category_experience\":\"technical support, dashboards\"}],\"company_logo\":\"https://media-exp1.licdn.com/dms/image/C560BAQF2_KaW4YSiAg/company-logo_200_200/0/1635261829348?e=1661385600&v=beta&t=YVpqYW16wCP_h-7nvUMig688FkRzwpMLl6fTsUUGY-4\",\"company_name\":\"LoneScale\",\"company_tools\":\"Hubspot, Payfit, Node.js, React.js, Intercom\",\"company_domain\":\"lonescale.com\",\"company_labels\":\"SaaS, B2B, Startup\",\"workflow_tools\":\"Intercom, SQL\",\"company_address\":\"Paris, FRANCE\",\"company_tagline\":\"Révélez les données clients indispensables. Gagnez du temps, dépassez vos objectifs et concentrez-vous sur vos ventes.\",\"decision_makers\":[{\"people_full_name\":\"Alexandre Depres\",\"people_last_name\":\"Depres\",\"people_department\":\"Executive\",\"people_first_name\":\"Alexandre\",\"people_linkedin_url\":\"https://www.linkedin.com/in/alexandre-depres-b8970a47/\",\"people_current_position\":\"Co-founder & CEO\"},{\"people_full_name\":\"Yann Aleman\",\"people_last_name\":\"Aleman\",\"people_department\":\"Tech > General\",\"people_first_name\":\"Yann\",\"people_linkedin_url\":\"https://fr.linkedin.com/in/yann-aleman-0a307a61\",\"people_current_position\":\"CTO & Co-founder\"}],\"company_hashtags\":\"commercial data, sales intent, buying signals\",\"company_industry\":\"Internet\",\"company_description\":\"La solution complète de données B2B la plus fiable du marché. 🤩 Boostez vos ventes grâce à LoneScale avec des données entreprises et contacts enrichies. -> Nettoyez votre CRM -> Enrichissez vos données commerciales -> Détectez des signaux d'achat -> Priorisez vos leads -> Accédez aux stacks technologiques utilisées\",\"company_linkedin_id\":\"56433814\",\"company_staff_count\":\"11\",\"company_founded_year\":\"2021\",\"company_id_lonescale\":\"XXX0fd67-372c-4eee-a2cc-2c4a1602d4c7\",\"company_linkedin_url\":\"https://www.linkedin.com/company/lonescale/\",\"company_specialities\":\"data, sales, marketing, growth, buying signals, B2B, leadgen, CRM, data cleaning, artificial intelligence et data enrichment\",\"legal_company_number\":\"88444012400029\",\"company_employee_range\":\"11-50\",\"company_follower_count\":\"1000\",\"legal_company_industry_code\":\"6201Z\",\"matched_job_offers_company_count\":\"1\",\"legal_company_industry_code_description\":\"Programmation informatique\"},\"query\":{},\"params\":{},\"headers\":{\"host\":\"loneline.app.n8n.cloud\",\"accept\":\"application/json, text/plain, */*\",\"x-scheme\":\"https\",\"x-real-ip\":\"54.205.249.35\",\"user-agent\":\"axios/0.27.2\",\"content-type\":\"application/json\",\"x-request-id\":\"42f4f2c824e5d14df3786d3278dfae2e\",\"content-length\":\"4174\",\"x-forwarded-for\":\"54.205.249.35\",\"x-forwarded-host\":\"loneline.app.n8n.cloud\",\"x-forwarded-port\":\"443\",\"x-forwarded-proto\":\"https\",\"x-forwarded-scheme\":\"https\"}}}]},\"settings\":{},\"versionId\":\"75acfded-7af9-4563-92c0-1d8131fcd624\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"post_slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"split_in_batches1\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"splitJobOffers\",\"type\":\"main\",\"index\":0}],[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"create_custom_object\",\"type\":\"main\",\"index\":0},{\"node\":\"create_task\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"create_task_openAI\",\"type\":\"main\",\"index\":0}]]},\"Set2\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"If_find_1\":{\"main\":[[{\"node\":\"get_account\",\"type\":\"main\",\"index\":0}],[{\"node\":\"search_account_domain\",\"type\":\"main\",\"index\":0}]]},\"If_find_4\":{\"main\":[[{\"node\":\"get_account\",\"type\":\"main\",\"index\":0}],[{\"node\":\"create_account1\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"post_slack\":{\"main\":[[{\"node\":\"Set2\",\"type\":\"main\",\"index\":0}]]},\"create_task\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"get_account\":{\"main\":[[{\"node\":\"update_account\",\"type\":\"main\",\"index\":0}]]},\"cleanJobName\":{\"main\":[[{\"node\":\"detectJobBoardName\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI - write Icebreaker\",\"type\":\"main\",\"index\":0}]]},\"search_contact\":{\"main\":[[{\"node\":\"check_contact_exist\",\"type\":\"main\",\"index\":0}]]},\"splitJobOffers\":{\"main\":[[{\"node\":\"split_in_batches1\",\"type\":\"main\",\"index\":0}]]},\"update_account\":{\"main\":[[{\"node\":\"check_prospects_included_intent\",\"type\":\"main\",\"index\":0}]]},\"checkInternship\":{\"main\":[[],[{\"node\":\"detectSalesEngagementTools\",\"type\":\"main\",\"index\":0}]]},\"create_account1\":{\"main\":[[{\"node\":\"check_prospects_included_intent\",\"type\":\"main\",\"index\":0}]]},\"create_contact1\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches\":{\"main\":[[{\"node\":\"search_contact\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches1\":{\"main\":[[{\"node\":\"cleanJobName\",\"type\":\"main\",\"index\":0}]]},\"JobIntentLoneScale\":{\"main\":[[{\"node\":\"checkInternship\",\"type\":\"main\",\"index\":0}]]},\"detectJobBoardName\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"check_contact_exist\":{\"main\":[[{\"node\":\"create_contact1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"create_custom_object\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"search_account_domain\":{\"main\":[[{\"node\":\"If_find_4\",\"type\":\"main\",\"index\":0}]]},\"OpenAI - write Icebreaker\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"detectSalesEngagementTools\":{\"main\":[[{\"node\":\"search_account_linkedin_id\",\"type\":\"main\",\"index\":0}]]},\"search_account_linkedin_id\":{\"main\":[[{\"node\":\"If_find_1\",\"type\":\"main\",\"index\":0}]]},\"check_prospects_included_intent\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}],[{\"node\":\"splitJobOffers\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Job postings intent data to Hubspot", "output": "{\"id\":\"31\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Job postings intent data to Hubspot\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"a0dd9df3-31c5-4b9a-ad35-b4a47beab0ca\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1547,1040],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Text_note\",\"value\":\"=Company Name:\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] : \\\"\\\")}}
\\nJob name & link & number matched:
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_name\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_name\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_link\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_link\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"matched_job_offers_company_count\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"matched_job_offers_company_count\\\"] : \\\"\\\")}}
\\nJob Location:
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_location\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_location\\\"]: \\\"\\\")}}\\nCompany industry/labels:
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_industry\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_industry\\\"] : \\\"\\\")}}
{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_labels\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_labels\\\"] : \\\"\\\")}}
\\nId & Employees & tools:
\\n{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_linkedin_id\\\"]}}
\\n{{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_staff_count\\\"]}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"workflow_tools\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"workflow_tools\\\"] : \\\"\\\")}}
\\n{{($node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"] ? $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"] : \\\"\\\")}}
\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"8b072c2c-e6cf-4153-9d03-841c8699a260\",\"name\":\"JobIntentLoneScale\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-1120,420],\"webhookId\":\"5c6961c1-9859-4079-a52a-884ee9f7c422\",\"parameters\":{\"path\":\"lonescalefrsdr\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"4f169841-c5a1-4155-80c7-26249bc974ed\",\"name\":\"checkInternship\",\"type\":\"n8n-nodes-base.if\",\"position\":[-940,420],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_level\\\"]}}\",\"value2\":\"=Internship\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"95c7affe-26d3-4f6b-b176-a1b418644810\",\"name\":\"splitJobOffers\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[807,1040],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=body.job_offers\"},\"typeVersion\":1},{\"id\":\"ad8e0f6d-2727-48c2-a475-f01683b36072\",\"name\":\"detectJobBoardName\",\"type\":\"n8n-nodes-base.code\",\"position\":[1347,1040],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobTitles = ['indeed', 'linkedin', 'welcome', 'hellowork', 'glassdoor', 'apec', 'jobfeeder', 'careerbuilder']\\n\\n\\nreturn ({json:{...$input.item.json, jobboard: jobTitles.find(j =>$input.item.json.job_link.match(j) )}})\"},\"typeVersion\":1},{\"id\":\"8f3850ae-c158-400b-b037-0f2182d30d64\",\"name\":\"detectSalesEngagementTools\",\"type\":\"n8n-nodes-base.code\",\"position\":[-740,440],\"parameters\":{\"jsCode\":\"const enablement= ['Salesloft', 'Outreach']\\nconst marketing= ['Hubspot', 'Sendinblue', 'Marketo', 'Pardot']\\n\\n\\nreturn ({json:{enablement: enablement.find(j =>$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) ), marketing: marketing.find(j =>$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"984d8a28-80b0-44ca-bd05-e4aa79c67b67\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1087,900],\"parameters\":{\"width\":196.24107455713448,\"height\":123.46895074946463,\"content\":\"Extract a word or a string from jobs name.\\nJust replace the job names by yours.\"},\"typeVersion\":1},{\"id\":\"3b0cc1a3-a1a5-439f-9c48-18aff39216ba\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1307,940],\"parameters\":{\"width\":150,\"height\":80,\"content\":\"Extract the job boards names.\"},\"typeVersion\":1},{\"id\":\"2f80f7c0-0947-4467-9cd7-91d39320a662\",\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-800,620],\"parameters\":{\"width\":182.29090909090905,\"height\":93.91006423982867,\"content\":\"Extract the names of the tools of interest to you in two different category.\"},\"typeVersion\":1},{\"id\":\"54f0f554-632a-4b26-961f-99ac9abcd01d\",\"name\":\"Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-580,300],\"parameters\":{\"height\":105.34090909090904,\"content\":\"If you don't have LinkedIn ID for account in your CRM, you can replace with domain_name, linkedin_url OR company_name\"},\"typeVersion\":1},{\"id\":\"b1ca02c2-89cc-4bf4-a648-e2fece5aa3e9\",\"name\":\"check_prospects_included_intent\",\"type\":\"n8n-nodes-base.if\",\"position\":[560,520],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_full_name\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"944593f4-2025-4c7f-9452-fdeb9a3f97d2\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1787,1360],\"parameters\":{\"height\":179.62421316167655,\"content\":\"Choose your process between:\\n- Create a Task in Sales reps ToDoList \\n- Add an item to your Intent Custom Object\\n\\nDelete the node you don't need.\"},\"typeVersion\":1},{\"id\":\"a70854f5-7952-44fb-b525-85567f02b460\",\"name\":\"Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2267,1320],\"parameters\":{\"height\":80,\"content\":\"Final step can be a slack post to your sales reps notification channel\"},\"typeVersion\":1},{\"id\":\"c69a16ed-e1e9-4cc3-9b37-53878b104ede\",\"name\":\"Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[160,1000],\"parameters\":{\"width\":233.54181818181817,\"height\":80,\"content\":\"Select data you want to add in your Hubspot.\"},\"typeVersion\":1},{\"id\":\"e110fe11-4890-4e97-8890-82e9a04c62e9\",\"name\":\"Note12\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[180,140],\"parameters\":{\"height\":337.35331905781584,\"content\":\"Update Hubspot account if you miss data in Hubspot.\\nWarning: we advice you to be very cautious because if you already have data in your Hubspot Account field, you could replace it.\\n\\nBetter it's to have a specific workflow for this.\\n\\nTips:\\n\\n{{ old data | new data }} \\nWill write new data only if the field is empty\"},\"typeVersion\":1},{\"id\":\"0fa9f004-7451-4c5e-8d0f-fc4fb77b3d61\",\"name\":\"Note11\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1300,140],\"parameters\":{\"width\":157.09604777997805,\"height\":80,\"content\":\"Choose contact information you want to save.\"},\"typeVersion\":1},{\"id\":\"4eb38c5e-5cbb-4e17-b98a-5facdddb58eb\",\"name\":\"Note13\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1527,860],\"parameters\":{\"width\":158.81841932147992,\"height\":102.94782608695652,\"content\":\"Personalize your node to set intent data to add them as a string in a task.\"},\"typeVersion\":1},{\"id\":\"9a539b54-650c-48b6-9fd9-6fd584f8d748\",\"name\":\"post_slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2307,1140],\"parameters\":{\"text\":\"={{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"typeVersion\":1},{\"id\":\"c41fa608-1b14-4377-b5be-3fee1e6b1dbe\",\"name\":\"get_account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[100,520],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{ $json[\\\"results\\\"][0][\\\"id\\\"] }}\",\"operation\":\"get\",\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"00198c8b-405f-484c-96d3-887b47677362\",\"name\":\"create_account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[220,780],\"parameters\":{\"name\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"]}}\",\"resource\":\"company\",\"additionalFields\":{\"linkedinBio\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_description\\\"]}}\",\"companyDomainName\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"]}}\",\"numberOfEmployees\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_staff_count\\\"]}}\",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_follower_count\\\"]}}\\\"\",\"property\":\"followers_count\"},{\"value\":\"={{$node[\\\"detectSalesEngagementTools\\\"].json[\\\"marketing\\\"]}}\",\"property\":\"maketing tools\"},{\"value\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tools\\\"]}}\",\"property\":\"tools\"}]},\"linkedInCompanyPage\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"]}}\"}},\"typeVersion\":1},{\"id\":\"f19f1be4-5ccf-4f22-813b-8a2d9872399c\",\"name\":\"create_task\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1847,940],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"={{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{}}},\"typeVersion\":1},{\"id\":\"e10ae66c-37dd-44bc-8b26-07139b49c784\",\"name\":\"check_contact_exist_hubspot\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"b27d2902-f459-46bd-90ef-32405b136122\",\"name\":\"search_contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[920,380],\"parameters\":{\"limit\":10,\"resource\":\"contact\",\"operation\":\"search\",\"filterGroupsUi\":{\"filterGroupsValues\":[{\"filtersUi\":{\"filterValues\":[{}]}}]},\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"2a3c08b8-0678-4357-9809-5f84ba4f4f95\",\"name\":\"update_account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[260,520],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{ $json[\\\"id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{}},\"typeVersion\":1},{\"id\":\"dabd2318-0b99-41b4-89ca-4ba926eca423\",\"name\":\"create_contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1320,260],\"parameters\":{\"resource\":\"contact\",\"additionalFields\":{\"lastName\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_last_name\\\"]}}\",\"firstName\":\"={{$node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"people_first_name\\\"]}}\"}},\"typeVersion\":1},{\"id\":\"edf8475f-faaa-4ab7-8ed6-6c3a75eb53fb\",\"name\":\"Search_Hubspot_Company_LinkedIn_ID\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-540,440],\"parameters\":{\"url\":\"https://api.hubapi.com/crm/v3/objects/companies/search\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={\\n \\\"filterGroups\\\": [\\n {\\n \\\"filters\\\": [\\n {\\n \\\"propertyName\\\":\\\"linkedin_company_id\\\",\\n \\\"operator\\\":\\\"EQ\\\",\\n \\\"value\\\":\\\"{{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_linkedin_id\\\"] }}\\\"\\n }\\n ]\\n }\\n ]\\n}\",\"sendBody\":true,\"sendHeaders\":true,\"specifyBody\":\"json\",\"headerParameters\":{\"parameters\":[{\"name\":\"Authorization\",\"value\":\"Bearer pat-na1-\"}]}},\"typeVersion\":3},{\"id\":\"bf3cc879-4552-4344-81e6-f89015b757f9\",\"name\":\"Search_Hubspot_Company_Domain\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-200,660],\"parameters\":{\"domain\":\"={{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] }}\",\"options\":{},\"resource\":\"company\",\"operation\":\"searchByDomain\"},\"credentials\":{\"hubspotApi\":{\"id\":\"20\",\"name\":\"HubSpot account\"}},\"typeVersion\":1},{\"id\":\"3067d8a5-938b-4a08-b168-7d935bcb6637\",\"name\":\"If_find_1\",\"type\":\"n8n-nodes-base.if\",\"position\":[-380,540],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"results\\\"][0][\\\"id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"5d089ec0-d74b-457e-b6b9-f804eecf7925\",\"name\":\"If_find_4\",\"type\":\"n8n-nodes-base.if\",\"position\":[0,760],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"companyId\\\"]}}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"de78c509-f8b3-4645-9522-ee5a61ff89ba\",\"name\":\"split_in_batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[740,380],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"5d0eff81-1b7b-425c-8874-f11863bb3e3f\",\"name\":\"split_in_batches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[987,1040],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"6582effc-52b4-438f-88fd-ea6344f75513\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1520,400],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"split_in_batches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"0d7b2328-329c-4976-a49c-1f0db0ca1907\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[2120,1160],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"split_in_batches1\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"5d11ccfd-8423-41f7-a7a5-98381e711956\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-800,-60],\"parameters\":{\"width\":1268.6792452830189,\"height\":1252.0215633423181,\"content\":\"**Account**\"},\"typeVersion\":1},{\"id\":\"dc9d7068-227f-4ee4-8693-72849bfa011b\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[520,-60],\"parameters\":{\"width\":1228.140161725068,\"height\":849.1644204851752,\"content\":\"**Contacts**\"},\"typeVersion\":1},{\"id\":\"36b8e390-9612-4722-a1bd-ad8c5aca7f3c\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[760,840],\"parameters\":{\"width\":1860.1242048517545,\"height\":760.9513746630726,\"content\":\"**Job Postings**\"},\"typeVersion\":1},{\"id\":\"2dead783-fa68-41f4-a045-0c63f20c47c8\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[2620,80],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.job_description){\\n\\n$input.item.json.content = $input.item.json.fields.job_description.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 4000)\\n}\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"33ddfa81-a9e0-4d17-af70-0e2be7bca0a2\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[2920,80],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.message.content).value_proposition\\n\\n$input.item.json.departments=JSON.parse($input.item.json.message.content).departments\\n\\n$input.item.json.job_titles=JSON.parse($input.item.json.message.content).job_titles\\n\\n$input.item.json.keywords=JSON.parse($input.item.json.message.content).keywords\\n\\n$input.item.json.customer_highlight=JSON.parse($input.item.json.message.content).customer_highlight\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"0930af03-a7ea-46b5-835e-f301685e72bf\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[3160,100],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"1497e2a8-f406-4dcf-b811-f67ee0044b41\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2320,-80],\"parameters\":{\"width\":1370.8377358490568,\"height\":849.1644204851752,\"content\":\"**AI**\"},\"typeVersion\":1},{\"id\":\"84672d7e-0172-4337-935f-8b50eedb710b\",\"name\":\"create_task1\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[3500,100],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"\"},\"resource\":\"engagement\",\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"b8b93f7c-9846-4904-8817-40ea579458fe\",\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[3340,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Text_note\",\"value\":\"={{ $json.value_proposition }}\\n\\n {{ $json.departments }}\\n\\n {{ $json.job_titles }}\\n\\n {{ $json.keywords }}\\n\\n {{ $json.customer_highlight }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"3e4dc6cd-52de-404b-af2d-2e0bc1e9676f\",\"name\":\"OpenAI - write Icebreaker\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[2780,80],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"content\":\"=This is a job posting description of the company {{ $json[\\\"company_name\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\nThis is the tagline of the company {{ $json[\\\"company_name\\\"] }}:\\\"{{ $json[\\\"company_tagline\\\"] }}\\\"\\nThis is the specialities of the company {{ $json[\\\"company_name\\\"] }}:\\\"{{ $json[\\\"company_specialities\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"{{ $json[\\\"company_name\\\"] }} helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n- Give me a 1 sentence summary of the problems their product or services help solve. In English. Casual Tone.\\n- Which company department or departments would they likely sell their product or services to considering these departments only: C-Suite, Executive, Engineering & Technical, Design, Finance, Human Resources, Information Technology, Legal, Marketing, Operations, Sales, Consulting\\n- Give me the most comprehensive list you can think of job titles across those departments, sorted by the most likely to be the decision maker, that would most likely buy this product or service, making sure to also include job titles of the people that would use or interact with the product or service in their daily tasks.\\n- Thinking about all of the information generated and the company description, provide a comprehensive comma separated list of keywords and jargon that you might find in the job descriptions of roles listed in the titles column that relate specifically to the problems the company is trying to solve. In English. Max 15 keywords.\\n- My company LoneScale is a sales intelligence platform. LoneScale targets medium companies that need to drive a bigger sales pipeline with warm leads and unique selling points. Here is the list of our customers: XXX,XXX,XX. I have a prospect called {{ $json[\\\"company_name\\\"] }}, give me the customer to highlight in our marketing campaigns. First answer is competitor, then company industry space industry, and then company size. Format is: \\\"Customer name because reason why\\\".\\n\\n- Now double check your work\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"departments\\\": departments,\\n\\\"job_titles\\\": job_titles,\\n\\\"keywords\\\": keywords,\\n\\\"customer highlight\\\": customer_highlight}\\n\\nJSON:\"}]},\"options\":{\"topP\":1,\"maxTokens\":400,\"temperature\":0},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"14\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"286d1496-d74a-4c15-831c-3e38d58bbf9c\",\"name\":\"Set2\",\"type\":\"n8n-nodes-base.set\",\"position\":[2440,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"company_name\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.company_name }}\"},{\"name\":\"company_tagline\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.company_tagline }}\"},{\"name\":\"company_tagline\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.company_specialities }}\"},{\"name\":\"job_description\",\"value\":\"={{ $node.JobIntentLoneScale.json.body.job_offers[0].job_description }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"96c28af0-a56b-41ee-95d4-8d74983b95e9\",\"name\":\"cleanJobName\",\"type\":\"n8n-nodes-base.code\",\"position\":[1147,1040],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobname = ['account manager','sdr','bdr','growth','marketing', 'outbound','business developer','sales development','business development']\\n\\n\\nreturn ({json:{...$input.item.json, jobname: jobname.find(j =>$input.item.json.job_name.toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"ff78170b-52f0-487f-b5a8-f9fbaa023f2c\",\"name\":\"associateInsight_3\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1080,-140],\"parameters\":{\"url\":\"=https://api.hubspot.com/crm/v3/objects/2-11411071/{{$node[\\\"createHubspotInsight_\\\"].json[\\\"properties\\\"][\\\"hs_object_id\\\"]}}/associations/companies/{{ $node[\\\"Search company in hubspot\\\"].json[\\\"companyId\\\"] }}/29\",\"method\":\"PUT\",\"options\":{},\"sendHeaders\":true,\"headerParameters\":{\"parameters\":[{\"name\":\"Authorization\",\"value\":\"Bearer \"}]}},\"typeVersion\":3},{\"id\":\"8bf64282-f38e-4f97-b17c-eb70544faaec\",\"name\":\"associateInsight_\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1960,1160],\"parameters\":{\"url\":\"=https://api.hubspot.com/crm/v3/objects/2-11411071/{{$node[\\\"createHubspotInsight_\\\"].json[\\\"properties\\\"][\\\"hs_object_id\\\"]}}/associations/companies/{{ $json[\\\"companyId\\\"] }}/29\",\"method\":\"PUT\",\"options\":{},\"sendHeaders\":true,\"headerParameters\":{\"parameters\":[{\"name\":\"Authorization\",\"value\":\"Bearer \"}]}},\"typeVersion\":3},{\"id\":\"f163beaa-5081-4c65-820d-b804e8a8cc59\",\"name\":\"createHubspotInsight\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1800,1160],\"parameters\":{\"url\":\"https://api.hubspot.com/crm/v3/objects/2-11411071\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"{\\n \\\"properties\\\": {\\n \\\"insight_name\\\": \\\"New Job Offers - Early Careers 🇫🇷\\\",\\n\\\"insight_date\\\": \\\"\\\",\\n \\\"resume\\\": \\\"{{ $node[\\\"Set\\\"].json[\\\"Text_note\\\"] }}\\\",\\n }\\n}\",\"sendBody\":true,\"sendHeaders\":true,\"specifyBody\":\"json\",\"headerParameters\":{\"parameters\":[{\"name\":\"Authorization\",\"value\":\"Bearer \"}]}},\"typeVersion\":3}],\"active\":false,\"pinData\":{\"JobIntentLoneScale\":[{\"json\":{\"body\":{\"source\":\"LoneScale\",\"workflow\":\"name of your workflow\",\"job_offers\":[{\"job_id\":\"9077f7a4-ed60-4eba-acb2-cc8172dd8816\",\"job_link\":\"https://fr.indeed.com/\",\"job_name\":\"Head of Customer Care\",\"job_level\":\"Director\",\"job_contract\":\"Permanent, Full Time\",\"job_location\":\"Paris, FRANCE\",\"job_categories\":\"Customer Success\",\"job_description\":\"As a Head of Customer Care at LoneScale, you will\\n • Be a LoneScale Ambassador! You will delight our customers by providing sharp, quick technical support and guiding them in using LoneScale, according to their needs. Answering all their questions via email, chat, and phone.\\n • Be the voice of our customers by putting yourself in clients' shoes to anticipate their expectations and understand their needs. Continuously improve our product and keep the \\\"WOW\\\" effect along with the relation. Your role is key to allowing us to improve our product constantly!\\n • Set up internal processes to better respond to customer requests (update FAQs, dashboards, macros, make feedback to Ops and Product teams, etc.).\\n • Monitoring KPI dashboards.\\n • Take ownership along with our continuous improvement methodology. You will identify anomalies, optimize and set up new ways of problem-solving and keep your colleagues up to date on all of this.\",\"job_published_at\":\"25/04/2023\",\"workflow_all_keywords\":\"technical support, dashboards, internal processes\",\"count_category_process\":\"1\",\"context_category_process\":[\"• Set up internal processes to better respond to customer requests (update FAQs, dashboards, macros, make feedback to Ops and Product teams, etc.)\",\"• Monitoring KPI dashboards.\"],\"count_category_experience\":\"2\",\"keywords_category_process\":\"internal processes\",\"context_category_experience\":[\"• You will delight our customers by providing sharp, quick technical support and guiding them in using LoneScale, according to their needs\",\"• You have to improve our technical support process\"],\"keywords_category_experience\":\"technical support, dashboards\"}],\"company_logo\":\"https://media-exp1.licdn.com/dms/image/C560BAQF2_KaW4YSiAg/company-logo_200_200/0/1635261829348?e=1661385600&v=beta&t=YVpqYW16wCP_h-7nvUMig688FkRzwpMLl6fTsUUGY-4\",\"company_name\":\"LoneScale\",\"company_tools\":\"Hubspot, Payfit, Node.js, React.js, Intercom\",\"company_domain\":\"lonescale.com\",\"company_labels\":\"SaaS, B2B, Startup\",\"workflow_tools\":\"Intercom, SQL\",\"company_address\":\"Paris, FRANCE\",\"company_tagline\":\"Révélez les données clients indispensables. Gagnez du temps, dépassez vos objectifs et concentrez-vous sur vos ventes.\",\"decision_makers\":[{\"people_full_name\":\"Alexandre Depres\",\"people_last_name\":\"Depres\",\"people_department\":\"Executive\",\"people_first_name\":\"Alexandre\",\"people_linkedin_url\":\"https://www.linkedin.com/in/alexandre-depres-b8970a47/\",\"people_current_position\":\"Co-founder & CEO\"},{\"people_full_name\":\"Yann Aleman\",\"people_last_name\":\"Aleman\",\"people_department\":\"Tech > General\",\"people_first_name\":\"Yann\",\"people_linkedin_url\":\"https://fr.linkedin.com/in/yann-aleman-0a307a61\",\"people_current_position\":\"CTO & Co-founder\"}],\"company_hashtags\":\"commercial data, sales intent, buying signals\",\"company_industry\":\"Internet\",\"company_description\":\"La solution complète de données B2B la plus fiable du marché. 🤩 Boostez vos ventes grâce à LoneScale avec des données entreprises et contacts enrichies. -> Nettoyez votre CRM -> Enrichissez vos données commerciales -> Détectez des signaux d'achat -> Priorisez vos leads -> Accédez aux stacks technologiques utilisées\",\"company_linkedin_id\":\"56433814\",\"company_staff_count\":\"11\",\"company_founded_year\":\"2021\",\"company_id_lonescale\":\"XXX0fd67-372c-4eee-a2cc-2c4a1602d4c7\",\"company_linkedin_url\":\"https://www.linkedin.com/company/lonescale/\",\"company_specialities\":\"data, sales, marketing, growth, buying signals, B2B, leadgen, CRM, data cleaning, artificial intelligence et data enrichment\",\"legal_company_number\":\"88444012400029\",\"company_employee_range\":\"11-50\",\"company_follower_count\":\"1000\",\"legal_company_industry_code\":\"6201Z\",\"matched_job_offers_company_count\":\"1\",\"legal_company_industry_code_description\":\"Programmation informatique\"},\"query\":{},\"params\":{},\"headers\":{\"host\":\"loneline.app.n8n.cloud\",\"accept\":\"application/json, text/plain, */*\",\"x-scheme\":\"https\",\"x-real-ip\":\"54.205.249.35\",\"user-agent\":\"axios/0.27.2\",\"content-type\":\"application/json\",\"x-request-id\":\"42f4f2c824e5d14df3786d3278dfae2e\",\"content-length\":\"4174\",\"x-forwarded-for\":\"54.205.249.35\",\"x-forwarded-host\":\"loneline.app.n8n.cloud\",\"x-forwarded-port\":\"443\",\"x-forwarded-proto\":\"https\",\"x-forwarded-scheme\":\"https\"}}}]},\"settings\":{},\"versionId\":\"8b61446e-795a-41dd-82d4-3d85f7309fc3\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"post_slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"split_in_batches1\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"splitJobOffers\",\"type\":\"main\",\"index\":0}],[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"createHubspotInsight\",\"type\":\"main\",\"index\":0},{\"node\":\"create_task\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"create_task1\",\"type\":\"main\",\"index\":0}]]},\"Set2\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"If_find_1\":{\"main\":[[{\"node\":\"get_account\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Search_Hubspot_Company_Domain\",\"type\":\"main\",\"index\":0}]]},\"If_find_4\":{\"main\":[[{\"node\":\"get_account\",\"type\":\"main\",\"index\":0}],[{\"node\":\"create_account\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"post_slack\":{\"main\":[[{\"node\":\"Set2\",\"type\":\"main\",\"index\":0}]]},\"create_task\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"get_account\":{\"main\":[[{\"node\":\"update_account\",\"type\":\"main\",\"index\":0}]]},\"cleanJobName\":{\"main\":[[{\"node\":\"detectJobBoardName\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI - write Icebreaker\",\"type\":\"main\",\"index\":0}]]},\"create_account\":{\"main\":[[{\"node\":\"check_prospects_included_intent\",\"type\":\"main\",\"index\":0}]]},\"create_contact\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"search_contact\":{\"main\":[[{\"node\":\"check_contact_exist_hubspot\",\"type\":\"main\",\"index\":0}]]},\"splitJobOffers\":{\"main\":[[{\"node\":\"split_in_batches1\",\"type\":\"main\",\"index\":0}]]},\"update_account\":{\"main\":[[{\"node\":\"check_prospects_included_intent\",\"type\":\"main\",\"index\":0}]]},\"checkInternship\":{\"main\":[[],[{\"node\":\"detectSalesEngagementTools\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches\":{\"main\":[[{\"node\":\"search_contact\",\"type\":\"main\",\"index\":0}]]},\"associateInsight_\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches1\":{\"main\":[[{\"node\":\"cleanJobName\",\"type\":\"main\",\"index\":0}]]},\"JobIntentLoneScale\":{\"main\":[[{\"node\":\"checkInternship\",\"type\":\"main\",\"index\":0}]]},\"detectJobBoardName\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"createHubspotInsight\":{\"main\":[[{\"node\":\"associateInsight_\",\"type\":\"main\",\"index\":0}]]},\"OpenAI - write Icebreaker\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"detectSalesEngagementTools\":{\"main\":[[{\"node\":\"Search_Hubspot_Company_LinkedIn_ID\",\"type\":\"main\",\"index\":0}]]},\"check_contact_exist_hubspot\":{\"main\":[[{\"node\":\"create_contact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Search_Hubspot_Company_Domain\":{\"main\":[[{\"node\":\"If_find_4\",\"type\":\"main\",\"index\":0}]]},\"check_prospects_included_intent\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}],[{\"node\":\"splitJobOffers\",\"type\":\"main\",\"index\":0}]]},\"Search_Hubspot_Company_LinkedIn_ID\":{\"main\":[[{\"node\":\"If_find_1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Post a new Tweet to Discord", "output": "{\"id\":\"4\",\"meta\":{\"instanceId\":\"d03f56986123a126f8f06c2223d4901e7974bd2ef3101cfbe53609b64aa1a4dc\"},\"name\":\"Post a new Tweet to Discord\",\"tags\":[],\"nodes\":[{\"id\":\"d95bf515-e133-414c-acbf-cdcc70fd2432\",\"name\":\"run-every-1-min\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-880,600],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":1}]}},\"typeVersion\":1},{\"id\":\"4c3fe366-b77f-43b1-85de-a0099832cff0\",\"name\":\"setup\",\"type\":\"n8n-nodes-base.set\",\"position\":[-720,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"searchstring\",\"value\":\"n8n\"},{\"name\":\"webhookurl\",\"value\":\"https://discord.com/api/webhooks/xxxxxx/xxxxxx\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"082cc382-43ec-4479-9c73-406587f23164\",\"name\":\"format_created_at\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[-380,600],\"parameters\":{\"value\":\"={{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"created_at\\\"] }}\",\"options\":{},\"toFormat\":\"=YYYY MM DD HH:mm:ss\",\"dataPropertyName\":\"created_at_formated\"},\"typeVersion\":1},{\"id\":\"0e7e0b3c-6c6a-478d-a0e5-b64d179942cf\",\"name\":\"get_latest_15_tweets\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[-560,600],\"parameters\":{\"limit\":15,\"operation\":\"search\",\"searchText\":\"={{ $node[\\\"setup\\\"].json[\\\"setup_searchstring\\\"] }}\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":{\"id\":\"1\",\"name\":\"Twitter OAuth account\"}},\"typeVersion\":1},{\"id\":\"902a28a4-22e8-4607-a4b3-d13fa95398b5\",\"name\":\"get_current_time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[-220,600],\"parameters\":{\"value\":\"={{ Date() }}\",\"action\":\"calculate\",\"options\":{},\"duration\":1,\"timeUnit\":\"minutes\",\"operation\":\"subtract\",\"dataPropertyName\":\"current_s1min\"},\"typeVersion\":1},{\"id\":\"dbabb702-4c7d-4431-8306-1f3f69bb3263\",\"name\":\"format_current_s1min\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[-60,600],\"parameters\":{\"value\":\"={{ $node[\\\"get_current_time\\\"].json[\\\"current_s1min\\\"] }}\",\"options\":{},\"toFormat\":\"=YYYY MM DD HH:mm:ss\",\"dataPropertyName\":\"current_s1min_formated\"},\"typeVersion\":1},{\"id\":\"3dcd231c-33bc-46b2-83b5-54b9dfc275d5\",\"name\":\"check_if_tweeted_within_l1min\",\"type\":\"n8n-nodes-base.if\",\"position\":[120,600],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{ $node[\\\"format_created_at\\\"].json[\\\"tweet-date\\\"] }}\",\"value2\":\"={{ $node[\\\"format_current_s1min\\\"].json[\\\"current_s1min_formated\\\"] }}\"}]}},\"typeVersion\":1},{\"id\":\"a1c5aa27-7b43-473c-adfd-33cfcae5ecd4\",\"name\":\"create_post\",\"type\":\"n8n-nodes-base.set\",\"position\":[300,580],\"parameters\":{\"values\":{\"string\":[{\"name\":\"content\",\"value\":\"======\\nFrom: {{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"user\\\"][\\\"name\\\"] }} https://twitter.com/{{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"user\\\"][\\\"screen_name\\\"] }}\\nDate: {{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"created_at\\\"] }}\\nURL: https://twitter.com/{{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"user\\\"][\\\"id\\\"] }}/{{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"id\\\"] }}\\n---\\n {{ $node[\\\"get_latest_15_tweets\\\"].json[\\\"text\\\"] }}\\n---\\n==========\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"d185b6d8-e942-4475-a9f6-7237a2f65e07\",\"name\":\"post_to_discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[460,580],\"parameters\":{\"text\":\"={{ $node[\\\"create_post\\\"].json[\\\"content\\\"] }}\",\"options\":{},\"webhookUri\":\"={{ $node[\\\"setup\\\"].json[\\\"discord_webhookurl\\\"] }}\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"545fe8fc-57be-4a3a-b929-e8a0db483ec6\",\"connections\":{\"setup\":{\"main\":[[{\"node\":\"get_latest_15_tweets\",\"type\":\"main\",\"index\":0}]]},\"create_post\":{\"main\":[[{\"node\":\"post_to_discord\",\"type\":\"main\",\"index\":0}]]},\"run-every-1-min\":{\"main\":[[{\"node\":\"setup\",\"type\":\"main\",\"index\":0}]]},\"get_current_time\":{\"main\":[[{\"node\":\"format_current_s1min\",\"type\":\"main\",\"index\":0}]]},\"format_created_at\":{\"main\":[[{\"node\":\"get_current_time\",\"type\":\"main\",\"index\":0}]]},\"format_current_s1min\":{\"main\":[[{\"node\":\"check_if_tweeted_within_l1min\",\"type\":\"main\",\"index\":0}]]},\"get_latest_15_tweets\":{\"main\":[[{\"node\":\"format_created_at\",\"type\":\"main\",\"index\":0}]]},\"check_if_tweeted_within_l1min\":{\"main\":[[{\"node\":\"create_post\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "OpenAI GPT-3: Company Enrichment from website content", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Mine - OpenAI GPT-3: Company Enrichment from website content", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich company lists with OpenAI GPT-3", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "OpenAI GPT-3: Company Enrichment from website content", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Testing a template of a workflow", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Chat GPT 3 Workflow", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Target Account Enrichment", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert SQL table into Excel spreadsheet", "output": "{\"meta\":{\"instanceId\":\"dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3\"},\"nodes\":[{\"id\":\"f60e3d5f-4da5-4201-8c78-00f4f410b397\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[600,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"724f285b-723e-4452-81a6-c066c6b6a0e4\",\"name\":\"TableName\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"TableName\",\"value\":\"concerts2\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"637356f0-fcde-4555-982c-a28159ce6885\",\"name\":\"LoadMySQLData\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[960,300],\"parameters\":{\"query\":\"=SELECT * FROM {{ $json[\\\"TableName\\\"] }}\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"46\",\"name\":\"MySQL n8n articles\"}},\"typeVersion\":1},{\"id\":\"b3270629-35de-4746-aa51-293e7d20660d\",\"name\":\"SaveSpreadsheet\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1160,300],\"parameters\":{\"options\":{\"fileName\":\"={{ $node[\\\"TableName\\\"].json[\\\"TableName\\\"] }}.{{ $parameter[\\\"fileFormat\\\"] }}\",\"headerRow\":true,\"sheetName\":\"={{ $node[\\\"TableName\\\"].json[\\\"TableName\\\"] }}\"},\"operation\":\"toFile\",\"fileFormat\":\"xlsx\"},\"typeVersion\":1},{\"id\":\"a7d04632-f47a-40e5-986e-1acf0b0af7c7\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1100,157],\"parameters\":{\"width\":450,\"height\":305,\"content\":\"## Save SQL table as a binary XLSX file\\n### You can send it via e-mail, upload to the file storage or download on your computer.\\n### Just connect one or two extra n8n Nodes here!\"},\"typeVersion\":1}],\"connections\":{\"TableName\":{\"main\":[[{\"node\":\"LoadMySQLData\",\"type\":\"main\",\"index\":0}]]},\"LoadMySQLData\":{\"main\":[[{\"node\":\"SaveSpreadsheet\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"TableName\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test database ", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "test workflow ", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrichment ", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Test-workflow", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\"},\"nodes\":[{\"id\":\"f80aceed-b676-42aa-bf25-f7a44408b1bc\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[375,115],\"webhookId\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"parameters\":{\"path\":\"6f7b288e-1efe-4504-a6fd-660931327269\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"3b9ec913-0bbe-4906-bf8e-da352b556655\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[355,-25],\"parameters\":{\"width\":600,\"height\":280,\"content\":\"## Create a simple API endpoint\\n\\nIn this workflow we show how to create a simple API endpoint with `Webhook` and `Respond to Webhook` nodes\\n\\n\"},\"typeVersion\":1},{\"id\":\"9c36dae5-0700-450c-9739-e9f3eff31bfe\",\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[815,115],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"=The URL of the Google search query for the term \\\"{{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"first_name\\\"]}} {{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"last_name\\\"]}}\\\" is: {{$json[\\\"product\\\"]}}\"},\"typeVersion\":1},{\"id\":\"5a228fcb-78b9-4a28-95d2-d7c9fdf1d4ea\",\"name\":\"Create URL string\",\"type\":\"n8n-nodes-base.set\",\"position\":[595,115],\"parameters\":{\"values\":{\"string\":[{\"name\":\"product\",\"value\":\"=https://www.google.com/search?q={{$json[\\\"query\\\"][\\\"first_name\\\"]}}+{{$json[\\\"query\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"e7971820-45a8-4dc8-ba4c-b3220d65307a\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[355,275],\"parameters\":{\"width\":600,\"height\":220,\"content\":\"### How to use it\\n1. Execute the workflow so that the webhook starts listening\\n2. Make a test request by pasting, **in a new browser tab**, the test URL from the `Webhook` node and appending the following test at the end `?first_name=bob&last_name=dylan`\\n\\nYou will receive the following output in the new tab `The URL of the Google search query for the term \\\"bob dylan\\\" is: https://www.google.com/search?q=bob+dylan`\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Create URL string\",\"type\":\"main\",\"index\":0}]]},\"Create URL string\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "new flow for companies", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Check Bounce Google Account & Email Provider", "output": "{\"id\":\"49\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Check Email Provider\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"540eb1de-5727-4a69-a2d2-380d461506d4\",\"name\":\"IF mail provider=google\",\"type\":\"n8n-nodes-base.if\",\"position\":[880,560],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"extractEmailProvider\\\"].json[\\\"google\\\"]}}\",\"value2\":\"true\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"451dda2a-c68c-4f84-8e5d-27a5509074d5\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[660,800],\"webhookId\":\"f613b733-78bd-4e33-bd0f-93d826a0647a\",\"parameters\":{\"unit\":\"minutes\",\"amount\":10},\"typeVersion\":1},{\"id\":\"b5d98c90-2111-419a-ae4e-c400e420a559\",\"name\":\"CheckEmailProvider\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,560],\"parameters\":{\"url\":\"=https://dns.google/resolve?name={{$node[\\\"When Called By Another Workflow\\\"].json[\\\"domain\\\"]}}&type=MX\",\"options\":{}},\"typeVersion\":3},{\"id\":\"0badda7b-43ea-4fda-9c2d-deb6093758b6\",\"name\":\"extractEmailProvider\",\"type\":\"n8n-nodes-base.code\",\"position\":[700,560],\"parameters\":{\"jsCode\":\"const google = ['google']\\n\\n\\nreturn ({json:{google:!!$node[\\\"CheckEmailProvider\\\"].json[\\\"Answer\\\"]?.find(j =>j.data.includes('google')) }})\"},\"typeVersion\":1},{\"id\":\"8469c3a2-343d-4906-b3d4-4c2c96bb5743\",\"name\":\"prepareDataForGsheet\",\"type\":\"n8n-nodes-base.set\",\"position\":[340,800],\"parameters\":{\"values\":{\"string\":[{\"name\":\"contact\",\"value\":\"={{$node[\\\"EnrichPerson-Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$node[\\\"EnrichPerson-Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"date\",\"value\":\"={{new Date().toString()}}\"},{\"name\":\"statut\",\"value\":\"todo\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"dc77812b-b240-41d4-88b4-f6c7d3b793c8\",\"name\":\"insertToGSheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[520,800],\"parameters\":{\"key\":\"contact\",\"range\":\"A:D\",\"options\":{\"valueInputMode\":\"RAW\"},\"operation\":\"upsert\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"ecbdd02e-d8f8-45cf-9fd4-b8b7c6caa38d\",\"name\":\"CheckGSheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[800,800],\"parameters\":{\"range\":\"A:E\",\"options\":{},\"sheetId\":\"-M\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"insertToGSheets\\\"].json[\\\"date\\\"]}}\",\"dataStartRow\":\"1\",\"lookupColumn\":\"date\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"b360b814-565e-4cbf-b4b6-d8573c3a2975\",\"name\":\"IFCheckDone\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,800],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"done\",\"value2\":\"done\",\"operation\":\"notContains\"}]}},\"typeVersion\":1},{\"id\":\"290d8d12-bbf3-4d0f-9afb-beefb7061e93\",\"name\":\"When Called By Another Workflow\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"position\":[340,560],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"f4fdb7f4-738c-43f8-99c2-ab7ed8180bda\",\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"CheckGSheets\",\"type\":\"main\",\"index\":0}]]},\"IFCheckDone\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"CheckGSheets\":{\"main\":[[{\"node\":\"IFCheckDone\",\"type\":\"main\",\"index\":0}]]},\"insertToGSheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"CheckEmailProvider\":{\"main\":[[{\"node\":\"extractEmailProvider\",\"type\":\"main\",\"index\":0}]]},\"extractEmailProvider\":{\"main\":[[{\"node\":\"IF mail provider=google\",\"type\":\"main\",\"index\":0}]]},\"prepareDataForGsheet\":{\"main\":[[{\"node\":\"insertToGSheets\",\"type\":\"main\",\"index\":0}]]},\"IF mail provider=google\":{\"main\":[[{\"node\":\"prepareDataForGsheet\",\"type\":\"main\",\"index\":0}]]},\"When Called By Another Workflow\":{\"main\":[[{\"node\":\"CheckEmailProvider\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Tracking contacts' job changes to Salesforce V2", "output": "{\"meta\":{\"instanceId\":\"cfcf523e0c8c498776ae0b6a27a387f41fc3bf83fc905f5a93f8d0bdf4266c6f\"},\"nodes\":[{\"id\":\"2e0133e4-b3e7-4b04-99f4-820cd6b1d77f\",\"name\":\"LoneScale - GetJobChanges\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-1560,160],\"webhookId\":\"b3d01d9c-7351-4a2e-afa3-9ca06aab7a70\",\"parameters\":{\"path\":\"lonescalecontacttracking\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"542045be-1f2a-48cd-b8bd-356ecd23cd6e\",\"name\":\"changedCompanyTrue\",\"type\":\"n8n-nodes-base.if\",\"position\":[-820,160],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\",\"value2\":\"TRUE\"}],\"boolean\":[{\"value1\":\"={{ $json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\",\"value2\":\"={{ true }}\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"9bcab3ef-ac59-4647-9e7e-6164c9ae872c\",\"name\":\"companyLinkedinId\",\"type\":\"n8n-nodes-base.if\",\"position\":[-620,160],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"d3e4b961-c98c-451f-91f7-5e3efbefcbb1\",\"name\":\"newSalesforceAccount\",\"type\":\"n8n-nodes-base.if\",\"position\":[-180,160],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"0394b75b-8c7a-4176-a243-c2f4a95be4d0\",\"name\":\"personList\",\"type\":\"n8n-nodes-base.code\",\"position\":[2380,-340],\"parameters\":{\"jsCode\":\"const result = [];\\n\\nfor (const item of $input.all()) {\\n // Split the input data into individual items\\n const items = item.json.result.split(',').map(i => i.trim());\\n // Loop through each item\\n for (let i = 0; i < items.length; i += 3) {\\n // Check if there are at least three items left in the array\\n if (items.length - i < 3) {\\n break;\\n }\\n // Create a new data object to store the key/value pairs\\n const data = {};\\n // Split the item into key/value pairs\\n const parts1 = items[i].split(':');\\n const parts2 = items[i + 1].split(':');\\n const parts3 = items[i + 2].split(':');\\n // Set the key and value for the data object, stripping out any extra characters\\n data[\\\"name\\\"] = parts1[1].replace(/[\\\\[\\\\{\\\\]\\\\}\\\\\\\"]/g,'').trim();\\n data[parts2[0].replace(/[\\\\[\\\\{\\\\]\\\\}\\\\\\\"]/g,'').trim()] = parts2[1].replace(/[\\\\[\\\\{\\\\]\\\\}\\\\\\\"]/g,'').trim();\\n data[parts3[0].replace(/[\\\\[\\\\{\\\\]\\\\}\\\\\\\"]/g,'').trim()] = parts3[1].replace(/[\\\\[\\\\{\\\\]\\\\}\\\\\\\"]/g,'').trim();\\n // Push the data object to the result array\\n result.push(data);\\n }\\n}\\n\\nreturn result;\\n\"},\"typeVersion\":1},{\"id\":\"6851d628-5e18-4cd4-b4e9-894e3088c8df\",\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[2220,-340],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result\",\"value\":\"={{$json[\\\"choices\\\"][0][\\\"text\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"0fd94be8-0095-44d2-80db-2810ab3592ba\",\"name\":\"emailFinderEmail\",\"type\":\"n8n-nodes-base.if\",\"position\":[3000,-300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"status\\\"] }}\",\"value2\":\"undeliverable\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"d3d2d225-32d3-4833-b6dc-471962890989\",\"name\":\"intentType\",\"type\":\"n8n-nodes-base.code\",\"position\":[-1140,160],\"parameters\":{\"jsCode\":\"function intentType(str) {\\n // Create an empty array to store the labels\\n let type = [];\\n \\n // Check each label and push it to the array if it matches the input string\\n if (str.includes(\\\"directeur\\\") || str.includes(\\\"head\\\") || str.includes(\\\"ceo\\\") || str.includes(\\\"director\\\") || str.includes(\\\"founder\\\") || str.includes(\\\"coo\\\") || str.includes(\\\"cso\\\") || str.includes(\\\"cro\\\") || str.includes(\\\"chief\\\") || str.includes(\\\"managing director\\\") || str.includes(\\\"fondateur\\\") || str.includes(\\\"fundador\\\") || str.includes(\\\"chairman\\\") || str.includes(\\\"coo\\\")) {\\n type.push(\\\"New Hire - Decision Maker\\\");\\n } \\n if (str.includes(\\\"manager\\\") || str.includes(\\\"lead\\\") || str.includes(\\\"équipe\\\")) {\\n type.push(\\\"New Hire - Champion\\\");\\n } \\n \\n // Remove duplicates from the labels array\\n type = [...new Set(type)];\\n \\n // Return the array of labels\\n return type;\\n}\\n\\nvar date = new Date().toISOString();\\nvar day = new Date().getDay();\\nconst weekday = [\\\"Sunday\\\", \\\"Monday\\\", \\\"Tuesday\\\", \\\"Wednesday\\\", \\\"Thursday\\\", \\\"Friday\\\", \\\"Saturday\\\"];\\n\\nitems[0].json.date_today = date;\\nitems[0].json.day_today = weekday[day];\\n\\nfor (const item of $input.all()) {\\n const body = item.json.body || item.json;\\n \\n // Call the companySpecialization function and store the returned array of labels\\n let type = intentType(body.lonescale_job_title.toLowerCase());\\n \\n // Check if the array has more than one element\\n if (type.length > 1) {\\n // If the array has multiple elements, add them to the body object as a comma-separated string\\n body.IntentType = type.join(\\\", \\\");\\n } \\n if (type.length === 0) {\\n // If the array has only one element, add it to the body object as a single string\\n body.IntentType = \\\"New Hire - Other\\\";\\n }\\n else {\\n // If the array has only one element, add it to the body object as a single string\\n body.IntentType = type[0];\\n }\\n}\\n\\nreturn $input.all();\"},\"typeVersion\":1},{\"id\":\"efeabd37-00e9-4078-a12a-4b5ec59ba719\",\"name\":\"openAIemailfinder\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2020,-340],\"parameters\":{\"url\":\"https://api.openai.com/v1/completions\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={\\n\\\"model\\\": \\\"text-davinci-003\\\",\\n\\\"prompt\\\": \\\"(part 1) what is the email structure of the following email ? user: {{$json[\\\"Name\\\"]}} email: {{$json[\\\"Email\\\"]}}\\\\n (part 2) Build the email for the following users\\\\n user: {{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"]}}, contactId:{{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\\\\nStructure the result for (part 2) in Json as below\\\\n{user: , email: , contactId: }\\\",\\n\\\"temperature\\\": 0,\\n\\\"max_tokens\\\": 300,\\n\\\"top_p\\\": 1,\\n\\\"frequency_penalty\\\": 0,\\n\\\"presence_penalty\\\": 0\\n}\",\"sendBody\":true,\"specifyBody\":\"json\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"38\",\"name\":\"OpenAPI\"}},\"typeVersion\":3},{\"id\":\"290e5a84-ce77-4cbb-9cab-5fcf1685fa67\",\"name\":\"bouncerOpenAI\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2760,-340],\"parameters\":{\"url\":\"=https://api.usebouncer.com/v1/email/verify?email={{$json[\\\"email\\\"]}}&timeout=10\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"9\",\"name\":\"Bouncer\"}},\"typeVersion\":1},{\"id\":\"c7c26723-86f0-4107-b7d8-5658148264dd\",\"name\":\"contactValidEmail\",\"type\":\"n8n-nodes-base.if\",\"position\":[1740,-300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"c4e41443-da4a-4127-8e85-95e544d3b9d0\",\"name\":\"searchValidContact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1500,-300],\"parameters\":{\"query\":\"=SELECT Id, Name, Email FROM Contact WHERE Bouncer_status__c = 'deliverable' AND Email != '' AND AccountId = '{{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}' LIMIT 1\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"98090df9-bd6a-4948-bf9b-c040bbf91f54\",\"name\":\"prospectRecordType\",\"type\":\"n8n-nodes-base.if\",\"position\":[1700,-760],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"RecordTypeId\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"RecordTypeId\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"RecordTypeId\\\"] }}\",\"value2\":\"012IV0000005E5ZYAU\"}]}},\"typeVersion\":1},{\"id\":\"4acf1acd-50ec-4ea4-a404-0130258b7a22\",\"name\":\"accountPath\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1480,-880],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Disqualified\"},{\"value2\":\"Backlog\"},{\"output\":1,\"value2\":\"Approaching\"},{\"output\":1,\"value2\":\"Qualifying\"},{\"value2\":\"Opportunity\"}]},\"value1\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Account_path__c\\\"] }}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"ff57c9f0-9e59-4d9f-b05b-81ebb5cbccce\",\"name\":\"CreateIntent\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1940,-880],\"parameters\":{\"resource\":\"customObject\",\"customObject\":\"Intent__c\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\",\"fieldId\":\"Account__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"date_today\\\"] }}\",\"fieldId\":\"Creation_Date__c\"},{\"value\":\"Lonescale\",\"fieldId\":\"Source__c\"},{\"value\":\"=[{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"fieldId\":\"Name\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }} joined {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }} as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}.\\n\\nHe previously worked at {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }} [{{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"]}}] as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}.\",\"fieldId\":\"Description__c\"},{\"value\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"OwnerId\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"OwnerId\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"OwnerId\\\"] }}\",\"fieldId\":\"OwnerId\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}\",\"fieldId\":\"Type__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_country_code\\\"] }}\",\"fieldId\":\"Country__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\",\"fieldId\":\"Contact_1__c\"}]},\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"22c56df0-fdec-46f1-92e7-2c26068c9f06\",\"name\":\"CreateIntent1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1940,-600],\"parameters\":{\"resource\":\"customObject\",\"customObject\":\"Intent__c\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\",\"fieldId\":\"Account__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"date_today\\\"] }}\",\"fieldId\":\"Creation_Date__c\"},{\"value\":\"Lonescale\",\"fieldId\":\"Source__c\"},{\"value\":\"=[{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"fieldId\":\"Name\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }} joined {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }} as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}.\\n\\nHe previously worked at {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }} [{{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"]}}] as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}.\",\"fieldId\":\"Description__c\"},{\"value\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"OwnerId\\\"] }}\",\"fieldId\":\"OwnerId\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}\",\"fieldId\":\"Type__c\"},{\"value\":\"FR\",\"fieldId\":\"Country__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\",\"fieldId\":\"Contact_1__c\"}]},\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"95579895-525d-44e7-8a73-b79a9d9a9bc0\",\"name\":\"searchOwner\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2140,-880],\"parameters\":{\"userId\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"OwnerId\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"OwnerId\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"OwnerId\\\"] }}\",\"resource\":\"user\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"3f500684-4492-4fc9-abe8-18fe30cba884\",\"name\":\"Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[3500,-1080],\"parameters\":{\"channel\":\"captaindata_alerts\",\"blocksUi\":{\"blocksValues\":[{\"type\":\"section\",\"textUi\":{\"textValue\":{\"text\":\"=🔥 New intent Available for {{$node[\\\"searchOwner\\\"].json[\\\"Name\\\"]}}🔥\",\"type\":\"plainText\",\"emoji\":false}},\"blockId\":\"\",\"fieldsUi\":{\"fieldsValues\":[{\"text\":\"=*Account*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\\n*Path*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Account_path__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Account_path__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Account_path__c\\\"] }}\\n*Size*: {{ $node[\\\"searchAccountId\\\"].json[\\\"NB_of_Employee__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"NB_of_Employee__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"NB_of_Employee__c\\\"] }}\\n*Tier*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Company_Tier__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Company_Tier__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Company_Tier__c\\\"] }}\",\"type\":\"mrkwdn\",\"verbatim\":false}]},\"accessoryUi\":{}},{\"type\":\"section\",\"textUi\":{\"textValue\":{\"text\":\"=*Intent* : [{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"]}}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\\n*Contact* : {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\\n*Job Title*: {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\\n*Created Date* : {{ $node[\\\"intentType\\\"].json[\\\"date_today\\\"] }}\\n\\n@{{$node[\\\"ownerId\\\"].json[\\\"slackName\\\"]}}\",\"type\":\"mrkwdn\",\"verbatim\":false}},\"blockId\":\"\",\"fieldsUi\":{},\"accessoryUi\":{}},{\"elementsUi\":{\"elementsValues\":[{\"url\":\"=https://modjo.lightning.force.com/lightning/r/Account/{{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}/view\",\"text\":\"View Account in Salesforce\",\"type\":\"button\",\"emoji\":false,\"style\":\"danger\",\"value\":\"\",\"actionId\":\"6\",\"confirmUi\":{}},{\"url\":\"=https://modjo.lightning.force.com/lightning/r/Intent__c/{{ $node[\\\"CreateIntent\\\"].json[\\\"id\\\"] }}/view\",\"text\":\"View Intent in Salesforce\",\"type\":\"button\",\"emoji\":false,\"style\":\"primary\",\"value\":\"\",\"actionId\":\"7\",\"confirmUi\":{}}]}}]},\"attachments\":[],\"otherOptions\":{\"link_names\":true}},\"credentials\":{\"slackApi\":{\"id\":\"28\",\"name\":\"Slack account 2\"}},\"typeVersion\":1},{\"id\":\"3cc7288b-7ce2-49e0-9a92-21e06a87546f\",\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[3080,-880],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Marine\",\"operation\":\"contains\"},{\"value2\":\"Gabriel\",\"operation\":\"contains\"},{\"value2\":\"Constance\",\"operation\":\"contains\"},{\"value2\":\"Catalin\",\"operation\":\"contains\"},{\"value2\":\"Hugo\",\"operation\":\"contains\"},{\"value2\":\"Charles\",\"operation\":\"contains\"},{\"value2\":\"Adèle\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"Jorge\",\"operation\":\"contains\"},{\"output\":2,\"value2\":\"Dimitri\",\"operation\":\"contains\"},{\"value2\":\"Vincent\",\"operation\":\"contains\"}]},\"value1\":\"={{$node[\\\"searchOwner\\\"].json[\\\"Name\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"7013bbed-4de9-4363-a4fe-029d7c9049f8\",\"name\":\"Slack3\",\"type\":\"n8n-nodes-base.slack\",\"position\":[3500,-880],\"parameters\":{\"channel\":\"es-intent-bdr\",\"blocksUi\":{\"blocksValues\":[{\"type\":\"section\",\"textUi\":{\"textValue\":{\"text\":\"=🔥 New intent Available for {{$node[\\\"searchOwner\\\"].json[\\\"Name\\\"]}}🔥\",\"type\":\"plainText\",\"emoji\":false}},\"blockId\":\"\",\"fieldsUi\":{\"fieldsValues\":[{\"text\":\"=*Account*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\\n*Path*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Account_path__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Account_path__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Account_path__c\\\"] }}\\n*Size*: {{ $node[\\\"searchAccountId\\\"].json[\\\"NB_of_Employee__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"NB_of_Employee__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"NB_of_Employee__c\\\"] }}\\n*Tier*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Company_Tier__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Company_Tier__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Company_Tier__c\\\"] }}\",\"type\":\"mrkwdn\",\"verbatim\":false}]},\"accessoryUi\":{}},{\"type\":\"section\",\"textUi\":{\"textValue\":{\"text\":\"=*Intent* : [{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"]}}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\\n*Contact* : {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\\n*Job Title*: {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\\n*Created Date* : {{ $node[\\\"intentType\\\"].json[\\\"date_today\\\"] }}\\n\\n@{{$node[\\\"ownerId\\\"].json[\\\"slackName\\\"]}}\",\"type\":\"mrkwdn\",\"verbatim\":false}},\"blockId\":\"\",\"fieldsUi\":{},\"accessoryUi\":{}},{\"elementsUi\":{\"elementsValues\":[{\"url\":\"=https://modjo.lightning.force.com/lightning/r/Account/{{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}/view\",\"text\":\"View Account in Salesforce\",\"type\":\"button\",\"emoji\":false,\"style\":\"danger\",\"value\":\"\",\"actionId\":\"6\",\"confirmUi\":{}},{\"url\":\"=https://modjo.lightning.force.com/lightning/r/Intent__c/{{ $node[\\\"CreateIntent\\\"].json[\\\"id\\\"] }}/view\",\"text\":\"View Intent in Salesforce\",\"type\":\"button\",\"emoji\":false,\"style\":\"primary\",\"value\":\"\",\"actionId\":\"7\",\"confirmUi\":{}}]}}]},\"attachments\":[],\"otherOptions\":{\"link_names\":true}},\"credentials\":{\"slackApi\":{\"id\":\"28\",\"name\":\"Slack account 2\"}},\"typeVersion\":1},{\"id\":\"6fbcbd91-185e-461e-ba60-a96744006414\",\"name\":\"Slack4\",\"type\":\"n8n-nodes-base.slack\",\"position\":[3500,-700],\"parameters\":{\"channel\":\"de-intent-bdr\",\"blocksUi\":{\"blocksValues\":[{\"type\":\"section\",\"textUi\":{\"textValue\":{\"text\":\"=🔥 New intent Available for {{$node[\\\"searchOwner\\\"].json[\\\"Name\\\"]}}🔥\",\"type\":\"plainText\",\"emoji\":false}},\"blockId\":\"\",\"fieldsUi\":{\"fieldsValues\":[{\"text\":\"=*Account*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\\n*Path*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Account_path__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Account_path__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Account_path__c\\\"] }}\\n*Size*: {{ $node[\\\"searchAccountId\\\"].json[\\\"NB_of_Employee__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"NB_of_Employee__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"NB_of_Employee__c\\\"] }}\\n*Tier*: {{ $node[\\\"searchAccountId\\\"].json[\\\"Company_Tier__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Company_Tier__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Company_Tier__c\\\"] }}\",\"type\":\"mrkwdn\",\"verbatim\":false}]},\"accessoryUi\":{}},{\"type\":\"section\",\"textUi\":{\"textValue\":{\"text\":\"=*Intent* : [{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"]}}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\\n*Contact* : {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\\n*Job Title*: {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\\n*Created Date* : {{ $node[\\\"intentType\\\"].json[\\\"date_today\\\"] }}\\n\\n@{{$node[\\\"ownerId\\\"].json[\\\"slackName\\\"]}}\",\"type\":\"mrkwdn\",\"verbatim\":false}},\"blockId\":\"\",\"fieldsUi\":{},\"accessoryUi\":{}},{\"elementsUi\":{\"elementsValues\":[{\"url\":\"=https://modjo.lightning.force.com/lightning/r/Account/{{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}/view\",\"text\":\"View Account in Salesforce\",\"type\":\"button\",\"emoji\":false,\"style\":\"danger\",\"value\":\"\",\"actionId\":\"6\",\"confirmUi\":{}},{\"url\":\"=https://modjo.lightning.force.com/lightning/r/Intent__c/{{ $node[\\\"CreateIntent\\\"].json[\\\"id\\\"] }}/view\",\"text\":\"View Intent in Salesforce\",\"type\":\"button\",\"emoji\":false,\"style\":\"primary\",\"value\":\"\",\"actionId\":\"7\",\"confirmUi\":{}}]}}]},\"attachments\":[],\"otherOptions\":{\"link_names\":true}},\"credentials\":{\"slackApi\":{\"id\":\"28\",\"name\":\"Slack account 2\"}},\"typeVersion\":1},{\"id\":\"fb5daa7b-d8e2-4462-b266-db9a4b21c7ae\",\"name\":\"Gmail2\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[2340,-880],\"parameters\":{\"toList\":[\"={{$json[\\\"Email\\\"]}}\"],\"message\":\"hello\",\"subject\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Name\\\"] }} | New intent Available : {{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }} !\",\"resource\":\"message\",\"htmlMessage\":\"=

A new intent is available on {{ $node[\\\"searchAccountId\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Name\\\"] }}.

Details

\\n\\n

{{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }} joined {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }} as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}.\\n\\nHe previously worked at {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }} [{{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"]}}] as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}.

\\n

Go for it ! May the Modjo be with you.

\\n \\n\\\"\\\"\",\"includeHtml\":true,\"additionalFields\":{\"senderName\":\"\\\"Marketing Modjo\\\" \"}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"31\",\"name\":\"Gmail account\"}},\"typeVersion\":1},{\"id\":\"ae25fe7e-9bd7-498e-bc92-8bb6ab03be3c\",\"name\":\"searchOwner1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2140,-600],\"parameters\":{\"userId\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\",\"resource\":\"user\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"2f81b581-e69f-44e9-8fcf-19ee08729d74\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[2000,-60],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\",\"linkedin\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\",\"last_name\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\",\"first_name\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"26\",\"name\":\"Dropcontact account\"}},\"typeVersion\":1},{\"id\":\"c7d6fa2f-de93-4dc3-9211-b34931996376\",\"name\":\"bouncerDropcontact\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2480,-60],\"parameters\":{\"url\":\"=https://api.usebouncer.com/v1/email/verify?email={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}&timeout=10\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"9\",\"name\":\"Bouncer\"}},\"typeVersion\":1},{\"id\":\"ec0b7064-08f0-4505-b69b-bf740c3b01a0\",\"name\":\"UpdateContact1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[3840,-880],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"email\":\"={{ $node[\\\"bouncerOpenAI\\\"].json[\\\"email\\\"] }}{{ $node[\\\"bouncerDropcontact\\\"].json[\\\"email\\\"] }}{{ $node[\\\"bouncerLusha\\\"].json[\\\"email\\\"] }}\",\"owner\":\"={{ $node[\\\"searchOwner\\\"].json[\\\"Id\\\"] }}\",\"phone\":\"={{ $node[\\\"Lusha\\\"].json[\\\"data\\\"][\\\"phoneNumbers\\\"][0][\\\"internationalNumber\\\"] }}\",\"title\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"acconuntId\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"=[{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"fieldId\":\"Last_Intent_Name__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}\",\"fieldId\":\"Last_Intent_Type__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\",\"fieldId\":\"Last_Intent_Outreach_Keyword__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\",\"fieldId\":\"Last_Intent_Keyword__c\"}]}}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"c7477577-e27f-4834-84e5-31bac9f2ff07\",\"name\":\"ownerId\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2540,-880],\"parameters\":{\"range\":\"BDR!A:F\",\"options\":{},\"sheetId\":\"1RdifMRqPXKEOFOWs5DcM7K4gVbRiNjgnxLVlsou6UB4\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"searchOwner\\\"].json[\\\"Id\\\"]}}\",\"lookupColumn\":\"salesforceId\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":1},{\"id\":\"6f069fc4-2081-4d53-ae45-9466df4b69f6\",\"name\":\"Gmail3\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[2340,-600],\"parameters\":{\"toList\":[\"={{$json[\\\"Email\\\"]}}\"],\"message\":\"hello\",\"subject\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Name\\\"] }} | New intent Available : {{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }} !\",\"resource\":\"message\",\"htmlMessage\":\"=

A new intent is available on {{ $node[\\\"searchAccountId\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Name\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Name\\\"] }}.

Details

\\n\\n

{{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }} joined {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }} as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}.\\n\\nHe previously worked at {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }} [{{$node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"]}}] as a {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}.

\\n

Go for it ! May the Modjo be with you.

\\n \\n\\\"\\\"\",\"includeHtml\":true,\"additionalFields\":{\"senderName\":\"\\\"Marketing Modjo\\\" \"}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"31\",\"name\":\"Gmail account\"}},\"typeVersion\":1},{\"id\":\"1d30105d-6dda-4e57-9e3f-e7ac7fd9719a\",\"name\":\"dropcontactEmail\",\"type\":\"n8n-nodes-base.if\",\"position\":[2760,-60],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"status\\\"] }}\",\"value2\":\"undeliverable\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"b51b3b31-9f22-4d73-a8b3-1e4b38f6a1e9\",\"name\":\"UpdateContact\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[2900,-600],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"email\":\"={{ $node[\\\"bouncerOpenAI\\\"].json[\\\"email\\\"] }}{{ $node[\\\"bouncerDropcontact\\\"].json[\\\"email\\\"] }}{{ $node[\\\"bouncerLusha\\\"].json[\\\"email\\\"] }}\",\"owner\":\"={{ $node[\\\"searchOwner1\\\"].json[\\\"Id\\\"] }}\",\"phone\":\"={{ $node[\\\"Lusha\\\"].json[\\\"data\\\"][\\\"phoneNumbers\\\"][0][\\\"internationalNumber\\\"] }}\",\"title\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"acconuntId\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Id\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Id\\\"] }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"=[{{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"fieldId\":\"Last_Intent_Name__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"IntentType\\\"] }}\",\"fieldId\":\"Last_Intent_Type__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\",\"fieldId\":\"Last_Intent_Outreach_Keyword__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\",\"fieldId\":\"Last_Intent_Keyword__c\"}]}}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"bcd03215-5363-428c-8a1f-4c0a51afa579\",\"name\":\"sheetAllControl\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-940,-80],\"parameters\":{\"options\":{\"handlingExtraData\":\"insertInNewColumn\"},\"dataMode\":\"autoMapInputData\",\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"1964425514\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"fc9b556f-8bc3-480a-b671-492de1718011\",\"name\":\"sheetNoLInkedinId\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-760,1140],\"parameters\":{\"options\":{},\"dataMode\":\"autoMapInputData\",\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"472026849\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=472026849\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"59636b8a-64f8-4450-a4bd-6a18c6e78753\",\"name\":\"CreateIntent4\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-1840,500],\"parameters\":{\"resource\":\"customObject\",\"customObject\":\"Intent__c\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"={{ $node[\\\"searchAccount1\\\"].json[\\\"Id\\\"] }}\",\"fieldId\":\"Account__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"date_today\\\"] }}\",\"fieldId\":\"Creation_Date__c\"},{\"value\":\"Lonescale\",\"fieldId\":\"Source__c\"},{\"value\":\"=[New Position] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"fieldId\":\"Name\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }} became {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}.\\n\\nPrevious Position: {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}.\",\"fieldId\":\"Description__c\"},{\"value\":\"={{ $node[\\\"searchAccount1\\\"].json[\\\"OwnerId\\\"] }}\",\"fieldId\":\"OwnerId\"},{\"value\":\"=New Position\",\"fieldId\":\"Type__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_country_code\\\"] }}\",\"fieldId\":\"Country__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\",\"fieldId\":\"Contact_1__c\"}]},\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"c1251a5b-65be-4b65-a989-e887995d2a26\",\"name\":\"searchAccount1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-2020,500],\"parameters\":{\"query\":\"=SELECT Name, Id, Number_of_contacts__c, Account_path__c, RecordTypeId, OwnerId, Company_Tier__c, NB_of_Employee__c FROM Account WHERE Linkedin_Company_Id__c = '{{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}' LIMIT 1\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"13085034-0f6f-4a96-aab3-5ad2faef0788\",\"name\":\"UpdateContact4\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-1300,500],\"parameters\":{\"resource\":\"contact\",\"contactId\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"title\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"acconuntId\":\"={{$node[\\\"searchAccount1\\\"].json[\\\"Id\\\"]}}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"=[New Position] - {{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\",\"fieldId\":\"Last_Intent_Name__c\"},{\"value\":\"=New Position\",\"fieldId\":\"Last_Intent_Type__c\"},{\"value\":\"={{ $node[\\\"intentType\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\",\"fieldId\":\"Last_Intent_Outreach_Keyword__c\"},{\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\",\"fieldId\":\"Last_Intent_Keyword__c\"}]}}},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"912951a4-2102-4bf1-a9c5-c25e22ea3eac\",\"name\":\"sheetNewPosition\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-1480,500],\"parameters\":{\"options\":{},\"dataMode\":\"autoMapInputData\",\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"1620691729\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=1620691729\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"ce2bb2d1-7354-468d-967d-dc78a0b3f81d\",\"name\":\"changedPositionTrue\",\"type\":\"n8n-nodes-base.if\",\"position\":[-2200,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\",\"value2\":\"TRUE\"}],\"boolean\":[{\"value1\":\"={{ $json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\",\"value2\":\"={{ true }}\"}]}},\"typeVersion\":1},{\"id\":\"c6080ecd-3b4a-435a-84ea-0ac49311b54c\",\"name\":\"sheetNotExistingAccount\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-180,880],\"parameters\":{\"options\":{},\"dataMode\":\"autoMapInputData\",\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"269859113\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=269859113\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"69bb42d9-12f6-40ea-9c58-ccd425348395\",\"name\":\"sheetExistingAccount\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2900,-880],\"parameters\":{\"options\":{\"handlingExtraData\":\"insertInNewColumn\"},\"dataMode\":\"autoMapInputData\",\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/docs\\\\.google\\\\.com/spreadsheets\\\\/d\\\\/[0-9a-zA-Z\\\\-_]+\\\\/edit\\\\#gid=([0-9]+)\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"2a21402d-100e-43a1-af6c-f2aed7a021f2\",\"name\":\"sheetExistingAccount1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2720,-600],\"parameters\":{\"options\":{\"handlingExtraData\":\"insertInNewColumn\"},\"dataMode\":\"autoMapInputData\",\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/docs\\\\.google\\\\.com/spreadsheets\\\\/d\\\\/[0-9a-zA-Z\\\\-_]+\\\\/edit\\\\#gid=([0-9]+)\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"f7fc9ad0-aabf-431f-9cff-304508369a59\",\"name\":\"Lusha\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,-380],\"parameters\":{\"url\":\"=https://modjotothemoon.app.n8n.cloud/webhook/Lusha\",\"options\":{},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"Contact ID\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"Contact: Firstname\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"Contact: Lastname\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"Contact: Fullname\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"Account: Linkedin Id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"]}}\"},{\"name\":\"Account: Name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"d59e8e5c-267b-47e8-b0f9-53e5eb231868\",\"name\":\"Set9\",\"type\":\"n8n-nodes-base.set\",\"position\":[-1140,-80],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"=\"},{\"name\":\"owner_id\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"4165c987-57cf-47dc-9dcd-f4dfd99970e2\",\"name\":\"Set10\",\"type\":\"n8n-nodes-base.set\",\"position\":[-1660,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"=\"},{\"name\":\"owner_id\"},{\"name\":\"intent_id\",\"value\":\"={{ $node[\\\"CreateIntent4\\\"].json[\\\"id\\\"] }}\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"28773b0c-da58-4928-971b-53003785c993\",\"name\":\"Set11\",\"type\":\"n8n-nodes-base.set\",\"position\":[-940,1140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"=\"},{\"name\":\"owner_id\"},{\"name\":\"intent_id\",\"value\":\"=\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"8349075e-5b34-4fbd-b97c-9e0008e299a4\",\"name\":\"Set12\",\"type\":\"n8n-nodes-base.set\",\"position\":[-380,880],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"=\"},{\"name\":\"owner_id\"},{\"name\":\"intent_id\",\"value\":\"=\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"6aa34450-2957-48c5-942a-89e103bac536\",\"name\":\"Set13\",\"type\":\"n8n-nodes-base.set\",\"position\":[2720,-880],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"={{ $node[\\\"ownerId\\\"].json[\\\"salesforceName\\\"] }}\"},{\"name\":\"owner_id\",\"value\":\"={{ $node[\\\"ownerId\\\"].json[\\\"salesforceId\\\"] }}\"},{\"name\":\"intent_id\",\"value\":\"={{ $node[\\\"CreateIntent\\\"].json[\\\"id\\\"] }}\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"2a45fe04-1291-41d5-84a5-8c68e7c3ce84\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[2540,-600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"={{ $node[\\\"searchOwner1\\\"].json[\\\"Name\\\"] }}\"},{\"name\":\"owner_id\",\"value\":\"={{ $node[\\\"searchOwner1\\\"].json[\\\"Id\\\"] }}\"},{\"name\":\"intent_id\",\"value\":\"={{ $node[\\\"CreateIntent1\\\"].json[\\\"id\\\"] }}\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"7bb2cb16-8ee5-4610-80d2-33b445a8b3f1\",\"name\":\"bouncerLusha\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[940,-460],\"parameters\":{\"url\":\"=https://api.usebouncer.com/v1/email/verify?email={{ $json[\\\"data\\\"][\\\"emailAddresses\\\"][0][\\\"email\\\"] }}&timeout=10\",\"options\":{},\"authentication\":\"basicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"9\",\"name\":\"Bouncer\"}},\"typeVersion\":1},{\"id\":\"c0d00bf6-93bc-476c-b792-5ebe26e2cc85\",\"name\":\"dropcontactEmailExist\",\"type\":\"n8n-nodes-base.if\",\"position\":[2220,-60],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"7fd632a4-011c-4cd6-8307-bd0b98e5bcc2\",\"name\":\"lushaEmailExist\",\"type\":\"n8n-nodes-base.if\",\"position\":[700,-380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"data\\\"][\\\"emailAddresses\\\"][0][\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"033dcebd-9d05-4dae-991d-a6572da58144\",\"name\":\"lushaEmail\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,-460],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"status\\\"] }}\",\"value2\":\"undeliverable\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"f5c862c0-b94f-4a08-b161-2a852a9f4a66\",\"name\":\"Set4\",\"type\":\"n8n-nodes-base.set\",\"position\":[2440,180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"client_first_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_first_name\\\"] }}\"},{\"name\":\"client_last_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_last_name\\\"] }}\"},{\"name\":\"client_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_full_name\\\"] }}\"},{\"name\":\"client_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_url\\\"] }}\"},{\"name\":\"client_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_company_name\\\"] }}\"},{\"name\":\"client_email\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_email\\\"] }}\"},{\"name\":\"client_contact_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_contact_id\\\"] }}\"},{\"name\":\"client_account_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_account_id\\\"] }}\"},{\"name\":\"client_current_position\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_current_position\\\"] }}\"},{\"name\":\"client_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_location\\\"] }}\"},{\"name\":\"client_record_type\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_record_type\\\"] }}\"},{\"name\":\"client_linkedin_company_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_id\\\"] }}\"},{\"name\":\"client_linkedin_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"client_sales_navigator_company_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"client_linkedin_company_url\\\"] }}\"},{\"name\":\"lonescale_company_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}\"},{\"name\":\"lonescale_full_name\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_full_name\\\"] }}\"},{\"name\":\"lonescale_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_job_title\\\"] }}\"},{\"name\":\"lonescale_location\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_location\\\"] }}\"},{\"name\":\"lonescale_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_change_company\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_company\\\"] }}\"},{\"name\":\"lonescale_change_job_title\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_change_job_title\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_url\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}\"},{\"name\":\"lonescale_company_linkedin_id\",\"value\":\"={{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}\"},{\"name\":\"owner_name\",\"value\":\"={{ $node[\\\"searchOwner3\\\"].json[\\\"Name\\\"] }}\"},{\"name\":\"owner_id\",\"value\":\"={{ $node[\\\"searchOwner3\\\"].json[\\\"Id\\\"] }}\"},{\"name\":\"intent_id\",\"value\":\"={{ $node[\\\"CreateIntent3\\\"].json[\\\"id\\\"] }}\"},{\"name\":\"execution_id\",\"value\":\"={{$execution.id}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"af67c2d9-f4fc-47b4-9bc2-006c1361ef09\",\"name\":\"sheetMissingInfo\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2600,180],\"parameters\":{\"options\":{},\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"1001234205\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1dAau8ZknU4xSuMWyp9385yW-ffadEjSmsdxHrkwCPjA/edit#gid=1001234205\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"f52ec33a-13b9-49ef-93dd-05cbe0881389\",\"name\":\"searchAccountId\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-380,160],\"parameters\":{\"query\":\"=SELECT Name, Id, Number_of_contacts__c, Account_path__c, RecordTypeId, OwnerId, Company_Tier__c, NB_of_Employee__c FROM Account WHERE Linkedin_Company_Id__c = '{{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_id\\\"] }}' LIMIT 1\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"32f461df-e9cb-4061-9706-0a59720a4394\",\"name\":\"searchAccountURL\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-380,420],\"parameters\":{\"query\":\"=SELECT Name, Id, Number_of_contacts__c, Account_path__c, RecordTypeId, OwnerId, Company_Tier__c, NB_of_Employee__c FROM Account WHERE Linkedin_Company_URL__c LIKE '%{{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_linkedin_url\\\"] }}%' LIMIT 1\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"d029dc44-9165-4b02-9f8b-8de806f0229c\",\"name\":\"newSalesforceAccount1\",\"type\":\"n8n-nodes-base.if\",\"position\":[-180,420],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"76f77b41-6279-47e0-9c18-00fe545b3bd6\",\"name\":\"newSalesforceAccount2\",\"type\":\"n8n-nodes-base.if\",\"position\":[-180,640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Id\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"845e89bf-9200-41a3-94ac-21c2f530b951\",\"name\":\"searchAccountName\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[-380,640],\"parameters\":{\"query\":\"=SELECT Name, Id, Number_of_contacts__c, Account_path__c, RecordTypeId, OwnerId, Company_Tier__c, NB_of_Employee__c FROM Account WHERE Name LIKE '%{{ $node[\\\"LoneScale - GetJobChanges\\\"].json[\\\"body\\\"][\\\"lonescale_company_name\\\"] }}%' LIMIT 1\",\"resource\":\"search\"},\"credentials\":{\"salesforceOAuth2Api\":{\"id\":\"8\",\"name\":\"Salesforce account\"}},\"typeVersion\":1},{\"id\":\"ff51bf43-9edc-455a-86ff-a602d2b4b61c\",\"name\":\"#salesforceAccountContact\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"number of contact\",\"position\":[1040,-200],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $node[\\\"searchAccountId\\\"].json[\\\"Number_of_contacts__c\\\"] }}{{ $node[\\\"searchAccountURL\\\"].json[\\\"Number_of_contacts__c\\\"] }}{{ $node[\\\"searchAccountName\\\"].json[\\\"Number_of_contacts__c\\\"] }}\",\"value2\":1,\"operation\":\"largerEqual\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"bcb88437-4b45-45bd-8af3-4409095b1e21\",\"name\":\"openAIemailExist\",\"type\":\"n8n-nodes-base.if\",\"position\":[2540,-340],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"sheetExistingAccount1\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"personList\",\"type\":\"main\",\"index\":0}]]},\"Set4\":{\"main\":[[{\"node\":\"sheetMissingInfo\",\"type\":\"main\",\"index\":0}]]},\"Set9\":{\"main\":[[{\"node\":\"sheetAllControl\",\"type\":\"main\",\"index\":0}]]},\"Lusha\":{\"main\":[[{\"node\":\"lushaEmailExist\",\"type\":\"main\",\"index\":0}]]},\"Set10\":{\"main\":[[{\"node\":\"sheetNewPosition\",\"type\":\"main\",\"index\":0}]]},\"Set11\":{\"main\":[[{\"node\":\"sheetNoLInkedinId\",\"type\":\"main\",\"index\":0}]]},\"Set12\":{\"main\":[[{\"node\":\"sheetNotExistingAccount\",\"type\":\"main\",\"index\":0}]]},\"Set13\":{\"main\":[[{\"node\":\"sheetExistingAccount\",\"type\":\"main\",\"index\":0}]]},\"Gmail2\":{\"main\":[[{\"node\":\"ownerId\",\"type\":\"main\",\"index\":0}]]},\"Gmail3\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Slack1\":{\"main\":[[{\"node\":\"UpdateContact1\",\"type\":\"main\",\"index\":0}]]},\"Slack3\":{\"main\":[[{\"node\":\"UpdateContact1\",\"type\":\"main\",\"index\":0}]]},\"Slack4\":{\"main\":[[{\"node\":\"UpdateContact1\",\"type\":\"main\",\"index\":0}]]},\"Switch\":{\"main\":[[{\"node\":\"Slack1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack4\",\"type\":\"main\",\"index\":0}]]},\"ownerId\":{\"main\":[[{\"node\":\"Set13\",\"type\":\"main\",\"index\":0}]]},\"intentType\":{\"main\":[[{\"node\":\"changedCompanyTrue\",\"type\":\"main\",\"index\":0},{\"node\":\"Set9\",\"type\":\"main\",\"index\":0}]]},\"lushaEmail\":{\"main\":[[{\"node\":\"prospectRecordType\",\"type\":\"main\",\"index\":0}],[{\"node\":\"searchValidContact\",\"type\":\"main\",\"index\":0}]]},\"personList\":{\"main\":[[{\"node\":\"openAIemailExist\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"dropcontactEmailExist\",\"type\":\"main\",\"index\":0}]]},\"searchOwner\":{\"main\":[[{\"node\":\"Gmail2\",\"type\":\"main\",\"index\":0}]]},\"CreateIntent\":{\"main\":[[{\"node\":\"searchOwner\",\"type\":\"main\",\"index\":0}]]},\"bouncerLusha\":{\"main\":[[{\"node\":\"lushaEmail\",\"type\":\"main\",\"index\":0}]]},\"searchOwner1\":{\"main\":[[{\"node\":\"Gmail3\",\"type\":\"main\",\"index\":0}]]},\"CreateIntent1\":{\"main\":[[{\"node\":\"searchOwner1\",\"type\":\"main\",\"index\":0}]]},\"CreateIntent4\":{\"main\":[[{\"node\":\"Set10\",\"type\":\"main\",\"index\":0}]]},\"bouncerOpenAI\":{\"main\":[[{\"node\":\"emailFinderEmail\",\"type\":\"main\",\"index\":0}]]},\"searchAccount1\":{\"main\":[[{\"node\":\"CreateIntent4\",\"type\":\"main\",\"index\":0}]]},\"lushaEmailExist\":{\"main\":[[{\"node\":\"bouncerLusha\",\"type\":\"main\",\"index\":0}],[{\"node\":\"#salesforceAccountContact\",\"type\":\"main\",\"index\":0}]]},\"searchAccountId\":{\"main\":[[{\"node\":\"newSalesforceAccount\",\"type\":\"main\",\"index\":0}]]},\"dropcontactEmail\":{\"main\":[[{\"node\":\"prospectRecordType\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set4\",\"type\":\"main\",\"index\":0}]]},\"emailFinderEmail\":{\"main\":[[{\"node\":\"prospectRecordType\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"openAIemailExist\":{\"main\":[[{\"node\":\"bouncerOpenAI\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"searchAccountURL\":{\"main\":[[{\"node\":\"newSalesforceAccount1\",\"type\":\"main\",\"index\":0}]]},\"sheetNewPosition\":{\"main\":[[{\"node\":\"UpdateContact4\",\"type\":\"main\",\"index\":0}]]},\"companyLinkedinId\":{\"main\":[[{\"node\":\"searchAccountId\",\"type\":\"main\",\"index\":0}],[{\"node\":\"searchAccountURL\",\"type\":\"main\",\"index\":0}]]},\"contactValidEmail\":{\"main\":[[{\"node\":\"openAIemailfinder\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"openAIemailfinder\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"searchAccountName\":{\"main\":[[{\"node\":\"newSalesforceAccount2\",\"type\":\"main\",\"index\":0}]]},\"bouncerDropcontact\":{\"main\":[[{\"node\":\"dropcontactEmail\",\"type\":\"main\",\"index\":0}]]},\"changedCompanyTrue\":{\"main\":[[{\"node\":\"companyLinkedinId\",\"type\":\"main\",\"index\":0}],[{\"node\":\"changedPositionTrue\",\"type\":\"main\",\"index\":0}]]},\"prospectRecordType\":{\"main\":[[{\"node\":\"CreateIntent\",\"type\":\"main\",\"index\":0}],[{\"node\":\"CreateIntent1\",\"type\":\"main\",\"index\":0}]]},\"searchValidContact\":{\"main\":[[{\"node\":\"contactValidEmail\",\"type\":\"main\",\"index\":0}]]},\"changedPositionTrue\":{\"main\":[[{\"node\":\"searchAccount1\",\"type\":\"main\",\"index\":0}]]},\"newSalesforceAccount\":{\"main\":[[{\"node\":\"Lusha\",\"type\":\"main\",\"index\":0}],[{\"node\":\"searchAccountURL\",\"type\":\"main\",\"index\":0}]]},\"sheetExistingAccount\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"dropcontactEmailExist\":{\"main\":[[{\"node\":\"bouncerDropcontact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set4\",\"type\":\"main\",\"index\":0}]]},\"newSalesforceAccount1\":{\"main\":[[{\"node\":\"Lusha\",\"type\":\"main\",\"index\":0}],[{\"node\":\"searchAccountName\",\"type\":\"main\",\"index\":0}]]},\"newSalesforceAccount2\":{\"main\":[[{\"node\":\"Lusha\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set12\",\"type\":\"main\",\"index\":0}]]},\"sheetExistingAccount1\":{\"main\":[[{\"node\":\"UpdateContact\",\"type\":\"main\",\"index\":0}]]},\"#salesforceAccountContact\":{\"main\":[[{\"node\":\"searchValidContact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"LoneScale - GetJobChanges\":{\"main\":[[{\"node\":\"intentType\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Lucas openai", "output": "{\"id\":\"55\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"Try openai\",\"tags\":[{\"id\":\"6\",\"name\":\"Try\",\"createdAt\":\"2023-01-28T21:10:37.433Z\",\"updatedAt\":\"2023-01-28T21:10:37.433Z\"}],\"nodes\":[{\"id\":\"4449d3c0-61c3-4de7-931d-8dc252fa1d0f\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[420,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f384ebc8-460a-4512-a901-24eb1e3e363e\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1240,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"987e26d3-2a16-44e7-b71d-5044945aa722\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1420,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8647b5c2-7936-4bf5-8277-a2ea924692c8\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1740,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"14\",\"name\":\"OpenAi account\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"fafb4148-29be-4708-9515-c3c18d14146e\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2200,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"a4223226-2016-4c4d-8040-f5335b4b00c8\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[1580,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"9f5a3fc9-946c-4480-9edc-9707132f2387\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1900,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"855a3efd-5a96-4a6c-aaa6-242f8c05c1de\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[860,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"c8b00a06-8531-4d0f-9ef4-f8f2f73607f0\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[3120,560],\"webhookId\":\"75534915-db2f-4d81-9ae4-66d0e934e966\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1},{\"id\":\"a4977122-2d76-4709-bd6f-d8aff37196bc\",\"name\":\"set_airtable_build_request\",\"type\":\"n8n-nodes-base.set\",\"position\":[2600,160],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"open_ai_market\",\"value\":\"={{ $json[\\\"market\\\"] }}\"},{\"name\":\"open_ai_industry\",\"value\":\"={{ $json[\\\"industry\\\"] }}\"},{\"name\":\"open_ai_value_proposition\",\"value\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"name\":\"open_ai_target_audience\",\"value\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"f7b00161-1098-4999-9ebc-45e0397f311e\",\"name\":\"sync_airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[2780,160],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"table\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"=tbl3sCEBjfRrutfEd\"},\"fields\":[\"open_ai_market\",\"open_ai_industry\",\"open_ai_value_proposition\",\"open_ai_target_audience\"],\"options\":{},\"operation\":\"update\",\"application\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"=appHMCOuL30hmW1sS\"},\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable H\"}},\"typeVersion\":1},{\"id\":\"7bf0c779-c1b1-4cff-887e-25c178229137\",\"name\":\"get_list_companies_airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[640,300],\"parameters\":{\"limit\":10,\"table\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"=tbl3sCEBjfRrutfEd\"},\"operation\":\"list\",\"returnAll\":false,\"application\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"=appHMCOuL30hmW1sS\"},\"additionalOptions\":{\"fields\":[]}},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable H\"}},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"14dcb767-e3a1-4ff3-a2ee-209602cbc467\",\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"set_airtable_build_request\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"sync_airtable\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"set_airtable_build_request\":{\"main\":[[{\"node\":\"sync_airtable\",\"type\":\"main\",\"index\":0}]]},\"get_list_companies_airtable\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"get_list_companies_airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich your company lists with OpenAI GPT-3 ↓", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "lemlist-demo", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Enrich company lists with OpenAI GPT-3", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "New_Workflow", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Scrape European Clinical Trials Database of all clinical trials / (Eudra CT) ", "output": "{\"meta\":{\"instanceId\":\"5e94c4e840a537eafad41834dc1cdea87e7b992e4a38d15d50e7b95cebc2ce55\"},\"nodes\":[{\"id\":\"75626571-6642-4b86-9c8c-87e38559db22\",\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,220],\"parameters\":{},\"typeVersion\":1},{\"id\":\"0489a7cd-5f06-4345-9627-7e286db4df42\",\"name\":\"Fetch search results\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[40,220],\"parameters\":{\"url\":\"https://www.clinicaltrialsregister.eu/ctr-search/search\",\"options\":{\"timeout\":10000,\"allowUnauthorizedCerts\":true},\"sendQuery\":true,\"queryParameters\":{\"parameters\":[{\"name\":\"country\",\"value\":\"de\"},{\"name\":\"query\",\"value\":\"Schizophrenia OR PTSD\"},{\"name\":\"page\",\"value\":\"={{ $runIndex + 1 }}\"}]}},\"typeVersion\":3},{\"id\":\"f5b6eb2c-ad37-4354-9658-5d55f9486fa5\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[920,220],\"parameters\":{\"options\":{\"destinationFieldName\":\"result\"},\"fieldToSplitOut\":\"results\"},\"typeVersion\":1},{\"id\":\"b1c5bef5-9253-4dd1-8aee-a9e02354f2c7\",\"name\":\"Extract results\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[260,220],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"results\",\"cssSelector\":\"table.result\",\"returnArray\":true,\"returnValue\":\"html\"}]}},\"typeVersion\":1},{\"id\":\"74cb6c0f-ca96-4da1-84f6-5b481f218b53\",\"name\":\"Wrap in \",\"type\":\"n8n-nodes-base.set\",\"position\":[1140,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"result\",\"value\":\"=
{{ $json[\\\"result\\\"] }}
\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"f548564e-ed4c-49e4-b65b-87c6492d1176\",\"name\":\"Extract fields\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[1360,220],\"parameters\":{\"options\":{},\"dataPropertyName\":\"result\",\"extractionValues\":{\"values\":[{\"key\":\"Sponsor Name\",\"cssSelector\":\"td:contains(\\\"Sponsor Name:\\\")\"},{\"key\":\"Medical condition\",\"cssSelector\":\"td:contains(\\\"Medical condition:\\\")\"}]}},\"typeVersion\":1},{\"id\":\"3534929d-cd87-407c-8afe-8326de5e3640\",\"name\":\"Trim field names\",\"type\":\"n8n-nodes-base.set\",\"position\":[1560,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Sponsor Name\",\"value\":\"={{ $json[\\\"Sponsor Name\\\"].replace('Sponsor Name:', '').trim() }}\"},{\"name\":\"Medical condition\",\"value\":\"={{ $json[\\\"Medical condition\\\"].replace('Medical condition:', '').trim() }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"e1c9d521-b24a-4c17-9244-0f10205009c5\",\"name\":\"Full page?\",\"type\":\"n8n-nodes-base.if\",\"position\":[480,220],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.results.length }}\",\"value2\":20,\"operation\":\"equal\"}]}},\"typeVersion\":1},{\"id\":\"3020f91b-8d5f-4fa9-9ff6-d61fff5b57fc\",\"name\":\"Merge loop items\",\"type\":\"n8n-nodes-base.code\",\"position\":[700,220],\"parameters\":{\"jsCode\":\"let results = [],\\n i = 0;\\n\\ndo {\\n try {\\n results = results.concat($(\\\"Extract results\\\").all(0, i));\\n } catch (error) {\\n return results;\\n }\\n i++;\\n} while (true);\\n\"},\"typeVersion\":1},{\"id\":\"29a3a74f-b3b0-4caf-8e81-0fce69703ba1\",\"name\":\"Item Lists1\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2000,220],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"fieldName\":\"Sponsor\"}]}},\"typeVersion\":1},{\"id\":\"df6dc6e2-e16e-4df8-8252-32f41474a167\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1780,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Sponsor\",\"value\":\"={{$json[\\\"Sponsor Name\\\"]}}\"},{\"name\":\"Condition\",\"value\":\"={{$json[\\\"Medical condition\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c04fa57c-40ab-4eac-900a-d029e8370120\",\"name\":\"Transform Values\",\"type\":\"n8n-nodes-base.function\",\"position\":[2200,40],\"parameters\":{\"functionCode\":\"const unique_conditions = [...new Set(items.map(item => item.json.Condition))];\\nconst unique_sponsors = [...new Set(items.map(item => item.json.Sponsor))];\\n\\nlet results = [];\\n\\nunique_conditions.forEach(Condition => {\\n let result = {\\n json: {\\n conditions: Condition\\n }\\n };\\n unique_sponsors.forEach(Sponsor=> {\\n result.json[Sponsor] = items.filter(item => item.json.Condition == Condition && item.json.Sponsor == Sponsor).length;\\n })\\n results.push(result);\\n});\\n\\nreturn results;\"},\"typeVersion\":1},{\"id\":\"648b2a97-3206-426e-ad60-1c8f97927048\",\"name\":\"Transform Values1\",\"type\":\"n8n-nodes-base.function\",\"position\":[2220,420],\"parameters\":{\"functionCode\":\"const unique_sponsors = [...new Set(items.map(item => item.json.Sponsor))];\\nconst unique_conditions = [...new Set(items.map(item => item.json.Condition))];\\n\\n\\nlet results = [];\\n\\nunique_sponsors.forEach(Sponsor => {\\n let result = {\\n json: {\\n conditions: Sponsor\\n }\\n };\\n unique_conditions.forEach(Condition=> {\\n result.json[Condition] = items.filter(item => item.json.Sponsor == Sponsor && item.json.Condition == Condition).length;\\n })\\n results.push(result);\\n});\\n\\nreturn results;\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Item Lists1\",\"type\":\"main\",\"index\":0}]]},\"Full page?\":{\"main\":[[{\"node\":\"Fetch search results\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Merge loop items\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Wrap in \",\"type\":\"main\",\"index\":0}]]},\"Item Lists1\":{\"main\":[[{\"node\":\"Transform Values\",\"type\":\"main\",\"index\":0},{\"node\":\"Transform Values1\",\"type\":\"main\",\"index\":0}]]},\"Extract fields\":{\"main\":[[{\"node\":\"Trim field names\",\"type\":\"main\",\"index\":0}]]},\"Extract results\":{\"main\":[[{\"node\":\"Full page?\",\"type\":\"main\",\"index\":0}]]},\"Wrap in
\":{\"main\":[[{\"node\":\"Extract fields\",\"type\":\"main\",\"index\":0}]]},\"Merge loop items\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Trim field names\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Fetch search results\":{\"main\":[[{\"node\":\"Extract results\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Fetch search results\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Lonescale Hiring Signal - Send leads to lemlist and Hubspot", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"d2b5460a-b943-4803-85cb-6c6b5126d651\",\"name\":\"Lemlist - Add lead to campaign\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[1220,180],\"parameters\":{\"email\":\"={{ $json[\\\"properties\\\"][\\\"email\\\"][\\\"value\\\"] }}\",\"resource\":\"lead\",\"campaignId\":\"Hiring Signal Lonescale\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"properties\\\"][\\\"lastname\\\"][\\\"value\\\"] }}\",\"firstName\":\"={{ $json[\\\"properties\\\"][\\\"firstname\\\"][\\\"value\\\"] }}\",\"companyName\":\"={{ $json[\\\"properties\\\"][\\\"company\\\"][\\\"value\\\"] }}\",\"linkedinUrl\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_linkedin_url\\\"] }}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"32\",\"name\":\"lemlist.net\"}},\"typeVersion\":1},{\"id\":\"bc457c64-890b-4c82-999e-be61fad831df\",\"name\":\"HubSpot - Follow up task\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[980,480],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} is hiring a {{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_name\\\"] }}\\n\\nlink:{{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_link\\\"] }}\\ncontext: {{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"context_keywords\\\"] }} \"},\"resource\":\"engagement\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{ $node[\\\"HubSpot Update Account\\\"].json[\\\"companyId\\\"] || $node[\\\"HubSpot Create Account\\\"].json[\\\"companyId\\\"] }}\",\"contactIds\":\"={{ $json[\\\"vid\\\"] }}\"}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"3c28635f-85e0-402a-ae9c-167bea409f58\",\"name\":\"Attempted to contact?\",\"type\":\"n8n-nodes-base.if\",\"position\":[740,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"ATTEMPTED_TO_CONTACT\"}]}},\"typeVersion\":1},{\"id\":\"5aaab2a3-5e46-4045-a98d-2c2ff972fe5d\",\"name\":\"Lonescale - New Job Intent\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-840,320],\"webhookId\":\"fe426a62-eee5-4fed-bc74-45d4ac09b338\",\"parameters\":{\"path\":\"fe426a62-eee5-4fed-bc74-45d4ac09b338-lonescale\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"a6cc9db4-dfc2-4347-bd06-70e52ccd72e1\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[-620,320],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{ $json[\\\"body\\\"][\\\"people_company_name\\\"] }}\",\"website\":\"={{ $json[\\\"body\\\"][\\\"people_company_domain\\\"] }}\",\"last_name\":\"={{ $json[\\\"body\\\"][\\\"people_last_name\\\"] }}\",\"first_name\":\"={{ $json[\\\"body\\\"][\\\"people_first_name\\\"] }}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"1\",\"name\":\"Dropcontact account\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"3081104a-4725-4ea5-89ab-558a51f688de\",\"name\":\"HubSpot - Search company\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-400,320],\"parameters\":{\"limit\":1,\"domain\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_company_domain\\\"] }}\",\"options\":{\"properties\":[\"hs_lead_status\",\"numberofemployees\",\"description\",\"linkedin_company_page\"]},\"resource\":\"company\",\"operation\":\"searchByDomain\",\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"15dacc3f-934d-46ba-b42a-263ff81773a4\",\"name\":\"New Company?\",\"type\":\"n8n-nodes-base.if\",\"position\":[740,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"companyId\\\"] }}\",\"operation\":\"isEmpty\"},{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"NEW\"},{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"OPEN\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"e731c904-6ff2-4644-9502-4729514b6610\",\"name\":\"Is Customer?\",\"type\":\"n8n-nodes-base.if\",\"position\":[740,860],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"CUSTOMER\"}]}},\"typeVersion\":1},{\"id\":\"dd2974c7-34f2-4994-b4ac-abc882e6f7e8\",\"name\":\"Slack - Notify CS team on Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[980,840],\"parameters\":{\"text\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} Sales Team is hiring a {{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_buying_signals_title\\\"] }}\\n\\nMight be the right team to upsell our product. 🚀\",\"channel\":\"Customer Success - Customer News\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"5\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"fb38287c-9ff1-48d0-96d8-959764b417c7\",\"name\":\"HubSpot Update Account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[40,180],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{ $json[\\\"companyId\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"description\":\"={{ $json[\\\"properties\\\"][\\\"description\\\"][\\\"value\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_description\\\"] }}\",\"numberOfEmployees\":\"={{ $json[\\\"properties\\\"][\\\"numberofemployees\\\"][\\\"value\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_staff_count\\\"] }}\",\"linkedInCompanyPage\":\"={{ $json[\\\"properties\\\"][\\\"linkedin_company_page\\\"][\\\"value\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_linkedin_url\\\"] }} \"},\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"67ea9aa3-1910-4fac-a414-97982f3ac8a0\",\"name\":\"HubSpot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[280,320],\"parameters\":{\"resource\":\"contact\",\"operation\":\"search\",\"returnAll\":true,\"authentication\":\"oAuth2\",\"filterGroupsUi\":{\"filterGroupsValues\":[{\"filtersUi\":{\"filterValues\":[{\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"propertyName\":\"email\"}]}}]},\"additionalFields\":{\"properties\":[\"firstname\",\"lastname\",\"email\",\"jobtitle\",\"lemlistlinkedinurl\",\"company\"]}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"b31f171c-7ee7-40d0-a567-72e73e30f2c1\",\"name\":\"HubSpot Create Account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[40,460],\"parameters\":{\"name\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }}\",\"resource\":\"company\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"websiteUrl\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] }}\",\"description\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_description\\\"] }}\",\"yearFounded\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_founded_year\\\"] }}\",\"linkedInCompanyPage\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_linkedin_url\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"9d863162-e424-4ae6-86e8-59a02aee1a9a\",\"name\":\"Is Account in Hubspot\",\"type\":\"n8n-nodes-base.if\",\"position\":[-200,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"companyId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"8b4ac583-59f1-42fa-b6c3-4337bb7f0b0f\",\"name\":\"HubSpot - Create/Update Contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[460,320],\"parameters\":{\"email\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"jobTitle\":\"={{ $json[\\\"properties\\\"][\\\"jobtitle\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_current_position\\\"] }}\",\"lastName\":\"={{ $json[\\\"properties\\\"][\\\"lastname\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_last_name\\\"] }} \",\"firstName\":\"={{ $json[\\\"properties\\\"][\\\"firstname\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_first_name\\\"] }}\",\"companyName\":\"={{ $json[\\\"properties\\\"][\\\"company\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_company_name\\\"] }} \",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{ $json[\\\"properties\\\"][\\\"lemlistlinkedinurl\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_linkedin_url\\\"] }}\",\"property\":\"linkedin_url\"}]}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"4c5a2ebe-1032-4a73-8983-b9470ded9228\",\"name\":\"Slack - Notify sales team on Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[980,660],\"parameters\":{\"text\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} Sales Team is hiring a {{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_buying_signals_title\\\"] }}\\n\\nHubspot Record URL: https://app-eu1.hubspot.com/contacts/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"portalId\\\"] }}/company/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"companyId\\\"] }} \",\"channel\":\"Customer Success - Customer News\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"5\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"a3956aa9-5c76-481c-9005-01f7feef6281\",\"name\":\"Open Deal?\",\"type\":\"n8n-nodes-base.if\",\"position\":[740,680],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"OPEN_DEAL\"}]}},\"typeVersion\":1},{\"id\":\"a5a84d04-19d0-4adb-b811-0b796289e38c\",\"name\":\"email found\",\"type\":\"n8n-nodes-base.if\",\"position\":[980,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"1158d8e0-75a7-4c58-b98b-d61c40c76c74\",\"name\":\"HubSpot - Linkedin Outreach\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1220,360],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"=\",\"subject\":\"Hiring Signal - New lead to contact\"},\"resource\":\"engagement\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{ $node[\\\"HubSpot Update Account\\\"].json[\\\"companyId\\\"] || $node[\\\"HubSpot Create Account\\\"].json[\\\"companyId\\\"] }}\",\"contactIds\":\"={{ $json[\\\"vid\\\"] }}\"}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1}],\"connections\":{\"HubSpot\":{\"main\":[[{\"node\":\"HubSpot - Create/Update Contact\",\"type\":\"main\",\"index\":0}]]},\"Open Deal?\":{\"main\":[[{\"node\":\"Slack - Notify sales team on Slack\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"HubSpot - Search company\",\"type\":\"main\",\"index\":0}]]},\"email found\":{\"main\":[[{\"node\":\"Lemlist - Add lead to campaign\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HubSpot - Linkedin Outreach\",\"type\":\"main\",\"index\":0}]]},\"Is Customer?\":{\"main\":[[{\"node\":\"Slack - Notify CS team on Slack1\",\"type\":\"main\",\"index\":0}]]},\"New Company?\":{\"main\":[[{\"node\":\"email found\",\"type\":\"main\",\"index\":0}]]},\"Attempted to contact?\":{\"main\":[[{\"node\":\"HubSpot - Follow up task\",\"type\":\"main\",\"index\":0}]]},\"Is Account in Hubspot\":{\"main\":[[{\"node\":\"HubSpot Update Account\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HubSpot Create Account\",\"type\":\"main\",\"index\":0}]]},\"HubSpot Create Account\":{\"main\":[[{\"node\":\"HubSpot\",\"type\":\"main\",\"index\":0}]]},\"HubSpot Update Account\":{\"main\":[[{\"node\":\"HubSpot\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Search company\":{\"main\":[[{\"node\":\"Is Account in Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Lonescale - New Job Intent\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Create/Update Contact\":{\"main\":[[{\"node\":\"New Company?\",\"type\":\"main\",\"index\":0},{\"node\":\"Is Customer?\",\"type\":\"main\",\"index\":0},{\"node\":\"Attempted to contact?\",\"type\":\"main\",\"index\":0},{\"node\":\"Open Deal?\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get workflows affected by 0.214.3 migration", "output": "{\"meta\":{\"instanceId\":\"ef45cd7f45f7589c4c252d786d5d1a3233cdbfc451efa7e17688db979f2dc6ae\"},\"nodes\":[{\"id\":\"b83bfb2d-6d1b-4984-8fc4-6cf0a35309dc\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1380,960],\"parameters\":{\"width\":1074,\"height\":468,\"content\":\"# ⚠️ When and how to use this workflow\\n\\nIf you previously upgraded to n8n version `0.214.3`, some of your workflows might have accidentally been re-wired in the wrong way. This affected nodes which have more than 1 output, such as `If`, `Switch`, and `Compare Datasets`.\\n\\nThis workflow helps you identify potentially affected workflows and nodes that you should check.\\n\\n**❗️Please ensure to run this workflow as the instance owner❗️**\\n\\n1. Configure the \\\"Get all workflows\\\" node to use your n8n API key. (You can find/create your API key under \\\"Settings > n8n API\\\")\\n2. If you have community nodes installed that have more than 1 output, add them to the constant `MULTI_OUTPUT_NODES` in the \\\"Parse potentially affected workflows\\\" code node.\\n3. Activate the workflow\\n4. Visit `{YOUR_INSTANCE_URL}/webhooks/affected-workflows` from your browser\\n5. The report will list potentially affected workflows/nodes.\\n 1. The square brackets after the workflow name list the potentially affected nodes\\n 2. Inspect each reported workflow individually (you can click on a row to open it in a new tab)\\n 3. **Verify that the correct outbound connectors are used to connect subsequent nodes.**\"},\"typeVersion\":1},{\"id\":\"ba065db3-be3c-4694-afbd-c9095526adf6\",\"name\":\"Get all workflows\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[1540,1460],\"parameters\":{\"filters\":{}},\"credentials\":{\"n8nApi\":{\"id\":\"13\",\"name\":\"n8n account\"}},\"typeVersion\":1},{\"id\":\"0fdd3ac4-8c11-4c90-b613-fcbe479a71f6\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[1380,1460],\"webhookId\":\"9f6c90b5-1d0a-4dca-8009-2ee39a4f8002\",\"parameters\":{\"path\":\"affected-workflows\",\"options\":{\"rawBody\":false,\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/html; charset=utf-8\"}]}},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"88725f34-678a-4127-b163-368ab2fc7b39\",\"name\":\"Parse potentially affected workflows\",\"type\":\"n8n-nodes-base.code\",\"position\":[1880,1460],\"parameters\":{\"jsCode\":\"// Define an array of objects representing node types that have multiple outputs.\\n// Each object specifies the node type and the number of outputs it has.\\nconst MULTI_OUTPUT_NODES = [\\n { type: 'n8n-nodes-base.compareDatasets', outputs: 4 }, \\n { type: 'n8n-nodes-base.switch', outputs: 4}, \\n { type: 'n8n-nodes-base.if', outputs: 2}\\n]\\n\\n// Initialize an empty array to store the affected workflows.\\nconst affectedWorkflows = [];\\n\\n// Loop through each item in the $input array.\\nfor (const item of $input.all()) {\\n // Get the workflow data from the item.\\n const workflowData = item.json;\\n\\n const nodes = workflowData.nodes;\\n const connections = workflowData.connections;\\n\\n // Initialize an empty array to store the potentially affected connections.\\n const potentiallyAffectedNodes = [];\\n\\n for (const connectionName of Object.keys(connections)) {\\n const connection = connections[connectionName];\\n // Match connection by its name to get the node data\\n const connectionNode = nodes.find(node => node.name === connectionName);\\n\\n // Check if the connection node is a multi-output node.\\n const matchedMultiOutputNode = MULTI_OUTPUT_NODES.find(n => n.type === connectionNode.type);\\n if(matchedMultiOutputNode) {\\n const connectedOutputs = connection.main.filter(c => c && c.length > 0);\\n\\n // Check if the connection has empty outputs.\\n const hasEmptyOutputs = connectedOutputs.length < matchedMultiOutputNode.outputs;\\n\\n // If there are no connected outputs, skip this connection, it couldn't been affected by the migration\\n if(connectedOutputs.length === 0) continue;\\n\\n // If the connection has empty outputs, it might have been affected by the wrong connections migration\\n // which filtered-out empty indexes\\n if(hasEmptyOutputs) potentiallyAffectedNodes.push(connectionName);\\n }\\n }\\n\\n if(potentiallyAffectedNodes.length > 0) {\\n affectedWorkflows.push(\\n { \\n workflowId: workflowData.id, \\n workflowName: workflowData.name,\\n active: workflowData.active, \\n potentiallyAffectedNodes\\n }\\n )\\n }\\n}\\n\\nreturn {workflows: affectedWorkflows};\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"a2324a53-da62-4386-8c86-4d85ffb228b4\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1880,1620],\"parameters\":{\"width\":236,\"height\":194,\"content\":\"# 👆\\n\\nIn case you have community nodes installed, add them to `MULTI_OUTPUT_NODES`\"},\"typeVersion\":1},{\"id\":\"019f564b-edd4-40be-97f5-f1b1cf433005\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1540,1620],\"parameters\":{\"width\":208,\"height\":197,\"content\":\"# 👆\\n\\nConfigure this node to use your n8n API credential\"},\"typeVersion\":1},{\"id\":\"9fa255a8-8e2d-4e3f-ad83-d56b69066e67\",\"name\":\"Generate Report\",\"type\":\"n8n-nodes-base.html\",\"position\":[2200,1460],\"parameters\":{\"html\":\"\\n\\n\\n\\n\\n \\n n8n workflows report\\n\\n\\n
\\n

Affected workflows:

\\n
    \\n
    \\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"7923de27-9d69-4ad2-a6e1-dc061c9e8e8f\",\"name\":\"Serve HTML Report\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[2360,1460],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/html; charset=utf-8\"}]}},\"respondWith\":\"text\",\"responseBody\":\"={{ $node[\\\"Generate Report\\\"].parameter[\\\"html\\\"] }}\\n\"},\"typeVersion\":1},{\"id\":\"fd63ade5-c7b4-43d5-9849-79bb9aa8dca3\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2360,1620],\"parameters\":{\"width\":451,\"height\":194,\"content\":\"# 👆\\n\\nFind the generated report at `{YOUR_INSTANCE_URL}/webhooks/affected-workflows`\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Get all workflows\",\"type\":\"main\",\"index\":0}]]},\"Generate Report\":{\"main\":[[{\"node\":\"Serve HTML Report\",\"type\":\"main\",\"index\":0}]]},\"Get all workflows\":{\"main\":[[{\"node\":\"Parse potentially affected workflows\",\"type\":\"main\",\"index\":0}]]},\"Parse potentially affected workflows\":{\"main\":[[{\"node\":\"Generate Report\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Stuffaoeuaoeu", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Clean Names, Job Titles, and Company Names", "output": "{\"id\":\"89\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"Clean Names, Job Titles, and Company Names\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"cbc63aa4-3f31-4258-a250-a5a2192abd79\",\"name\":\"Execute Workflow Trigger\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"position\":[360,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"00b2ab0c-8e15-474e-b192-407b47bd4e8a\",\"name\":\"split_in_batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[560,320],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"d9f460cf-bdce-4e13-b566-ce99b12ef4d0\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[740,320],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const formatCompanyName = (name) => {\\n if (name.match(/-|–/)) {\\n return name.split(/-|–/)?.[1].length > 5? name.split(/-|–/)?.[0]?.trim() : name?.trim()\\n }\\n return name\\n }\\n\\nconst capitalizeFirst = (word) => {\\n if(!word) return \\\"\\\"\\n if (word.match(/\\\\s/)) {\\n return word.split(/\\\\s/).map(w => w.toLowerCase().replace(/^\\\\w/, (c) => c.toUpperCase())).join(' ')\\n }\\n return word.toLowerCase().replace(/^\\\\w/, (c) => c.toUpperCase());\\n}\\n\\n const full_name_clean = $input.item.json.fields.full_name?.replace(/[^A-zÀ-ú|\\\\-|\\\\.|\\\\s]/g, '')?.replace(/\\\\s\\\\s+/g, ' ')?.trim(); \\n const first_name_clean = capitalizeFirst(full_name_clean.split(/\\\\s/)?.[0]?.trim());\\n const last_name_clean = capitalizeFirst(full_name_clean.split(/\\\\s/)?.[1]?.trim());\\n const job_title_clean = capitalizeFirst($input.item.json.fields.job_title?.replace(/[^A-zÀ-ú|\\\\-|\\\\.|\\\\s]/g, '')?.replace(/\\\\s\\\\s+/g, ' ')?.trim());\\n const company_name_clean = formatCompanyName($input.item.json.fields.company_name?.split('(')?.[0])?.replace(/[^A-zÀ-ú|\\\\-|\\\\.|\\\\s]/g, '')?.replace(/\\\\s\\\\s+/g, ' ')?.trim();\\n const current_company_clean = formatCompanyName($input.item.json.fields.current_company?.split('(')?.[0])?.replace(/[^A-zÀ-ú|\\\\-|\\\\.|\\\\s]/g, '')?.replace(/\\\\s\\\\s+/g, ' ')?.trim();\\n \\n return ({json:{...$input.item.json,full_name_clean, first_name_clean, last_name_clean, job_title_clean,company_name_clean, current_company_clean }})\"},\"typeVersion\":1},{\"id\":\"ed85b340-f90c-428e-86ed-acd41516c564\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[920,320],\"parameters\":{\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"f544fc89-124d-446d-824a-197553a85c8b\",\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]},\"Execute Workflow Trigger\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Reddit AI digest", "output": "{\"meta\":{\"instanceId\":\"cb484ba7b742928a2048bf8829668bed5b5ad9787579adea888f05980292a4a7\"},\"nodes\":[{\"id\":\"d9bae984-2ce7-4f6b-ab53-527ac9dfea3d\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[680,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"32ecf73c-b6e9-4bd6-9ecc-d82c4c50d7b5\",\"name\":\"Reddit\",\"type\":\"n8n-nodes-base.reddit\",\"position\":[880,320],\"parameters\":{\"keyword\":\"n8n\",\"location\":\"allReddit\",\"operation\":\"search\",\"additionalFields\":{\"sort\":\"new\"}},\"credentials\":{},\"typeVersion\":1},{\"id\":\"4b560620-a101-4566-b066-4ce3f44d8b0c\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[120,180],\"parameters\":{\"width\":507.1052631578949,\"height\":210.99380804953552,\"content\":\"## What this workflow does\\n✔︎ 1) Get posts from reddit that might be about n8n\\n - Filter for the most relevant posts (posted in last 7 days and more than 5 upvotes and is original content)\\n\\n✔︎ 2) Check if the post is actually about n8n\\n\\n✔︎ 3) if it is, categorise with OpenAi.\\n\"},\"typeVersion\":1},{\"id\":\"f3be9af5-b4ff-4f4e-a726-fc05fab94521\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1260,320],\"parameters\":{\"values\":{\"number\":[{\"name\":\"upvotes\",\"value\":\"={{ $json.ups }}\"},{\"name\":\"subredditSize\",\"value\":\"={{ $json.subreddit_subscribers }}\"}],\"string\":[{\"name\":\"selftextTrimmed\",\"value\":\"={{ $json.selftext.substring(0,500) }}\"},{\"name\":\"subreddit\",\"value\":\"={{ $json.subreddit }}\"},{\"name\":\"date\",\"value\":\"={{ DateTime.fromSeconds($json.created).toLocaleString() }}\"},{\"name\":\"url\",\"value\":\"={{ $json.url }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"b1dbf78f-c7c6-4ab7-a957-78d58c5e13e3\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1060,320],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.ups }}\",\"value2\":\"=5\",\"operation\":\"largerEqual\"}],\"string\":[{\"value1\":\"={{ $json.selftext }}\",\"operation\":\"isNotEmpty\"}],\"dateTime\":[{\"value1\":\"={{ DateTime.fromSeconds($json.created).toISO() }}\",\"value2\":\"={{ $today.minus({days: 7}).toISO() }}\"}]}},\"typeVersion\":1},{\"id\":\"a3aa9e43-a824-4cc1-b4e6-d41a2e8e56cd\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[120,660],\"parameters\":{\"width\":504.4736842105267,\"height\":116.77974205725066,\"content\":\"## Drawbacks\\n🤔 Workflow only considers first 500 characters of each reddit post. So if n8n is mentioned after this amount, it won't register as being a post about n8n.io.\"},\"typeVersion\":1},{\"id\":\"b3d566aa-1645-4c2c-9704-15aa2e42bb12\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1880,340],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.choices[0].text }}\",\"value2\":\"No\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"0ad54272-08b9-46d4-8e6a-1fb55a92d3e4\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1680,520],\"parameters\":{\"mode\":\"combine\",\"options\":{\"fuzzyCompare\":false,\"includeUnpaired\":true},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"288f53cc-0e53-4683-ac0e-debe0a3691b8\",\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2340,540],\"parameters\":{\"mode\":\"combine\",\"options\":{\"fuzzyCompare\":false,\"includeUnpaired\":true},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"46280db5-e4b0-4108-958a-763b6410caa0\",\"name\":\"SetFinal\",\"type\":\"n8n-nodes-base.set\",\"position\":[2560,540],\"parameters\":{\"values\":{\"number\":[{\"name\":\"upvotes\",\"value\":\"={{ $json.upvotes }}\"},{\"name\":\"subredditSize\",\"value\":\"={{ $json.subredditSize }}\"}],\"string\":[{\"name\":\"subreddit\",\"value\":\"={{ $json.subreddit }}\"},{\"name\":\"bulletSummary\",\"value\":\"={{ $json.text }}\"},{\"name\":\"date\",\"value\":\"={{ $json.date }}\"},{\"name\":\"url\",\"value\":\"={{ $json.url }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"ac8c4847-4d73-4dce-9543-a199e8b11b51\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[120,400],\"parameters\":{\"width\":507.1052631578949,\"height\":247.53869969040255,\"content\":\"## Next steps\\n* Improve OpenAI Summary node prompt to return cleaner summaries.\\n* Extend to **more platforms/sources** - e.g. it would be really cool to monitor larger slack communities in this way. \\n* Do some classification on type of user to highlight users likely to be in our **ICP**.\\n* Separate a list of data sources (reddit, twitter, slack, discord etc.), extract messages from there and have them go to a **sub workflow for classification and summarisation.**\"},\"typeVersion\":1},{\"id\":\"12ab5ba4-d24d-4fa1-a0d1-d1e81e2d5dee\",\"name\":\"OpenAI Summary\",\"type\":\"n8n-nodes-base.openAi\",\"notes\":\"A one sentence summary of what the post is about.\",\"disabled\":true,\"position\":[2160,160],\"parameters\":{\"input\":\"={{ $json.selftextTrimmed }}\",\"options\":{\"temperature\":0.3},\"operation\":\"edit\",\"instruction\":\"Summarise what this is talking about in a meta way less than 20 words. Ignore punctuation in your summary and return a short, human readable summary.\"},\"credentials\":{},\"typeVersion\":1},{\"id\":\"e303a1aa-ee93-4f8f-b834-19aa8da7fe95\",\"name\":\"OpenAI Classify\",\"type\":\"n8n-nodes-base.openAi\",\"notes\":\"Is the post about n8n?\",\"position\":[1460,320],\"parameters\":{\"prompt\":\"=Decide whether a reddit post is about n8n.io, a workflow automation low code tool that can be self-hosted, or not.\\nReddit Post: {{ $json.selftextTrimmed }}\\nAbout n8n?: Yes/No\",\"options\":{\"maxTokens\":32},\"simplifyOutput\":false},\"credentials\":{},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"f56cb8b6-4c28-448e-b259-8946ffc4c1f7\",\"name\":\"OpenAI Summary Backup\",\"type\":\"n8n-nodes-base.openAi\",\"notes\":\"A one sentence summary of what the post is about.\",\"position\":[2160,340],\"parameters\":{\"prompt\":\"=Summarise what this is talking about in a meta way in only 1 sentence.\\n\\n {{ $json.selftextTrimmed }}\",\"options\":{\"maxTokens\":128}},\"credentials\":{},\"typeVersion\":1},{\"id\":\"d1eacbf2-9cc8-482d-a7d2-34c351f20871\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[640,520],\"parameters\":{\"width\":843.411496498402,\"height\":258.676790119369,\"content\":\"## What we learned\\n- 🪶 **Writing prompts**: small changes in the type of prompt result in very different results. e.g. for Summarising OpenAI would use multiple sentences even if we asked it to use only 1. We got better results by following OpenAI's documentation.\\n - We could make OpenAI node easier to work with for new users by the node inputs being oriented not to sending parameters to api but by following [their suggestions](https://platform.openai.com/docs/guides/completion/prompt-design) - e.g. have a field for expected output format rather than just for prompt.\\n- ↕️ **Changing the max_tokens parameter** drastically changes results - sometimes making it smaller even improves results (e.g. when you want a yes/no response in the OpenAI Classify node). In their [docs](https://platform.openai.com/docs/guides/completion/inserting-text) they recommend using max_tokens>256 but [n8n by default](https://community.n8n.io/t/openai-result-not-complete/21533) uses max_tokens=16. We should probably update this.\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[null,[{\"node\":\"OpenAI Summary Backup\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Set\":{\"main\":[[{\"node\":\"OpenAI Classify\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Merge\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"SetFinal\",\"type\":\"main\",\"index\":0}]]},\"Reddit\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Classify\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Summary Backup\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Reddit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Find ICP from Job Title - LoneScale Template", "output": "{\"id\":\"94\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"Find ICP from Job Title - LoneScale Template\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"9b7b7728-3d57-4670-af9c-83361ed9bde1\",\"name\":\"Execute Workflow Trigger\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"position\":[100,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"2e98e181-d178-484f-ab79-8bda713ae5cc\",\"name\":\"split_in_batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[500,320],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"f0cbf664-9012-4edd-a0bb-4c61d157f036\",\"name\":\"Lvl & intent\",\"type\":\"n8n-nodes-base.code\",\"position\":[760,320],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobtitle = $input.item.json.fields.job_title\\nconst levels = {\\n FR: {\\n Supervisor: {\\n name: [\\n 'président',\\n 'president',\\n 'VP',\\n 'Vice president',\\n 'Vice président',\\n 'Vice présidente',\\n 'Associé',\\n ],\\n acronym: ['DG'],\\n },\\n Director: {\\n name: ['Directeur', 'Directrice'],\\n acronym: [''],\\n },\\n Founder: {\\n name: ['fondateur',\\n 'cofondateur'],\\n acronym: [''],\\n },\\n Manager: {\\n name: ['Responsable', 'chef', 'chargé'],\\n acronym: [''],\\n },\\n Intern: {\\n name: ['stagiaire', 'stage', 'alternant', 'apprenti'],\\n acronym: [''],\\n },\\n },\\n EN: {\\n Supervisor: {\\n name: [\\n 'general director',\\n 'partner',\\n 'president',\\n 'VP',\\n 'Vice president',\\n 'chief',\\n ],\\n acronym: [\\n 'GD',\\n 'COO',\\n 'CRO',\\n 'CFO',\\n 'CCO',\\n 'CEO',\\n 'CTO',\\n 'CPO',\\n 'CDO',\\n 'CISO',\\n 'CGO',\\n 'CLO',\\n ],\\n },\\n Founder: {\\n name: ['founder',\\n 'co-founder',\\n 'cofounder'],\\n acronym: [''],\\n },\\n Director: {\\n name: ['Director', 'Head'],\\n acronym: [''],\\n },\\n Manager: {\\n name: ['Manager', 'Lead'],\\n acronym: [''],\\n },\\n Intern: {\\n name: ['intern', 'internship', 'apprentice', 'apprenticeship'],\\n acronym: [''],\\n },\\n },\\n};\\n\\nconst departments = {\\n FR: {\\n Administrative: ['Administratif'],\\n 'Sales': [\\n 'développement',\\n 'commercial',\\n 'agence',\\n 'business unit',\\n ],\\n 'Revenue': [''],\\n 'CRM': [''],\\n 'Procurment': ['achat'],\\n Compliance: ['Conformité', 'assurance qualité'],\\n 'Customer Care': ['expérience client', 'service client'],\\n Design: ['design'],\\n Executive: [\\n 'Président',\\n 'directeur général',\\n 'directeur general',\\n 'fondateur',\\n 'cofondateur',\\n 'Associé',\\n ],\\n 'Finance': [\\n 'expert-comptable',\\n 'expert comptable',\\n 'paie',\\n 'comptable',\\n 'financier', 'administratif et financier',\\n ],\\n 'Human Resources': ['DRH', 'RRH', 'RH', 'ressources humaines'],\\n Legal: ['Avocat', 'Juridique', 'Propriété intellectuelle'],\\n 'Growth outbound': [''],\\n 'Marketing': [''],\\n 'Marketing Else': ['stratégie de marque','Communications', 'contenu'],\\n Operations: ['opérations'],\\n Recruitment: ['recrutement'],\\n Tech: ['données', 'ingénieur données','numérique', 'DSI', \\\"des Systèmes d'Information\\\",'Produit','sécurité web'],\\n Supply: ['logistique'],\\n },\\n EN: {\\n Administrative: ['Administrative', 'office'],\\n 'Sales': [\\n 'CSO',\\n 'commercial',\\n 'ventes',\\n 'sales',\\n 'country',\\n 'business',\\n 'revenue',\\n 'sdr',\\n 'bdr',\\n 'account',\\n ],\\n 'Revenue': [\\n 'CRO',\\n 'revenue',\\n ],\\n 'Procurment': ['purchase', 'purchasing'],\\n Compliance: ['CCO', 'Compliance', 'Quality assurance'],\\n 'Customer Care': [\\n 'customer',\\n 'customer care',\\n 'customer success',\\n 'customer experience',\\n 'customer service',\\n ],\\n Design: ['design', 'designer'],\\n CRM: ['crm', 'salesforce','hubspot'],\\n\\n Executive: [\\n 'CEO',\\n 'Chief Executive Officer',\\n 'general director',\\n 'founder',\\n 'cofounder',\\n 'co-founder',\\n 'Directeur Général',\\n 'Directeur general',\\n 'DG',\\n 'fondateur',\\n 'cofondateur',\\n 'Chairmann',\\n 'chief of staff',\\n 'general director',\\n 'president',\\n ],\\n 'Finance': [\\n 'CFO',\\n 'financial',\\n 'finance',\\n 'finance and administrative',\\n 'audit',\\n 'accountant', 'accounting', 'payroll', 'fiscal',\\n ],\\n 'Human Resources': ['HR', 'human resources', 'people', 'Happiness Manager'],\\n Legal: ['Attorney', 'Legal', 'intellectual property'],\\n\\n 'Growth outbound': [\\n 'growth',\\n 'outbound',\\n 'growth outbound',\\n 'growth ops',\\n 'gotomarket',\\n 'gtm',\\n 'demandgen',\\n 'demand generation',\\n 'demand gen',\\n 'go-to-market',\\n 'growth engineer',\\n 'lead generation',\\n ],\\n 'Marketing': [\\n 'CMO',\\n 'marketing',\\n 'acquisition',\\n 'campaign',\\n ],\\n 'Marketing Else': [\\n 'digital marketing',\\n 'digital performance',\\n 'SEO',\\n 'SEA',\\n 'ads',\\n 'content marketing',\\n 'Communication',\\n 'digital media',\\n 'content',\\n 'social media',\\n 'content marketing',\\n 'marketing communication',\\n 'copywriting',\\n 'copywriter',\\n ],\\n Operations: [\\n 'COO',\\n 'ops',\\n 'sales ops',\\n 'marketing ops',\\n 'operations',\\n 'operating',\\n ],\\n Recruitment: [\\n 'recruiting',\\n 'recruitment',\\n 'talent',\\n 'talent acquisition',\\n 'sourcing',\\n 'recruiter',\\n ],\\n Tech: [\\n 'CDO',\\n 'data',\\n 'data engineering',\\n 'data science',\\n 'data scientist',\\n 'data engineer',\\n 'data analyst',\\n 'CTO',\\n 'technical',\\n 'tech',\\n 'engineering',\\n 'software',\\n 'software engineer',\\n 'information technology',\\n 'information system',\\n 'IT',\\n 'Dev ops',\\n 'CISO',\\n 'information security',\\n 'cyber security',\\n 'cyber',\\n 'CPO', \\n 'Product',\\n ],\\n \\n Supply: ['supply', 'supply chain', 'logistic', 'ecommerce', 'e-commerce'],\\n },\\n};\\n\\nconst categories = {\\n DM: {\\n level: ['Founder', 'Director', 'Head', 'Supervisor'],\\n department: ['Sales', 'Revenue', 'Executive', 'Customer Care','Operations', 'Growth outbound','Marketing']\\n },\\n Champion: {\\n level: ['Lead', 'Manager', 'Contributor'],\\n department:['Revenue', 'Executive', 'Operations', 'Growth outbound','CRM','Marketing']\\n },\\n Champion2: {\\n level: ['Lead', 'Manager'],\\n department:['Sales','Customer Care','Operations']\\n },\\n User: {\\n level: ['Contributor'],\\n department:['Sales', 'Customer Care']\\n }\\n}\\n\\nconst keywordFilter = (title, key) =>\\n new RegExp(`${key}\\\\\\\\b`, 'i').test(title) && key;\\n\\nconst capitalizeFirstLetter = (word) =>\\n word.toLowerCase().replace(/^\\\\w/, (c) => c.toUpperCase());\\n\\nconst matchDepartment = Object.keys(departments['EN']).find(\\n (d) =>\\n Array.from(\\n new Set([\\n ...departments['EN'][d].map(\\n (d) =>\\n keywordFilter(\\n jobtitle,\\n d,\\n ) && d,\\n ),\\n ...departments['FR'][d].map(\\n (d) =>\\n keywordFilter(\\n jobtitle,\\n d,\\n ) && d,\\n ),\\n ]),\\n ).filter(Boolean).length,\\n);\\n\\nconst matchLevel = Object.keys(levels['EN']).find(\\n (l) =>\\n Array.from(\\n new Set([\\n ...[\\n ...levels['EN'][capitalizeFirstLetter(l)].name,\\n ...levels['EN'][capitalizeFirstLetter(l)].acronym,\\n ].map(\\n (d) =>\\n keywordFilter(\\n jobtitle.toLowerCase().match(d.toLowerCase()),\\n d,\\n ) && d,\\n ),\\n ...[\\n ...levels['FR'][capitalizeFirstLetter(l)].name,\\n ...levels['FR'][capitalizeFirstLetter(l)].acronym,\\n ].map(\\n (d) =>\\n keywordFilter(\\n jobtitle\\n .toLowerCase()\\n .match(d.toLowerCase()),\\n d,\\n ) && d,\\n ),\\n ]),\\n ).filter(Boolean).length,\\n) || 'Contributor';\\n\\nconst matchCategory = Object.keys(categories).find(c => categories[c].level.includes(matchLevel) && categories[c].department.includes(matchDepartment)) || 'Other';\\n\\nreturn {\\n json: {\\n department: matchDepartment,\\n level: matchLevel,\\n category: matchCategory.match(/(Champion)/, 'g')?.[0] || matchCategory\\n },\\n};\"},\"typeVersion\":1},{\"id\":\"45a0eeef-a776-40a5-837f-89fd5b4a650f\",\"name\":\"sync_airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1360,460],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"table\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idtable\\\"] }}\"},\"fields\":[\"department\",\"level\",\"icp\",\"type_dm\",\"statut\"],\"options\":{},\"operation\":\"update\",\"application\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idbase\\\"] }}\"},\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable LS\"}},\"typeVersion\":1},{\"id\":\"929d7794-df10-4967-bbfb-1a62e9a734f0\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[980,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"category\\\"] }}\",\"value2\":\"Other\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"99835662-7399-4a51-b59f-3d0fdd509b05\",\"name\":\"set_airtable_build_request1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1160,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $node[\\\"split_in_batches\\\"].json[\\\"id\\\"] }}\"},{\"name\":\"department\",\"value\":\"={{ $json[\\\"department\\\"] }}\"},{\"name\":\"level\",\"value\":\"={{ $json[\\\"level\\\"] }}\"},{\"name\":\"icp\",\"value\":\"=No\"},{\"name\":\"type_dm\",\"value\":\"={{ $json[\\\"category\\\"] }}\"},{\"name\":\"statut\",\"value\":\"=categorized__{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"551f1e9b-e80c-454d-8ef5-e1dd7d32cd82\",\"name\":\"sync_airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1340,100],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"table\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idtable\\\"] }}\"},\"fields\":[\"department\",\"level\",\"icp\",\"type_dm\",\"statut\"],\"options\":{},\"operation\":\"update\",\"application\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idbase\\\"] }}\"},\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable LS\"}},\"typeVersion\":1},{\"id\":\"2561aa6a-6bdd-4506-9237-c4c21838f7ec\",\"name\":\"set_airtable_build_request\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,460],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $node[\\\"split_in_batches\\\"].json[\\\"id\\\"] }}\"},{\"name\":\"department\",\"value\":\"={{ $json[\\\"department\\\"] }}\"},{\"name\":\"level\",\"value\":\"={{ $json[\\\"level\\\"] }}\"},{\"name\":\"icp\",\"value\":\"=Yes\"},{\"name\":\"type_dm\",\"value\":\"={{ $json[\\\"category\\\"] }}\"},{\"name\":\"statut\",\"value\":\"=categorized__{{new Date().toLocaleDateString()}}_{{new Date().toLocaleTimeString()}}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"fd9aee93-60b3-4dcd-95fe-aa2cbe368eeb\",\"name\":\"get_list_people_airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[300,320],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idtable\\\"] }}\"},\"operation\":\"list\",\"application\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idbase\\\"] }}\"},\"additionalOptions\":{\"fields\":[\"profile_id\",\"full_name\",\"headline\",\"job_title\"]}},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable LS\"}},\"typeVersion\":1},{\"id\":\"20debc9d-c021-4e9c-8229-35e4f618885c\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[700,280],\"parameters\":{\"width\":225,\"height\":219,\"content\":\"I am here\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"9ada2bd6-efef-4cd4-9b43-beba9836c673\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"set_airtable_build_request1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"set_airtable_build_request\",\"type\":\"main\",\"index\":0}]]},\"Lvl & intent\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"sync_airtable\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]},\"sync_airtable1\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches\":{\"main\":[[{\"node\":\"Lvl & intent\",\"type\":\"main\",\"index\":0}]]},\"Execute Workflow Trigger\":{\"main\":[[{\"node\":\"get_list_people_airtable\",\"type\":\"main\",\"index\":0}]]},\"get_list_people_airtable\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0}]]},\"set_airtable_build_request\":{\"main\":[[{\"node\":\"sync_airtable\",\"type\":\"main\",\"index\":0}]]},\"set_airtable_build_request1\":{\"main\":[[{\"node\":\"sync_airtable1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send specific PDF attachments from Gmail to Google Drive using OpenAI", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"deafa2e8-af41-4f11-92e0-09992f6c6970\",\"name\":\"Read PDF\",\"type\":\"n8n-nodes-base.readPDF\",\"position\":[860,1420],\"parameters\":{},\"typeVersion\":1},{\"id\":\"8e3ddbb1-83a1-4f79-9464-61d5a20f0427\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-760,1300],\"parameters\":{\"width\":444.034812880766,\"height\":599.5274151436035,\"content\":\"## Send specific PDF attachments from Gmail to Google Drive using OpenAI\\n\\n_**DISCLAIMER**: You may have varying success when using this workflow so be prepared to validate the correctness of OpenAI's results._\\n\\nThis workflow reads PDF textual content and sends the text to OpenAI. Attachments of interest will then be uploaded to a specified Google Drive folder. For example, you may wish to send invoices received from an email to an inbox folder in Google Drive for later processing. This workflow has been designed to easily change the search term to match your needs. See the workflow for more details.\\n\\n### How it works\\n1. Triggers off on the `On email received` node.\\n2. Iterates over the attachments in the email.\\n3. Uses the `OpenAI` node to filter out the attachments that do not match the search term set in the `Configure` node. You could match on various PDF files (i.e. invoice, receipt, or contract).\\n4. If the PDF attachment matches the search term, the workflow uses the `Google Drive` node to upload the PDF attachment to a specific Google Drive folder.\\n\\n\\nWorkflow written by [David Sha](https://davidsha.me).\"},\"typeVersion\":1},{\"id\":\"fb2c3697-a92f-4be1-b9a6-0326f87de70b\",\"name\":\"Configure\",\"type\":\"n8n-nodes-base.set\",\"position\":[-20,1520],\"parameters\":{\"values\":{\"number\":[{\"name\":\"maxTokenSize\",\"value\":4000},{\"name\":\"replyTokenSize\",\"value\":50}],\"string\":[{\"name\":\"Match on\",\"value\":\"payslip\"},{\"name\":\"Google Drive folder to upload matched PDFs\",\"value\":\"https://drive.google.com/drive/u/0/folders/1SKdHTnYoBNlnhF_QJ-Zyepy-3-WZkObo\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"792c49f4-06e3-4d77-a31f-1513f70abf32\",\"name\":\"Is PDF\",\"type\":\"n8n-nodes-base.if\",\"position\":[640,1520],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $binary.data.fileExtension }}\",\"value2\":\"pdf\"}]}},\"typeVersion\":1},{\"id\":\"82be9111-665d-41c6-8190-2247acdb749b\",\"name\":\"Not a PDF\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[860,1620],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c2ac155f-38ee-46f2-8a24-5614e3c32ff5\",\"name\":\"Is matched\",\"type\":\"n8n-nodes-base.if\",\"position\":[1720,1480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"id\":\"4a8f15b8-c153-493d-9a2a-d63d911d642d\",\"name\":\"This is a matched PDF\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1940,1380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"89601591-5c7b-461c-859b-25c7c1f0c2e6\",\"name\":\"This is not a matched PDF\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1940,1580],\"parameters\":{},\"typeVersion\":1},{\"id\":\"ac517c4a-83b8-441f-b14c-c927c18f8012\",\"name\":\"Iterate over email attachments\",\"type\":\"n8n-nodes-base.code\",\"position\":[420,1420],\"parameters\":{\"jsCode\":\"// https://community.n8n.io/t/iterating-over-email-attachments/13588/3\\nlet results = [];\\n\\nfor (const item of $input.all()) {\\n for (key of Object.keys(item.binary)) {\\n results.push({\\n json: {},\\n binary: {\\n data: item.binary[key],\\n }\\n });\\n }\\n}\\n\\nreturn results;\"},\"typeVersion\":1},{\"id\":\"79fdf2de-42fe-4ebb-80fb-cc80dcd284f9\",\"name\":\"OpenAI matches PDF textual content\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1300,1340],\"parameters\":{\"prompt\":\"=Does this PDF file look like a {{ $(\\\"Configure\\\").first().json[\\\"Match on\\\"] }}? Return \\\"true\\\" if it is a {{ $(\\\"Configure\\\").first().json[\\\"Match on\\\"] }} and \\\"false\\\" if not. Only reply with lowercase letters \\\"true\\\" or \\\"false\\\".\\n\\nThis is the PDF filename:\\n```\\n{{ $binary.data.fileName }}\\n```\\n\\nThis is the PDF text content:\\n```\\n{{ $json.text }}\\n```\",\"options\":{\"maxTokens\":\"={{ $('Configure').first().json.replyTokenSize }}\",\"temperature\":0.1}},\"credentials\":{\"openAiApi\":{\"id\":\"30\",\"name\":\"REPLACE ME\"}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"8bdb3263-40f2-4277-8cc0-f6edef90a1cd\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1500,1480],\"parameters\":{\"mode\":\"combine\",\"options\":{\"clashHandling\":{\"values\":{\"resolveClash\":\"preferInput1\"}}},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"8e68e725-b2df-4c0c-8b17-e0cd4610714d\",\"name\":\"Upload file to folder\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[2160,1380],\"parameters\":{\"name\":\"={{ $binary.data.fileName }}\",\"options\":{},\"parents\":[\"={{ $('Configure').first().json[\\\"Google Drive folder to upload matched PDFs\\\"].split(\\\"/\\\").at(-1) }}\"],\"binaryData\":true},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"32\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2},{\"id\":\"bda00901-5ade-471c-b6f9-a18ef4d71589\",\"name\":\"On email received\",\"type\":\"n8n-nodes-base.gmailTrigger\",\"position\":[-240,1520],\"parameters\":{\"simple\":false,\"filters\":{},\"options\":{\"downloadAttachments\":true,\"dataPropertyAttachmentsPrefixName\":\"attachment_\"},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"31\",\"name\":\"REPLACE ME\"}},\"typeVersion\":1},{\"id\":\"b2ff4774-336b-47a3-af3f-ada809ed9b8a\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-100,1440],\"parameters\":{\"width\":259.0890718059702,\"height\":607.9684549079709,\"content\":\"### Configuration\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n__`Match on`(required)__: What should OpenAI's search term be? Examples: invoice, callsheet, receipt, contract, payslip.\\n__`Google Drive folder to upload matched PDFs`(required)__: Paste the link of the GDrive folder, an example has been provided but will need to change to a folder you own.\\n__`maxTokenSize`(required)__: The maximum token size for the model you choose. See possible models from OpenAI [here](https://platform.openai.com/docs/models/gpt-3).\\n__`replyTokenSize`(required)__: The reply's maximum token size. Default is 300. This determines how much text the AI will reply with.\"},\"typeVersion\":1},{\"id\":\"beb571fe-e7a3-4f3c-862b-dc01821e5f3f\",\"name\":\"Ignore large PDFs\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1300,1620],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f3c4f249-08a7-4e5e-8f46-e07393ac10b5\",\"name\":\"Is text within token limit?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1080,1520],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.text.length() / 4 <= $('Configure').first().json.maxTokenSize - $('Configure').first().json.replyTokenSize }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"93b6fb96-3e0e-4953-bd09-cf882d2dc69c\",\"name\":\"Has attachments?\",\"type\":\"n8n-nodes-base.if\",\"position\":[200,1520],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $('On email received').item.binary.isNotEmpty() }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"554d415e-a965-46be-8442-35c4cb6b005c\",\"name\":\"There are no attachments\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[420,1620],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Is matched\",\"type\":\"main\",\"index\":0}]]},\"Is PDF\":{\"main\":[[{\"node\":\"Read PDF\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Not a PDF\",\"type\":\"main\",\"index\":0}]]},\"Read PDF\":{\"main\":[[{\"node\":\"Is text within token limit?\",\"type\":\"main\",\"index\":0}]]},\"Configure\":{\"main\":[[{\"node\":\"Has attachments?\",\"type\":\"main\",\"index\":0}]]},\"Is matched\":{\"main\":[[{\"node\":\"This is a matched PDF\",\"type\":\"main\",\"index\":0}],[{\"node\":\"This is not a matched PDF\",\"type\":\"main\",\"index\":0}]]},\"Has attachments?\":{\"main\":[[{\"node\":\"Iterate over email attachments\",\"type\":\"main\",\"index\":0}],[{\"node\":\"There are no attachments\",\"type\":\"main\",\"index\":0}]]},\"On email received\":{\"main\":[[{\"node\":\"Configure\",\"type\":\"main\",\"index\":0}]]},\"This is a matched PDF\":{\"main\":[[{\"node\":\"Upload file to folder\",\"type\":\"main\",\"index\":0}]]},\"Is text within token limit?\":{\"main\":[[{\"node\":\"OpenAI matches PDF textual content\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}],[{\"node\":\"Ignore large PDFs\",\"type\":\"main\",\"index\":0}]]},\"Iterate over email attachments\":{\"main\":[[{\"node\":\"Is PDF\",\"type\":\"main\",\"index\":0}]]},\"OpenAI matches PDF textual content\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a ChatGPT email reply and save responses to Google Sheets", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"88c0f64c-a7cd-4f35-96dd-9eee4b1d6a1a\",\"name\":\"Generate reply\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[-480,2260],\"parameters\":{\"prompt\":\"=From: {{ $json.from.value }}\\nTo: {{ $json.to.value }}\\nSubject: {{ $json.subject }}\\nBody: {{ $json.reply }}\\n\\n\\nReply: \",\"options\":{\"maxTokens\":\"={{ $('Configure').first().json.replyTokenSize }}\"}},\"credentials\":{\"openAiApi\":{\"id\":\"27\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"7105b689-9f9c-4354-aad9-8f1abb6c0a06\",\"name\":\"On email received\",\"type\":\"n8n-nodes-base.gmailTrigger\",\"position\":[-2460,2680],\"parameters\":{\"simple\":false,\"filters\":{},\"options\":{},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"26\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"ea18ed9a-0158-45e1-ac1b-1993ace4ff2c\",\"name\":\"Only continue for specific emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1360,2460],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $('Configure').first().json.recipients.split(',') }}\",\"value2\":\"*\",\"operation\":\"contains\"},{\"value1\":\"={{ $('Configure').first().json.recipients.split(',') }}\",\"value2\":\"={{ $json.from.value[0].address }}\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"d1425dff-0fc1-4a4b-9202-418ce30d7cd9\",\"name\":\"Configure\",\"type\":\"n8n-nodes-base.set\",\"position\":[-1940,2800],\"parameters\":{\"values\":{\"number\":[{\"name\":\"maxTokenSize\",\"value\":4000},{\"name\":\"replyTokenSize\",\"value\":300}],\"string\":[{\"name\":\"spreadsheetId\"},{\"name\":\"worksheetId\"},{\"name\":\"spreadsheetName\",\"value\":\"ChatGPT responses\"},{\"name\":\"worksheetName\",\"value\":\"Database\"},{\"name\":\"recipients\",\"value\":\"[UPDATE ME]\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"594f77e6-9e7e-4e93-b6e0-95fad57e42f0\",\"name\":\"Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-2060,2480],\"parameters\":{\"width\":330.0279884670691,\"height\":929.4540475960038,\"content\":\"### Configuration\\nIf you decide to use your own spreadsheet, it is up to you to ensure all columns are present before running this workflow. A good way to do this is to run this workflow once with **empty** `spreadsheetid` and `worksheetId` variables (see the `Configure` node). Then map the output from `Store spreadsheet ID` to this node.\\n\\nIt is recommended that you specify the `spreadsheetId` and `worksheetId`, since relying solely on a workflow's static data is considered bad practice.\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n__`spreadsheetId`__: The ID of the spreadsheet where Pipedrive deals will be stored.\\n__`worksheetId`__: The ID of the worksheet where Pipedrive deals will be stored.\\n__`spreadsheetName`(required)__: The human readable name of the spreadsheet where Pipedrive deals will be stored.\\n__`worksheetName`(required)__: The human readable name of the worksheet in the spreadsheet where Pipedrive deals will be stored.\\n__`recipients`(required)__: Comma-separated list of email recipients to send ChatGPT emails to. Use `*` to send ChatGPT response to every email address.\\n__`maxTokenSize`(required)__: The maximum token size for the model you choose. See possible models from OpenAI [here](https://platform.openai.com/docs/models/gpt-3).\\n__`replyTokenSize`(required)__: The reply's maximum token size. Default is 300. This determines how much text the AI will reply with.\"},\"typeVersion\":1},{\"id\":\"2dc3e403-f2a0-43c2-a1e4-187d901d692f\",\"name\":\"Send reply to recipient\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[360,1860],\"parameters\":{\"message\":\"={{ $json.html }}\",\"options\":{},\"emailType\":\"html\",\"messageId\":\"={{ $node[\\\"On email received\\\"].json.id }}\",\"operation\":\"reply\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"26\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"f845aa4d-5542-4126-a42d-4e5afa1893d1\",\"name\":\"Generate UUID\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[-1140,2360],\"parameters\":{\"action\":\"generate\",\"dataPropertyName\":\"uuid\"},\"typeVersion\":1},{\"id\":\"3c468585-4546-439b-9e8a-efb7231277d8\",\"name\":\"Thanks for your response!\",\"type\":\"n8n-nodes-base.html\",\"position\":[-1140,2980],\"parameters\":{\"html\":\"\\n\\n\\n\\n \\n Thanks for your response!\\n\\n\\n
    \\n

    Thanks for your response!

    \\n

    You can safely close this window.

    \\n
    \\n\\n\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"6b0bfa33-84ca-4b9c-98ec-c1bc08a1230d\",\"name\":\"Extract message content (advanced)\",\"type\":\"n8n-nodes-base.code\",\"position\":[-920,2360],\"parameters\":{\"jsCode\":\"// source: https://gist.github.com/ikbelkirasan/2462073f6c7c760faa6fad7c6a0c4dc3\\nvar EmailParser=function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){\\\"undefined\\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\\"Module\\\"}),Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&\\\"object\\\"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,\\\"default\\\",{enumerable:!0,value:t}),2&r&&\\\"string\\\"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,\\\"a\\\",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p=\\\"\\\",n(n.s=59)}([function(t,r){var n=Array.isArray;t.exports=n},function(t,r,n){var e=n(31),o=\\\"object\\\"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function(\\\"return this\\\")();t.exports=u},function(t,r,n){var e=n(74),o=n(79);t.exports=function(t,r){var n=o(t,r);return e(n)?n:void 0}},function(t,r){t.exports=function(t){return null!=t&&\\\"object\\\"==typeof t}},function(t,r){t.exports=function(t){var r=typeof t;return null!=t&&(\\\"object\\\"==r||\\\"function\\\"==r)}},function(t,r,n){var e=n(6),o=n(75),u=n(76),i=e?e.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?\\\"[object Undefined]\\\":\\\"[object Null]\\\":i&&i in Object(t)?o(t):u(t)}},function(t,r,n){var e=n(1).Symbol;t.exports=e},function(t,r,n){var e=n(35),o=n(99),u=n(14);t.exports=function(t){return u(t)?e(t):o(t)}},function(t,r,n){var e=n(64),o=n(65),u=n(66),i=n(67),c=n(68);function a(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r-1&&t%1==0&&t<=9007199254740991}},function(t,r){t.exports=function(t){return function(r){return t(r)}}},function(t,r,n){(function(t){var e=n(31),o=r&&!r.nodeType&&r,u=o&&\\\"object\\\"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o&&e.process,c=function(){try{var t=u&&u.require&&u.require(\\\"util\\\").types;return t||i&&i.binding&&i.binding(\\\"util\\\")}catch(t){}}();t.exports=c}).call(this,n(13)(t))},function(t,r){var n=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===(\\\"function\\\"==typeof r&&r.prototype||n)}},function(t,r,n){var e=n(41),o=n(42),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(t){return null==t?[]:(t=Object(t),e(i(t),(function(r){return u.call(t,r)})))}:o;t.exports=c},function(t,r,n){var e=n(48);t.exports=function(t){var r=new t.constructor(t.byteLength);return new e(r).set(new e(t)),r}},function(t,r,n){var e=n(0),o=n(29),u=/\\\\.|\\\\[(?:[^[\\\\]]*|([\\\"'])(?:(?!\\\\1)[^\\\\\\\\]|\\\\\\\\.)*?\\\\1)\\\\]/,i=/^\\\\w*$/;t.exports=function(t,r){if(e(t))return!1;var n=typeof t;return!(\\\"number\\\"!=n&&\\\"symbol\\\"!=n&&\\\"boolean\\\"!=n&&null!=t&&!o(t))||(i.test(t)||!u.test(t)||null!=r&&t in Object(r))}},function(t,r,n){var e=n(5),o=n(3);t.exports=function(t){return\\\"symbol\\\"==typeof t||o(t)&&\\\"[object Symbol]\\\"==e(t)}},function(t,r,n){var e=n(5),o=n(4);t.exports=function(t){if(!o(t))return!1;var r=e(t);return\\\"[object Function]\\\"==r||\\\"[object GeneratorFunction]\\\"==r||\\\"[object AsyncFunction]\\\"==r||\\\"[object Proxy]\\\"==r}},function(t,r){var n=\\\"object\\\"==typeof global&&global&&global.Object===Object&&global;t.exports=n},function(t,r){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+\\\"\\\"}catch(t){}}return\\\"\\\"}},function(t,r,n){var e=n(34),o=n(18),u=Object.prototype.hasOwnProperty;t.exports=function(t,r,n){var i=t[r];u.call(t,r)&&o(i,n)&&(void 0!==n||r in t)||e(t,r,n)}},function(t,r,n){var e=n(93);t.exports=function(t,r,n){\\\"__proto__\\\"==r&&e?e(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}},function(t,r,n){var e=n(95),o=n(36),u=n(0),i=n(21),c=n(37),a=n(38),s=Object.prototype.hasOwnProperty;t.exports=function(t,r){var n=u(t),f=!n&&o(t),p=!n&&!f&&i(t),l=!n&&!f&&!p&&a(t),v=n||f||p||l,b=v?e(t.length,String):[],h=b.length;for(var y in t)!r&&!s.call(t,y)||v&&(\\\"length\\\"==y||p&&(\\\"offset\\\"==y||\\\"parent\\\"==y)||l&&(\\\"buffer\\\"==y||\\\"byteLength\\\"==y||\\\"byteOffset\\\"==y)||c(y,h))||b.push(y);return b}},function(t,r,n){var e=n(96),o=n(3),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,\\\"callee\\\")&&!c.call(t,\\\"callee\\\")};t.exports=a},function(t,r){var n=/^(?:0|[1-9]\\\\d*)$/;t.exports=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&(\\\"number\\\"==e||\\\"symbol\\\"!=e&&n.test(t))&&t>-1&&t%1==0&&tf))return!1;var l=a.get(t);if(l&&a.get(r))return l==r;var v=-1,b=!0,h=2&n?new e:void 0;for(a.set(t,r),a.set(r,t);++v+$/,f=[/^\\\\s*(On(?:(?!.*On\\\\b|\\\\bwrote:)[\\\\s\\\\S])+wrote:)$/m,/^\\\\s*(Le(?:(?!.*Le\\\\b|\\\\bécrit:)[\\\\s\\\\S])+écrit :)$/m,/^\\\\s*(El(?:(?!.*El\\\\b|\\\\bescribió:)[\\\\s\\\\S])+escribió:)$/m,/^\\\\s*(Il(?:(?!.*Il\\\\b|\\\\bscritto:)[\\\\s\\\\S])+scritto:)$/m,/^\\\\s*(Op\\\\s[\\\\S\\\\s]+?schreef[\\\\S\\\\s]+:)$/m,/^\\\\s*((W\\\\sdniu|Dnia)\\\\s[\\\\S\\\\s]+?(pisze|napisał(\\\\(a\\\\))?):)$/mu,/^\\\\s*(Den\\\\s.+\\\\sskrev\\\\s.+:)$/m,/^\\\\s*(Am\\\\s.+\\\\sum\\\\s.+\\\\sschrieb\\\\s.+:)$/m,/^(在[\\\\S\\\\s]+写道:)$/m,/^(20[0-9]{2}\\\\..+\\\\s작성:)$/m,/^(20[0-9]{2}\\\\/.+のメッセージ:)$/m,/^(.+\\\\s<.+>\\\\sschrieb:)$/m,/^\\\\s*(From\\\\s?:.+\\\\s?(\\\\[|<).+(\\\\]|>))/mu,/^\\\\s*(De\\\\s?:.+\\\\s?(\\\\[|<).+(\\\\]|>))/mu,/^\\\\s*(Van\\\\s?:.+\\\\s?(\\\\[|<).+(\\\\]|>))/mu,/^\\\\s*(Da\\\\s?:.+\\\\s?(\\\\[|<).+(\\\\]|>))/mu,/^(20[0-9]{2}-(?:0?[1-9]|1[012])-(?:0?[0-9]|[1-2][0-9]|3[01]|[1-9])\\\\s[0-2]?[0-9]:\\\\d{2}\\\\s[\\\\S\\\\s]+?:)$/m,/^\\\\s*([a-z]{3,4}\\\\.[\\\\s\\\\S]+\\\\sskrev[\\\\s\\\\S]+:)$/m];\\n/**\\n * Represents a fragment that hasn't been constructed (yet)\\n * @license MIT License\\n */\\nclass p{constructor(){this.lines=[],this.isHidden=!1,this.isSignature=!1,this.isQuoted=!1}toFragment(){var t=c.reverse(this.lines.join(\\\"\\\\n\\\")).replace(/^\\\\n/,\\\"\\\");return new o(t,this.isHidden,this.isSignature,this.isQuoted)}}t.exports=class{constructor(t,r,n){this._signatureRegex=t||a,this._quotedLineRegex=r||s,this._quoteHeadersRegex=n||f}parse(t){if(\\\"string\\\"!=typeof t)return new e([]);var r=[];for(var n of(t=t.replace(\\\"\\\\r\\\\n\\\",\\\"\\\\n\\\"),this._quoteHeadersRegex)){var o=t.match(n);o&&o.length>=2&&(t=t.replace(o[1],o[1].replace(/\\\\n/g,\\\" \\\")))}var i=null;for(var a of c.reverse(t).split(\\\"\\\\n\\\")){if(a=a.replace(/\\\\n+$/,\\\"\\\"),this._isSignature(a)||(a=a.replace(/^\\\\s+/,\\\"\\\")),i){var s=i.lines[i.lines.length-1];this._isSignature(s)?(i.isSignature=!0,this._addFragment(i,r),i=null):0===a.length&&this._isQuoteHeader(s)&&(i.isQuoted=!0,this._addFragment(i,r),i=null)}var f=this._isQuote(a);null!==i&&this._isFragmentLine(i,a,f)||(i&&this._addFragment(i,r),(i=new p).isQuoted=f),i.lines.push(a)}i&&this._addFragment(i,r);var l=[];for(var v of r)l.push(v.toFragment());return new e(u(l))}_addFragment(t,r){(t.isQuoted||t.isSignature||0===t.lines.join(\\\"\\\").length)&&(t.isHidden=!0),r.push(t)}_isFragmentLine(t,r,n){return t.isQuoted===n||!!t.isQuoted&&(this._isQuoteHeader(r)||0===r.length)}_isSignature(t){return this._signatureRegex.test(c.reverse(t))}_isQuote(t){return this._quotedLineRegex.test(t)}_isQuoteHeader(t){return i(this._quoteHeadersRegex,r=>r.test(c.reverse(t))).length>0}}},function(t,r,n){var e=n(62),o=n(49),u=n(157);t.exports=class{constructor(t){this._fragments=t}getFragments(){return e(this._fragments)}getVisibleText(){var t=o(this._fragments,t=>!t.isHidden());return u(t,t=>t.getContent()).join(\\\"\\\\n\\\")}}},function(t,r,n){var e=n(63);t.exports=function(t){return e(t,5)}},function(t,r,n){var e=n(17),o=n(92),u=n(33),i=n(94),c=n(101),a=n(104),s=n(105),f=n(106),p=n(107),l=n(46),v=n(108),b=n(15),h=n(113),y=n(114),x=n(119),d=n(0),j=n(21),_=n(121),g=n(4),m=n(123),O=n(7),w={};w[\\\"[object Arguments]\\\"]=w[\\\"[object Array]\\\"]=w[\\\"[object ArrayBuffer]\\\"]=w[\\\"[object DataView]\\\"]=w[\\\"[object Boolean]\\\"]=w[\\\"[object Date]\\\"]=w[\\\"[object Float32Array]\\\"]=w[\\\"[object Float64Array]\\\"]=w[\\\"[object Int8Array]\\\"]=w[\\\"[object Int16Array]\\\"]=w[\\\"[object Int32Array]\\\"]=w[\\\"[object Map]\\\"]=w[\\\"[object Number]\\\"]=w[\\\"[object Object]\\\"]=w[\\\"[object RegExp]\\\"]=w[\\\"[object Set]\\\"]=w[\\\"[object String]\\\"]=w[\\\"[object Symbol]\\\"]=w[\\\"[object Uint8Array]\\\"]=w[\\\"[object Uint8ClampedArray]\\\"]=w[\\\"[object Uint16Array]\\\"]=w[\\\"[object Uint32Array]\\\"]=!0,w[\\\"[object Error]\\\"]=w[\\\"[object Function]\\\"]=w[\\\"[object WeakMap]\\\"]=!1,t.exports=function t(r,n,F,A,S,D){var $,P=1&n,z=2&n,E=4&n;if(F&&($=S?F(r,A,S,D):F(r)),void 0!==$)return $;if(!g(r))return r;var k=d(r);if(k){if($=h(r),!P)return s(r,$)}else{var B=b(r),M=\\\"[object Function]\\\"==B||\\\"[object GeneratorFunction]\\\"==B;if(j(r))return a(r,P);if(\\\"[object Object]\\\"==B||\\\"[object Arguments]\\\"==B||M&&!S){if($=z||M?{}:x(r),!P)return z?p(r,c($,r)):f(r,i($,r))}else{if(!w[B])return S?r:{};$=y(r,B,P)}}D||(D=new e);var I=D.get(r);if(I)return I;D.set(r,$),m(r)?r.forEach((function(e){$.add(t(e,n,F,e,r,D))})):_(r)&&r.forEach((function(e,o){$.set(o,t(e,n,F,o,r,D))}));var C=E?z?v:l:z?keysIn:O,Q=k?void 0:C(r);return o(Q||r,(function(e,o){Q&&(e=r[o=e]),u($,o,t(e,n,F,o,r,D))})),$}},function(t,r){t.exports=function(){this.__data__=[],this.size=0}},function(t,r,n){var e=n(9),o=Array.prototype.splice;t.exports=function(t){var r=this.__data__,n=e(r,t);return!(n<0)&&(n==r.length-1?r.pop():o.call(r,n,1),--this.size,!0)}},function(t,r,n){var e=n(9);t.exports=function(t){var r=this.__data__,n=e(r,t);return n<0?void 0:r[n][1]}},function(t,r,n){var e=n(9);t.exports=function(t){return e(this.__data__,t)>-1}},function(t,r,n){var e=n(9);t.exports=function(t,r){var n=this.__data__,o=e(n,t);return o<0?(++this.size,n.push([t,r])):n[o][1]=r,this}},function(t,r,n){var e=n(8);t.exports=function(){this.__data__=new e,this.size=0}},function(t,r){t.exports=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}},function(t,r){t.exports=function(t){return this.__data__.get(t)}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r,n){var e=n(8),o=n(19),u=n(20);t.exports=function(t,r){var n=this.__data__;if(n instanceof e){var i=n.__data__;if(!o||i.length<199)return i.push([t,r]),this.size=++n.size,this;n=this.__data__=new u(i)}return n.set(t,r),this.size=n.size,this}},function(t,r,n){var e=n(30),o=n(77),u=n(4),i=n(32),c=/^\\\\[object .+?Constructor\\\\]$/,a=Function.prototype,s=Object.prototype,f=a.toString,p=s.hasOwnProperty,l=RegExp(\\\"^\\\"+f.call(p).replace(/[\\\\\\\\^$.*+?()[\\\\]{}|]/g,\\\"\\\\\\\\$&\\\").replace(/hasOwnProperty|(function).*?(?=\\\\\\\\\\\\()| for .+?(?=\\\\\\\\\\\\])/g,\\\"$1.*?\\\")+\\\"$\\\");t.exports=function(t){return!(!u(t)||o(t))&&(e(t)?l:c).test(i(t))}},function(t,r,n){var e=n(6),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,c=e?e.toStringTag:void 0;t.exports=function(t){var r=u.call(t,c),n=t[c];try{t[c]=void 0;var e=!0}catch(t){}var o=i.call(t);return e&&(r?t[c]=n:delete t[c]),o}},function(t,r){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,r,n){var e,o=n(78),u=(e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||\\\"\\\"))?\\\"Symbol(src)_1.\\\"+e:\\\"\\\";t.exports=function(t){return!!u&&u in t}},function(t,r,n){var e=n(1)[\\\"__core-js_shared__\\\"];t.exports=e},function(t,r){t.exports=function(t,r){return null==t?void 0:t[r]}},function(t,r,n){var e=n(81),o=n(8),u=n(19);t.exports=function(){this.size=0,this.__data__={hash:new e,map:new(u||o),string:new e}}},function(t,r,n){var e=n(82),o=n(83),u=n(84),i=n(85),c=n(86);function a(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r\\n \\n \\n Template for ChatGPT email\\n \\n \\n \\n
    \\n
    \\n

    \\n {{ $json.text }}\\n

    \\n
    \\n \\n

    \\n Was this message helpful? Yes No\\n

    \\n

    \\n
    \\n
    \\n \\n\\n\"},\"typeVersion\":1},{\"id\":\"38e0f992-a461-4bc1-9f5c-2ceb0e461708\",\"name\":\"Record feedback\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1360,2980],\"parameters\":{},\"typeVersion\":1},{\"id\":\"899a0c63-0333-4dc4-ba83-5615a38ae431\",\"name\":\"Fallback route\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1360,3280],\"parameters\":{},\"typeVersion\":1},{\"id\":\"2fd5b109-8a54-4684-a8a3-3f7b2d961ae3\",\"name\":\"Identify trigger #2\",\"type\":\"n8n-nodes-base.set\",\"position\":[-2240,2940],\"parameters\":{\"values\":{\"string\":[{\"name\":\"triggeredFrom\",\"value\":\"webhook\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"8c27f798-d947-432c-bfc9-d22727d0159e\",\"name\":\"Identify trigger #1\",\"type\":\"n8n-nodes-base.set\",\"position\":[-2240,2680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"triggeredFrom\",\"value\":\"gmail\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"bd8cc1dd-3643-4d2f-9527-cfd740a4072a\",\"name\":\"Do not send unfinished email reply\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-40,2060],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c8b68fdb-c1c0-4f94-b712-e0570a3ad53c\",\"name\":\"If reply is complete\",\"type\":\"n8n-nodes-base.if\",\"position\":[-260,1960],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.finish_reason }}\",\"value2\":\"stop\"}]}},\"typeVersion\":1},{\"id\":\"f9d56d42-aa4e-4394-8c83-8d39164a784e\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-100,2020],\"parameters\":{\"width\":225.59802712700315,\"height\":314.2786683107279,\"content\":\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nIf your workflow reaches this stage, you will need to consider increasing the tokens in `Generate reply` node.\"},\"typeVersion\":1},{\"id\":\"039714b3-88ac-4ca8-86fc-ec1c109110c3\",\"name\":\"Do not send email to this recipient\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1140,2560],\"parameters\":{},\"typeVersion\":1},{\"id\":\"330c67dd-e538-414d-a144-e05dbf5effb3\",\"name\":\"Send reply to database\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-260,2380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"6e7586db-f437-4450-a1c7-e5ea7e8767b0\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-3060,2520],\"parameters\":{\"width\":516.6954377311955,\"height\":680.5491163173024,\"content\":\"## Send a ChatGPT email reply when email received and save responses to Google Sheets\\nThis workflow sends a OpenAI GPT reply when an email is received from specific email recipients. It then saves the initial email and the GPT response to an automatically generated Google spreadsheet. Subsequent GPT responses will be added to the same spreadsheet. Additionally, when feedback is given for any of the GPT responses, it will be recorded to the spreasheet, which can then be used later to fine-tune the GPT model.\\n\\n### How it works\\nThis workflow is essentially a two-in-one workflow. It triggers off from two different nodes and have very different functionality from each trigger.\\n\\n**`On email received`**:\\n1. Triggers off on the `On email received` node.\\n2. Extract the email body from the email.\\n3. Generate a response from the email body using the `OpenAI` node.\\n4. Reply to the email sender using the `Send reply to recipient` node. A feedback link is also included in the email body which will trigger the `On feedback given` node. This is used to fine-tune the GPT model.\\n5. Save the email body and OpenAI response to a Google Sheet. If a sheet does not exist, it will be created.\\n\\n\\n**`On feedback given`**:\\n1. Triggers off when a feedback link is clicked in the emailed GPT response.\\n2. The feedback, either positive or negative, for that specific GPT response is then recorded to the Google Sheet.\\n\"},\"typeVersion\":1},{\"id\":\"9d5e780e-4282-4c7e-b083-3f769f7dc740\",\"name\":\"Determine which trigger ran\",\"type\":\"n8n-nodes-base.switch\",\"position\":[-1660,2800],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"gmail\"},{\"output\":1,\"value2\":\"webhook\"}]},\"value1\":\"={{ $json.triggeredFrom }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"2c6c604c-7f59-42cc-9ed2-6d55f342f0ae\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1420,3240],\"parameters\":{\"width\":225.59802712700315,\"height\":289.61775585696694,\"content\":\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nThis workflow should never reach this node. It is only here for extending the functionality of this workflow if needed.\"},\"typeVersion\":1},{\"id\":\"3defbf98-0caa-49b1-9bfd-f4640b43d64b\",\"name\":\"Is text within token limit?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-700,2360],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.reply.length() / 4 <= $('Configure').first().json.maxTokenSize - $('Configure').first().json.replyTokenSize }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"b268b8a3-6361-4515-a995-320cd0979688\",\"name\":\"Do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-480,2460],\"parameters\":{},\"typeVersion\":1},{\"id\":\"413588d1-ede0-4a51-85fa-c9035ec2e605\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-540,2420],\"parameters\":{\"width\":225.59802712700315,\"height\":288.2949081608216,\"content\":\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nThe email that was received is too large to process, as it exceeds token limit. See more on [token limits](https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them).\"},\"typeVersion\":1}],\"connections\":{\"Configure\":{\"main\":[[{\"node\":\"Determine which trigger ran\",\"type\":\"main\",\"index\":0}]]},\"Format data\":{\"main\":[[{\"node\":\"If no spreadsheet in configuration #1\",\"type\":\"main\",\"index\":0}]]},\"Generate UUID\":{\"main\":[[{\"node\":\"Extract message content (advanced)\",\"type\":\"main\",\"index\":0}]]},\"Email template\":{\"main\":[[{\"node\":\"Send reply to recipient\",\"type\":\"main\",\"index\":0}]]},\"Generate reply\":{\"main\":[[{\"node\":\"Send reply to database\",\"type\":\"main\",\"index\":0},{\"node\":\"If reply is complete\",\"type\":\"main\",\"index\":0}]]},\"Show HTML page\":{\"main\":[[{\"node\":\"If no spreadsheet in configuration #2\",\"type\":\"main\",\"index\":0}]]},\"If no sheet IDs\":{\"main\":[[{\"node\":\"Create spreadsheet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get data from `Format data`\",\"type\":\"main\",\"index\":0}]]},\"Record feedback\":{\"main\":[[{\"node\":\"Thanks for your response!\",\"type\":\"main\",\"index\":0}]]},\"Get sheet IDs #1\":{\"main\":[[{\"node\":\"If no sheet IDs\",\"type\":\"main\",\"index\":0}]]},\"Get sheet IDs #2\":{\"main\":[[{\"node\":\"Send feedback for fine-tuned data\",\"type\":\"main\",\"index\":0}]]},\"Send email reply\":{\"main\":[[{\"node\":\"Email template\",\"type\":\"main\",\"index\":0}]]},\"On email received\":{\"main\":[[{\"node\":\"Identify trigger #1\",\"type\":\"main\",\"index\":0}]]},\"On feedback given\":{\"main\":[[{\"node\":\"Identify trigger #2\",\"type\":\"main\",\"index\":0}]]},\"Create spreadsheet\":{\"main\":[[{\"node\":\"Store spreadsheet ID\",\"type\":\"main\",\"index\":0}]]},\"Identify trigger #1\":{\"main\":[[{\"node\":\"Configure\",\"type\":\"main\",\"index\":0}]]},\"Identify trigger #2\":{\"main\":[[{\"node\":\"Configure\",\"type\":\"main\",\"index\":0}]]},\"If reply is complete\":{\"main\":[[{\"node\":\"Send email reply\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do not send unfinished email reply\",\"type\":\"main\",\"index\":0}]]},\"Store spreadsheet ID\":{\"main\":[[{\"node\":\"Get data from `Format data` node\",\"type\":\"main\",\"index\":0}]]},\"Create or update rows\":{\"main\":[[{\"node\":\"If spreadsheet doesn't exist\",\"type\":\"main\",\"index\":0}]]},\"Send reply to database\":{\"main\":[[{\"node\":\"Format data\",\"type\":\"main\",\"index\":0}]]},\"Thanks for your response!\":{\"main\":[[{\"node\":\"Show HTML page\",\"type\":\"main\",\"index\":0}]]},\"Determine which trigger ran\":{\"main\":[[{\"node\":\"Only continue for specific emails\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Record feedback\",\"type\":\"main\",\"index\":0}],null,[{\"node\":\"Fallback route\",\"type\":\"main\",\"index\":0}]]},\"Get data from `Format data`\":{\"main\":[[{\"node\":\"Create or update rows\",\"type\":\"main\",\"index\":0}]]},\"Is text within token limit?\":{\"main\":[[{\"node\":\"Generate reply\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do nothing\",\"type\":\"main\",\"index\":0}]]},\"Store specific sheet IDs #1\":{\"main\":[[{\"node\":\"If no sheet IDs\",\"type\":\"main\",\"index\":0}]]},\"Store specific sheet IDs #2\":{\"main\":[[{\"node\":\"Send feedback for fine-tuned data\",\"type\":\"main\",\"index\":0}]]},\"If spreadsheet doesn't exist\":{\"main\":[[{\"node\":\"Create spreadsheet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Successfully created or updated row\",\"type\":\"main\",\"index\":0}]]},\"Get data from `Format data` node\":{\"main\":[[{\"node\":\"Paste data\",\"type\":\"main\",\"index\":0}]]},\"Only continue for specific emails\":{\"main\":[[{\"node\":\"Generate UUID\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do not send email to this recipient\",\"type\":\"main\",\"index\":0}]]},\"Extract message content (advanced)\":{\"main\":[[{\"node\":\"Is text within token limit?\",\"type\":\"main\",\"index\":0}]]},\"If no spreadsheet in configuration #1\":{\"main\":[[{\"node\":\"Get sheet IDs #1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Store specific sheet IDs #1\",\"type\":\"main\",\"index\":0}]]},\"If no spreadsheet in configuration #2\":{\"main\":[[{\"node\":\"Get sheet IDs #2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Store specific sheet IDs #2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Upload Wordpress Media", "output": "{\"id\":52,\"name\":\"Upload Wordpress Media\",\"tags\":[],\"nodes\":[{\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Download File\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[440,300],\"parameters\":{\"url\":\"=https://example.com/example.jpg\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":2},{\"name\":\"Set Headers\",\"type\":\"n8n-nodes-base.set\",\"position\":[640,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"content-type\",\"value\":\"image/jpg\"},{\"name\":\"content-disposition\",\"value\":\"=attachment; filename={{$binary.data.fileName}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Upload To Wordpress\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[840,300],\"parameters\":{\"url\":\"https://example.com/wp-json/wp/v2/media\",\"options\":{\"bodyContentType\":\"raw\"},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"jsonParameters\":true,\"sendBinaryData\":true,\"genericAuthType\":\"httpBasicAuth\",\"headerParametersJson\":\"={{$json}}\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"19\",\"name\":\"wordpress n8n manual \"}},\"typeVersion\":2},{\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[410,60],\"parameters\":{\"width\":160,\"height\":420,\"content\":\"## Download File \\nProvide the url of the file you want to want to upload to wordpress.\"},\"typeVersion\":1},{\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[610,60],\"parameters\":{\"width\":160,\"height\":420,\"content\":\"## Set Headers \\nSet file type in content-type. \\n\\nYou can provide a custom file name inside content-disposition\"},\"typeVersion\":1},{\"name\":\"Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[800,60],\"parameters\":{\"width\":180,\"height\":420,\"content\":\"## Upload\\nReplace example.com with your wordpress sites sites domain.\\n\\nUse the same authentication as needed for the wordpress node. \"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Start\":{\"main\":[[{\"node\":\"Download File\",\"type\":\"main\",\"index\":0}]]},\"Set Headers\":{\"main\":[[{\"node\":\"Upload To Wordpress\",\"type\":\"main\",\"index\":0}]]},\"Download File\":{\"main\":[[{\"node\":\"Set Headers\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n Nodemation basic - creating your first simple workflow (2/3)", "output": "{\"id\":\"4\",\"name\":\"greeting\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[720,410],\"parameters\":{\"path\":\"greetinghook\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1120,410],\"parameters\":{\"url\":\"https://webhook.site/c0a47a6f-6a71-4d18-baef-51f694f7c56b\",\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"greeting\",\"value\":\"={{$node[\\\"FunctionItem\\\"].data[\\\"greeting\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[930,410],\"parameters\":{\"functionCode\":\"item.greeting = `Hello ${item.query.name}, have fun at the ${item.query.event}!`;\\nitem.greeting = \\\"Hello \\\" + item.query.name + \\\", have fun at the \\\" + item.query.event + \\\"!\\\";\\nreturn item;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "OpenAI examples: ChatGPT, DALLE-2, Whisper-1 – 5-in-1", "output": "{\"id\":\"147\",\"meta\":{\"instanceId\":\"dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3\"},\"name\":\"OpenAI-model-examples\",\"tags\":[],\"nodes\":[{\"id\":\"ad6dc2cd-21cc-4563-86ba-f78cc4a55543\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-640,380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"b370da23-ead4-4221-b7fe-a9d943f7fbb9\",\"name\":\"davinci-003-complete\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1160,60],\"parameters\":{\"prompt\":\"={{ $json.text }}\\n\\nTl;dr:\",\"options\":{\"maxTokens\":500}},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"5e04f355-36c0-4540-8e65-68118cb73135\",\"name\":\"ChatGPT-ex2\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1160,740],\"parameters\":{\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"=You are an assistant. Always add 5 emojis to the end of your answer.\"},{\"content\":\"=Write tl;dr of the wollowing text: {{ $json.text}}\"}]},\"options\":{\"maxTokens\":500,\"temperature\":0.8},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"16a7cf80-16e3-44f9-b15c-7501417fe38f\",\"name\":\"davinci-003-edit\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1340,60],\"parameters\":{\"input\":\"={{ $json.text }}\",\"options\":{},\"operation\":\"edit\",\"instruction\":\"translate to German\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"95254870-65c3-4714-83fb-20ba2c0ca007\",\"name\":\"ChatGPT-ex1.1\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1160,380],\"parameters\":{\"prompt\":{\"messages\":[{\"content\":\"=Write a Tl;dr of the followint text: {{ $json.text }}\"}]},\"options\":{\"maxTokens\":500},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"be9c4820-18b0-46fd-a5a0-51a5dc3ebed5\",\"name\":\"ChatGPT-ex1.2\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1340,380],\"parameters\":{\"prompt\":{\"messages\":[{\"content\":\"=Translate to German the following text: {{ $json.message.content }}\"}]},\"options\":{\"maxTokens\":500},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"c52c875b-5270-44ac-bfca-ce25124e3d04\",\"name\":\"Text-example\",\"type\":\"n8n-nodes-base.code\",\"position\":[540,380],\"parameters\":{\"jsCode\":\"return [\\n {\\n \\\"text\\\": \\\"Science Underground with your host, Anissa Ramirez. In this episode, how to stop your bathroom mirror from fogging up with a little dash of science. I'm Anissa Ramirez and this is Science Underground. We've all been there. You come out of the shower and you go to the mirror and you can't see yourself because the mirror is fogged up. You can't see anything until you first clear off the surface. Every morning it's the same thing. Shower, fog, shower, fog, shower, fog. There's gotta be a better way. Well, there is. Before you take the next shower, wipe a bit of shaving cream on the surface of the mirror and keep it there for about 30 seconds. Then wipe it off. The next time you take a shower, that part of the mirror that was covered with shaving cream will be amazingly fog free. And the shaving cream will keep the water from fogging up for a few weeks. So what's going on? Well, the fog on your mirror is made out of little itty bitty water droplets. If you were to look at the surface of the mirror under the microscope, you will see that the surface looks like a newly waxed car. The water forms beads, preventing you from seeing yourself in the mirror. When you add shaving cream to the surface of the mirror, the water droplets are no longer beads. They are a thin, smoothed out layer of water. Just like the surface of an old car that hasn't been waxed. Scientists would say that the shaving cream has changed the surface tension of the mirror. So there you have it. There's the answer. The secret to fogless mirrors is shaving cream. A little dab of science will do you. I'm Anissa Ramirez, and this was Science Underground.\\\"\\n }\\n];\"},\"typeVersion\":1},{\"id\":\"45d3bad7-0e9a-426b-b4e9-b3568181d9dc\",\"name\":\"Code-ex3.1\",\"type\":\"n8n-nodes-base.code\",\"position\":[1160,1100],\"parameters\":{\"jsCode\":\"var intext = $input.first().json;\\n\\nvar messages = [\\n {\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"You are a helpful assistant. Write a Tl;dr of each user message\\\"},\\n {\\\"role\\\": \\\"user\\\", \\\"content\\\": intext.text}\\n];\\n\\nreturn {\\\"messages\\\":messages};\"},\"typeVersion\":1},{\"id\":\"4db3de05-51a7-46ea-a818-508bdcb04582\",\"name\":\"ChatGPT-ex3.1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1340,1100],\"parameters\":{\"url\":\"https://api.openai.com/v1/chat/completions\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"model\",\"value\":\"gpt-3.5-turbo\"},{\"name\":\"temperature\",\"value\":\"={{ parseFloat(0.8) }}\"},{\"name\":\"n\",\"value\":\"={{ Number(1) }}\"},{\"name\":\"max_tokens\",\"value\":\"={{ Number(500) }}\"},{\"name\":\"messages\",\"value\":\"={{ $json.messages }}\"}]},\"nodeCredentialType\":\"openAiApi\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":3},{\"id\":\"709fcd7c-deb3-469d-b16b-62d4d36d100d\",\"name\":\"ChatGPT-ex3.2\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1880,1100],\"parameters\":{\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"=You are now a DALLE-2 prompt generation tool that will generate a suitable prompt. Write a promt to create a cover image relevant to the user input. The image should be in a comic style of the 60-s.\"},{\"content\":\"={{ $json.choices[0].message.content }}\"}]},\"options\":{\"maxTokens\":500,\"temperature\":0.8},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"6b32cc45-5ba2-4605-b690-3929ec9acecf\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,-60],\"parameters\":{\"width\":746.6347949130579,\"height\":295.50954755505853,\"content\":\"## The old way of using text completion and text edit\\n### Davinci model is 10 times more expensive then ChatGPT, consider switching to the new API:\\nhttps://openai.com/blog/introducing-chatgpt-and-whisper-apis\\n\"},\"typeVersion\":1},{\"id\":\"3cc74d77-7b02-40fd-83d8-f540d5ff34ab\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-160,260],\"parameters\":{\"width\":428.4578974150008,\"height\":316.6202633391793,\"content\":\"## Whisper-1 example\\n### Prepare your audio file and send it to whisper-1 transcription model\"},\"typeVersion\":1},{\"id\":\"6ba8069a-485c-497c-8b27-4c7562fbccab\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,280],\"parameters\":{\"width\":421.9002034748082,\"height\":302.4086532331564,\"content\":\"## An example of transcribed text\\n### Please pause this node when using real audio files\"},\"typeVersion\":1},{\"id\":\"c71001e6-b80f-41dd-bcdd-10927014b374\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,280],\"parameters\":{\"width\":747.8556016477869,\"height\":288.18470714667706,\"content\":\"## ChatGPT example 1.1 and 1.2 \\n### Write a Tl;dr of the text input\\n### Translate it to German\\n### only user content provided\"},\"typeVersion\":1},{\"id\":\"4605be68-4c57-404f-8624-e095c8e86ff9\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,620],\"parameters\":{\"width\":742.9723747088658,\"height\":288.18470714667706,\"content\":\"## ChatGPT example 2 \\n### Use system content to provide general instruction\\n### Manual setup of system and user content\"},\"typeVersion\":1},{\"id\":\"f5b72d7a-655a-4cc9-b722-b75429889d1d\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,960],\"parameters\":{\"width\":739.309954504675,\"height\":288.18470714667706,\"content\":\"## ChatGPT example 3.1\\n### When using ChatGPT programmatically, create an array of system / user / assistant contents and append them one after another\\n### Call ChatGPT API via HTTP Request node to provide all messages at once\"},\"typeVersion\":1},{\"id\":\"a003a4db-1960-4867-8dfe-3114cf0742f3\",\"name\":\"DALLE-ex3.3\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[2060,1100],\"parameters\":{\"prompt\":\"={{ $json.message.content }}\",\"options\":{\"n\":4,\"size\":\"512x512\"},\"resource\":\"image\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"d71a01ff-4d47-4675-964c-c47820d3989b\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1720,960],\"parameters\":{\"width\":611.1252473579985,\"height\":284.52228694248623,\"content\":\"## ChatGPT example 3.2 & DALLE-2 example 3.3\\n### Use ChatGPT to create a prompt for a cover image of the Tl;dr message\\n### Use OpenAI node to generate 4 images using the auto-generated prompt\"},\"typeVersion\":1},{\"id\":\"f5a55cfe-c110-4833-9668-1f1ba895860f\",\"name\":\"ChatGPT-ex4\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1240,1420],\"parameters\":{\"model\":\"gpt-3.5-turbo-0301\",\"prompt\":{\"messages\":[{\"content\":\"={{ $json.prompt }}\"}]},\"options\":{\"maxTokens\":500,\"temperature\":0.5},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"8a9f7a20-187c-4494-8005-b10d066d04e2\",\"name\":\"Set-ex4\",\"type\":\"n8n-nodes-base.set\",\"position\":[1060,1420],\"parameters\":{\"values\":{\"string\":[{\"name\":\"model\",\"value\":\"code-davinci-002\"},{\"name\":\"suffix\",\"value\":\"\"},{\"name\":\"prompt\",\"value\":\"=Create an HTML code with and SVG tag that contains random shapes of various colors. Include triangles, lines, ellipses and other shapes\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"68fcc6a2-761c-42ac-8778-313c8db7d53c\",\"name\":\"HTML-ex4\",\"type\":\"n8n-nodes-base.html\",\"position\":[1420,1420],\"parameters\":{\"html\":\"{{$json.message.content }}\"},\"typeVersion\":1},{\"id\":\"1f70cf3f-b6a9-4ea7-9486-c7565e6951b7\",\"name\":\"Sticky Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,1300],\"parameters\":{\"width\":739.309954504675,\"height\":288.18470714667706,\"content\":\"## ChatGPT example 4\\n### Generate HTML code that contains SVG image\"},\"typeVersion\":1},{\"id\":\"d857acd9-ea74-44d2-ac89-66b1fac4645f\",\"name\":\"Sticky Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,1640],\"parameters\":{\"width\":739.309954504675,\"height\":288.18470714667706,\"content\":\"## ChatGPT example 5\\n### Provide several outputs. Useful for quick replies (i.e. in Gmail / Outlook)\"},\"typeVersion\":1},{\"id\":\"fe64533a-4cd4-4adc-a48a-8abf3f2d61d7\",\"name\":\"ChatGPT-ex\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1160,1760],\"parameters\":{\"model\":\"gpt-3.5-turbo-0301\",\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"Act as an e-mail client. Provide a five to eight word answers to a given user messages.\"},{\"content\":\"Hi There! My name is Jack.\\n\\nI'm sending you an overview of my pricelist attached.\\nCould you please reply to me within 3 days?\\n\\nBest regards and have a nice day,\\nJack\"}]},\"options\":{\"n\":3,\"maxTokens\":15,\"temperature\":0.8},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"6c9f8a70-99ae-4310-8e6a-26cc6f75b3a2\",\"name\":\"LoadMP3\",\"type\":\"n8n-nodes-base.readBinaryFiles\",\"disabled\":true,\"position\":[-80,380],\"parameters\":{\"fileSelector\":\"/home/node/.n8n/OpenAI-article/Using Science to Stop Your Mirror From Fogging Up.mp3\"},\"typeVersion\":1},{\"id\":\"0edc1996-6484-4e62-a47b-5666dfbb3546\",\"name\":\"Whisper-transcribe\",\"type\":\"n8n-nodes-base.httpRequest\",\"disabled\":true,\"position\":[100,380],\"parameters\":{\"url\":\"https://api.openai.com/v1/audio/transcriptions\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"contentType\":\"multipart-form-data\",\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"model\",\"value\":\"whisper-1\"},{\"name\":\"file\",\"parameterType\":\"formBinaryData\",\"inputDataFieldName\":\"data\"}]},\"nodeCredentialType\":\"openAiApi\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":3},{\"id\":\"c12ba294-bdcd-4ece-8370-fa6a83a8ef0b\",\"name\":\"Sticky Note9\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-840,260],\"parameters\":{\"width\":596.9600747621192,\"height\":320.63203364295396,\"content\":\"## Do not run the whole workflow, it's rather slow\\n### Better execute the last node of each branch or simply disconnect branches that are not needed\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"callerPolicy\":\"workflowsFromSameOwner\",\"saveManualExecutions\":false,\"saveDataSuccessExecution\":\"none\"},\"versionId\":\"972cd971-9e7e-4a1d-b3fb-6f061e23e96f\",\"connections\":{\"LoadMP3\":{\"main\":[[{\"node\":\"Whisper-transcribe\",\"type\":\"main\",\"index\":0}]]},\"Set-ex4\":{\"main\":[[{\"node\":\"ChatGPT-ex4\",\"type\":\"main\",\"index\":0}]]},\"Code-ex3.1\":{\"main\":[[{\"node\":\"ChatGPT-ex3.1\",\"type\":\"main\",\"index\":0}]]},\"ChatGPT-ex4\":{\"main\":[[{\"node\":\"HTML-ex4\",\"type\":\"main\",\"index\":0}]]},\"Text-example\":{\"main\":[[{\"node\":\"davinci-003-complete\",\"type\":\"main\",\"index\":0},{\"node\":\"ChatGPT-ex1.1\",\"type\":\"main\",\"index\":0},{\"node\":\"ChatGPT-ex2\",\"type\":\"main\",\"index\":0},{\"node\":\"Code-ex3.1\",\"type\":\"main\",\"index\":0}]]},\"ChatGPT-ex1.1\":{\"main\":[[{\"node\":\"ChatGPT-ex1.2\",\"type\":\"main\",\"index\":0}]]},\"ChatGPT-ex3.1\":{\"main\":[[{\"node\":\"ChatGPT-ex3.2\",\"type\":\"main\",\"index\":0}]]},\"ChatGPT-ex3.2\":{\"main\":[[{\"node\":\"DALLE-ex3.3\",\"type\":\"main\",\"index\":0}]]},\"Whisper-transcribe\":{\"main\":[[{\"node\":\"Text-example\",\"type\":\"main\",\"index\":0}]]},\"davinci-003-complete\":{\"main\":[[{\"node\":\"davinci-003-edit\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"LoadMP3\",\"type\":\"main\",\"index\":0},{\"node\":\"Set-ex4\",\"type\":\"main\",\"index\":0},{\"node\":\"ChatGPT-ex\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Lead enrichment with title of civility and email validity status", "output": "{\"id\":\"33\",\"meta\":{\"instanceId\":\"64f2868fee12499266ce34a646d88854e4ff90fe0171de9a519ffe6a65a20229\"},\"name\":\"Lead enrichment with title of civility and email validity status\",\"tags\":[],\"nodes\":[{\"id\":\"0a3ebd49-8ee6-4521-a3ef-037a19c9c60c\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,360],\"parameters\":{},\"typeVersion\":1},{\"id\":\"2c41a119-dba8-4b0e-885c-c57e1add14a8\",\"name\":\"Set clean output\",\"type\":\"n8n-nodes-base.set\",\"position\":[1300,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"gender\",\"value\":\"={{ $node[\\\"Gender to Civility\\\"].json[\\\"gender\\\"] }}\"},{\"name\":\"firstname\",\"value\":\"={{ $node[\\\"Google Sheets_Input\\\"].json[\\\"firstname\\\"].charAt(0).toUpperCase() + $node[\\\"Google Sheets_Input\\\"].json[\\\"firstname\\\"].slice(1).toLowerCase() }}\"},{\"name\":\"lastname\",\"value\":\"={{ $node[\\\"Google Sheets_Input\\\"].json[\\\"lastname\\\"].charAt(0).toUpperCase() + $node[\\\"Google Sheets_Input\\\"].json[\\\"lastname\\\"].slice(1).toLowerCase() }}\"},{\"name\":\"email\",\"value\":\"={{ $node[\\\"Google Sheets_Input\\\"].json[\\\"email\\\"] }}\"},{\"name\":\"status_email\",\"value\":\"={{ $json[\\\"status\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"8b1b0ba6-8c1d-4cf5-9c24-97172a3ea17c\",\"name\":\"Verify mails in Bouncer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1080,360],\"parameters\":{\"url\":\"https://api.usebouncer.com/v1/email/verify\",\"method\":\"=GET\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"email\",\"value\":\"={{ $node[\\\"Google Sheets_Input\\\"].json[\\\"email\\\"] }}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"22\",\"name\":\"Bouncer_OPUS-Développement\"}},\"typeVersion\":3},{\"id\":\"615d25b3-5e49-45cf-8479-9c1a8d610882\",\"name\":\"HTTP Request genderize.io\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,360],\"parameters\":{\"url\":\"https://api.genderize.io\",\"options\":{},\"sendQuery\":true,\"queryParameters\":{\"parameters\":[{\"name\":\"=name\",\"value\":\"={{ $json[\\\"firstname\\\"] }}\"},{\"name\":\"country_id\",\"value\":\"FR\"}]}},\"typeVersion\":3},{\"id\":\"e96a5ad6-ded7-4a9d-a59d-ff8eb6e24359\",\"name\":\"Gender to Civility\",\"type\":\"n8n-nodes-base.code\",\"position\":[840,360],\"parameters\":{\"jsCode\":\"var items = $input.all()\\n\\nconsole.log(items);\\n\\nfor (let i = 0; i < items.length; i++) {\\n let item = items[i];\\n \\n if (item.json.gender == 'male') {\\n item.json.gender = \\\"Monsieur\\\";\\n } else if (item.json.gender == 'female') {\\n item.json.gender = \\\"Madame\\\";\\n }\\n \\n // Traitez chaque item ici...\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"id\":\"859c5446-4489-4c7e-b8f5-e60bd655b1a5\",\"name\":\"Google Sheets_Input\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[420,360],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/14PC9Fz3BUULW_KwKtFsLOiUb8oeiIQJPIvfaKecUtqo/edit#gid=0\",\"cachedResultName\":\"Feuille 1\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"14PC9Fz3BUULW_KwKtFsLOiUb8oeiIQJPIvfaKecUtqo\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/14PC9Fz3BUULW_KwKtFsLOiUb8oeiIQJPIvfaKecUtqo/edit?usp=drivesdk\",\"cachedResultName\":\"Input_Liste de prospects à enrichir avec la civilité et la validité de l'adresse mail\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"6\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"bf5eca11-360e-47bf-88cc-162d46ef5155\",\"name\":\"Google Sheets_Output\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1500,360],\"parameters\":{\"options\":{},\"dataMode\":\"autoMapInputData\",\"operation\":\"appendOrUpdate\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1vJBbi0WPGePYRhK2BDye5phHvUGH6AKXgREUrLJUmS4/edit#gid=0\",\"cachedResultName\":\"Feuille 1\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1QTtJUQD3s3KeyDSmOnc6r-XEAIAB-uAAS1fe4sB1BoY\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1QTtJUQD3s3KeyDSmOnc6r-XEAIAB-uAAS1fe4sB1BoY/edit?usp=drivesdk\",\"cachedResultName\":\"Output_Liste de prospects à enrichir avec la civilité et la validité de l'adresse mail\"},\"columnToMatchOn\":\"=gender\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"6\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"1f809840-9853-4f0d-b1ba-cde914b24210\",\"connections\":{\"Set clean output\":{\"main\":[[{\"node\":\"Google Sheets_Output\",\"type\":\"main\",\"index\":0}]]},\"Gender to Civility\":{\"main\":[[{\"node\":\"Verify mails in Bouncer\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets_Input\":{\"main\":[[{\"node\":\"HTTP Request genderize.io\",\"type\":\"main\",\"index\":0}]]},\"Verify mails in Bouncer\":{\"main\":[[{\"node\":\"Set clean output\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request genderize.io\":{\"main\":[[{\"node\":\"Gender to Civility\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Google Sheets_Input\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert PostgreSQL table to CSV", "output": "{\"id\":\"39\",\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"name\":\"PostgreSQL export to CSV\",\"tags\":[],\"nodes\":[{\"id\":\"ed94b34e-9ae6-4925-b292-b64a7e0bd602\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[660,420],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f5ada70d-c186-4d28-a64b-3847e2625c8d\",\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1260,420],\"parameters\":{\"options\":{},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"id\":\"4e06ae2b-ef42-4ef4-b7b2-56eb70738a03\",\"name\":\"TableName\",\"type\":\"n8n-nodes-base.set\",\"position\":[840,420],\"parameters\":{\"values\":{\"string\":[{\"name\":\"TableName\",\"value\":\"booksRead\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"457ed549-507d-422a-bd14-1736252bd2e9\",\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[1060,420],\"parameters\":{\"query\":\"=SELECT * FROM {{ $json[\\\"TableName\\\"] }}\",\"operation\":\"executeQuery\",\"additionalFields\":{}},\"credentials\":{\"postgres\":{\"id\":\"33\",\"name\":\"Postgres account\"}},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"Postgres\":[{\"json\":{\"book_id\":1,\"read_date\":\"2022-09-08\",\"book_title\":\"Demons\",\"book_author\":\"Fyodor Dostoyevsky\"}},{\"json\":{\"book_id\":2,\"read_date\":\"2022-05-06\",\"book_title\":\"Ulysses\",\"book_author\":\"James Joyce\"}},{\"json\":{\"book_id\":3,\"read_date\":\"2023-01-04\",\"book_title\":\"Catch-22\",\"book_author\":\"Joseph Heller\"}},{\"json\":{\"book_id\":4,\"read_date\":\"2023-01-21\",\"book_title\":\"The Bell Jar\",\"book_author\":\"Sylvia Plath\"}},{\"json\":{\"book_id\":5,\"read_date\":\"2023-02-14\",\"book_title\":\"Frankenstein\",\"book_author\":\"Mary Shelley\"}}],\"Spreadsheet File\":[{\"json\":{\"book_id\":1,\"read_date\":\"2022-09-08\",\"book_title\":\"Demons\",\"book_author\":\"Fyodor Dostoyevsky\"}},{\"json\":{\"book_id\":2,\"read_date\":\"2022-05-06\",\"book_title\":\"Ulysses\",\"book_author\":\"James Joyce\"}},{\"json\":{\"book_id\":3,\"read_date\":\"2023-01-04\",\"book_title\":\"Catch-22\",\"book_author\":\"Joseph Heller\"}},{\"json\":{\"book_id\":4,\"read_date\":\"2023-01-21\",\"book_title\":\"The Bell Jar\",\"book_author\":\"Sylvia Plath\"}},{\"json\":{\"book_id\":5,\"read_date\":\"2023-02-14\",\"book_title\":\"Frankenstein\",\"book_author\":\"Mary Shelley\"}}]},\"settings\":{},\"versionId\":\"586e2a98-69a0-4a40-8c92-89380a7cca73\",\"connections\":{\"Postgres\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"TableName\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"TableName\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Icebreaker Job posting intent Outbound", "output": "{\"id\":\"104\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Job posting intent Outbound\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"ec84dbd0-98d0-48bf-bdf6-b2de84b3f295\",\"name\":\"splitJobOffers\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[-500,0],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=body.job_offers\"},\"typeVersion\":1},{\"id\":\"ae54ede2-fa5c-4ec6-85fc-0243de9d0e84\",\"name\":\"split_in_batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[-120,140],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"8fb5df71-0b95-430f-a8d4-28b3d8b71c4f\",\"name\":\"sync_airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1340,20],\"parameters\":{\"id\":\"={{ $json[\\\"id\\\"] }}\",\"table\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idtable\\\"] }}\"},\"fields\":[\"value_proposition\",\"departments\",\"job_titles\",\"keywords\",\"market\",\"target_audience\"],\"options\":{},\"operation\":\"update\",\"application\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $node[\\\"set_id_airtable\\\"].json[\\\"idbase\\\"] }}\"},\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"8\",\"name\":\"Airtable LS\"}},\"typeVersion\":1},{\"id\":\"419fe805-5a3d-4a20-8fec-77b823baaba1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[220,140],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.fields.job_description){\\n\\n$input.item.json.content = $input.item.json.fields.job_description.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 4000)\\n}\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"b8f87e36-1065-4e3b-bfe6-59c36dac3c30\",\"name\":\"OpenAI - write Icebreaker\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[380,140],\"parameters\":{\"prompt\":\"=This is a job posting description of the company {{ $node[\\\"split_in_batches1\\\"].json[\\\"fields\\\"][\\\"company_name\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\nThis is the tagline of the company {{ $node[\\\"split_in_batches1\\\"].json[\\\"fields\\\"][\\\"company_name\\\"] }}:\\\"{{ $node[\\\"split_in_batches1\\\"].json[\\\"fields\\\"][\\\"company_tagline\\\"] }}\\\"\\nThis is the description of the company {{ $node[\\\"split_in_batches1\\\"].json[\\\"fields\\\"][\\\"company_name\\\"] }}:\\\"{{ $node[\\\"split_in_batches1\\\"].json[\\\"fields\\\"][\\\"company_description\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"{{ $node[\\\"split_in_batches1\\\"].json[\\\"fields\\\"][\\\"company_name\\\"] }} helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Guess the target audience of the company. Classify and choose 1 from this list only: sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels. Write it in lowercase\\n\\n- Which company department or departments would they likely sell their product or services to considering these departments only: C-Suite, Executive, Engineering & Technical, Design, Finance, Human Resources, Information Technology, Legal, Marketing, Operations, Sales\\n\\n- Give me the most comprehensive list you can think of job titles across those departments. Max 7 job titles. Sorted them by the most likely to be the decision maker, that would most likely buy this product or service.\\n\\n- Thinking about all of the information generated and the company description, provide a comprehensive comma separated list of keywords and jargon that you might find in the job descriptions of roles listed in the titles column that relate specifically to the problems the company is trying to solve. In English. Max 15 keywords.\\n\\n- Tell me if they are B2B or B2C\\n\\n- Now double check your work\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"target_audience\\\": target_audience, \\n\\\"departments\\\": departments,\\n\\\"job_titles\\\": job_titles,\\n\\\"keywords\\\": keywords,\\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":1000,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"14\",\"name\":\"OpenAi account\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"cfbe609c-16bc-4e63-b936-f7d9449ae019\",\"name\":\"Clean Job Name\",\"type\":\"n8n-nodes-base.code\",\"position\":[40,140],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobname = ['Account Manager','SDR','BDR','Growth','Marketing', 'Outbound','Business Developer','Sales Development', 'Sales Executive', 'Business Development', 'Account Executive']\\n\\n\\nreturn ({json:{...$input.item.json, jobnamenorm: jobname.find(j =>$input.item.json.job_name.toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"1d39fb61-4ccb-4e92-9d16-b946b96b79aa\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[520,140],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\n$input.item.json.departments=JSON.parse($input.item.json.text).departments\\n\\n$input.item.json.job_titles=JSON.parse($input.item.json.text).job_titles\\n\\n$input.item.json.keywords=JSON.parse($input.item.json.text).keywords\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"b7a0ca34-f7b7-4e22-a7a2-14a66c535cb2\",\"name\":\"detect Tools\",\"type\":\"n8n-nodes-base.code\",\"position\":[-320,0],\"parameters\":{\"jsCode\":\"const crm= ['Salesforce', 'HubSpot', 'Pipedrive']\\nconst marketing= ['Hubspot', 'Sendinblue', 'Marketo', 'Pardot']\\n\\n\\nreturn ({json:{crm: crm.find(j =>$node[\\\"LoneScale - New Hob Intent\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) ), marketing: marketing.find(j =>$node[\\\"LoneScale - New Hob Intent\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"f32a5e54-9c99-44e7-a2e3-3205bc946aa8\",\"name\":\"LoneScale - New Job\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-680,0],\"webhookId\":\"b54e642f-4528-4b20-bd38-7a2bf6fbaa9f\",\"parameters\":{\"path\":\"lonescalefrsdr\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"0a8b7d17-5fce-475a-8369-e4098c4ac79e\",\"name\":\"set_id_airtable\",\"type\":\"n8n-nodes-base.set\",\"position\":[960,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"idbase\"},{\"name\":\"idtable\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"cdafa933-094c-426a-8402-7222f4f78b5d\",\"name\":\"set_airtable\",\"type\":\"n8n-nodes-base.set\",\"position\":[1160,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"value_proposition\",\"value\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"name\":\"job_titles\",\"value\":\"={{ $json[\\\"job_titles\\\"] }}\"},{\"name\":\"keywords\",\"value\":\"={{ $json[\\\"keywords\\\"] }}\"},{\"name\":\"market\",\"value\":\"={{ $json[\\\"market\\\"] }}\"},{\"name\":\"target_audience\",\"value\":\"={{ $json[\\\"target_audience\\\"] }}\"},{\"name\":\"departments\",\"value\":\"={{ $json[\\\"departments\\\"] }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"156e0d65-1982-4303-9b7c-792da62deab0\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[760,20],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2}],\"active\":false,\"pinData\":{\"LoneScale - New Job\":[{\"json\":{\"id\":\"reckLuM86Ssxm4uql\",\"fields\":{\"job_id\":\"9db58e0e-64d1-45d2-be26-3b06c8758fea\",\"job_link\":\"https://www.linkedin.com/jobs/view/sales-representative-b-sdr-at-breakthru-beverage-group-3522199574\",\"job_name\":\"Sales Representative B, SDR\",\"workflow\":\"Webinar USA [COPY] [COPY] [COPY]\",\"job_level\":\"Individual contributor\",\"company_name\":\"Breakthru Beverage Group\",\"job_contract\":[\"Full Time\"],\"job_location\":\"Denver, Colorado, United States\",\"job_name_norm\":\"SDR\",\"jobboard_name\":\"linkedin\",\"company_domain\":\"breakthrubev.com\",\"job_categories\":\"Business\",\"company_address\":\"60804, Cicero, United States of America\",\"company_tagline\":\"Headquartered in New York, NY & Cicero, IL\",\"job_description\":\" Overview We are experts in the beer, wine and spirits industry looking for individuals who share our passion for customer service and thrive in a fast-paced selling environment. As a Sales Representative for Chains and C-Stores, you will cultivate and grow account off-premise relationships located in Denver to maximize the sales of supplier Wine brands through effective planning, selling execution and communication resulting in the achievement of company and supplier objectives. If you share our passion for exceeding customer expectations and being on a winning team – and have a car to drive to our customers’ locations – then come join our fun, family-based culture. Salary And Benefit Statement Any offered salary is determined based on internal equity, internal salary ranges, market data/ranges, applicant’s skills and prior relevant experience. Compensation package: Range: $40,000-50,000+ $2,400 Car Allowance This position is eligible to participate in a bonus program. Metrics and level of participation are determined annually. This position is eligible for health care benefits, life insurance, time off benefits and participation in the Company’s 401(k) plan. Responsibilities Calls on accounts and covers daily routes by creating an established and efficient routing pattern. Analyzes entire account base by visiting each account and identifying opportunities; completes all necessary surveys and ensures national account compliance where applicable. Prepares and delivers professional sales presentations to customers by balancing the company’s priorities and customers’ needs to include new products, well and back bar placements and resets, drink and wine lists, and promotions. Maintains product levels in accounts by taking inventory and restocking shelves (where legally permissible). Educates account staff on priority brands by administering educational staff training seminars. Manages customer account receivables by timely processing of credits and returns and communicating with accounts on aged receivables. Services accounts by delivering products to customers in extenuating circumstances, handling customer issues and complaints and referring these issues, as appropriate, to management. Achieves sales and merchandising objectives. Strategizes/preplans on how best to achieve objectives by understanding company pricing and product programming information on a monthly basis and maintaining accurate historical account purchase information. Understands and works with management on inventory levels by being aware of current inventory and out of stock situations and by alerting management to possible fluctuations in demand. Attains standards of performance goals by achieving the distribution, volume, and activity goals of supplier brands as set by management. Ensures maximum brand visibility within accounts by maintaining account standards as determined by management and using effective and current point of sale materials when appropriate. Obtains payments for company by collecting and delivering checks or other remittance from accounts where legally permissible. Supports account openings by developing opening orders for new accounts in collaboration with Field Sales Manager. Participates in effective supplier work with sales calls and sales blitzes. Other duties, as assigned by the jobholder’s supervisor, may also be required. Qualifications Bachelor’s degree in related field and/or equivalent training and work experience Minimum of 2 years’ experience in Sales Basic PC skills using MS Office and other various computer programs including presentation software Must be a results-oriented professional with verbal/written communication skills using diplomacy and discretion as well as customer service skills Ability to multi-task, work independently and/or within a team, pay attention to detail and meet deadlines Analytic and Reporting skills Utilize sound judgement and problem-solving skills Ability to work in fast-paced, high-volume, team environment Must be at least 21 years of age Must possess a valid Driver’s License Must have reliable transportation and proof of auto insurance Physical Requirements While performing the duties of this job, the employee is regularly required to, stand, sit; talk, hear, and use hands and fingers While performing the duties of this job, the employee is regularly required to reach overhead, squat and bend Carrying and lifting 45-65 pounds Competencies Accountable for results which impact the department. Selects best option from a set of defined procedures/ solutions using common sense and experience of similar situations. This job description is only a summary of the typical functions of this position, not an exhaustive or comprehensive list of all possible job responsibilities, tasks and duties. Responsibilities, tasks, and duties of individual jobholders may vary from the above description. EEO Statement Breakthru Beverage Group is an equal opportunity employer. We evaluate qualified applicants without regard to race, color, religion, sex, sexual orientation, gender identity, national origin, disability, veteran status, genetic information and other legally protected characteristics. The EEO is the Law poster is available Here, if you need a reasonable accommodation because of a disability for any part of the employment process, please call (708) 298-3536 and let us know the nature of your request and your contact information. Category Sales/Trade \",\"marketing_tools\":\"Hubspot\",\"company_hashtags\":\"connecticutdistinc, connecticutdistributors, wineandspiritsdistributor\",\"company_industry\":\"Wholesale\",\"context_keywords\":\"sales,demand\",\"job_published_at\":\"13/03/2023\",\"company_description\":\"Breakthru Beverage is a family-owned and operated company with operations across the U.S. and Canada, and more than $5 billion in annual sales driven by a team of 7,000 associates. We deliver world-renowned brands to the doorsteps of North America’s retail, bar and restaurant businesses. Our sales and logistics expertise stems from two industry pioneers, Charmer Sunbelt Group and Wirtz Beverage Group. Breakthru Beverage Group was formed in 2016 when these two longtime leading beverage companies joined forces.\",\"company_linkedin_id\":390881,\"company_linkedin_url\":\"https://www.linkedin.com/company/breakthru-beverage-group\",\"company_specialities\":\"Sales & Marketing, Alcohol Beverage, Operations, Logistics\",\"created_time_airtable\":\"2023-03-15T18:43:54.000Z\",\"company_employees_count\":3890,\"matched_job_offers_company_count\":2},\"createdTime\":\"2023-03-15T18:43:54.000Z\"}}]},\"settings\":{},\"versionId\":\"4245c1e7-985f-4316-8e28-3542e4469369\",\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"set_id_airtable\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"detect Tools\":{\"main\":[[{\"node\":\"split_in_batches\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"set_airtable\":{\"main\":[[{\"node\":\"sync_airtable\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI - write Icebreaker\",\"type\":\"main\",\"index\":0}]]},\"Clean Job Name\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"splitJobOffers\":{\"main\":[[{\"node\":\"detect Tools\",\"type\":\"main\",\"index\":0}]]},\"set_id_airtable\":{\"main\":[[{\"node\":\"set_airtable\",\"type\":\"main\",\"index\":0}]]},\"split_in_batches\":{\"main\":[[{\"node\":\"Clean Job Name\",\"type\":\"main\",\"index\":0}]]},\"LoneScale - New Job\":{\"main\":[[{\"node\":\"splitJobOffers\",\"type\":\"main\",\"index\":0}]]},\"OpenAI - write Icebreaker\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "WhatsApp Cloud API", "output": "{\"nodes\":[\"\"],\"connections\":[\"\"]}" }, { "input": "Import contacts in Sendinblue list ", "output": "{\"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}]]}}}" }, { "input": "Import contacts in Mailjet list", "output": "{\"id\":\"3\",\"meta\":{\"instanceId\":\"7b4204bd4d49acdf52820bdf240299b8e41a2f4055799ec9dcffa792f9643368\"},\"name\":\"Import contacts in Mailjet list\",\"tags\":[],\"nodes\":[{\"id\":\"2efe9278-965f-44f2-80e4-4910c12ad601\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3900,3498.4361465816473],\"parameters\":{\"width\":441.6510949141564,\"height\":243.18107665208947,\"content\":\"### API DOC\\n\\nhttps://dev.mailjet.com/email/guides/contact-management/#manage-multiple-contacts-in-a-list\\n\\nhttps://dev.mailjet.com/email/guides/contact-management/#overview\"},\"typeVersion\":1},{\"id\":\"97a900c7-d613-4054-b86d-ecfdb368a32b\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2940,2778.4361465816473],\"parameters\":{\"width\":904.1667813291737,\"height\":277.79095172370467,\"content\":\"## Create a list on the Mailjet account\\n\\nDouble click on the node to configure it.\\n\\n**1. Mailjet - create a list**\\n- Choose the user's Mailjet credentials\\n- In Body parameters > \\\"Value\\\" field, write the name of the contact list to create\\n- Execute the node (play button above the node) \\n- Double click on the node and in the \\\"output\\\" panel (on the right),\\ncopy the \\\"ID\\\" value and **paste it in node 4**: in the \\\"URL\\\" field, as indicated here: https://api.mailjet.com/v3/REST/contactslist/PASTE_HERE/managemanycontacts\\n\"},\"typeVersion\":1},{\"id\":\"39be8668-886a-4d06-89bc-3a8feaa54510\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2940,2633.584206246656],\"parameters\":{\"width\":556.8240207957331,\"height\":124.48170110370168,\"content\":\"## Create Mailjet Credentials\\nAdd the Mailjet API and secret keys of your user in N8N \\\"Credentials\\\" tab. [See the doc](https://docs.n8n.io/integrations/builtin/credentials/mailjet/)\\n\"},\"typeVersion\":1},{\"id\":\"57e26418-73fe-4062-a916-c06fd7fd98bb\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2940,3078.4361465816473],\"parameters\":{\"width\":913.2478202839083,\"height\":666.2226758207432,\"content\":\"## Import your contacts from OFN to Mailjet list\\n\\n**2. Schedule trigger** Choose the frequency you want\\n\\n**3. Your data source**\\n\\n**4. Mailjet - Import contacts in list**\\nIn \\\"Credential Mailjet API\\\", choose your user credentials\\n\\n\\n**Click on \\\"Execute workflow\\\" once** The list will be imported.\\n\\n**Activate your workflow** (click on the toggle on the top right of your screen). Your contact list will be updated automatically! 🤟\\n\\n\"},\"typeVersion\":1},{\"id\":\"db95f229-35d2-4bab-acd8-c02facd5a6a1\",\"name\":\"Execute Workflow\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[3000,3438.4361465816473],\"parameters\":{},\"typeVersion\":1},{\"id\":\"29797c17-6438-4567-b6bb-e5e0c6090cfe\",\"name\":\"Create emailList Array\",\"type\":\"n8n-nodes-base.code\",\"position\":[3460,3498.4361465816473],\"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 {\\n \\\"emailList\\\": emails\\n}\\n \"},\"typeVersion\":1},{\"id\":\"6fc4b81a-3e16-4dc1-b532-5f9f259a6369\",\"name\":\"2. Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[3000,3578.4361465816473],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1},{\"id\":\"ce8d4b6e-4e80-40f7-bab9-41e6b1ca4de9\",\"name\":\"4. Mailjet - Import contacts in list\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3660,3498.4361465816473],\"parameters\":{\"url\":\"https://api.mailjet.com/v3/REST/contactslist/51259/managemanycontacts\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"Action\",\"value\":\"addnoforce\"},{\"name\":\"Contacts\",\"value\":\"={{ $json.emailList }}\"}]},\"nodeCredentialType\":\"mailjetEmailApi\"},\"credentials\":{\"mailjetEmailApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":3},{\"id\":\"8d2b1e95-abc9-47e7-a642-a0faa96b0ef0\",\"name\":\"1. Mailjet - create a list\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3600,2838.4361465816473],\"parameters\":{\"url\":\"https://api.mailjet.com/v3/REST/contactslist\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"Name\",\"value\":\"CoopCircuits\"}]},\"nodeCredentialType\":\"mailjetEmailApi\"},\"credentials\":{\"mailjetEmailApi\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":3},{\"id\":\"505b02dd-61bd-4499-ad21-66fac190cdc5\",\"name\":\"3. Your data source - Get customers list\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3240,3498.4361465816473],\"parameters\":{\"url\":\"https://yoururl\",\"options\":{},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpQueryAuth\"},\"credentials\":{\"httpQueryAuth\":{\"id\":\"\",\"name\":\"\"}},\"typeVersion\":2},{\"id\":\"e4350634-88e5-4352-b975-6262d4d3d08b\",\"name\":\"test function: return email list\",\"type\":\"n8n-nodes-base.code\",\"position\":[3460,3700],\"parameters\":{\"jsCode\":\"var contactList = []\\n\\n\\nfor(i=0;i<2;i++) {\\n contactList.push(\\n {\\n \\\"Email\\\" : \\\"bomboclattt\\\"+i + \\\"@ecomail.com\\\"\\n \\n })\\n}\\n\\nreturn {\\n \\\"emailList\\\":\\n contactList\\n}\\n\\n\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"bf4ae309-635b-458f-90ff-b71b1e20f06e\",\"connections\":{\"Execute Workflow\":{\"main\":[[{\"node\":\"3. Your data source - Get customers list\",\"type\":\"main\",\"index\":0}]]},\"2. Schedule Trigger\":{\"main\":[[{\"node\":\"3. Your data source - Get customers list\",\"type\":\"main\",\"index\":0}]]},\"Create emailList Array\":{\"main\":[[{\"node\":\"4. Mailjet - Import contacts in list\",\"type\":\"main\",\"index\":0}]]},\"3. Your data source - Get customers list\":{\"main\":[[{\"node\":\"Create emailList Array\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Linkedin scraping to Hubspot CRM with Dropcontact + Hunter waterfall enrichment", "output": "{\"id\":\"36\",\"meta\":{\"instanceId\":\"64f2868fee12499266ce34a646d88854e4ff90fe0171de9a519ffe6a65a20229\"},\"name\":\"#1162 Growth & Data Automation__Projects__Automatiser les étapes de scraping Linkedin_v9_bouncer\",\"tags\":[],\"nodes\":[{\"id\":\"47e9e229-65dd-4610-85ca-e93a328c384f\",\"name\":\"Phantombuster1\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[800,420],\"parameters\":{\"agentId\":\"407779365504112\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"13\",\"name\":\"Phantombuster account\"}},\"typeVersion\":1},{\"id\":\"80fbfcd1-232a-47f3-959f-4469464ed0a7\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[1280,400],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{ $json[\\\"additionalInfo\\\"].split(\\\"chez \\\")[1].split(\\\" \\\")[0]}}\",\"linkedin\":\"={{ $json[\\\"profileUrl\\\"] }}\",\"full_name\":\"={{ $json[\\\"fullName\\\"] }}\",\"last_name\":\"={{ $json[\\\"lastName\\\"] }}\",\"first_name\":\"={{ $json[\\\"firstName\\\"] }}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"15\",\"name\":\"Dropcontact account\"}},\"typeVersion\":1},{\"id\":\"d82e8369-a19f-430a-8d29-d901222cc62d\",\"name\":\"HubSpot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[5060,360],\"parameters\":{\"email\":\"={{ $json[\\\"Email\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"appToken\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"Last_name\\\"] }}\",\"firstName\":\"={{ $json[\\\"First_Name\\\"] }}\",\"websiteUrl\":\"={{ $json[\\\"URL_du_site_web\\\"] }}\",\"companyName\":\"={{ $json[\\\"Nom_de_l_entreprise\\\"] }}\",\"phoneNumber\":\"={{ $json[\\\"Numero_de_telephone\\\"] }}\",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{ $json[\\\"LinkedIn_URL\\\"] }}\",\"property\":\"lemlistlinkedinurl\"}]}}},\"credentials\":{\"hubspotAppToken\":{\"id\":\"9\",\"name\":\"Hubspot_n8n_Private-App_API\"}},\"typeVersion\":1},{\"id\":\"8eed9d7c-7f22-4caf-a00d-3631e23f3404\",\"name\":\"Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[100,148.83720930232585],\"parameters\":{\"width\":260.33860465116294,\"height\":884.7392114335846,\"content\":\"## Bloc 1 : Webhook Phantombuster \\n\\nDéclenchement (\\\"Launch\\\") manuel dans PhantomBuster qui appelle un webhook personnalisé à la fin de l'éxecution.\\nCe webhook contient un payload qui contient le résultat de l'éxecution et constitue le trigger du workflow.\"},\"typeVersion\":1},{\"id\":\"8493cb51-bbab-464c-91ed-7bc861e914e8\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[540,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"body\\\"][\\\"exitMessage\\\"] }}\",\"value2\":\"finished\"}]}},\"typeVersion\":1},{\"id\":\"f8ace71c-11eb-4ac9-a580-50e1802368bb\",\"name\":\"Hunter\",\"type\":\"n8n-nodes-base.hunter\",\"position\":[2660,600],\"parameters\":{\"domain\":\"={{ $json[\\\"URL_du_site_web\\\"] }}\",\"lastname\":\"={{ $json[\\\"Last_Name\\\"] }}\",\"firstname\":\"={{ $json[\\\"First_Name\\\"] }}\",\"operation\":\"emailFinder\"},\"credentials\":{\"hunterApi\":{\"id\":\"16\",\"name\":\"Hunter account\"}},\"typeVersion\":1},{\"id\":\"edb1d969-e946-4668-aed0-9a87f380a7fd\",\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[3000,400],\"parameters\":{},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"24b6d0d8-772e-4792-ae94-2628efc86b91\",\"name\":\"IF3\",\"type\":\"n8n-nodes-base.if\",\"position\":[1040,420],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"error\\\"] }}\",\"value2\":\"No result found\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"7aff48f8-546c-417f-aa8c-e5d581d076e0\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[780,700],\"parameters\":{\"text\":\"Phantom Error (not finished)\",\"channel\":\"n8n\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"18\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"34d8d4f5-716b-4005-b018-56f44e6debdf\",\"name\":\"Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1240,600],\"parameters\":{\"text\":\"Phantom Error (not results found)\",\"channel\":\"n8n\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"18\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"d8d5aaea-1d65-45ab-b19e-195d1443e82b\",\"name\":\"Webhook1\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[160,440],\"webhookId\":\"76b2d388-e897-4bcb-a838-68fe758297d1\",\"parameters\":{\"path\":\"6b9606d1-7c4d-4ad3-b8d0-0edb68fd9a95\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"27d22afa-0e3a-45f4-8404-bd350a1f77c7\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[3660,620],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d2e074a6-20fc-4b6c-88b3-4a234d8ee037\",\"name\":\"Remove empty and personal emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[3240,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Email\\\"] }}\",\"operation\":\"isNotEmpty\"},{\"value1\":\"={{ $json[\\\"Email\\\"] }}\",\"value2\":\"@gmail\",\"operation\":\"notContains\"},{\"value1\":\"={{ $json[\\\"Email\\\"] }}\",\"value2\":\"@hotmail\",\"operation\":\"notContains\"}]}},\"typeVersion\":1},{\"id\":\"c71f3ea8-eda6-4a2b-a159-c38914a6593e\",\"name\":\"Remove duplicates email from merge node\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[3640,380],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":{\"fields\":[{\"fieldName\":\"Email\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"b58e1323-3444-4065-8375-70900e0b3c7b\",\"name\":\"Timestamp format for Hubspot\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[4840,360],\"parameters\":{\"value\":\"={{ $node[\\\"Set clean input for Hubspot\\\"].json[\\\"timestamp\\\"] }}\",\"options\":{},\"toFormat\":\"x\",\"dataPropertyName\":\"timestamp\"},\"typeVersion\":1},{\"id\":\"e35354dd-6e86-4373-abfd-8485e2c8031d\",\"name\":\"Verify mails in Bouncer\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[4180,500],\"parameters\":{\"url\":\"https://api.usebouncer.com/v1/email/verify\",\"method\":\"=GET\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"email\",\"value\":\"={{ $json[\\\"Email\\\"] }}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"22\",\"name\":\"Bouncer_OPUS-Développement\"}},\"typeVersion\":3},{\"id\":\"4a34905a-a76e-40bd-a820-0559cd866797\",\"name\":\"No Operation, do nothing1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2460,860],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d20f081c-e0c0-4f52-829b-03b6b5c7ce02\",\"name\":\"Clean undeliverable emails\",\"type\":\"n8n-nodes-base.if\",\"position\":[4420,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"status\\\"]}}\",\"value2\":\"undeliverable\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"7d5508b1-faf0-430a-9e58-a1c062989753\",\"name\":\"No Operation, do nothing2\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[4600,680],\"parameters\":{},\"typeVersion\":1},{\"id\":\"dc8fe4fc-bb96-40e5-9cbf-56fd2b1eac75\",\"name\":\"Simu drop\",\"type\":\"n8n-nodes-base.code\",\"position\":[240,1420],\"parameters\":{\"jsCode\":\"var item = [\\n {\\n \\\"civility\\\": \\\"Mrs\\\",\\n \\\"company\\\": \\\"Gecina\\\",\\n \\\"company_linkedin\\\": \\\"www.linkedin.com/company/gecina\\\",\\n \\\"email\\\": [\\n {\\n \\\"email\\\": \\\"maryllhenderycksen@gecina.fr\\\",\\n \\\"qualification\\\": \\\"catch-all@pro\\\"\\n }\\n ],\\n \\\"first_name\\\": \\\"Maryll\\\",\\n \\\"full_name\\\": \\\"Maryll Henderycksen\\\",\\n \\\"job\\\": \\\"Responsable Marketing\\\",\\n \\\"last_name\\\": \\\"Henderycksen\\\",\\n \\\"linkedin\\\": \\\"www.linkedin.com/in/maryll-henderycksen-05097b46\\\",\\n \\\"phone\\\": \\\"+33 1 40 40 50 50\\\",\\n \\\"website\\\": \\\"www.gecina.fr\\\"\\n },\\n {\\n \\\"civility\\\": \\\"Mrs\\\",\\n \\\"company\\\": \\\"Alila\\\",\\n \\\"company_linkedin\\\": \\\"www.linkedin.com/company/alila-promoteur\\\",\\n \\\"email\\\": [\\n {\\n \\\"email\\\": \\\"a.lusetti@alila.fr\\\",\\n \\\"qualification\\\": \\\"catch-all@pro\\\"\\n }\\n ],\\n \\\"first_name\\\": \\\"Ariane\\\",\\n \\\"full_name\\\": \\\"Ariane Lusetti\\\",\\n \\\"last_name\\\": \\\"Lusetti\\\",\\n \\\"linkedin\\\": \\\"www.linkedin.com/in/ariane-lusetti\\\",\\n \\\"phone\\\": \\\"+33 4 72 18 95 95\\\",\\n \\\"website\\\": \\\"www.alila.fr\\\"\\n },\\n {\\n \\\"civility\\\": \\\"Mrs\\\",\\n \\\"company\\\": \\\"Dattak\\\",\\n \\\"company_linkedin\\\": \\\"www.linkedin.com/company/cyberlinefr\\\",\\n \\\"email\\\": [\\n {\\n \\\"email\\\": \\\"paula.jacquemain@dattak.fr\\\",\\n \\\"qualification\\\": \\\"nominative@pro\\\"\\n }\\n ],\\n \\\"first_name\\\": \\\"Paula\\\",\\n \\\"full_name\\\": \\\"Paula Jacquemain\\\",\\n \\\"job\\\": \\\"Responsable Marketing\\\",\\n \\\"last_name\\\": \\\"Jacquemain\\\",\\n \\\"linkedin\\\": \\\"www.linkedin.com/in/paula-jacquemain-31268350\\\",\\n \\\"phone\\\": \\\"+33 6 20 76 20 67\\\"\\n }\\n];\\n\\nreturn item;\"},\"typeVersion\":1},{\"id\":\"da43e7bd-552f-460f-9b94-b1095b8898c8\",\"name\":\"Verify if last_name contains at least 2 letters\",\"type\":\"n8n-nodes-base.code\",\"position\":[2480,600],\"parameters\":{\"jsCode\":\"var item = $node[\\\"If first_name, last_name, website\\\"];\\n\\n// console.log(item);\\n// console.log($node[\\\"If first_name, last_name, website\\\"].json.Last_Name);\\n\\n\\nvar item_last_name = $node[\\\"If first_name, last_name, website\\\"].json.Last_Name ;\\n\\nfunction contientDeuxLettres(chaine) {\\n // initialisation du compteur de lettres\\n let compteur = 0;\\n \\n // boucle sur chaque caractère de la chaîne\\n for (let i = 0; i < chaine.length; i++) {\\n // vérifie si le caractère est une lettre\\n if (/[a-zA-Z]/.test(chaine[i])) {\\n compteur++; // incrémente le compteur de lettres\\n }\\n \\n // si on a trouvé 2 lettres, on peut sortir de la boucle\\n if (compteur >= 2) {\\n break;\\n }\\n }\\n \\n // renvoie true si on a trouvé au moins 2 lettres, false sinon\\n return compteur >= 2;\\n}\\n\\n// contientDeuxLettres(item_last_name);\\n\\nconsole.log(contientDeuxLettres(item_last_name));\\n\\nif (contientDeuxLettres(item_last_name))\\n{\\n return item;\\n}\"},\"typeVersion\":1},{\"id\":\"877db82e-620a-4617-9a8b-81234ee10f38\",\"name\":\"If first_name, last_name, website\",\"type\":\"n8n-nodes-base.if\",\"position\":[2280,620],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"First_Name\\\"] }}\",\"operation\":\"isNotEmpty\"},{\"value1\":\"={{ $json[\\\"Last_Name\\\"] }}\",\"operation\":\"isNotEmpty\"},{\"value1\":\"={{ $json[\\\"URL_du_site_web\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"4f8d9a5e-a4bb-4e99-a21a-f696b99fa7bf\",\"name\":\"Set clean input for Hubspot\",\"type\":\"n8n-nodes-base.set\",\"position\":[3940,380],\"parameters\":{\"values\":{\"number\":[{\"name\":\"timestamp\",\"value\":\"={{ Math.floor(new Date().getTime()/1000) }}\"}],\"string\":[{\"name\":\"First_Name\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"First_Name\\\"].charAt(0).toUpperCase() + $node[\\\"Remove empty and personal emails\\\"].json[\\\"First_Name\\\"].slice(1).toLowerCase() }}\"},{\"name\":\"Last_name\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"Last_Name\\\"].charAt(0).toUpperCase() + $node[\\\"Remove empty and personal emails\\\"].json[\\\"Last_Name\\\"].slice(1).toLowerCase() }}\"},{\"name\":\"Email\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"Email\\\"] }}\"},{\"name\":\"URL_du_site_web\",\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"website\\\"] }}\"},{\"name\":\"LinkedIn_URL\",\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"linkedin\\\"] }}\"},{\"name\":\"Nom_de_l_entreprise\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"Nom_de_l_entreprise\\\"] }}\"},{\"name\":\"Numero_de_telephone\",\"value\":\"={{ $json[\\\"Numero_de_telephone\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"089d1e66-ad3a-4a1d-a020-c1a83410ed8d\",\"name\":\"Set clean output from Hunter\",\"type\":\"n8n-nodes-base.set\",\"position\":[2820,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"First_Name\",\"value\":\"={{ $node[\\\"Verify if last_name contains at least 2 letters\\\"].json[\\\"First_Name\\\"] }}\"},{\"name\":\"Last_Name\",\"value\":\"={{ $node[\\\"Verify if last_name contains at least 2 letters\\\"].json[\\\"Last_Name\\\"] }}\"},{\"name\":\"Email\",\"value\":\"={{ $json[\\\"email\\\"] }}\"},{\"name\":\"URL du site web\",\"value\":\"={{ $node[\\\"If first_name, last_name, website\\\"].json[\\\"URL_du_site_web\\\"] }}\"},{\"name\":\"LinkedIn_URL\",\"value\":\"={{ $node[\\\"Verify if last_name contains at least 2 letters\\\"].json[\\\"LinkedIn_URL\\\"] }}\"},{\"name\":\"Nom_de_l_entreprise\",\"value\":\"={{ $node[\\\"Verify if last_name contains at least 2 letters\\\"].json[\\\"Nom_de_l_entreprise\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"444964cd-fb51-47db-939d-6241e7be5ddf\",\"name\":\"If email ok continue if not go to Hunter\",\"type\":\"n8n-nodes-base.if\",\"position\":[1880,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"ba012416-69ab-4f77-9db1-8baf4b208925\",\"name\":\"If website key does not exist, create it\",\"type\":\"n8n-nodes-base.code\",\"position\":[2080,620],\"parameters\":{\"jsCode\":\"var items = $input.all()\\n\\nfor (let i = 0; i < items.length; i++) {\\n let item = items[i];\\n \\n if (!(item.json.hasOwnProperty('URL_du_site_web'))) {\\n item.json.URL_du_site_web = \\\"\\\";\\n }\\n \\n console.log(item);\\n \\n console.log(item.json.hasOwnProperty('URL_du_site_web'));\\n \\n}\\n\\n// console.log(items[0].json.URL_du_site_web);\\n\\nreturn items;\"},\"typeVersion\":1},{\"id\":\"3358eaa7-a6de-48f3-8442-e854b0e7c65f\",\"name\":\"Set clean output from Dropcontact\",\"type\":\"n8n-nodes-base.set\",\"position\":[1540,400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"First_Name\",\"value\":\"={{ $json[\\\"first_name\\\"] }}\"},{\"name\":\"Last_Name\",\"value\":\"={{ $json[\\\"last_name\\\"] }}\"},{\"name\":\"Email\",\"value\":\"={{ $json[\\\"email\\\"][\\\"0\\\"][\\\"email\\\"] }}\"},{\"name\":\"URL_du_site_web\",\"value\":\"={{ $json[\\\"website\\\"] }}\"},{\"name\":\"LinkedIn_URL\",\"value\":\"={{ $json[\\\"linkedin\\\"] }}\"},{\"name\":\"Nom_de_l_entreprise\",\"value\":\"={{ $json[\\\"company\\\"] }}\"},{\"name\":\"Numero_de_telephone\",\"value\":\"={{ $json[\\\"phone\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"c15477e8-048a-4cc4-8756-28594fb12aea\",\"name\":\"Set clean input for Hubspot1\",\"type\":\"n8n-nodes-base.set\",\"position\":[4620,360],\"parameters\":{\"values\":{\"number\":[{\"name\":\"timestamp\",\"value\":\"={{ Math.floor(new Date().getTime()/1000) }}\"}],\"string\":[{\"name\":\"First_Name\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"First_Name\\\"].charAt(0).toUpperCase() + $node[\\\"Remove empty and personal emails\\\"].json[\\\"First_Name\\\"].slice(1).toLowerCase() }}\"},{\"name\":\"Last_name\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"Last_Name\\\"].charAt(0).toUpperCase() + $node[\\\"Remove empty and personal emails\\\"].json[\\\"Last_Name\\\"].slice(1).toLowerCase() }}\"},{\"name\":\"Email\",\"value\":\"={{ $json[\\\"email\\\"] }}\"},{\"name\":\"URL_du_site_web\",\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"website\\\"] }}\"},{\"name\":\"LinkedIn_URL\",\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"linkedin\\\"] }}\"},{\"name\":\"Nom_de_l_entreprise\",\"value\":\"={{ $node[\\\"Remove empty and personal emails\\\"].json[\\\"Nom_de_l_entreprise\\\"] }}\"},{\"name\":\"Numero_de_telephone\",\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"phone\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"a49bf544-0108-4aef-89a3-2d7c970aac1d\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1780,140],\"parameters\":{\"width\":1394.4692093023261,\"height\":899.7298604651166,\"content\":\"## Bloc 3 : Séquence d'enrichissement en cascade avec Hunter si pas d'email avec DropContact\\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\"},\"typeVersion\":1},{\"id\":\"62982462-b938-46da-8621-a8a292da6267\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[480,140],\"parameters\":{\"width\":1232.4226976744171,\"height\":893.4886995348841,\"content\":\"## Bloc 2 : Séquence d'enrichissement avec DropContact à partir de l'output Phantombuster\\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\"},\"typeVersion\":1},{\"id\":\"6cba4772-eccf-4bbf-ba1c-f8bd62895d71\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3205.953100775285,140],\"parameters\":{\"width\":897.4347131782026,\"height\":899.7298604651166,\"content\":\"## Bloc 4 : Déduplication des contacts et reformatage des données pour Hubspot\\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\"},\"typeVersion\":1},{\"id\":\"36cf3fd5-62fa-4fab-9e27-0493b01b4ccb\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[4133.2440014767335,140],\"parameters\":{\"width\":633.9693938721038,\"height\":899.7298604651166,\"content\":\"## Bloc 5 : Validation des emails avec Bouncer\\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\"},\"typeVersion\":1},{\"id\":\"374da2f4-f2cd-49cd-acf1-0cc86d1c0423\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[4820,140],\"parameters\":{\"width\":497.7145336938873,\"height\":899.7298604651166,\"content\":\"## Bloc 6 : Import des données dans Hubspot\\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"callerPolicy\":\"workflowsFromSameOwner\",\"saveManualExecutions\":false,\"saveExecutionProgress\":\"DEFAULT\",\"saveDataErrorExecution\":\"all\",\"saveDataSuccessExecution\":\"all\"},\"versionId\":\"24b9ca51-1c1d-4475-a546-4cc7014e5505\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Phantombuster1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"IF3\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack1\",\"type\":\"main\",\"index\":0}]]},\"Hunter\":{\"main\":[[{\"node\":\"Set clean output from Hunter\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Remove empty and personal emails\",\"type\":\"main\",\"index\":0}]]},\"Webhook1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"Set clean output from Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Phantombuster1\":{\"main\":[[{\"node\":\"IF3\",\"type\":\"main\",\"index\":0}]]},\"Verify mails in Bouncer\":{\"main\":[[{\"node\":\"Clean undeliverable emails\",\"type\":\"main\",\"index\":0}]]},\"Clean undeliverable emails\":{\"main\":[[{\"node\":\"Set clean input for Hubspot1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing2\",\"type\":\"main\",\"index\":0}]]},\"Set clean input for Hubspot\":{\"main\":[[{\"node\":\"Verify mails in Bouncer\",\"type\":\"main\",\"index\":0}]]},\"Set clean input for Hubspot1\":{\"main\":[[{\"node\":\"Timestamp format for Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Set clean output from Hunter\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"Timestamp format for Hubspot\":{\"main\":[[{\"node\":\"HubSpot\",\"type\":\"main\",\"index\":0}]]},\"Remove empty and personal emails\":{\"main\":[[{\"node\":\"Remove duplicates email from merge node\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"If first_name, last_name, website\":{\"main\":[[{\"node\":\"Verify if last_name contains at least 2 letters\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing1\",\"type\":\"main\",\"index\":0}]]},\"Set clean output from Dropcontact\":{\"main\":[[{\"node\":\"If email ok continue if not go to Hunter\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicates email from merge node\":{\"main\":[[{\"node\":\"Set clean input for Hubspot\",\"type\":\"main\",\"index\":0}]]},\"If email ok continue if not go to Hunter\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}],[{\"node\":\"If website key does not exist, create it\",\"type\":\"main\",\"index\":0}]]},\"If website key does not exist, create it\":{\"main\":[[{\"node\":\"If first_name, last_name, website\",\"type\":\"main\",\"index\":0}]]},\"Verify if last_name contains at least 2 letters\":{\"main\":[[{\"node\":\"Hunter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Hubspot with Outlook (for secondary domain) ", "output": "{\"meta\":{\"instanceId\":\"5e94c4e840a537eafad41834dc1cdea87e7b992e4a38d15d50e7b95cebc2c\"},\"nodes\":[{\"id\":\"bf32cf83-682a-4e08-9716-f85979431ad2\",\"name\":\"Merge3\",\"type\":\"n8n-nodes-base.merge\",\"position\":[280,800],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"joinMode\":\"enrichInput1\",\"mergeByFields\":{\"values\":[{\"field1\":\"email_adress\",\"field2\":\"email_adress\"}]}},\"typeVersion\":2},{\"id\":\"43c538c0-8ccf-43e3-a58f-bff1b04fdfde\",\"name\":\"Airtable3\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1480,820],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\"https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})\"},\"options\":{},\"operation\":\"append\",\"application\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\"https://airtable.com/([a-zA-Z0-9]{2,})\"}},\"credentials\":{\"airtableApi\":{\"id\":\"56\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"id\":\"ecedde79-c611-45cb-a783-607ccc049bd9\",\"name\":\"Set2\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,820],\"parameters\":{\"values\":{\"number\":[{\"name\":\"contact_ID\",\"value\":\"={{$json[\\\"contact_ID\\\"]}}\"}],\"string\":[{\"name\":\"email_adress\",\"value\":\"={{$json[\\\"email_adress\\\"]}}\"},{\"name\":\"email_ID\",\"value\":\"={{$json[\\\"email_id\\\"]}}\"},{\"name\":\"email_body\",\"value\":\"={{ $json[\\\"email_content\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"d2bd9223-7753-4f96-880e-82fe91b49a2b\",\"name\":\"Airtable4\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[-1640,880],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\"https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})\"},\"operation\":\"list\",\"application\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\"https://airtable.com/([a-zA-Z0-9]{2,})\"},\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":{\"id\":\"56\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"id\":\"c4f0910f-b948-4518-9a28-4bba0be9489d\",\"name\":\"SplitInBatches3\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1280,820],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"12f34efb-ec83-4a3c-9356-a0f9d721fee6\",\"name\":\"IF5\",\"type\":\"n8n-nodes-base.if\",\"position\":[1680,820],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches3\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"8aecfb9d-ef3a-4252-bd43-3be35c01bed2\",\"name\":\"SplitInBatches4\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[980,1100],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"da3e0bb2-92b5-4e90-adea-4fce1806f868\",\"name\":\"IF6\",\"type\":\"n8n-nodes-base.if\",\"position\":[1720,1100],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches4\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"9a5c6f5c-6d0f-495d-8fcd-6f94c351ebc9\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[680,820],\"parameters\":{\"operation\":\"limit\"},\"typeVersion\":1},{\"id\":\"750c1870-294c-45b3-81a0-54ea930c2a24\",\"name\":\"Read_Contact_ID\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-1640,1140],\"parameters\":{\"options\":{},\"authentication\":\"serviceAccount\"},\"credentials\":{\"googleApi\":{\"id\":\"44\",\"name\":\"Google account\"}},\"typeVersion\":2},{\"id\":\"37e0f618-e69a-471e-948f-08920de70c8c\",\"name\":\"Set_contact_ID\",\"type\":\"n8n-nodes-base.set\",\"position\":[-220,1140],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email_adress\",\"value\":\"={{ $json[\\\"email_adress\\\"] }}\"},{\"name\":\"contact_ID\",\"value\":\"={{ $json[\\\"contact_ID\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"3f81c5c5-b829-4015-b504-62c1bdcbcf70\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[0,760],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"joinMode\":\"keepNonMatches\",\"mergeByFields\":{\"values\":[{\"field1\":\"email_adress\",\"field2\":\"email_adress\"}]}},\"typeVersion\":2},{\"id\":\"1d40ee48-19ec-4e1a-bf17-d081febb11dc\",\"name\":\"Set_outlook\",\"type\":\"n8n-nodes-base.set\",\"position\":[-220,640],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email_adress\",\"value\":\"={{$node[\\\"Set1\\\"].json[\\\"sender_email\\\"]}}\"},{\"name\":\"email_content\",\"value\":\"={{$json[\\\"list\\\"]}}\"},{\"name\":\"email_id\",\"value\":\"={{$node[\\\"Get_messages\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"383a8a33-dfb6-4dcc-aa42-a0d98ceb0161\",\"name\":\"Set_airtable\",\"type\":\"n8n-nodes-base.set\",\"position\":[-220,880],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email_adress\",\"value\":\"={{$json[\\\"fields\\\"][\\\"email_adress\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"1d3e0d30-7270-4292-9373-e77b9d8edf7f\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[-1460,640],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ID_Folder\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Folder_Name\",\"value\":\"={{$json[\\\"displayName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"cdf18e62-e34f-4b9f-9a5a-ccec5c25334d\",\"name\":\"NoOp1\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1280,340],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c794a7d4-ae69-4ce3-91d1-4c096f4b21cb\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[500,800],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"contact_ID\\\"] }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"54e90132-ba1e-4dc9-996b-028f67130f4e\",\"name\":\"IF2\",\"type\":\"n8n-nodes-base.if\",\"position\":[-820,620],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"sender\\\"][\\\"emailAddress\\\"][\\\"address\\\"]}}\",\"value2\":\"@gxpcs.onmicrosoft.com\",\"operation\":\"endsWith\"},{\"value1\":\"={{$json[\\\"sender\\\"][\\\"emailAddress\\\"][\\\"address\\\"]}}\",\"value2\":\"postmaster\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"a5837b13-7ac4-4fde-a0fe-d978e82e8b96\",\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-840,360],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e809006a-bd35-4788-a705-be93a55e12e4\",\"name\":\"email has changed\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[600,480],\"parameters\":{},\"typeVersion\":1},{\"id\":\"72b3344b-7c4e-48e9-abf5-ca28b23fa4d3\",\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[-600,640],\"parameters\":{\"values\":{\"string\":[{\"name\":\"contenu_email\",\"value\":\"={{$json[\\\"body\\\"][\\\"content\\\"]}}\"},{\"name\":\"sender_email\",\"value\":\"={{$json[\\\"sender\\\"][\\\"emailAddress\\\"][\\\"address\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"d88eb4d3-37d5-4856-91bc-ddcc8a45b09b\",\"name\":\"Retrieve_folders\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[-1640,640],\"parameters\":{\"resource\":\"folder\",\"operation\":\"getAll\",\"additionalFields\":{}},\"credentials\":{\"microsoftOutlookOAuth2Api\":{\"id\":\"45\",\"name\":\"Microsoft Outlook account\"}},\"typeVersion\":1},{\"id\":\"55f86887-ca0c-48e0-9316-b0e8f21562a9\",\"name\":\"Select_folder\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1260,640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"Folder_Name\\\"] }}\",\"value2\":\"Boîte de réception\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"60bb9a89-a68f-4585-a199-4ca74bf8c6cb\",\"name\":\"Get_messages\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[-1040,620],\"parameters\":{\"limit\":500,\"folderId\":\"={{$json[\\\"ID_Folder\\\"]}}\",\"resource\":\"folderMessage\",\"operation\":\"getAll\",\"additionalFields\":{}},\"credentials\":{\"microsoftOutlookOAuth2Api\":{\"id\":\"47\",\"name\":\"Microsoft Outlook\"}},\"typeVersion\":1},{\"id\":\"07c643d1-e537-4802-bc63-6d5cd87336d8\",\"name\":\"Extract HTML -> Text\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[-400,640],\"parameters\":{\"options\":{},\"dataPropertyName\":\"contenu_email\",\"extractionValues\":{\"values\":[{\"key\":\"list\",\"cssSelector\":\"body\"}]}},\"typeVersion\":1},{\"id\":\"8ca424c6-088f-47e4-9854-4e8b9ff6aaad\",\"name\":\"Store_email\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1500,1100],\"parameters\":{\"type\":\"email\",\"metadata\":{\"html\":\"={{$json[\\\"email_content\\\"]}}\",\"fromEmail\":\"={{$json[\\\"email_adress\\\"]}}\"},\"resource\":\"engagement\",\"additionalFields\":{\"associations\":{\"contactIds\":\"={{$json[\\\"contact_ID\\\"]}}\"}}},\"credentials\":{\"hubspotApi\":{\"id\":\"6\",\"name\":\"Hubspot account\"}},\"typeVersion\":1},{\"id\":\"479059c6-63af-4786-8ff9-1439e40ae280\",\"name\":\"Set_engegement_id\",\"type\":\"n8n-nodes-base.set\",\"position\":[1960,1080],\"parameters\":{\"values\":{\"number\":[{\"name\":\"engagement_id\",\"value\":\"={{$json[\\\"engagement\\\"][\\\"id\\\"]}}\"}],\"string\":[{\"name\":\"email_address\",\"value\":\"={{$json[\\\"metadata\\\"][\\\"from\\\"][\\\"email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"91b8c666-87cd-4075-86ca-91038fb34fb1\",\"name\":\"Set_airtable_id\",\"type\":\"n8n-nodes-base.set\",\"position\":[1920,800],\"parameters\":{\"values\":{\"string\":[{\"name\":\"airtable_id\",\"value\":\"={{ $json[\\\"id\\\"] }}\"},{\"name\":\"email\",\"value\":\"={{$json[\\\"fields\\\"][\\\"email_adress\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"08c0b2da-08d7-4712-a49f-a45e188c03fd\",\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2320,980],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"mergeByFields\":{\"values\":[{\"field1\":\"email\",\"field2\":\"email_address\"}]}},\"typeVersion\":2},{\"id\":\"53f05bbd-287a-4162-9ef4-91b664fc277e\",\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[2880,980],\"parameters\":{\"id\":\"={{$node[\\\"Prepare_update\\\"].json[\\\"airtable_id\\\"]}}\",\"table\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\"https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})\"},\"fields\":[\"engagement_id\"],\"options\":{},\"operation\":\"update\",\"application\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\"https://airtable.com/([a-zA-Z0-9]{2,})\"},\"updateAllFields\":false},\"credentials\":{\"airtableApi\":{\"id\":\"56\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"id\":\"1727f654-bc48-4465-bc81-24bb43050f07\",\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[2680,980],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"1ec755c7-14d0-45cf-9c2c-f9d23e557f79\",\"name\":\"IF7\",\"type\":\"n8n-nodes-base.if\",\"position\":[3080,980],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"id\":\"e91e5e33-809f-43a5-8165-8962a6a3b2d7\",\"name\":\"Prepare_update\",\"type\":\"n8n-nodes-base.set\",\"position\":[2500,980],\"parameters\":{\"values\":{\"number\":[{\"name\":\"contact_ID\",\"value\":\"={{$json[\\\"contact_ID\\\"]}}\"}],\"string\":[{\"name\":\"email\",\"value\":\"={{$json[\\\"email_adress\\\"]}} {{ $json[\\\"email\\\"] }}\"},{\"name\":\"airtable_id\",\"value\":\"={{ $json[\\\"airtable_id\\\"] }}\"},{\"name\":\"engagement_id\",\"value\":\"={{ $json[\\\"engagement_id\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"614a465d-cd60-4455-9d03-17982f200dd1\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"disabled\":true,\"position\":[-1860,880],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"minutes\",\"minutesInterval\":1}]}},\"typeVersion\":1},{\"id\":\"bfdd0128-42b8-40d3-85d6-8ff39b661b25\",\"name\":\"Set3\",\"type\":\"n8n-nodes-base.set\",\"position\":[1280,1100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"email_adress\",\"value\":\"={{ $json[\\\"email_adress\\\"] }}\"},{\"name\":\"email_content\",\"value\":\"={{ $json[\\\"email_content\\\"] }}\"},{\"name\":\"Contact_ID \",\"value\":\"={{ $json[\\\"contact_ID\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"email has changed\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"IF2\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"IF5\":{\"main\":[[{\"node\":\"Set_airtable_id\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches3\",\"type\":\"main\",\"index\":0}]]},\"IF6\":{\"main\":[[{\"node\":\"Set_engegement_id\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches4\",\"type\":\"main\",\"index\":0}]]},\"IF7\":{\"main\":[null,[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Select_folder\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Extract HTML -> Text\",\"type\":\"main\",\"index\":0}]]},\"Set2\":{\"main\":[[{\"node\":\"SplitInBatches3\",\"type\":\"main\",\"index\":0}]]},\"Set3\":{\"main\":[[{\"node\":\"Store_email\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Merge3\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Prepare_update\",\"type\":\"main\",\"index\":0}]]},\"Merge3\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"IF7\",\"type\":\"main\",\"index\":0}]]},\"Airtable3\":{\"main\":[[{\"node\":\"IF5\",\"type\":\"main\",\"index\":0}]]},\"Airtable4\":{\"main\":[[{\"node\":\"Set_airtable\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Set2\",\"type\":\"main\",\"index\":0},{\"node\":\"SplitInBatches4\",\"type\":\"main\",\"index\":0}]]},\"Set_outlook\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Store_email\":{\"main\":[[{\"node\":\"IF6\",\"type\":\"main\",\"index\":0}]]},\"Get_messages\":{\"main\":[[{\"node\":\"IF2\",\"type\":\"main\",\"index\":0}]]},\"Set_airtable\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Select_folder\":{\"main\":[[{\"node\":\"Get_messages\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp1\",\"type\":\"main\",\"index\":0}]]},\"Prepare_update\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set_contact_ID\":{\"main\":[[{\"node\":\"Merge3\",\"type\":\"main\",\"index\":1}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Read_Contact_ID\":{\"main\":[[{\"node\":\"Set_contact_ID\",\"type\":\"main\",\"index\":0}]]},\"Set_airtable_id\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches3\":{\"main\":[[{\"node\":\"Airtable3\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches4\":{\"main\":[[{\"node\":\"Set3\",\"type\":\"main\",\"index\":0}]]},\"Retrieve_folders\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Retrieve_folders\",\"type\":\"main\",\"index\":0},{\"node\":\"Airtable4\",\"type\":\"main\",\"index\":0},{\"node\":\"Read_Contact_ID\",\"type\":\"main\",\"index\":0}]]},\"Set_engegement_id\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"Extract HTML -> Text\":{\"main\":[[{\"node\":\"Set_outlook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Personal finance", "output": "{\"nodes\":[{\"name\":\"Get input from user\",\"type\":\"n8n-nodes-base.code\",\"position\":[620,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Execute javascript function to divide salary into needs wants savings\",\"type\":\"n8n-nodes-base.code\",\"position\":[920,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Output the division of salary into needs wants savings\",\"type\":\"n8n-nodes-base.code\",\"position\":[1220,220],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Get input from user\":{\"main\":[[{\"node\":\"Execute javascript function to divide salary into needs wants savings\",\"type\":\"main\",\"index\":0}]]},\"Output the division of salary into needs wants savings\":{\"main\":[[{\"node\":\"\",\"type\":\"main\",\"index\":0}]]},\"Execute javascript function to divide salary into needs wants savings\":{\"main\":[[{\"node\":\"Output the division of salary into needs wants savings\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LoneScale - Jobs intent data to Kaspr & Lemlist Webinar", "output": "{\"id\":\"113\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Jobs intent data to Kaspr & Lemlist Webinar\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"bb42868f-7f54-44d2-bcae-a819f60fcef8\",\"name\":\"LoneScale - New Job Intent\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-860,180],\"webhookId\":\"34684173-843b-4e25-ba80-5f51cb584a31\",\"parameters\":{\"path\":\"lonescalefrsdr\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"fd72572d-f4f5-4fa7-81d1-254decaf92ff\",\"name\":\"Detect Tools\",\"type\":\"n8n-nodes-base.code\",\"position\":[0,180],\"parameters\":{\"jsCode\":\"const crm= ['Salesforce', 'HubSpot', 'Pipedrive']\\nconst marketing= ['Hubspot', 'Sendinblue', 'Marketo', 'Pardot']\\n\\n\\nreturn ({json:{crm: crm.find(j =>$node[\\\"LoneScale - New Hob Intent\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) ), marketing: marketing.find(j =>$node[\\\"LoneScale - New Hob Intent\\\"].json[\\\"body\\\"][\\\"company_tools\\\"].toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"999c1c82-e0e4-4841-a1f9-d96d2075e3cc\",\"name\":\"Split Jobs\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[-180,180],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"=body.job_offers\"},\"typeVersion\":1},{\"id\":\"c1123f53-9fd8-4631-88b8-0ce77c1cf267\",\"name\":\"Kaspr - Email Enrichment\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-480,180],\"parameters\":{\"url\":\"https://api.developers.kaspr.io/profile/linkedin\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"sendHeaders\":true,\"bodyParameters\":{\"parameters\":[{\"name\":\"id\",\"value\":\"elliot-alderson\"},{\"name\":\"name\",\"value\":\"Elliot Alderson\"}]},\"headerParameters\":{\"parameters\":[{\"name\":\"Authorization\",\"value\":\"Bearer xxxxx\"}]}},\"typeVersion\":3},{\"id\":\"66aeab07-062c-4a98-a830-9134a80e371b\",\"name\":\"Split\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[120,280],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"59bdccaa-0f17-4b63-b271-dd8d8f3568e2\",\"name\":\"Clean Job Name\",\"type\":\"n8n-nodes-base.code\",\"position\":[280,280],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const jobname = ['Account Manager','SDR','BDR','Growth','Marketing', 'Outbound','Business Developer','Sales Development', 'Sales Executive', 'Business Development', 'Account Executive']\\n\\n\\nreturn ({json:{...$input.item.json, jobnamenorm: jobname.find(j =>$input.item.json.job_name.toLowerCase().match(j.toLowerCase()) )}})\"},\"typeVersion\":1},{\"id\":\"4218c75d-aca9-42fd-b96c-068dce39fb8f\",\"name\":\"Clean Job Description\",\"type\":\"n8n-nodes-base.code\",\"position\":[280,480],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body.job_description){\\n\\n$input.item.json.content = $input.item.json.body.job_description.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 2000)\\n}\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"a2ce7cb2-9907-4ce0-ab23-e0125f7604de\",\"name\":\"Parse ChatGPT4\",\"type\":\"n8n-nodes-base.code\",\"position\":[560,480],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.departments=JSON.parse($input.item.json.text).departments\\n\\n$input.item.json.job_titles=JSON.parse($input.item.json.text).job_titles\\n\\n$input.item.json.keywords=JSON.parse($input.item.json.text).keywords\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"bbcdfb85-e7b0-43c4-a7e4-b54d5c85eb9c\",\"name\":\"OpenAI - write Icebreaker\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[560,280],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"content\":\"=This is a job posting description of the company {{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\nThis is the tagline of the company {{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }}:\\\"{{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_tagline\\\"] }}\\\"\\nThose are the specialities of the company {{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }}:\\\"{{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_specialities\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"{{ $node[\\\"JobIntentLoneScale\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me a 1 sentence summary of the problems their product or services help solve. In English. Casual Tone.\\n\\n- Which company department or departments would they likely sell their product or services to considering these departments only: C-Suite, Executive, Engineering & Technical, Design, Finance, Human Resources, Information Technology, Legal, Marketing, Operations, Sales, Consulting\\n\\n- Give me the most comprehensive list you can think of job titles across those departments, sorted by the most likely to be the decision maker, that would most likely buy this product or service, making sure to also include job titles of the people that would use or interact with the product or service in their daily tasks.\\n\\n- Thinking about all of the information generated and the company description, provide a comprehensive comma separated list of keywords and jargon that you might find in the job descriptions of roles listed in the titles column that relate specifically to the problems the company is trying to solve. In English. Max 25 keywords.\\n\\n- Guess the target audience of each company. Classify and choose 1 from this list only: sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels. Write it in lowercase\\n\\n- Tell me if they are B2B or B2C\\n\\n- Now double check your work\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"departments\\\": departments,\\n\\\"job_titles\\\": job_titles,\\n\\\"keywords\\\": keywords,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\"}]},\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"14\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"2c668ee5-a378-476b-8105-093a58805d4b\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[760,200],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"d0797096-601f-4881-b69f-1d8e6ddc67b9\",\"name\":\"Lemlist - Send Emails\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[1060,200],\"parameters\":{\"resource\":\"lead\",\"campaignId\":\"cam_WLL92wjkSn9vXcDcw\",\"additionalFields\":{}},\"credentials\":{\"lemlistApi\":{\"id\":\"24\",\"name\":\"Lemlist webinar\"}},\"typeVersion\":1},{\"id\":\"9e3e14fe-ee7a-4e33-b22d-360146b07003\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-940,100],\"parameters\":{\"width\":265.7419354838709,\"height\":561.1451612903223,\"content\":\"Get Job Intent Data\"},\"typeVersion\":1},{\"id\":\"f10e9093-d653-4d4a-8f79-6e8c7d53eefd\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-580,100],\"parameters\":{\"width\":265.7419354838709,\"height\":559.0000000000002,\"content\":\"Enrich Contacts Emails\"},\"typeVersion\":1},{\"id\":\"3cfd2a09-9e76-4f13-9d41-4d711938650c\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-240,100],\"parameters\":{\"width\":1138.8225806451617,\"height\":559.0000000000005,\"content\":\"Write Icebreaker with ChatGPT4 & Get Unique Points\"},\"typeVersion\":1},{\"id\":\"717ab5ff-1864-401c-8b51-6228629da65c\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1000,100],\"parameters\":{\"width\":261.4516129032272,\"height\":554.7096774193544,\"content\":\"Send Email to Book Meetings\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"6cb846a4-5740-49cc-8c70-4d644c0fd2cb\",\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Lemlist - Send Emails\",\"type\":\"main\",\"index\":0}]]},\"Split\":{\"main\":[[{\"node\":\"Clean Job Name\",\"type\":\"main\",\"index\":0}]]},\"Split Jobs\":{\"main\":[[{\"node\":\"Detect Tools\",\"type\":\"main\",\"index\":0}]]},\"Detect Tools\":{\"main\":[[{\"node\":\"Split\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Clean Job Name\":{\"main\":[[{\"node\":\"Clean Job Description\",\"type\":\"main\",\"index\":0}]]},\"Parse ChatGPT4\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Clean Job Description\":{\"main\":[[{\"node\":\"OpenAI - write Icebreaker\",\"type\":\"main\",\"index\":0}]]},\"Kaspr - Email Enrichment\":{\"main\":[[{\"node\":\"Split Jobs\",\"type\":\"main\",\"index\":0}]]},\"OpenAI - write Icebreaker\":{\"main\":[[{\"node\":\"Parse ChatGPT4\",\"type\":\"main\",\"index\":0}]]},\"LoneScale - New Job Intent\":{\"main\":[[{\"node\":\"Kaspr - Email Enrichment\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Check Bounce Google Account & Email Provider", "output": "{\"id\":\"49\",\"meta\":{\"instanceId\":\"81b0d0f4ebb052991cb352e76cb8b2803ed521afd57aeef066e0ecfe83fd76cc\"},\"name\":\"LoneScale - Check Email Provider\",\"tags\":[{\"id\":\"1\",\"name\":\"Example\",\"createdAt\":\"2022-12-30T09:13:52.086Z\",\"updatedAt\":\"2022-12-30T09:13:52.086Z\"}],\"nodes\":[{\"id\":\"540eb1de-5727-4a69-a2d2-380d461506d4\",\"name\":\"IF mail provider=google\",\"type\":\"n8n-nodes-base.if\",\"position\":[880,560],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"extractEmailProvider\\\"].json[\\\"google\\\"]}}\",\"value2\":\"true\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"451dda2a-c68c-4f84-8e5d-27a5509074d5\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[660,800],\"webhookId\":\"f613b733-78bd-4e33-bd0f-93d826a0647a\",\"parameters\":{\"unit\":\"minutes\",\"amount\":10},\"typeVersion\":1},{\"id\":\"b5d98c90-2111-419a-ae4e-c400e420a559\",\"name\":\"CheckEmailProvider\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,560],\"parameters\":{\"url\":\"=https://dns.google/resolve?name={{$node[\\\"When Called By Another Workflow\\\"].json[\\\"domain\\\"]}}&type=MX\",\"options\":{}},\"typeVersion\":3},{\"id\":\"0badda7b-43ea-4fda-9c2d-deb6093758b6\",\"name\":\"extractEmailProvider\",\"type\":\"n8n-nodes-base.code\",\"position\":[700,560],\"parameters\":{\"jsCode\":\"const google = ['google']\\n\\n\\nreturn ({json:{google:!!$node[\\\"CheckEmailProvider\\\"].json[\\\"Answer\\\"]?.find(j =>j.data.includes('google')) }})\"},\"typeVersion\":1},{\"id\":\"8469c3a2-343d-4906-b3d4-4c2c96bb5743\",\"name\":\"prepareDataForGsheet\",\"type\":\"n8n-nodes-base.set\",\"position\":[340,800],\"parameters\":{\"values\":{\"string\":[{\"name\":\"contact\",\"value\":\"={{$node[\\\"EnrichPerson-Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$node[\\\"EnrichPerson-Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"]}}\"},{\"name\":\"date\",\"value\":\"={{new Date().toString()}}\"},{\"name\":\"statut\",\"value\":\"todo\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"dc77812b-b240-41d4-88b4-f6c7d3b793c8\",\"name\":\"insertToGSheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[520,800],\"parameters\":{\"key\":\"contact\",\"range\":\"A:D\",\"options\":{\"valueInputMode\":\"RAW\"},\"operation\":\"upsert\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"ecbdd02e-d8f8-45cf-9fd4-b8b7c6caa38d\",\"name\":\"CheckGSheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[800,800],\"parameters\":{\"range\":\"A:E\",\"options\":{},\"sheetId\":\"-M\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"insertToGSheets\\\"].json[\\\"date\\\"]}}\",\"dataStartRow\":\"1\",\"lookupColumn\":\"date\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"4\",\"name\":\"Google Sheets account\"}},\"typeVersion\":2},{\"id\":\"b360b814-565e-4cbf-b4b6-d8573c3a2975\",\"name\":\"IFCheckDone\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,800],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"done\",\"value2\":\"done\",\"operation\":\"notContains\"}]}},\"typeVersion\":1},{\"id\":\"290d8d12-bbf3-4d0f-9afb-beefb7061e93\",\"name\":\"When Called By Another Workflow\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"position\":[340,560],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"f4fdb7f4-738c-43f8-99c2-ab7ed8180bda\",\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"CheckGSheets\",\"type\":\"main\",\"index\":0}]]},\"IFCheckDone\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"CheckGSheets\":{\"main\":[[{\"node\":\"IFCheckDone\",\"type\":\"main\",\"index\":0}]]},\"insertToGSheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"CheckEmailProvider\":{\"main\":[[{\"node\":\"extractEmailProvider\",\"type\":\"main\",\"index\":0}]]},\"extractEmailProvider\":{\"main\":[[{\"node\":\"IF mail provider=google\",\"type\":\"main\",\"index\":0}]]},\"prepareDataForGsheet\":{\"main\":[[{\"node\":\"insertToGSheets\",\"type\":\"main\",\"index\":0}]]},\"IF mail provider=google\":{\"main\":[[{\"node\":\"prepareDataForGsheet\",\"type\":\"main\",\"index\":0}]]},\"When Called By Another Workflow\":{\"main\":[[{\"node\":\"CheckEmailProvider\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Count the items returned by a node", "output": "{\"nodes\":[{\"id\":\"41e0d0a9-9bd4-4ece-a204-5e1bf507b0eb\",\"meta\":{\"instanceId\":\"cb9c144f2050b3f9b30bf379399398f9061341e3665eb2faf2b1092a42b38b14\"},\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[820,400],\"parameters\":{},\"typeVersion\":1},{\"id\":\"aa373efa-d493-44cd-91ee-e07630309675\",\"name\":\"Customer Datastore (n8n training)\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[1040,400],\"parameters\":{\"operation\":\"getAllPeople\"},\"typeVersion\":1},{\"id\":\"29555ae0-ad6c-4888-8865-c1e097b3b44e\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1260,400],\"parameters\":{\"values\":{\"number\":[{\"name\":\"itemCount\",\"value\":\"={{ $input.all().length }}\"}]},\"options\":{},\"keepOnlySet\":true},\"executeOnce\":true,\"typeVersion\":1}],\"connections\":{\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Customer Datastore (n8n training)\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore (n8n training)\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Export SQL table into CSV file", "output": "{\"meta\":{\"instanceId\":\"dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3\"},\"nodes\":[{\"id\":\"4e670880-61cf-4870-8d29-525f4e677162\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-40,600],\"parameters\":{},\"typeVersion\":1},{\"id\":\"cd21e063-59fe-42a5-87c7-b4d63df2e2b7\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[500,480],\"parameters\":{\"width\":682,\"height\":280,\"content\":\"## Save SQL table as a CSV file\\n### You can send it via e-mail, upload to the file storage or download on your computer.\\n### Just connect one or two extra n8n Nodes here!\"},\"typeVersion\":1},{\"id\":\"f960451e-d04e-4023-aed2-e039898b7cab\",\"name\":\"TableName\",\"type\":\"n8n-nodes-base.set\",\"position\":[160,600],\"parameters\":{\"values\":{\"string\":[{\"name\":\"TableName\",\"value\":\"SalesLT.ProductCategory\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"e2b4f557-663e-4b1c-b90e-9fde44dcd63a\",\"name\":\"LoadMSSQLData\",\"type\":\"n8n-nodes-base.microsoftSql\",\"position\":[340,600],\"parameters\":{\"query\":\"=SELECT * FROM {{ $json[\\\"TableName\\\"] }}\",\"operation\":\"executeQuery\"},\"credentials\":{\"microsoftSql\":{\"id\":\"69\",\"name\":\"Microsoft SQL account\"}},\"typeVersion\":1},{\"id\":\"cec2452f-e3e9-47ad-bcc6-4d411b1cd532\",\"name\":\"SaveCSV\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[760,600],\"parameters\":{\"options\":{\"fileName\":\"={{ $('TableName').first().json.TableName }}.{{ $parameter[\\\"fileFormat\\\"] }}\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1}],\"connections\":{\"TableName\":{\"main\":[[{\"node\":\"LoadMSSQLData\",\"type\":\"main\",\"index\":0}]]},\"LoadMSSQLData\":{\"main\":[[{\"node\":\"SaveCSV\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"TableName\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Personalize LinkedIn Invitation with GPT4", "output": "{\"id\":\"17\",\"meta\":{\"instanceId\":\"eb11e40cd56b6230ee02fccc1160b93e55a779dfdcf12d80af68ddde0905f94b\"},\"name\":\"Personalize Linkedin Invitation\",\"tags\":[],\"nodes\":[{\"id\":\"361a91b0-0f96-4c4a-aa2b-27612834e047\",\"name\":\"FilterOnPostDate\",\"type\":\"n8n-nodes-base.code\",\"position\":[2220,20],\"parameters\":{\"jsCode\":\"const maxMonths = 6;\\nconst currentTime = new Date();\\n\\nconst filteredData = items.reduce((result, item) => {\\n const postUrl = item.json.PorifleURL;\\n const posts = item.json.Posts || [];\\n const filteredPosts = posts.filter(post => {\\n const postAge = post.postDate;\\n if (!postAge) {\\n return false;\\n }\\n const value = parseInt(postAge);\\n const unit = postAge.slice(-1);\\n\\n switch (unit) {\\n case 'h':\\n return currentTime - new Date(currentTime.getTime() - value * 60 * 60 * 1000) < maxMonths * 30 * 24 * 60 * 60 * 1000;\\n case 'd':\\n return currentTime - new Date(currentTime.getTime() - value * 24 * 60 * 60 * 1000) < maxMonths * 30 * 24 * 60 * 60 * 1000;\\n case 'w':\\n return currentTime - new Date(currentTime.getTime() - value * 7 * 24 * 60 * 60 * 1000) < maxMonths * 30 * 24 * 60 * 60 * 1000;\\n case 'm':\\n return value <= maxMonths;\\n case 'y':\\n return value * 12 < maxMonths;\\n default:\\n return false;\\n }\\n });\\n\\n if (filteredPosts.length > 0) {\\n result.push({\\n json: {\\n postUrl,\\n Posts: filteredPosts,\\n },\\n });\\n }\\n \\n return result;\\n}, []);\\n\\nreturn filteredData;\\n\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"707786b9-5838-4f26-9d9c-13a0c4169f43\",\"name\":\"Scoring Model\",\"type\":\"n8n-nodes-base.code\",\"position\":[2940,20],\"parameters\":{\"jsCode\":\"// Assume that your JSON data is stored in an array called `items`\\nconst itemsWithScores = items.map(item => {\\n // Retrieve the LikeCount, CommentCount, and RepostCount values from `item.json`\\n const likeCount = item.json.likeCount || 0;\\n const commentCount = item.json.commentCount || 0;\\n const repostCount = item.json.repostCount || 0;\\n\\n // Calculate the score using the provided formula\\n const score = likeCount * 1 + commentCount * 4 + repostCount * 7;\\n\\n // Add the calculated score to the output JSON object\\n return { ...item, json: { ...item.json, score } };\\n});\\n\\n// Find the item with the highest score\\nconst highestScoreItem = itemsWithScores.reduce((maxItem, currentItem) => {\\n return currentItem.json.score > maxItem.json.score ? currentItem : maxItem;\\n});\\n\\n// Return only the item with the highest score\\nreturn [highestScoreItem];\\n\"},\"typeVersion\":1},{\"id\":\"6f481a78-d292-48e3-9ee1-d34dec1cd53a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2880,-240],\"parameters\":{\"height\":517.5739044852746,\"content\":\"### Top LinkedIn Post\\n\\nCalculates engagement scores and returns the highest-scoring LinkedIn post.\"},\"typeVersion\":1},{\"id\":\"015854ae-381a-4d99-8f02-3fded9b76a11\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3440,-240],\"parameters\":{\"width\":269.7693811074919,\"height\":971.3432893154281,\"content\":\"### Generate Personalized message\\n\\nThis node includes the User and the system specifications\"},\"typeVersion\":1},{\"id\":\"c51e29de-a2e1-4975-9a08-1973edb292ee\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1915.3073615635167,-240],\"parameters\":{\"width\":795.1697719869705,\"height\":503.1984364820845,\"content\":\"## Exclude over 6 months posts\\n\\nThose two nodes will help to exclude the posts that have been published for more than 6 months\"},\"typeVersion\":1},{\"id\":\"2386975e-8a5e-4f29-8a64-1b85a61d7602\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[440,220],\"webhookId\":\"a4215ccc-ce34-41eb-a0e1-67141bf68611\",\"parameters\":{\"path\":\"a4215ccc-ce34-41eb-a0e1-67141bf68611\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"0023c749-01ee-4338-acb1-89164c7a8ff5\",\"name\":\"Person Active in Linkedin ?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1600,200],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.error }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"3374cc2b-4408-4762-ade8-b8d2fe9e200b\",\"name\":\"GetData\",\"type\":\"n8n-nodes-base.set\",\"position\":[1960,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ProfileUrl\",\"value\":\"={{ $node.GetOutput.json.profileUrl }}\"},{\"name\":\"Posts\",\"value\":\"={{ $json.posts }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"a4e03df7-9b16-4178-ae6e-9df5e0f7ef34\",\"name\":\"GetOutput\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[760,220],\"parameters\":{\"agentId\":\"={{ $json.body.agentId }}\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"16\",\"name\":\"Phantombuster account Tuto\"}},\"typeVersion\":1},{\"id\":\"a02d14e6-a374-486f-a961-658ac84f5288\",\"name\":\"Group JSON Items by Profile URL\",\"type\":\"n8n-nodes-base.code\",\"position\":[1040,220],\"parameters\":{\"jsCode\":\"const data = items.map((item) => item.json);\\n\\n// Key to group items by\\nconst groupByKey = 'profileUrl'; // Replace this with any other key present in your JSON data\\n\\n// 1. Group items with common key and combine posts details\\nconst groupedItems = data.reduce((acc, item) => {\\n const keyValue = item[groupByKey];\\n if (!acc[keyValue]) {\\n acc[keyValue] = { ...item, posts: [item] };\\n } else {\\n acc[keyValue].posts.push(item);\\n }\\n return acc;\\n}, {});\\n\\n// 2. Get the unique items with the specified key and combined posts details\\nconst uniqueItemsWithKeyAndPosts = Object.values(groupedItems);\\n\\n// Process unique items as needed, for example:\\nuniqueItemsWithKeyAndPosts.forEach((item) => {\\n console.log(item);\\n});\\n\\nreturn uniqueItemsWithKeyAndPosts.map((item) => ({ json: item }));\\n\"},\"typeVersion\":1},{\"id\":\"92aedbb1-8dd3-453e-9373-c55d5afcfe0b\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[980,-20],\"parameters\":{\"width\":453.902857142857,\"height\":463.542857142857,\"content\":\"## I'm a note \\n**This node groups JSON items** based on a common 'profileUrl' property and combines their post details into a single 'posts' property for each unique profile.\"},\"typeVersion\":1},{\"id\":\"3ed0fdb3-b351-4ba0-a14e-ee3cf63ef4f7\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1260,220],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"8250b18c-cfe2-480d-b347-18064cc0c2a0\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2580,20],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"Posts\"},\"typeVersion\":2},{\"id\":\"1b144ad5-4fbf-4ebd-b87e-5e458c239c88\",\"name\":\"PromptData\",\"type\":\"n8n-nodes-base.set\",\"position\":[3220,20],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ProfileUrl\",\"value\":\"={{ $node.GetData.json.PorifleURL }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"e73bb51e-155e-401f-9cd8-7a02dfb0ad18\",\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[4100,220],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Split In Batches\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"281b8366-f7dd-4c11-a341-1d0be1387eea\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[4420,200],\"parameters\":{},\"typeVersion\":1},{\"id\":\"1850e5f7-5258-429c-ac15-d9a1610f87c1\",\"name\":\"PostPrompt\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[3520,20],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"content\":\"Vous êtes un assistant virtuel qui aide à personnaliser les invitations LinkedIn\"},{\"role\":\"system\",\"content\":\"=Je m'appelle Abdallag, Head of Growth chez Gemna, et je suis passionné par le Growth. \\nJ'ai récemment remarqué que {{ $json.profileUrl }} a partagé un post sur Linkedin {{ $json.postUrl }}, et cela a suscité mon intérêt. Pourriez-vous m'aider à rédiger un message amical pour établir un lien et montrer mon intérêt pour ce sujet, sans être trop direct ou promotionnel ? \\n\\nVoici le contenu du post : {{ $json.postContent }}\"},{\"role\":\"system\",\"content\":\"=Je souhaite également poser une question à {{ $json.profileUrl }} concernant leur post. Pourriez-vous m'aider à formuler une demande polie pour poser cette question et expliquer que je souhaite les ajouter à mon réseau pour en discuter ?\\nle texte ne doit pas dépasser 50 mots.\\nUtilise une voix pleine d'esprit.\"}]},\"options\":{},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"15\",\"name\":\"OpenAi account Mahdi\"}},\"typeVersion\":1},{\"id\":\"685c4f85-0a93-402c-8ee3-3639a9d27439\",\"name\":\"ScrapProfil\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[1960,540],\"parameters\":{\"agentId\":\"=3928939638003166\",\"additionalFields\":{\"argumentsUi\":{\"argumentValues\":[{\"key\":\"sessionCookie\"},{\"key\":\"spreadsheetUrl\",\"value\":\"={{ $json.profileUrl }}\"}]}}},\"credentials\":{\"phantombusterApi\":{\"id\":\"16\",\"name\":\"Phantombuster account Tuto\"}},\"typeVersion\":1},{\"id\":\"5fc8f9c3-a286-4311-8883-a5aa6e1598f2\",\"name\":\"GetProfileInfo\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[2500,540],\"parameters\":{\"agentId\":\"=3928939638003166\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":{\"id\":\"16\",\"name\":\"Phantombuster account Tuto\"}},\"typeVersion\":1},{\"id\":\"d5bb98cd-2251-40ed-a2ac-dbebd5d6e759\",\"name\":\"ProfilePrompt\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[3520,540],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"content\":\"Vous êtes un assistant virtuel qui aide à personnaliser les invitations LinkedIn\"},{\"role\":\"system\",\"content\":\"=Je m'appelle Abdallah, Head of Growth chez Gemna, et je suis passionné par le Growth. \\nJ'ai récemment consulté le profil LinkedIn de cette personne : {{ $json.general.profileUrl }}\"},{\"role\":\"system\",\"content\":\"=Je souhaite également poser une question à {{ $json.general.profileUrl }} qui lui intéresse sur son domaine en utilisant ces données.\\nPourriez-vous m'aider à formuler une demande polie pour poser cette question et expliquer que je souhaite les ajouter à mon réseau pour en discuter ?\\nDonnées : \\nHeadline : {{ $json.general.headline }}\\nDescription : {{ $json.general.description }}\\nDescription de son entreprise actuelle : {{ $json.jobs[0].description }}\\n\\nle texte ne doit pas dépasser 50 mots.\\nUtilise une voix pleine d'esprit. \\nTermine le message avec une question seulement\"}]},\"options\":{},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"15\",\"name\":\"OpenAi account Mahdi\"}},\"typeVersion\":1},{\"id\":\"c01c5e91-b947-449a-91ee-f69279ee9487\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3760,-240],\"parameters\":{\"height\":971.106188925082,\"content\":\"## Send data to Campaign\\n\\nYou can change this node by your tool \"},\"typeVersion\":1},{\"id\":\"476c2cc4-c904-44a7-a708-f04babe0ff6a\",\"name\":\"LemlistPostIcebreaker\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[3820,20],\"parameters\":{\"resource\":\"lead\",\"additionalFields\":{\"icebreaker\":\"\"}},\"typeVersion\":1},{\"id\":\"d00f9af2-7ce5-4c29-9877-f547df532cea\",\"name\":\"LemlistProfileIcebreaker\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[3820,540],\"parameters\":{\"resource\":\"lead\",\"additionalFields\":{\"icebreaker\":\"\"}},\"typeVersion\":1},{\"id\":\"61bdbdad-4193-4593-a25d-a1629880cb94\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2240,540],\"webhookId\":\"9cf2a15f-e312-4ba0-950e-ac1da3a75095\",\"parameters\":{\"unit\":\"minutes\",\"amount\":5},\"typeVersion\":1},{\"id\":\"e6744286-5fa1-4b09-8e4f-0db4b4663c4b\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1940,440],\"parameters\":{\"width\":747.8306188925079,\"height\":301.84234527687255,\"content\":\"## Update your agent Id\\n\"},\"typeVersion\":1}],\"active\":true,\"pinData\":{},\"settings\":{},\"versionId\":\"153ec80d-2dbe-4f49-bd28-6b470390aaab\",\"connections\":{\"IF1\":{\"main\":[[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"GetProfileInfo\",\"type\":\"main\",\"index\":0}]]},\"GetData\":{\"main\":[[{\"node\":\"FilterOnPostDate\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"GetOutput\",\"type\":\"main\",\"index\":0}]]},\"GetOutput\":{\"main\":[[{\"node\":\"Group JSON Items by Profile URL\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Scoring Model\",\"type\":\"main\",\"index\":0}]]},\"PostPrompt\":{\"main\":[[{\"node\":\"LemlistPostIcebreaker\",\"type\":\"main\",\"index\":0}]]},\"PromptData\":{\"main\":[[{\"node\":\"PostPrompt\",\"type\":\"main\",\"index\":0}]]},\"ScrapProfil\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"ProfilePrompt\":{\"main\":[[{\"node\":\"LemlistProfileIcebreaker\",\"type\":\"main\",\"index\":0}]]},\"Scoring Model\":{\"main\":[[{\"node\":\"PromptData\",\"type\":\"main\",\"index\":0}]]},\"GetProfileInfo\":{\"main\":[[{\"node\":\"ProfilePrompt\",\"type\":\"main\",\"index\":0}]]},\"FilterOnPostDate\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"Person Active in Linkedin ?\",\"type\":\"main\",\"index\":0}]]},\"LemlistPostIcebreaker\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"LemlistProfileIcebreaker\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Person Active in Linkedin ?\":{\"main\":[[{\"node\":\"GetData\",\"type\":\"main\",\"index\":0}],[{\"node\":\"ScrapProfil\",\"type\":\"main\",\"index\":0}]]},\"Group JSON Items by Profile URL\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Merge binary objects on multiple items into a single item", "output": "{\"nodes\":[{\"id\":\"9d09405e-64a3-47ef-9d46-4942de51444b\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[400,460],\"parameters\":{},\"typeVersion\":1},{\"id\":\"4fdc396b-07bd-471e-9e62-136300804809\",\"name\":\"Set URLs\",\"type\":\"n8n-nodes-base.code\",\"position\":[620,460],\"parameters\":{\"jsCode\":\"return [{\\n json: {\\n url: \\\"https://static.thomasmartens.eu/n8n/file01.jpg\\\"\\n }\\n}, {\\n json: {\\n url: \\\"https://static.thomasmartens.eu/n8n/file02.jpg\\\"\\n }\\n}, {\\n json: {\\n url: \\\"https://static.thomasmartens.eu/n8n/file03.jpg\\\"\\n }\\n}]\"},\"typeVersion\":1},{\"id\":\"17482568-2117-4a8c-a307-ebf30dc9c560\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[840,460],\"parameters\":{\"url\":\"={{ $json.url }}\",\"options\":{\"response\":{\"response\":{\"responseFormat\":\"file\"}}}},\"typeVersion\":4},{\"id\":\"de27f52b-8f7e-4b9c-a097-987db4cef5aa\",\"name\":\"Merge items\",\"type\":\"n8n-nodes-base.code\",\"position\":[1060,460],\"parameters\":{\"jsCode\":\"let binaries = {}, binary_keys = [];\\n\\nfor (const [index, inputItem] of Object.entries($input.all())) {\\n binaries[`data_${index}`] = inputItem.binary.data;\\n binary_keys.push(`data_${index}`);\\n}\\n\\nreturn [{\\n json: {\\n binary_keys: binary_keys.join(',')\\n },\\n binary: binaries\\n}];\\n\"},\"typeVersion\":1},{\"id\":\"539fe99d-c557-4e51-bc88-011fb604e1f3\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[580,320],\"parameters\":{\"width\":394,\"height\":304,\"content\":\"## Example data\\nThese nodes simply download some example files to work with.\"},\"typeVersion\":1},{\"id\":\"710fd054-2360-447a-b503-049507c0a3b2\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1000,320],\"parameters\":{\"width\":304,\"height\":307,\"content\":\"## Transformation\\nThis is where the magic happens. Multiple items with one binary object each are being transformed into one item with multiple binary objects.\"},\"typeVersion\":1}],\"connections\":{\"Set URLs\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Merge items\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Set URLs\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Streamlining CRM Management with GPT-4 Integration", "output": "{\"id\":\"61\",\"meta\":{\"instanceId\":\"8d2955498ee87246afc459bb62a3d347cde10c94cb545928b54c958a4953963d\"},\"name\":\"Streamlining CRM with GPT-4 Integration\",\"tags\":[],\"nodes\":[{\"id\":\"65702ada-4450-4960-8fb5-9e0c65a12bc2\",\"name\":\"Trigger New Company\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[160,280],\"webhookId\":\"50318963-61a8-4e3d-904b-75707b602e2c\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{\"name\":\"company.creation\"}]},\"additionalFields\":{}},\"credentials\":{\"hubspotDeveloperApi\":{\"id\":\"57\",\"name\":\"HubSpot Developer account 2\"}},\"typeVersion\":1},{\"id\":\"074759dc-aa4c-4a79-8f41-0731ddbaefa7\",\"name\":\"GetHomepageHTML\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[900,280],\"parameters\":{\"url\":\"=https://{{ $json.Domain }}\",\"options\":{\"timeout\":10000,\"redirect\":{\"redirect\":{}}}},\"typeVersion\":4},{\"id\":\"c91bb1d5-b577-4e2a-8a9d-7122b5269eee\",\"name\":\"ExtractTextOnly\",\"type\":\"n8n-nodes-base.code\",\"position\":[1160,280],\"parameters\":{\"jsCode\":\"let html = items[0].json[\\\"data\\\"]; // Replace \\\"html\\\" with your HTML field\\n\\n// Remove all HTML tags, JavaScript scripts, and CSS styles\\nlet text = html.replace(/]*>([\\\\s\\\\S]*?)<\\\\/script>/gi, '');\\ntext = text.replace(/]*>([\\\\s\\\\S]*?)<\\\\/style>/gi, '');\\ntext = text.replace(/<\\\\/?[^>]+(>|$)/g, \\\"\\\");\\n\\n// Replace multiple whitespace characters with a single space\\ntext = text.replace(/\\\\s\\\\s+/g, ' ');\\n\\nreturn [{json: {text: text}}];\\n\"},\"typeVersion\":1},{\"id\":\"44e19012-0811-41e1-a0ba-23985f712787\",\"name\":\"Map Industry\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1400,280],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"You're an advanced business oriented with a keen understanding of industries.\\nYou're tasked with identifying the industry of a company from a content.\"},{\"content\":\"=Given the following content from a company's homepage, please identify the industry from the provided list that matches the given company's field. If there is no exact match, do not attempt to provide a best guess or create a new category. In the case that no match can be found, I would like you to return an empty value. \\n\\nWebsite content : {{ $json[\\\"text\\\"] }}\\nHere's the list of industries : \\nRetail / wholesale\\nBusiness Services / Consulting\\nEducation\\nFinance / Insurance\\n\\nIf you cannot find a match within the provided list of industries, please refrain from making additional suggestions and simply return an empty value\\n\\n\\n\\n\\n\\nReturn the industry in this format : \\nIndustry : \\n\\nAfter that analyse the content and give me a brieve description of the company focus and mission under 20 words, following this format \\nMission : \"}]},\"options\":{},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"48\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"a1e1f503-a67a-4771-8642-73996550c4a2\",\"name\":\"Industry/Mission\",\"type\":\"n8n-nodes-base.code\",\"position\":[1640,280],\"parameters\":{\"jsCode\":\"let messageContent = items[0].json.message.content;\\n\\nlet industryIndex = messageContent.indexOf(\\\"Industry :\\\");\\nlet missionIndex = messageContent.indexOf(\\\"Mission :\\\");\\n\\nlet industryText = messageContent.slice(industryIndex + 11, missionIndex).trim();\\nlet missionText = messageContent.slice(missionIndex + 9).trim();\\n\\nreturn [\\n {\\n json: {\\n industry: industryText,\\n mission: missionText\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"id\":\"b685a00c-a343-4a16-ba7f-787a7a1c012b\",\"name\":\"GetDomain\",\"type\":\"n8n-nodes-base.set\",\"position\":[640,280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Domain\",\"value\":\"={{ $json.properties.domain.value }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"a993e218-93ba-408f-bf44-7997bd2c0940\",\"name\":\"UpdateCompany\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1840,280],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{ $node['Trigger New Company'].json.companyId }}\",\"operation\":\"update\",\"updateFields\":{\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{ $json.industry }}\",\"property\":\"industrie\"}]}},\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"18\",\"name\":\"Hubspot account Expensya\"}},\"typeVersion\":1},{\"id\":\"9173e5a2-5e3c-4d00-9c7a-05906228877a\",\"name\":\"GetCompany\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[400,280],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{ $json.companyId }}\",\"operation\":\"get\",\"authentication\":\"oAuth2\",\"additionalFields\":{}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"18\",\"name\":\"Hubspot account Expensya\"}},\"typeVersion\":1},{\"id\":\"b286d983-a0ac-4c7f-b122-b6a993ec6421\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1300,60],\"parameters\":{\"width\":687.7850162866451,\"height\":513.4156255002331,\"content\":\"## Integrating GPT for Enhanced Understanding of Company Sectors\\n\\n- Incorporate the specific industries from your CRM into the prompt.\\n- If the field format is a dropdown menu, ensure the industries listed in the prompt are an exact match.\\n- In this instance, the industry field is treated as a custom attribute. Remember to update it to correspond with your specific field in the CRM.\"},\"typeVersion\":1},{\"id\":\"202fc9f3-7375-47b9-812e-62b18dd11b7f\",\"name\":\"GetDate\",\"type\":\"n8n-nodes-base.code\",\"position\":[2080,280],\"parameters\":{\"jsCode\":\"return [\\n {\\n json: {\\n timestamp: Date.now(),\\n },\\n },\\n];\\n\"},\"typeVersion\":1},{\"id\":\"ccf62778-1d5b-4e89-8c7b-c6bf61c9fe3f\",\"name\":\"Hubspot Note\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2340,280],\"parameters\":{\"url\":\"https://api.hubapi.com/engagements/v1/engagements?hapikey={{APIkey}}\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={\\n \\\"engagement\\\": {\\n \\\"active\\\": true,\\n \\\"ownerId\\\": 1,\\n \\\"type\\\": \\\"NOTE\\\",\\n \\\"timestamp\\\": {{ $json[\\\"timestamp\\\"] }}\\n },\\n \\\"associations\\\": {\\n \\\"contactIds\\\": [],\\n \\\"companyIds\\\": [{{ $node[\\\"Trigger New Company\\\"].json[\\\"companyId\\\"] }}],\\n \\\"dealIds\\\": [],\\n \\\"ownerIds\\\": []\\n\\n },\\n \\\"metadata\\\": {\\n \\\"body\\\": \\\"{{ $node[\\\"Industry/Mission\\\"].json[\\\"mission\\\"] }}\\\"\\n }\\n}\\n\",\"sendBody\":true,\"sendHeaders\":true,\"specifyBody\":\"json\",\"headerParameters\":{\"parameters\":[{\"name\":\"Content-Type\",\"value\":\"application/json\"}]}},\"typeVersion\":4},{\"id\":\"6108564a-f174-4a1b-84ce-9a0202c8e4d0\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2000,57.34770777105632],\"parameters\":{\"width\":560.9446254071662,\"height\":516.267927408097,\"content\":\"## Log company mission in a note\\n\\n- Update {{APIkey}}\\n- Update owner id withy our Hubspot ID\"},\"typeVersion\":1},{\"id\":\"49e825f0-14bd-4f16-90ed-09e9a073c9f0\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[120,60],\"parameters\":{\"width\":1159.94175151233,\"height\":514.211313168916,\"content\":\"## Prepare the content\\nRetrieve the text content from the homepage of each newly established company in the CRM by extracting it from the HTML page.\\n\\n\\nyou can change the **trigger** if you're using different CRM\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"7c39173f-37eb-4c98-8f6c-47b85d343bb1\",\"connections\":{\"GetDate\":{\"main\":[[{\"node\":\"Hubspot Note\",\"type\":\"main\",\"index\":0}]]},\"GetDomain\":{\"main\":[[{\"node\":\"GetHomepageHTML\",\"type\":\"main\",\"index\":0}]]},\"GetCompany\":{\"main\":[[{\"node\":\"GetDomain\",\"type\":\"main\",\"index\":0}]]},\"Map Industry\":{\"main\":[[{\"node\":\"Industry/Mission\",\"type\":\"main\",\"index\":0}]]},\"UpdateCompany\":{\"main\":[[{\"node\":\"GetDate\",\"type\":\"main\",\"index\":0}]]},\"ExtractTextOnly\":{\"main\":[[{\"node\":\"Map Industry\",\"type\":\"main\",\"index\":0}]]},\"GetHomepageHTML\":{\"main\":[[{\"node\":\"ExtractTextOnly\",\"type\":\"main\",\"index\":0}]]},\"Industry/Mission\":{\"main\":[[{\"node\":\"UpdateCompany\",\"type\":\"main\",\"index\":0}]]},\"Trigger New Company\":{\"main\":[[{\"node\":\"GetCompany\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Load data into Snowflake", "output": "{\"id\":\"19\",\"meta\":{\"instanceId\":\"590b8a6424ded2dccf0f04ef13db2f02f968ec0b6d208436c385cdb410341348\"},\"name\":\"Snowflake CSV\",\"tags\":[],\"nodes\":[{\"id\":\"da710a80-484b-4fe3-80fa-e699bb6499ad\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f419ebfb-9eae-4fea-b05b-aabc97b5f47f\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,380],\"parameters\":{\"url\":\"https://n8niostorageaccount.blob.core.windows.net/n8nio-strapi-blobs-prod/assets/example_c0b48ce677.csv?updated_at=2023-05-30T10:36:21.820Z\",\"options\":{\"response\":{\"response\":{\"responseFormat\":\"file\"}}}},\"typeVersion\":4.1},{\"id\":\"fe45e2a2-b50f-4459-a8ee-78615239dee0\",\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[820,380],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"54e31892-c8e1-423c-a24a-8e5eb1312b0a\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1000,380],\"parameters\":{\"values\":{\"number\":[{\"name\":\"first_name\",\"value\":\"={{ $json.first_name }}\"},{\"name\":\"id\",\"value\":\"={{ $json.id }}\"}],\"string\":[{\"name\":\"last_name\",\"value\":\"={{ $json.last_name }}\"}]},\"options\":{\"dotNotation\":false},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"c482d8e8-0792-4b61-a2e0-d437c9fe9062\",\"name\":\"Snowflake\",\"type\":\"n8n-nodes-base.snowflake\",\"position\":[1200,380],\"parameters\":{\"table\":\"users\",\"columns\":\"id,first_name,last_name\"},\"credentials\":{\"snowflake\":{\"id\":\"23\",\"name\":\"Snowflake account\"}},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"a6348461-b174-4608-961f-d9d86730b573\",\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Snowflake\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Intergrate Competitors Social proof to your outbound Email", "output": "{\"id\":\"61\",\"meta\":{\"instanceId\":\"8d2955498ee87246afc459bb62a3d347cde10c94cb545928b54c958a4953963d\"},\"name\":\"Competitors Social proof\",\"tags\":[{\"id\":\"6\",\"name\":\"LinkedIn\",\"createdAt\":\"2023-05-31T19:35:40.386Z\",\"updatedAt\":\"2023-05-31T19:35:40.386Z\"}],\"nodes\":[{\"id\":\"074759dc-aa4c-4a79-8f41-0731ddbaefa7\",\"name\":\"GetHomepageHTML\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1120,280],\"parameters\":{\"url\":\"=https://{{ $json.Domain }}\",\"options\":{\"timeout\":10000,\"redirect\":{\"redirect\":{}}}},\"typeVersion\":4},{\"id\":\"c91bb1d5-b577-4e2a-8a9d-7122b5269eee\",\"name\":\"ExtractTextOnly\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,280],\"parameters\":{\"jsCode\":\"let html = items[0].json[\\\"data\\\"]; // Replace \\\"html\\\" with your HTML field\\n\\n// Remove all HTML tags, JavaScript scripts, and CSS styles\\nlet text = html.replace(/]*>([\\\\s\\\\S]*?)<\\\\/script>/gi, '');\\ntext = text.replace(/]*>([\\\\s\\\\S]*?)<\\\\/style>/gi, '');\\ntext = text.replace(/<\\\\/?[^>]+(>|$)/g, \\\"\\\");\\n\\n// Replace multiple whitespace characters with a single space\\ntext = text.replace(/\\\\s\\\\s+/g, ' ');\\n\\nreturn [{json: {text: text}}];\\n\"},\"typeVersion\":1},{\"id\":\"a1e1f503-a67a-4771-8642-73996550c4a2\",\"name\":\"Industry/Mission\",\"type\":\"n8n-nodes-base.code\",\"position\":[1860,280],\"parameters\":{\"jsCode\":\"let messageContent = items[0].json.message.content;\\n\\nlet industryIndex = messageContent.indexOf(\\\"Industry :\\\");\\nlet missionIndex = messageContent.indexOf(\\\"Mission :\\\");\\n\\nlet industryText = messageContent.slice(industryIndex + 11, missionIndex).trim();\\nlet missionText = messageContent.slice(missionIndex + 9).trim();\\n\\nreturn [\\n {\\n json: {\\n industry: industryText,\\n mission: missionText\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"id\":\"b286d983-a0ac-4c7f-b122-b6a993ec6421\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1300,60],\"parameters\":{\"width\":687.7850162866451,\"height\":514.6223984710504,\"content\":\"## Integrating GPT to identify Competitors\\n\"},\"typeVersion\":1},{\"id\":\"49e825f0-14bd-4f16-90ed-09e9a073c9f0\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[120,60],\"parameters\":{\"width\":1159.94175151233,\"height\":514.211313168916,\"content\":\"## Prepare the input\\nupdate the node \\\"Dummy Data\\\" by your input and map ir correctly to the node \\\"GetDeets\\\"\\n\"},\"typeVersion\":1},{\"id\":\"896afcef-d193-44e2-af12-56d042a8cd16\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[180,280],\"parameters\":{},\"typeVersion\":1},{\"id\":\"3ca47a0a-5c43-415a-8ce8-ba152cd4a3db\",\"name\":\"DummyData\",\"type\":\"n8n-nodes-base.code\",\"position\":[400,280],\"parameters\":{\"jsCode\":\"return [{\\njson: {\\n\\\"email\\\":\\\"mahdi.ghazouani@expensya.com\\\",\\n\\\"FirstName\\\":\\\"Mahdi\\\",\\n\\\"Domain\\\":\\\"expensya.com\\\",\\n\\\"CompanyName\\\": \\\"Expensya\\\",\\n\\\"LinkedInUrl\\\":\\\"https://www.linkedin.com/in/mahdi-ghazouani-9b6032199\\\"\\n}\\n }\\n ];\"},\"typeVersion\":1},{\"id\":\"b685a00c-a343-4a16-ba7f-787a7a1c012b\",\"name\":\"GetDeets\",\"type\":\"n8n-nodes-base.set\",\"position\":[840,280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Domain\",\"value\":\"={{ $json.Domain }}\"},{\"name\":\"CompanyName\",\"value\":\"={{ $json.CompanyName }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"54a4176e-2db7-4040-a401-20c56340156f\",\"name\":\"FindCompetitors\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[2080,280],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"You're an advanced business oriented with a keen understanding of industries.\\nYou're tasked with identifying the direct competitors of a company.\"},{\"content\":\"=Given the following content from a company's industry and mission, please find the top 50 competitors.\\nList the competitors starting with those that are most similar in terms of market, industry, and mission, then gradually include those that are less directly competitive.\\nIf there are less than 50 such companies, only provide those that actually exist without guessing or extrapolating.\\n\\nCompanyName : {{ $node[\\\"DummyData\\\"].json[\\\"CompanyName\\\"] }}\\nDomain : {{ $node[\\\"DummyData\\\"].json[\\\"Domain\\\"] }}\\nCompanyMission : {{ $node[\\\"Industry/Mission\\\"].json[\\\"mission\\\"] }}\\nCompany Indsutry : {{ $node[\\\"Industry/Mission\\\"].json[\\\"industry\\\"] }}\\n\\nReturn the list of competitors in this format : \\nCompetitor1, Competitor2\\n\\nReturn the list separated by a comma then space\"}]},\"options\":{},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"48\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"58d362a2-6451-41a7-8048-170cadb22d44\",\"name\":\"Separate Items\",\"type\":\"n8n-nodes-base.code\",\"position\":[2300,280],\"parameters\":{\"jsCode\":\"// The company names from JSON\\nlet jsonCompanies = items[0].json.message.content.split(', ');\\n\\n// Convert each company name into an item\\nlet companyItems = jsonCompanies.map(company => ({ json: { company } }));\\n\\nreturn companyItems;\\n\"},\"typeVersion\":1},{\"id\":\"118c3b28-300f-42f2-bd8b-a2f566730b76\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2240,60],\"parameters\":{\"height\":663.2914826187925,\"content\":\"You can specify the fields to retrieve from your database to alleviate the query\"},\"typeVersion\":1},{\"id\":\"1d2a140e-209f-41ee-b74e-95a3b0ebc102\",\"name\":\"GetClients\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[2300,560],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://airtable.com/appd08IpwDozZ5ly5/tblMLkXodZVsEijet/viw5CBjYTRYZ3OK5j?blocks=hide\",\"__regex\":\"https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})\"},\"operation\":\"list\",\"application\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://airtable.com/appd08IpwDozZ5ly5/tblMLkXodZVsEijet/viw5CBjYTRYZ3OK5j?blocks=hide\",\"__regex\":\"https://airtable.com/([a-zA-Z0-9]{2,})\"},\"additionalOptions\":{\"fields\":[]}},\"credentials\":{\"airtableApi\":{\"id\":\"4\",\"name\":\"Airtable account\"}},\"typeVersion\":1},{\"id\":\"e0bcf6ee-4392-4375-80fb-91ca6fd0261d\",\"name\":\"Compare Datasets\",\"type\":\"n8n-nodes-base.compareDatasets\",\"position\":[2720,360],\"parameters\":{\"options\":{\"multipleMatches\":\"first\"},\"resolve\":\"mix\",\"fuzzyCompare\":true,\"mergeByFields\":{\"values\":[{\"field1\":\"company\",\"field2\":\"fields.SLD\"}]}},\"typeVersion\":2.2},{\"id\":\"dbf5c34c-f19b-47c6-9005-4f31e7aec04e\",\"name\":\"MatchedCompetitors\",\"type\":\"n8n-nodes-base.code\",\"position\":[3080,360],\"parameters\":{\"jsCode\":\"let output = [];\\n\\nif(items.length === 1){\\n // If there's only one item, return it.\\n output.push({ value: items[0].json.company });\\n}\\nelse if(items.length > 1){\\n \\n let firstThreeItems = items.slice(0, 3); // This will take the first three items from the array.\\n let outputValue = firstThreeItems.map(item => item.json.company).join(\\\", \\\"); \\n output.push({ value: outputValue });\\n}\\n\\nreturn output; // Return the output.\\n\"},\"typeVersion\":1},{\"id\":\"83aea921-deed-4da6-9cc1-e80d459c13de\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3000,40],\"parameters\":{\"height\":685.4751292356,\"content\":\"## Prepare CompaniesList to inject\\n\\nIf one item will be returned if more will take 3 maximum.\"},\"typeVersion\":1},{\"id\":\"44e19012-0811-41e1-a0ba-23985f712787\",\"name\":\"FindCompanyMission\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1620,280],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"You're an advanced business oriented with a keen understanding of industries.\\nYou're tasked with identifying the industry of a company from a content.\"},{\"content\":\"=Given the following content from a company's homepage, please identify the industry\\n\\nWebsite content : {{ $json[\\\"text\\\"] }}\\n\\nReturn the industry in this format : \\nIndustry : \\n\\nAfter that analyze the content and give me a brief description of the company focus and mission under 30 words, following this format \\nMission : \"}]},\"options\":{},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"48\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"e60e6283-b3c0-4b34-97e3-077cfcb00c6e\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[620,280],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"dc35a711-3417-4b8c-a36d-0cbcabf8a617\",\"name\":\"MatchingProof\",\"type\":\"n8n-nodes-base.code\",\"position\":[3340,360],\"parameters\":{\"jsCode\":\"let variable = items[0].json.value; // 'value' is the actual field name in your case\\nlet outputText = `Want to see under the hood of how ${variable} are efficiently growing their marketing programs?`;\\n\\nreturn [{ json: { text: outputText } }];\"},\"typeVersion\":1},{\"id\":\"f6b5edb3-505d-4bde-91ed-cd039b8fcca2\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3520,40],\"parameters\":{\"height\":682.7021734084994,\"content\":\"## Shoot to your outbound tool\\n\\nIn this example it's for **Lemlist** to add leads to a campaign, you can change an update if you want to populate leads that exists already in a campaign\\n\\n*Update* : \\nCampaign ID \\naccess token\\nemail\"},\"typeVersion\":1},{\"id\":\"63007ef9-33d3-4413-afd4-5bde34a0b9e1\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2000,60],\"parameters\":{\"width\":219.20283129674397,\"height\":512.1653900418012,\"content\":\"### Find top 50 competitors\\nThis GPT4 will return for you the competitor in the proper format\"},\"typeVersion\":1},{\"id\":\"9f7a7e62-3f82-4479-8dbc-38e4ee552179\",\"name\":\"Sticky Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3260,40],\"parameters\":{\"height\":684.0886513220496,\"content\":\"## Prepare the icebreaker\\n**Double click** to edit \\nIntegrate the list of companies to the icebreaker test\"},\"typeVersion\":1},{\"id\":\"ee5585b0-f298-49ce-bb38-593cc5427270\",\"name\":\"Send Lemlist campaign\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[3600,360],\"parameters\":{\"url\":\"=https://api.lemlist.com/api/campaigns/{{CampaignID}}leads/{{ $node.DummyData.json.email }}\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"sendQuery\":true,\"bodyParameters\":{\"parameters\":[{\"name\":\"firstName\",\"value\":\"={{ $node.DummyData.json.FirstName }}\"},{\"name\":\"linkedinUrl\",\"value\":\"={{ $node.DummyData.json.LinkedInUrl }}\"},{\"name\":\"companyName\",\"value\":\"={{ $node.DummyData.json.CompanyName }}\"},{\"name\":\"MatchingProof\",\"value\":\"={{ $json.text }}\"}]},\"queryParameters\":{\"parameters\":[{\"name\":\"access_token\"}]}},\"typeVersion\":3,\"continueOnFail\":true}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"a66e9699-a562-4f8e-883a-305472f6e1b7\",\"connections\":{\"GetDeets\":{\"main\":[[{\"node\":\"GetHomepageHTML\",\"type\":\"main\",\"index\":0}]]},\"DummyData\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"GetClients\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":1}]]},\"MatchingProof\":{\"main\":[[{\"node\":\"Send Lemlist campaign\",\"type\":\"main\",\"index\":0}]]},\"Separate Items\":{\"main\":[[{\"node\":\"GetClients\",\"type\":\"main\",\"index\":0},{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":0}]]},\"ExtractTextOnly\":{\"main\":[[{\"node\":\"FindCompanyMission\",\"type\":\"main\",\"index\":0}]]},\"FindCompetitors\":{\"main\":[[{\"node\":\"Separate Items\",\"type\":\"main\",\"index\":0}]]},\"GetHomepageHTML\":{\"main\":[[{\"node\":\"ExtractTextOnly\",\"type\":\"main\",\"index\":0}]]},\"Compare Datasets\":{\"main\":[[],[],[{\"node\":\"MatchedCompetitors\",\"type\":\"main\",\"index\":0}]]},\"Industry/Mission\":{\"main\":[[{\"node\":\"FindCompetitors\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"GetDeets\",\"type\":\"main\",\"index\":0}]]},\"FindCompanyMission\":{\"main\":[[{\"node\":\"Industry/Mission\",\"type\":\"main\",\"index\":0}]]},\"MatchedCompetitors\":{\"main\":[[{\"node\":\"MatchingProof\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"DummyData\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Respond with file download to incoming HTTP request", "output": "{\"nodes\":[{\"id\":\"0357b17f-9fcf-4725-8311-28bd9c76c37c\",\"name\":\"On GET request\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[820,400],\"webhookId\":\"454eb4ea-e460-4196-b31c-284abf234fc3\",\"parameters\":{\"path\":\"download-pdf\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"21d8c543-33c2-45eb-b392-2cb7139344c6\",\"name\":\"Fetch binary file\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1040,400],\"parameters\":{\"url\":\"https://www.deutschebahn.com/resource/blob/8813300/bdf106f07186f66e4448f95aca02bd4a/Faktenblatt-ICE-L_Mai23-data.pdf\",\"options\":{\"response\":{\"response\":{\"responseFormat\":\"file\"}}}},\"typeVersion\":4.1},{\"id\":\"3ced3067-d82c-4bb4-b5fe-53a8d79c2177\",\"name\":\"Respond with attachment\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1260,400],\"parameters\":{\"options\":{\"responseHeaders\":{\"entries\":[{\"name\":\"content-disposition\",\"value\":\"=attachment; filename=\\\"my_document_{{ $now.toFormat('yyyy-MM-dd') }}.pdf\\\"\"}]}},\"respondWith\":\"binary\"},\"typeVersion\":1}],\"connections\":{\"On GET request\":{\"main\":[[{\"node\":\"Fetch binary file\",\"type\":\"main\",\"index\":0}]]},\"Fetch binary file\":{\"main\":[[{\"node\":\"Respond with attachment\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Reach out to website visitors with lemlist and Albacross", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"b0f0a696-a747-452f-9de4-b8772182c87d\",\"name\":\"Albacross - New company in segment\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[380,420],\"webhookId\":\"16218ff2-fcf6-480a-b7bf-8f5b4243368a\",\"parameters\":{\"path\":\"16218ff2-fcf6-480a-b7bf-8f5b4243368a\",\"options\":{}},\"typeVersion\":1},{\"id\":\"a8b51628-c8f7-47af-90dd-df43dfd52f29\",\"name\":\"HubSpot - Search company\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[600,420],\"parameters\":{\"limit\":1,\"domain\":\"={{ $json[\\\"website\\\"] }}\",\"options\":{\"properties\":[\"hs_lead_status\",\"hs_all_owner_ids\"]},\"resource\":\"company\",\"operation\":\"searchByDomain\",\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"7ee62e86-799a-421c-bd22-a0f543302101\",\"name\":\"HubSpot Create Account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1360,620],\"parameters\":{\"name\":\"={{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"name\\\"] }}\",\"resource\":\"company\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"websiteUrl\":\"={{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"website\\\"] }}\",\"linkedinBio\":\"={{ $json[\\\"company\\\"][\\\"premium\\\"][\\\"about\\\"] }}\",\"yearFounded\":\"={{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"founded_at\\\"] }}\",\"linkedInCompanyPage\":\"={{ $json[\\\"company\\\"][\\\"premium\\\"][\\\"url\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"6d7bfc0a-ba68-432c-90d1-99d656e9f1dc\",\"name\":\"Is Account in Hubspot\",\"type\":\"n8n-nodes-base.if\",\"position\":[820,420],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"companyId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"83eb9627-00f5-48a1-b187-5bde010863ce\",\"name\":\"Lemlist - Add lead to campaign\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[1980,800],\"parameters\":{\"email\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"resource\":\"lead\",\"campaignId\":\"Website Visitors\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"last_name\\\"] }}\",\"firstName\":\"={{ $json[\\\"first_name\\\"] }}\",\"companyName\":\"={{ $json[\\\"company\\\"] }}\",\"linkedinUrl\":\"={{ $json[\\\"linkedin\\\"] }}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"32\",\"name\":\"lemlist.net\"}},\"typeVersion\":1},{\"id\":\"9113f906-ccab-4a6c-961a-0cc8236c5cf0\",\"name\":\"HubSpot - Follow up task\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1360,20],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"={{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"name\\\"] }} is active on our website.\\n\\nCheck what pages they visited here:{{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"profile_url\\\"] }}\"},\"resource\":\"engagement\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"associations\":{\"ownerIds\":\"={{ $json[\\\"properties\\\"][\\\"hs_all_owner_ids\\\"][\\\"value\\\"] }}\",\"companyIds\":\"={{ $json[\\\"companyId\\\"] }}\"}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"519f7af8-43d0-4f96-943f-fa7910023648\",\"name\":\"Attempted to contact?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1140,40],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"ATTEMPTED_TO_CONTACT\"}]}},\"typeVersion\":1},{\"id\":\"b60cfbfa-a19c-4be2-a7d9-356af1688659\",\"name\":\"Slack - Notify sales team on Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1360,380],\"parameters\":{\"text\":\"=Someone from {{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"name\\\"] }} is interested by our content.\\n\\nCheck what pages they visited here:\\n{{$node[\\\"Albacross - New company in segment\\\"].json[\\\"profile_url\\\"]}}\\n\\nHubspot URL:\\nhttps://app-eu1.hubspot.com/contacts/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"portalId\\\"] }}/company/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"companyId\\\"] }} \",\"channel\":\"Customer Success - Customer News\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"5\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"17f373fc-dd09-4d77-99db-9877a1cef53f\",\"name\":\"Open Deal?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1140,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"OPEN_DEAL\"}]}},\"typeVersion\":1},{\"id\":\"57296a26-8754-485c-a2b4-3fd9e5b6f2da\",\"name\":\"email found\",\"type\":\"n8n-nodes-base.if\",\"position\":[1740,820],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"138ffa10-488f-4756-b373-f4e88d81a300\",\"name\":\"Return only 3 profiles\",\"type\":\"n8n-nodes-base.code\",\"position\":[1360,820],\"parameters\":{\"jsCode\":\"array = $input.all()[0].json.company.employees\\n\\nfunction addWebsiteProperty(array) {\\n const firstThreeElements = array.slice(0, 3);\\n const updatedElements = firstThreeElements.map(element => {\\n return { ...element, website: \\\"test\\\" };\\n });\\n return updatedElements;\\n}\\n\\nreturn addWebsiteProperty(array)\"},\"typeVersion\":1},{\"id\":\"5190749d-7901-4cc3-a5c0-5340f76a0e81\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[1540,820],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{ $json[\\\"company\\\"] }}\",\"website\":\"\",\"last_name\":\"={{ $json[\\\"lastName\\\"] }}\",\"first_name\":\"={{ $json[\\\"firstName\\\"] }}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"1\",\"name\":\"Dropcontact account\"}},\"typeVersion\":1},{\"id\":\"3ef1ae75-0e22-486a-86fa-041110410735\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1080,-100],\"parameters\":{\"width\":655.6935017564062,\"height\":321.5131001029625,\"content\":\"## Create a follow-up task for your reps when a company they prospected before is active on your website.\\n\\nThey will be able to check what pages they are visiting to better personalized their follow-up. \"},\"typeVersion\":1},{\"id\":\"8c64b7e9-96e1-4513-9de0-de9f8b82438d\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1080,240],\"parameters\":{\"width\":655.6935017564062,\"height\":321.5131001029625,\"content\":\"## Alert your reps when a company with an ongoing opportunity is active on your website.\\n\\nThey will be able to check what pages they are visiting to better personalized their follow-up. \"},\"typeVersion\":1},{\"id\":\"33f097b7-93ec-483e-8f7c-85198bb07ac6\",\"name\":\"Datagma - Enrich Account & Search for contact\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1120,820],\"parameters\":{\"url\":\"https://gateway.datagma.net/api/ingress/v2/full\",\"options\":{},\"sendQuery\":true,\"queryParameters\":{\"parameters\":[{\"name\":\"apiId\",\"value\":\"Your API Key\"},{\"name\":\"data\",\"value\":\"=lemlist\"},{\"name\":\"companyPremium\",\"value\":\"true\"},{\"name\":\"companyEmployees\",\"value\":\"true\"},{\"name\":\"maxEmployeesReturn\",\"value\":\"5\"},{\"name\":\"employeeTitle\",\"value\":\"Head of Growth\"}]}},\"typeVersion\":3},{\"id\":\"0997920e-6cb9-4aec-be0b-73bb838481ec\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1080,580],\"parameters\":{\"width\":1091.436003585227,\"height\":433.62721861064347,\"content\":\"## Find new leads, update hubspot and add to lemlist\\n\\n\"},\"typeVersion\":1}],\"connections\":{\"Open Deal?\":{\"main\":[[{\"node\":\"Slack - Notify sales team on Slack\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"email found\",\"type\":\"main\",\"index\":0}]]},\"email found\":{\"main\":[[{\"node\":\"Lemlist - Add lead to campaign\",\"type\":\"main\",\"index\":0}]]},\"Attempted to contact?\":{\"main\":[[{\"node\":\"HubSpot - Follow up task\",\"type\":\"main\",\"index\":0}]]},\"Is Account in Hubspot\":{\"main\":[[{\"node\":\"Attempted to contact?\",\"type\":\"main\",\"index\":0},{\"node\":\"Open Deal?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Datagma - Enrich Account & Search for contact\",\"type\":\"main\",\"index\":0}]]},\"Return only 3 profiles\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Search company\":{\"main\":[[{\"node\":\"Is Account in Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Albacross - New company in segment\":{\"main\":[[{\"node\":\"HubSpot - Search company\",\"type\":\"main\",\"index\":0}]]},\"Datagma - Enrich Account & Search for contact\":{\"main\":[[{\"node\":\"Return only 3 profiles\",\"type\":\"main\",\"index\":0},{\"node\":\"HubSpot Create Account\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "LinkedIn carousel - Growth Elite", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"05cc8694-0088-4945-a881-b7b13abcea2e\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[300,1220],\"parameters\":{},\"typeVersion\":1},{\"id\":\"100e6302-328d-4598-9d66-b9dde2d03364\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[480,1220],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":102114863,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=102114863\",\"cachedResultName\":\"Final_prompt\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"e462affc-23e4-4990-b5eb-b886bb9ae4f4\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[640,1220],\"parameters\":{\"model\":\"=text-davinci-003\",\"prompt\":\"={{ $json[\\\"Final_prompt_to_use\\\"] }}\",\"options\":{\"maxTokens\":600}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1},{\"id\":\"3725069c-605c-40b8-ad4a-58ff8db9dc2a\",\"name\":\"Content 1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,740],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_1\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"1\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"322b17bb-b2fb-4966-8df9-40208eb6e302\",\"name\":\"Content 3\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,1060],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_3\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"3\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"201a1b20-530d-41a0-b10e-f4a0f46ef89c\",\"name\":\"Content 4\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,1220],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_4\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"4\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"fef55072-6bcb-439c-86c4-01a1b977e532\",\"name\":\"Content 5\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,1380],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_5\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"5\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"642816a6-882d-46f7-a00a-be838f67fbfc\",\"name\":\"Content 2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,900],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_2\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"2\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"14b77e22-b139-4c20-82e3-1c9fc598a59a\",\"name\":\"IF 4\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,1240],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_4\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"90d5bae3-f0e0-496c-a271-f6625b35619f\",\"name\":\"IF 5\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,1400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_5\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"289de967-278c-438a-8008-f47cb8cf7088\",\"name\":\"IF 6\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,1560],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_6\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"5a1ae1ab-ac4b-4d80-afed-59b14b6e79a6\",\"name\":\"IF 7\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,1720],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_7\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"54d38741-c14d-469b-b228-919b5b51bc1e\",\"name\":\"IF 8\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,1880],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_8\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"dbb38b47-3497-44fa-81ef-4ecb5fd8746e\",\"name\":\"IF 9\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,2040],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_9\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"e99cfc82-ad86-47a0-9922-f75ce46e1580\",\"name\":\"IF 10\",\"type\":\"n8n-nodes-base.if\",\"position\":[1120,2200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"text\\\"] }}\",\"value2\":\"content_9\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"829076fc-a916-449f-939c-43f1bbedc8be\",\"name\":\"Content 6\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,1540],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_6\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"6\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"2616c156-c639-4364-bc1d-45a58a8b6ff2\",\"name\":\"Content 7\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,1700],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_5\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"5\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"8b52aca6-e912-4bf3-96a2-0a2b5e51b028\",\"name\":\"Content 8\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,1860],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_8\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"8\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"59d7199c-8e14-46f9-b2db-6c2696a48cea\",\"name\":\"Content 9\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,2020],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_9\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"9\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"ba2c13c6-c000-4a7a-bc88-eb9ad5575778\",\"name\":\"Content 10\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,2180],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"content_10\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"10\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"7c331cf9-d159-43f7-9384-5820c5646ecd\",\"name\":\"Content title\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1340,580],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"#description\",\"fieldValue\":\"={{ $json[\\\"title\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":668487545,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545\",\"cachedResultName\":\"Content\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk\",\"cachedResultName\":\"Linkedin carousel\"},\"valueToMatchOn\":\"title\",\"columnToMatchOn\":\"#number\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"108\",\"name\":\"Google Sheets account Lucille\"}},\"typeVersion\":3},{\"id\":\"4573f9ee-fd96-4781-a303-276fa9bc6243\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[800,1220],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"$input.item.json.title=JSON.parse($input.item.json.text).title\\n\\n$input.item.json.content_1=JSON.parse($input.item.json.text).content_1\\n\\n$input.item.json.content_2=JSON.parse($input.item.json.text).content_2\\n\\n$input.item.json.content_3=JSON.parse($input.item.json.text).content_3\\n\\nif(JSON.parse($input.item.json.text).content_4){\\n\\n $input.item.json.content_4=JSON.parse($input.item.json.text).content_4\\n\\n if(JSON.parse($input.item.json.text).content_5){\\n \\n $input.item.json.content_5=JSON.parse($input.item.json.text).content_5\\n\\n if(JSON.parse($input.item.json.text).content_6){\\n \\n $input.item.json.content_6=JSON.parse($input.item.json.text).content_6\\n \\n if(JSON.parse($input.item.json.text).content_7){\\n \\n $input.item.json.content_7=JSON.parse($input.item.json.text).content_7\\n \\n if(JSON.parse($input.item.json.text).content_8){\\n \\n $input.item.json.content_8=JSON.parse($input.item.json.text).content_8\\n \\n if(JSON.parse($input.item.json.text).content_9){\\n \\n $input.item.json.content_9=JSON.parse($input.item.json.text).content_9\\n \\n if(JSON.parse($input.item.json.text).content_10){\\n \\n $input.item.json.content_10=JSON.parse($input.item.json.text).content_10\\n }\\n }\\n }\\n }\\n }\\n } \\n}\\n\\n\\nreturn $input.item;\"},\"typeVersion\":1}],\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Content 1\",\"type\":\"main\",\"index\":0},{\"node\":\"Content 2\",\"type\":\"main\",\"index\":0},{\"node\":\"Content 3\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 4\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 5\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 6\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 7\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 8\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 9\",\"type\":\"main\",\"index\":0},{\"node\":\"IF 10\",\"type\":\"main\",\"index\":0},{\"node\":\"Content title\",\"type\":\"main\",\"index\":0}]]},\"IF 4\":{\"main\":[[{\"node\":\"Content 4\",\"type\":\"main\",\"index\":0}]]},\"IF 5\":{\"main\":[[{\"node\":\"Content 5\",\"type\":\"main\",\"index\":0}]]},\"IF 6\":{\"main\":[[{\"node\":\"Content 6\",\"type\":\"main\",\"index\":0}]]},\"IF 7\":{\"main\":[[{\"node\":\"Content 7\",\"type\":\"main\",\"index\":0}]]},\"IF 8\":{\"main\":[[{\"node\":\"Content 8\",\"type\":\"main\",\"index\":0}]]},\"IF 9\":{\"main\":[[{\"node\":\"Content 9\",\"type\":\"main\",\"index\":0}]]},\"IF 10\":{\"main\":[[{\"node\":\"Content 10\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "ChatGPT Comment Analyzer With Webhook", "output": "{\"id\":\"15\",\"meta\":{\"instanceId\":\"69e03caf4c771cdc96cef6c803d3a3904c81b08fdb401fe8eddcdf984c820d9d\"},\"name\":\"ChatGPT Comment Analyzer\",\"tags\":[],\"nodes\":[{\"id\":\"d4e1a512-e9fb-4bfb-8785-93375a5256a4\",\"name\":\"Receive Comment\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[320,380],\"webhookId\":\"6ce91197-dd94-42f9-9500-b70094893ea8\",\"parameters\":{\"path\":\"comment-analyzer\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"54761e83-5569-4b23-8084-ab14025b3f23\",\"name\":\"Set Language\",\"type\":\"n8n-nodes-base.set\",\"position\":[520,380],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Comment Language\",\"value\":\"English\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"0e8a24fe-1dc7-43cc-b8f3-fcd0af008b57\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[720,380],\"parameters\":{\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"=you act as a comment analyzer and will receive comments in {{ $node[\\\"Set Language\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"] }} language, extract overall feeling of comment, a very short title, summary and tags from it, only respond in json format\"},{\"content\":\"=\"}]},\"options\":{},\"resource\":\"chat\"},\"typeVersion\":1},{\"id\":\"d27e1f1a-b368-4cc7-bff5-969a51cecbd8\",\"name\":\"Return Result in Json Format\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[880,380],\"parameters\":{\"options\":{},\"respondWith\":\"json\",\"responseBody\":\"=\"},\"typeVersion\":1},{\"id\":\"9e85d104-d27e-4abf-abea-345249c977c7\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[320,100],\"parameters\":{\"width\":676.25,\"height\":195,\"content\":\"## Analyze Comments Using ChatGPT\\n1. Set your comment language in \\\"Set Language\\\" node.\\n2.Add Your Credentials in OpenAI node.\\n3.Add your Comment from Receive Comment node to \\\"user -> message\\\" in OpenAI node.\\n\\n\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"0f7c6efc-94e6-4f57-9899-61d5cd0fbc75\",\"connections\":{\"OpenAI\":{\"main\":[[{\"node\":\"Return Result in Json Format\",\"type\":\"main\",\"index\":0}]]},\"Set Language\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Receive Comment\":{\"main\":[[{\"node\":\"Set Language\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automate Hubspot lead status update with ChatGPT", "output": "{\"meta\":{\"instanceId\":\"614e43e43c7daf5eb87090052168a9ac123a435b43bdd9312badd6e459da3d8a\"},\"nodes\":[{\"id\":\"7a636e63-8f54-4df6-b284-0988747e8944\",\"name\":\"Gmail Trigger\",\"type\":\"n8n-nodes-base.gmailTrigger\",\"position\":[-480,360],\"parameters\":{\"filters\":{},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"credentials\":{},\"typeVersion\":1},{\"id\":\"c583fab1-cdd4-46a5-a871-b1dc94211940\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1420,320],\"parameters\":{\"mode\":\"combine\",\"options\":{\"clashHandling\":{\"values\":{\"resolveClash\":\"preferInput2\"}}},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"ef02d115-4701-4180-b059-3d64eb71eec0\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[920,120],\"parameters\":{\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"=You are an assistant that supports the seller in categorizing email replies.\\n\\nThe answers are in Netherlands and you must ONLY answer with one of the following categories: [“Interested”, “Bad Timing”, “Not Interested” “Out of office”, “Unsubscribe”, “Other”] \"},{\"content\":\"=- “Interested” is when the reply is positive. With positive reply I mean: Leads sent phone number to be called, lead ask for a meeting, lead ask interested based questions.\\n- “Bad timing” is when asking to be contacted within a few months/years.\\n- “Not interested” is when the lead replies that he is not interested right now.\\n- “Out of office” is when a lead is not in the workplace (holiday or temporary) and says when he will be back.\\n- “Unsubscribe” is when a lead asks to be removed from the email lists.\\n\\nIf you are unsure how to answer, you SHOULD answer with “Other”.\\n\\nEmails: \\\"\\\"\\\"\\n\\n{{ $('Gmail Trigger').item.json.snippet.replaceAll(/^\\\\s+|\\\\s+$/g, '').replace(/(\\\\r\\\\n|\\\\n|\\\\r)/gm, \\\"\\\") }}\\n\\n\\\"\\\"\\\"\\nCategory:\"}]},\"options\":{\"maxTokens\":1000,\"temperature\":0.5},\"resource\":\"chat\"},\"credentials\":{},\"typeVersion\":1},{\"id\":\"f46daf3c-c379-466d-93bf-88a504444bcb\",\"name\":\"Hubspot - Change Out of office status\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2560,580],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"predefinedCredentialType\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"properties\\\":{\\n \\\"hs_lead_status\\\":\\\"Out of office\\\"\\n }\\n}\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{},\"typeVersion\":2},{\"id\":\"32102963-17c5-4383-b0af-e717b3c4665d\",\"name\":\"Hubspot - Change Not Interested status\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2560,840],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"predefinedCredentialType\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"properties\\\":{\\n \\\"hs_lead_status\\\":\\\"Not Interested\\\"\\n }\\n}\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{},\"typeVersion\":2},{\"id\":\"e3c37ef5-4c11-455e-b251-fddd3fc46db2\",\"name\":\"Hubspot - Change Bad Timing status\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2560,1100],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"predefinedCredentialType\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"properties\\\":{\\n \\\"hs_lead_status\\\":\\\"Bad Timing\\\"\\n }\\n}\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{},\"typeVersion\":2},{\"id\":\"df8dbb86-3909-407c-9cb9-ffbd0cd0a8bb\",\"name\":\"Hubspot - Change Replied status\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2560,1340],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"predefinedCredentialType\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"properties\\\":{\\n \\\"hs_lead_status\\\":\\\"Replied\\\"\\n }\\n}\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{},\"typeVersion\":2},{\"id\":\"6c1a2a50-9769-4c52-9560-65efa53b403b\",\"name\":\"Hubspot - Change Interested status\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2560,320],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"predefinedCredentialType\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"properties\\\":{\\n \\\"hs_lead_status\\\":\\\"Interested\\\"\\n }\\n}\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{},\"typeVersion\":2},{\"id\":\"93203f69-878b-4525-bfa8-35df1dba645a\",\"name\":\"Hubspot - Change Opted Out status2\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2560,60],\"parameters\":{\"url\":\"=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}\",\"options\":{},\"requestMethod\":\"PATCH\",\"authentication\":\"predefinedCredentialType\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"properties\\\":{\\n \\\"hs_lead_status\\\":\\\"Opted Out\\\"\\n }\\n}\",\"nodeCredentialType\":\"hubspotOAuth2Api\"},\"credentials\":{},\"typeVersion\":2},{\"id\":\"a4537b81-9e7a-4230-95c8-f6d855f7a1ab\",\"name\":\"Extract email\",\"type\":\"n8n-nodes-base.code\",\"position\":[-220,360],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"const emailRegex = /<([^>]+)>/; \\n\\nconst match = emailRegex.exec($input.item.json?.From);\\nif (match && match?.length > 1) {\\n const email = match?.[1];\\n return {\\n email: email\\n }\\n} else {\\n return {\\n email: \\\"\\\"\\n }\\n}\"},\"typeVersion\":1},{\"id\":\"f0958499-d40b-41ca-9bbc-3675a1d96655\",\"name\":\"Hubspot Contact Search\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[40,360],\"parameters\":{\"operation\":\"search\",\"authentication\":\"oAuth2\",\"filterGroupsUi\":{\"filterGroupsValues\":[{\"filtersUi\":{\"filterValues\":[{\"value\":\"={{ $json.email }}\",\"propertyName\":\"email|string\"},{\"value\":\"true\",\"propertyName\":\"linkedin_premium|enumeration\"}]}}]},\"additionalFields\":{}},\"credentials\":{},\"typeVersion\":2},{\"id\":\"ec660f63-52c1-4e33-b913-49867a02325d\",\"name\":\"Contact Exists?\",\"type\":\"n8n-nodes-base.switch\",\"position\":[320,360],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"={{$node['Extract email'].json[\\\"email\\\"]}}\"}]},\"value1\":\"={{ $json.properties.email }}\",\"dataType\":\"string\",\"fallbackOutput\":1},\"typeVersion\":1},{\"id\":\"1f6c0db4-933f-44b7-947c-7038394aac83\",\"name\":\"Interest Handler\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1760,320],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"unsubscribe\"},{\"output\":1,\"value2\":\"interested\"},{\"output\":2,\"value2\":\"out of office\"}]},\"value1\":\"={{ $json.message.content.trim().toLowerCase() }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"6d1c598e-7b46-462b-a6e1-d26f6e015991\",\"name\":\"Interest Handler - 2\",\"type\":\"n8n-nodes-base.switch\",\"position\":[2120,1100],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"not interested\"},{\"output\":1,\"value2\":\"bad timing\"}]},\"value1\":\"={{ $json.message.content.trim().toLowerCase() }}\",\"dataType\":\"string\",\"fallbackOutput\":2},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Interest Handler\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Extract email\":{\"main\":[[{\"node\":\"Hubspot Contact Search\",\"type\":\"main\",\"index\":0}]]},\"Gmail Trigger\":{\"main\":[[{\"node\":\"Extract email\",\"type\":\"main\",\"index\":0}]]},\"Contact Exists?\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1},{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Interest Handler\":{\"main\":[[{\"node\":\"Hubspot - Change Opted Out status2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Hubspot - Change Interested status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Hubspot - Change Out of office status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Interest Handler - 2\",\"type\":\"main\",\"index\":0}]]},\"Interest Handler - 2\":{\"main\":[[{\"node\":\"Hubspot - Change Not Interested status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Hubspot - Change Bad Timing status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Hubspot - Change Replied status\",\"type\":\"main\",\"index\":0}]]},\"Hubspot Contact Search\":{\"main\":[[{\"node\":\"Contact Exists?\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Reach out to companies hiring with lemlist and Lonescale", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"d2b5460a-b943-4803-85cb-6c6b5126d651\",\"name\":\"Lemlist - Add lead to campaign\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[720,440],\"parameters\":{\"email\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"resource\":\"lead\",\"campaignId\":\"Hiring Signal Lonescale\",\"additionalFields\":{\"lastName\":\"={{ $json[\\\"last_name\\\"] }}\",\"firstName\":\"={{ $json[\\\"first_name\\\"] }}\",\"companyName\":\"={{ $json[\\\"company\\\"] }}\",\"linkedinUrl\":\"={{ $json[\\\"linkedin\\\"] }}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"32\",\"name\":\"lemlist.net\"}},\"typeVersion\":1},{\"id\":\"bc457c64-890b-4c82-999e-be61fad831df\",\"name\":\"HubSpot - Follow up task\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[220,760],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} is hiring a {{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_name\\\"] }}\\n\\nlink:{{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"job_link\\\"] }}\\ncontext: {{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"job_offers\\\"][0][\\\"workflow_all_keywords\\\"] }}\"},\"resource\":\"engagement\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"associations\":{\"companyIds\":\"={{ $node[\\\"HubSpot Update Account\\\"].json[\\\"companyId\\\"] || $node[\\\"HubSpot Create Account\\\"].json[\\\"companyId\\\"] }}\"}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"3c28635f-85e0-402a-ae9c-167bea409f58\",\"name\":\"Attempted to contact?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,780],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"ATTEMPTED_TO_CONTACT\"}]}},\"typeVersion\":1},{\"id\":\"5aaab2a3-5e46-4045-a98d-2c2ff972fe5d\",\"name\":\"Lonescale - New Job Intent\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-1520,420],\"webhookId\":\"fe426a62-eee5-4fed-bc74-45d4ac09b338\",\"parameters\":{\"path\":\"fe426a62-eee5-4fed-bc74-45d4ac09b338-lonescale\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"a6cc9db4-dfc2-4347-bd06-70e52ccd72e1\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[-860,340],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{ $json[\\\"body\\\"][\\\"company_name\\\"] }}\",\"website\":\"={{ $json[\\\"body\\\"][\\\"company_domain\\\"] }}\",\"linkedin\":\"={{ $json[\\\"body.decision_makers\\\"][\\\"people_linkedin_url\\\"] }}\",\"last_name\":\"={{ $json[\\\"body.decision_makers\\\"][\\\"people_last_name\\\"] }}\",\"first_name\":\"={{ $json[\\\"body.decision_makers\\\"][\\\"people_first_name\\\"] }}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"1\",\"name\":\"Dropcontact account\"}},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":2000},{\"id\":\"3081104a-4725-4ea5-89ab-558a51f688de\",\"name\":\"HubSpot - Search company\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-1080,680],\"parameters\":{\"limit\":1,\"domain\":\"={{ $json[\\\"body\\\"][\\\"company_domain\\\"] }}\",\"options\":{\"properties\":[\"hs_lead_status\",\"numberofemployees\",\"description\",\"linkedin_company_page\"]},\"resource\":\"company\",\"operation\":\"searchByDomain\",\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"15dacc3f-934d-46ba-b42a-263ff81773a4\",\"name\":\"New Company?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"companyId\\\"] }}\",\"operation\":\"isEmpty\"},{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"NEW\"},{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"OPEN\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"e731c904-6ff2-4644-9502-4729514b6610\",\"name\":\"Is Customer?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,1320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"CUSTOMER\"}]}},\"typeVersion\":1},{\"id\":\"dd2974c7-34f2-4994-b4ac-abc882e6f7e8\",\"name\":\"Slack - Notify CS team on Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[220,1300],\"parameters\":{\"text\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} Sales Team is hiring a [job offer title]\\n\\nMight be the right team to upsell our product. 🚀\",\"channel\":\"Customer Success - Customer News\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"5\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"fb38287c-9ff1-48d0-96d8-959764b417c7\",\"name\":\"HubSpot Update Account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-600,560],\"parameters\":{\"resource\":\"company\",\"companyId\":\"={{ $json[\\\"companyId\\\"] }}\",\"operation\":\"update\",\"updateFields\":{\"description\":\"={{ $json[\\\"properties\\\"][\\\"description\\\"][\\\"value\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_description\\\"] }}\",\"numberOfEmployees\":\"={{ $json[\\\"properties\\\"][\\\"numberofemployees\\\"][\\\"value\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_staff_count\\\"] }}\",\"linkedInCompanyPage\":\"={{ $json[\\\"properties\\\"][\\\"linkedin_company_page\\\"][\\\"value\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_linkedin_url\\\"] }} \"},\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"67ea9aa3-1910-4fac-a414-97982f3ac8a0\",\"name\":\"HubSpot\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-440,120],\"parameters\":{\"resource\":\"contact\",\"operation\":\"search\",\"returnAll\":true,\"authentication\":\"oAuth2\",\"filterGroupsUi\":{\"filterGroupsValues\":[{\"filtersUi\":{\"filterValues\":[{\"value\":\"={{ $node[\\\"Dropcontact\\\"].json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"propertyName\":\"email\"}]}}]},\"additionalFields\":{\"properties\":[\"firstname\",\"lastname\",\"email\",\"jobtitle\",\"lemlistlinkedinurl\",\"company\"]}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"b31f171c-7ee7-40d0-a567-72e73e30f2c1\",\"name\":\"HubSpot Create Account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-600,800],\"parameters\":{\"name\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }}\",\"resource\":\"company\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"websiteUrl\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_domain\\\"] }}\",\"description\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_description\\\"] }}\",\"yearFounded\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_founded_year\\\"] }}\",\"linkedInCompanyPage\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_linkedin_url\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"9d863162-e424-4ae6-86e8-59a02aee1a9a\",\"name\":\"Is Account in Hubspot\",\"type\":\"n8n-nodes-base.if\",\"position\":[-860,680],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"companyId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"8b4ac583-59f1-42fa-b6c3-4337bb7f0b0f\",\"name\":\"HubSpot - Create/Update Contact\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[-260,120],\"parameters\":{\"email\":\"={{ $json[\\\"properties\\\"][\\\"email\\\"] }}\",\"resource\":\"contact\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"jobTitle\":\"={{ $json[\\\"properties\\\"][\\\"jobtitle\\\"] || $node[\\\"Return decision makers\\\"].json[\\\"body.decision_makers\\\"][\\\"people_current_position\\\"] }}\",\"lastName\":\"={{ $json[\\\"properties\\\"][\\\"lastname\\\"] || $node[\\\"Return decision makers\\\"].json[\\\"body.decision_makers\\\"][\\\"people_last_name\\\"] }}\",\"firstName\":\"={{ $json[\\\"properties\\\"][\\\"firstname\\\"] || $node[\\\"Return decision makers\\\"].json[\\\"body.decision_makers\\\"][\\\"people_first_name\\\"] }}\",\"companyName\":\"={{ $json[\\\"properties\\\"][\\\"company\\\"] || $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"people_company_name\\\"] }} \",\"customPropertiesUi\":{\"customPropertiesValues\":[{\"value\":\"={{ $json[\\\"properties\\\"][\\\"lemlistlinkedinurl\\\"] || $node[\\\"Return decision makers\\\"].json[\\\"body.decision_makers\\\"][\\\"people_linkedin_url\\\"] }}\",\"property\":\"linkedin_url\"}]}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"4c5a2ebe-1032-4a73-8983-b9470ded9228\",\"name\":\"Slack - Notify sales team on Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[220,1040],\"parameters\":{\"text\":\"={{ $node[\\\"Lonescale - New Job Intent\\\"].json[\\\"body\\\"][\\\"company_name\\\"] }} Sales Team is hiring a [job offer title]\\n\\nHubspot Record URL: https://app-eu1.hubspot.com/contacts/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"portalId\\\"] }}/company/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"companyId\\\"] }} \",\"channel\":\"Customer Success - Customer News\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"5\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"a3956aa9-5c76-481c-9005-01f7feef6281\",\"name\":\"Open Deal?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-20,1060],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"OPEN_DEAL\"}]}},\"typeVersion\":1},{\"id\":\"a5a84d04-19d0-4adb-b811-0b796289e38c\",\"name\":\"email found\",\"type\":\"n8n-nodes-base.if\",\"position\":[480,460],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"2c8fd6cf-3ed1-44ed-b625-abb1cbf98c9d\",\"name\":\"Return decision makers\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[-1060,340],\"parameters\":{\"include\":\"allOtherFields\",\"options\":{},\"fieldToSplitOut\":\"body.decision_makers\"},\"typeVersion\":1},{\"id\":\"31fbb6de-2d03-4e37-9e73-897cee58169a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1124.6996197718645,259.29429657794606],\"parameters\":{\"width\":374.3269961977189,\"height\":238.9171102661595,\"content\":\"## Find decision makers emails\"},\"typeVersion\":1},{\"id\":\"0de230e6-2c67-4c5d-882f-87e9e07677b8\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[-360,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"HS_updated\",\"value\":\"true\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"df7fcf7c-ccd9-464a-a3ff-622cd0e427f8\",\"name\":\"email found1\",\"type\":\"n8n-nodes-base.if\",\"position\":[-660,140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"f02a9d2c-ccc7-4a8f-b54a-a932e0038849\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-720,40],\"parameters\":{\"width\":588.4106463878331,\"height\":268.30114068441054,\"content\":\"## Update Hubspot with contact info\"},\"typeVersion\":1},{\"id\":\"cfbbf365-0595-40d9-8010-0c5dae90a28a\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-80,120],\"parameters\":{},\"typeVersion\":1},{\"id\":\"854fb3b6-6d04-4fae-a167-e37daa13c441\",\"name\":\"Return Dropcontact data\",\"type\":\"n8n-nodes-base.code\",\"position\":[240,460],\"parameters\":{\"jsCode\":\"// Loop over input items and add a new field\\n// called 'myNewField' to the JSON of each one\\nfor (const item of $input.all()) {\\n item.json.myNewField = 1;\\n}\\n\\nreturn $('Dropcontact').all();\"},\"typeVersion\":1},{\"id\":\"4de3de84-fab8-4a4b-ba76-e51e691f3966\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1140,520],\"parameters\":{\"width\":907.741444866921,\"height\":499.3733840304178,\"content\":\"## Check Hubspot and update company records with Lonescale data\"},\"typeVersion\":1},{\"id\":\"cfc6e87c-5eb1-46b0-b29d-5a71e6598488\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-60,400],\"parameters\":{\"width\":955.6653992395447,\"height\":222.24790874524672,\"content\":\"## Add new leads to lemlist campaign\"},\"typeVersion\":1},{\"id\":\"32da049e-88a6-453e-9cea-37eec0bdc60a\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[-60,680],\"parameters\":{\"width\":955.6653992395447,\"height\":255.58631178707185,\"content\":\"## Create follow up tasks if connected\"},\"typeVersion\":1},{\"id\":\"30580825-0958-4f0d-a137-321c8a2cb8b9\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[-60,960],\"parameters\":{\"width\":955.6653992395447,\"height\":255.58631178707185,\"content\":\"## Notify sales team\"},\"typeVersion\":1},{\"id\":\"63b6efe5-4148-42f9-8e23-51ac43faa054\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[-60,1240],\"parameters\":{\"width\":955.6653992395447,\"height\":255.58631178707185,\"content\":\"## Notify CS team\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"New Company?\",\"type\":\"main\",\"index\":0},{\"node\":\"Attempted to contact?\",\"type\":\"main\",\"index\":0},{\"node\":\"Open Deal?\",\"type\":\"main\",\"index\":0},{\"node\":\"Is Customer?\",\"type\":\"main\",\"index\":0}]]},\"HubSpot\":{\"main\":[[{\"node\":\"HubSpot - Create/Update Contact\",\"type\":\"main\",\"index\":0}]]},\"Open Deal?\":{\"main\":[[{\"node\":\"Slack - Notify sales team on Slack\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"email found1\",\"type\":\"main\",\"index\":0}]]},\"email found\":{\"main\":[[{\"node\":\"Lemlist - Add lead to campaign\",\"type\":\"main\",\"index\":0}]]},\"Is Customer?\":{\"main\":[[{\"node\":\"Slack - Notify CS team on Slack1\",\"type\":\"main\",\"index\":0}]]},\"New Company?\":{\"main\":[[{\"node\":\"Return Dropcontact data\",\"type\":\"main\",\"index\":0}]]},\"email found1\":{\"main\":[[{\"node\":\"HubSpot\",\"type\":\"main\",\"index\":0}]]},\"Attempted to contact?\":{\"main\":[[{\"node\":\"HubSpot - Follow up task\",\"type\":\"main\",\"index\":0}]]},\"Is Account in Hubspot\":{\"main\":[[{\"node\":\"HubSpot Update Account\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HubSpot Create Account\",\"type\":\"main\",\"index\":0}]]},\"HubSpot Create Account\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"HubSpot Update Account\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Return decision makers\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"Return Dropcontact data\":{\"main\":[[{\"node\":\"email found\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Search company\":{\"main\":[[{\"node\":\"Is Account in Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Lonescale - New Job Intent\":{\"main\":[[{\"node\":\"Return decision makers\",\"type\":\"main\",\"index\":0},{\"node\":\"HubSpot - Search company\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Create/Update Contact\":{\"main\":[[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "BigQuery SQL request", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"4b5a31bc-7855-4167-bac4-19d5400bcdb7\",\"name\":\"Schema\",\"type\":\"n8n-nodes-base.set\",\"position\":[740,260],\"parameters\":{\"values\":{\"string\":[{\"name\":\"schema\",\"value\":\"={{$json[\\\"schema\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"94399300-c24b-4447-9f46-f2f4db2009ea\",\"name\":\"Rows\",\"type\":\"n8n-nodes-base.set\",\"position\":[740,420],\"parameters\":{\"values\":{\"string\":[{\"name\":\"rows\",\"value\":\"={{$json[\\\"rows\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"65c81d4f-e4ba-4d03-a04e-42df47c3519e\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[960,340],\"parameters\":{\"mode\":\"combine\",\"options\":{\"includeUnpaired\":false},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"494d18ae-5e40-4811-8984-7b6509d77fed\",\"name\":\"Convert to table\",\"type\":\"n8n-nodes-base.function\",\"position\":[1120,340],\"parameters\":{\"functionCode\":\"function convertBQToMySQLResults(schema, rows) {\\n\\n var resultRows = []\\n \\n function recurse (schemaCur, rowsCur, colName) {\\n\\n if (Array.isArray(schemaCur) && !Array.isArray(result[colName])) {\\n for(var i=0, l=schemaCur.length; i { return value.v })\\n } else {\\n result[colName] = [ null ]\\n }\\n \\n } else if (Array.isArray(result[colName])) {\\n let nextRow = {} \\n for (var j in schemaCur) {\\n nextRow[colName + \\\".\\\" + schemaCur[j].name] = Array.isArray(rowsCur.v.f[j].v) ? rowsCur.v.f[j].v.map( (value, index) => { return value.v }) : rowsCur.v.f[j].v \\n }\\n result[colName].push(nextRow)\\n } else {\\n if (colName !== \\\"\\\")\\n result[colName] = rowsCur.v\\n }\\n }\\n }\\n\\n for (var r=0, rowsCount=rows.length; r ({json: row}));\"},\"typeVersion\":1},{\"id\":\"6ddcb65f-e79f-4432-bb93-6072dbc1262a\",\"name\":\"BigQuery Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[520,320],\"parameters\":{\"url\":\"https://bigquery.googleapis.com/bigquery/v2/projects/datawarehouse-prod-381508/queries\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={\\n \\\"query\\\": {{ JSON.stringify($json[\\\"SQL\\\"]) }},\\n \\\"useLegacySql\\\": false\\n}\",\"sendBody\":true,\"specifyBody\":\"json\",\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"googleBigQueryOAuth2Api\"},\"credentials\":{\"googleBigQueryOAuth2Api\":{\"id\":\"119\",\"name\":\"Data BigQuery \"}},\"typeVersion\":3},{\"id\":\"a0c3c36a-964a-4f19-b6f5-a1c6643d8481\",\"name\":\"GET SQL\",\"type\":\"n8n-nodes-base.set\",\"position\":[320,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"SQL\",\"value\":\"={{ $json[\\\"query\\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c815f6b7-4000-4c64-9dab-bca88727ca59\",\"name\":\"Execute Workflow Trigger\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"position\":[120,320],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Rows\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Merge\":{\"main\":[[{\"node\":\"Convert to table\",\"type\":\"main\",\"index\":0}]]},\"Schema\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"GET SQL\":{\"main\":[[{\"node\":\"BigQuery Request\",\"type\":\"main\",\"index\":0}]]},\"BigQuery Request\":{\"main\":[[{\"node\":\"Schema\",\"type\":\"main\",\"index\":0},{\"node\":\"Rows\",\"type\":\"main\",\"index\":0}]]},\"Execute Workflow Trigger\":{\"main\":[[{\"node\":\"GET SQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "ChatGPT for Buyer Intent Data", "output": "{\"meta\":{\"instanceId\":\"a4061dfe6db29b364e0be9baa2b586a21baf6d29e30bc6f904c335c28f1284fb\"},\"nodes\":[{\"id\":\"ac845124-d2d2-434d-b375-51637a796c04\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[-1560,620],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"622d8b49-23cc-4ccd-b0cb-7cbdbc3b70c2\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[-1860,620],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":487631050,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1tR3b2JKSNxbzNd0V_cWYqcGKM4lAvWgCV31xqKt8hRY/edit#gid=487631050\",\"cachedResultName\":\"companies\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1tR3b2JKSNxbzNd0V_cWYqcGKM4lAvWgCV31xqKt8hRY/edit#gid=487631050\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"1\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"2b4908ab-eed7-4178-8ede-9cfa805423e5\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[540,820],\"webhookId\":\"e86b2714-a0cc-4d38-a6c9-f4baf3091025\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1},{\"id\":\"9e462d01-448d-4228-81d2-c5820220e36c\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[-1020,640],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2.1},{\"id\":\"28f40757-6e5f-49cb-81f5-e6697a123a1b\",\"name\":\"Baseloop - Get Last News\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-1280,780],\"parameters\":{\"url\":\"=https://api.baseloop.io/v1/loops/summarize?apiKey=BASELOOP_API_KEY&forceSuccess=true\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={ \\n \\\"url\\\": \\\"{{ $node[\\\"Split In Batches\\\"].json[\\\"Company Linkedin Url\\\"] }}\\\",\\n \\\"customPrompt\\\": \\\"Extract the keyinsights from the the post and display these insights chronologically,ensuring you adhere to the YYYY-MM-DD date format. Convert all temporal references like '2d', '2w', '1mo' to specific dates, considering today's date as reference: {{new Date().toISOString()}}. Present each insight following this schema: '-date: insight' \\\\n\\\\n Linkedin Post: [[context]] \\\\n KEY INSIGHTS:\\\",\\n \\\"selectors\\\": \\\"section.updates\\\",\\n \\\"ignoreSelectors\\\": \\\".flex.mb-1 p, div.collapsible-dropdown, div.social-action-bar, section.hidden-summary, .main-feed-activity-card__social-actions\\\"\\n}\",\"sendBody\":true,\"specifyBody\":\"json\"},\"typeVersion\":4.1},{\"id\":\"8cf2be8f-0dc3-4271-bd82-bb0f93fc7133\",\"name\":\"Personalize Key Insights\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[-360,460],\"parameters\":{\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"You are an assistant helping me with the first line to a sales email.\"},{\"content\":\"=Using the input, generate 5 first lines using the latest company announcements.\\nThese are the announcements :\\n\\n“-2023-06-08: Notion introduces new Notion Projects feature\\n-2023-06-21: Rob Giampietro is announced as Notion’s new Head of Creative\\n-2023-06-21: Notion introduces Mural previews feature\\n-2023-06-22: Notion wishes Happy Juneteenth\\n-2023-06-18: Notion recaps all the features included in Notion Projects\\n-2023-06-18: PartnerStack moves to Notion for project management\\n-2023-06-17: Notion adds dependency shifting to timeline views\\n-2023-06-16: Notion introduces real-time GitHub integration\\n-2023-06-15: Notion is launched on Product Hunt for teams to document their design system\\n-2023-06-15: Notion introduces pre-configured sprint workflow in beta”\\n\\nComplete each line in under 10 words and use keywords from the input and use my prefix here: “I noticed\"},{\"role\":\"assistant\",\"content\":\"=1. I noticed Notion has new Projects & Mural previews features.\\n2. I noticed Rob Giampietro is the new Head of Creative.\\n3. I noticed Notion wishes Happy Juneteenth & adds features.\\n4. I noticed PartnerStack switches to Notion for project management.\\n5. I noticed GitHub now integrates real-time with Notion.\"},{\"content\":\"=Using the input, generate 5 first lines using the latest company announcements.\\n \\nThese are the announcements:\\n{{ $json.output.answer }}\\n\"}]},\"options\":{\"maxTokens\":2000,\"temperature\":0.3},\"resource\":\"chat\"},\"typeVersion\":1},{\"id\":\"9cede89e-31d9-4c0e-84c5-4a019c378ab3\",\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[-20,600],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2.1},{\"id\":\"e60c0a92-3583-4bda-8bbe-3b74ee27eb21\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-2140,620],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e33f9e67-31f3-4325-9f91-fdf3fd27d88a\",\"name\":\"Update Google Sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[240,600],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Latest Company News\",\"fieldValue\":\"={{ $json.output.answer }}\"},{\"column\":\"5 ready-to-use, personalized messages\",\"fieldValue\":\"={{ $json.message.content }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1L-Z0L1_8qsCbalcBMuR9O_r235qMLGWTlFqXRFkZYTw/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1L-Z0L1_8qsCbalcBMuR9O_r235qMLGWTlFqXRFkZYTw/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json['Company Linkedin Url'] }}\",\"columnToMatchOn\":\"Company Linkedin Url\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"1\",\"name\":\"Google Sheets account\"}},\"typeVersion\":3},{\"id\":\"8bb90515-1cd6-45c0-9944-9137ae5f9d42\",\"name\":\"SKIP ON ERROR\",\"type\":\"n8n-nodes-base.switch\",\"position\":[-680,640],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"={{ !!$json?.output?.answer }}\"}]},\"value1\":true,\"dataType\":\"boolean\",\"fallbackOutput\":1},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"SKIP ON ERROR\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"Update Google Sheet\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"SKIP ON ERROR\":{\"main\":[[{\"node\":\"Personalize Key Insights\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}],[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Baseloop - Get Last News\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheet\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Baseloop - Get Last News\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Personalize Key Insights\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "MASLEADS - Enriquecimiento ", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"04750e9b-6ce3-401b-89e7-f1f17f3a4a28\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-180,300],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7a8bb997-5a2d-4ee0-a1ca-bebe9fe32bc2\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[640,460],\"parameters\":{\"url\":\"=https://www.{{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}\",\"options\":{\"redirect\":{\"redirect\":{\"followRedirects\":true}}}},\"typeVersion\":3,\"continueOnFail\":true},{\"id\":\"6409f0c4-bf93-4a1d-a74c-e294fb39895f\",\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[820,460],\"parameters\":{\"options\":{\"trimValues\":false},\"extractionValues\":{\"values\":[{\"key\":\"body\",\"cssSelector\":\"html\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"f45fcc6a-9ccd-43c9-9eaf-1797768e1e62\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1140,460],\"parameters\":{\"prompt\":\"=This is the content of the website {{ $node[\\\"Split In Batches\\\"].json[\\\"Domain\\\"] }}:\\\"{{ $json[\\\"contentShort\\\"] }}\\\"\\n\\nIn a JSON format:\\n\\n- Give me the value proposition of the company. In less than 25 words. In English. Casual Tone. Format is: \\\"[Company Name] helps [target audience] [achieve desired outcome] and [additional benefit]\\\"\\n\\n- Give me the industry of the company. (Classify using this industry list: [Agriculture, Arts, Construction, Consumer Goods, Education, Entertainment, Finance, Other, Health Care, Legal, Manufacturing, Media & Communications, Public Administration, Advertisements, Real Estate, Recreation & Travel, Retail, Software, Transportation & Logistics, Wellness & Fitness] if it's ambiguous between Sofware and Consumer Goods, prefer Consumer Goods)\\n\\n- Guess the target audience of each company.(Classify and choose 1 from this list: [sales teams, marketing teams, HR teams, customer Service teams, consumers, C-levels] Write it in lowercase)\\n\\n- Tell me if they are B2B or B2C\\n\\nformat should be:\\n{\\\"value_proposition\\\": value_proposition,\\n\\\"industry\\\": industry,\\n\\\"target_audience\\\": target_audience, \\n\\\"market\\\": market }\\n\\nJSON:\",\"options\":{\"topP\":1,\"maxTokens\":120,\"temperature\":0}},\"credentials\":{\"openAiApi\":{\"id\":\"67\",\"name\":\"Lucas Open AI\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"8de6c3d4-316f-4e00-a9f5-a4deefce90b3\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1600,320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2},{\"id\":\"669f888e-1416-4291-a854-07ffbbbfcab1\",\"name\":\"Clean Content\",\"type\":\"n8n-nodes-base.code\",\"position\":[980,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"if ($input.item.json.body){\\n\\n\\n\\n$input.item.json.content = $input.item.json.body.replaceAll('/^\\\\s+|\\\\s+$/g', '').replace('/(\\\\r\\\\n|\\\\n|\\\\r)/gm', \\\"\\\").replace(/\\\\s+/g, ' ')\\n\\n\\n $input.item.json.contentShort = $input.item.json.content.slice(0, 10000)\\n}\\n\\n\\n\\n\\nreturn $input.item\"},\"executeOnce\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"dbd5f866-2f5e-4adf-b1b5-a27b08c0425a\",\"name\":\"Update Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,320],\"parameters\":{\"options\":{},\"fieldsUi\":{\"values\":[{\"column\":\"Market\",\"fieldValue\":\"={{ $json[\\\"market\\\"] }}\"},{\"column\":\"Industry\",\"fieldValue\":\"={{ $json[\\\"industry\\\"] }}\"},{\"column\":\"Value Proposition\",\"fieldValue\":\"={{ $json[\\\"value_proposition\\\"] }}\"},{\"column\":\"Target Audience\",\"fieldValue\":\"={{ $json[\\\"target_audience\\\"] }}\"}]},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"},\"valueToMatchOn\":\"={{ $json[\\\"Domain\\\"] }}\",\"columnToMatchOn\":\"Domain\"},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"f8bf8b70-6070-447b-af22-4d4e1ffe3539\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.code\",\"position\":[1300,460],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Add a new field called 'myNewField' to the\\n// JSON of the item\\n$input.item.json.value_proposition=JSON.parse($input.item.json.text).value_proposition\\n\\n$input.item.json.industry=JSON.parse($input.item.json.text).industry\\n\\n$input.item.json.market=JSON.parse($input.item.json.text).market\\n\\n$input.item.json.target_audience=JSON.parse($input.item.json.text).target_audience\\n\\nreturn $input.item;\"},\"typeVersion\":1},{\"id\":\"2754c6e1-9cf6-47d4-ad97-0797ec9155df\",\"name\":\"Read Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[40,300],\"parameters\":{\"options\":{},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13h8HPWKha5kZHDeKxAPQvQqAOonof5cgpxzh79tIQfY/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/18iZ59I0q2AeElqcEpyJECNlSv4M6iJll9PQzXQkqEUk/edit#gid=0\",\"__regex\":\"https:\\\\/\\\\/(?:drive|docs)\\\\.google\\\\.com\\\\/\\\\w+\\\\/d\\\\/([0-9a-zA-Z\\\\-_]+)(?:\\\\/.*|)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"2\",\"name\":\"Google Sheets account lucas\"}},\"typeVersion\":3},{\"id\":\"c2b93428-0dcc-4c02-bb81-496c12442284\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[260,300],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"eccf1dc8-a0bb-40f6-9471-95eac8020b02\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2060,560],\"webhookId\":\"d44bc024-1c21-44e0-b2b4-5cff6fb9f402\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Wait\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Update Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"OpenAI\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"Clean Content\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"Clean Content\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Read Google Sheets\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Update Google Sheets\":{\"main\":[[{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "v1 helper - Find params with affected expressions", "output": "{\"id\":\"zlHbtHIcCZ9enKwg\",\"meta\":{\"instanceId\":\"406f1bca875c48c0fa12bf65a32e67f001617a6df6d6fd6dd72bff9d20014812\"},\"name\":\"v1 helper - Find params with affected expressions\",\"tags\":[],\"nodes\":[{\"id\":\"b3dd44ca-960f-4689-9545-30a05dc0441e\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[580,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"96db239d-05b6-4e1d-b101-e66c2a9708f6\",\"name\":\"n8n\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[800,320],\"parameters\":{\"filters\":{\"activeWorkflows\":true}},\"credentials\":{\"n8nApi\":{\"id\":\"hcJ2iZYYgs54eCaT\",\"name\":\"n8n account\"}},\"typeVersion\":1},{\"id\":\"b2286f6b-ba37-433c-b22a-95032bc25b6e\",\"name\":\"Find params with affected expressions\",\"type\":\"n8n-nodes-base.code\",\"position\":[1040,320],\"parameters\":{\"jsCode\":\"const AFFECTED_EXTENSIONS = ['beginningOf', 'endOfMonth', 'minus', 'plus'];\\n\\nconst isExpression = (value) => typeof value === 'string' && value.startsWith('={{');\\n\\nconst containsAny = (str, substrings) => {\\n for (const substring of substrings) {\\n if (str.includes(substring)) return true;\\n }\\n \\n return false;\\n}\\n\\nconst isAffected = (value) => isExpression(value) && containsAny(value, AFFECTED_EXTENSIONS);\\n\\nfunction findParamsByTest(target, test) {\\n const parameterNames = [];\\n\\n function search(obj) {\\n if (typeof obj === 'object') {\\n for (const key in obj) {\\n const value = obj[key];\\n\\n if (test(value)) {\\n parameterNames.push(key);\\n } else if (typeof value === 'object') {\\n search(value);\\n }\\n }\\n }\\n }\\n\\n search(target);\\n\\n return parameterNames;\\n}\\n\\nreturn $input.all().reduce((allLocations, { json: workflow }) => {\\n const perWorkflow = workflow.nodes.reduce((allLocationsPerWorkflow, node) => {\\n const perNode = findParamsByTest(node.parameters, isAffected).map(\\n (parameterName) => {\\n\\t\\treturn {\\n\\t\\t\\tworkflowName: workflow.name,\\n\\t\\t\\tnodeName: node.name,\\n\\t\\t\\tparameterName,\\n };\\n },\\n );\\n\\n return [...allLocationsPerWorkflow, ...perNode];\\n }, []);\\n\\n return [...allLocations, ...perWorkflow];\\n}, []);\"},\"typeVersion\":1},{\"id\":\"ee189fa0-cf89-4b8d-8351-ed9598f18502\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[600,92],\"parameters\":{\"width\":548.6551724137931,\"height\":191.08045977011497,\"content\":\"## v1 Helper\\n\\nℹ️ This workflow is to be run **after upgrading to n8n v1**.\\n\\nThis workflow returns all locations where a node in an active workflow contains a parameter using an **expression extension affected by [v1 changes](https://github.com/n8n-io/n8n/pull/6435)**. For every location, please check that the workflow still behaves as intended.\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"da694734-30ae-46b1-8e29-877c95b670ab\",\"connections\":{\"n8n\":{\"main\":[[{\"node\":\"Find params with affected expressions\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"n8n\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync new data between two apps", "output": "{\"nodes\":[{\"id\":\"678e86bc-2755-4c79-97d6-fa4da1ed9ff9\",\"name\":\"Postgres Trigger\",\"type\":\"n8n-nodes-base.postgresTrigger\",\"disabled\":true,\"position\":[500,480],\"parameters\":{\"schema\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"computed\",\"cachedResultName\":\"computed\"},\"firesOn\":\"UPDATE\",\"tableName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"users\",\"cachedResultName\":\"users\"},\"additionalFields\":{}},\"credentials\":{\"postgres\":{\"id\":\"8\",\"name\":\"Postgres Product Analytics\"}},\"typeVersion\":1},{\"id\":\"accecdfc-283c-4119-9b23-4cf44bc5e68c\",\"name\":\"Filter\",\"type\":\"n8n-nodes-base.filter\",\"notes\":\"Filter out @n8n.io emails\",\"position\":[980,540],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.email }}\",\"value2\":\"n8n.io\",\"operation\":\"notContains\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"d16d7ae7-0c60-48f0-97fe-c7618cab73d3\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[0,380],\"parameters\":{\"width\":424,\"height\":559,\"content\":\"## 👋 How to use this template\\nThis template shows how to sync data from one service to another. In this example we're saving a new qualified lead to a Google Sheets file. Here's how you can test the template:\\n\\n1. Duplicate our [Google Sheets](https://docs.google.com/spreadsheets/d/1gVfyernVtgYXD-oPboxOSJYQ-HEfAguEryZ7gTtK0V8/edit?usp=sharing) file\\n2. Double click the `Google Sheets` node and create a credential by signing in.\\n3. Select the correct Google Sheets document and sheet.\\n4. Click the `Execute Workflow` button and double click the nodes to see the input and output data\\n\\n### To customize it to you needs, just do the following:\\n1. Enable or exchange the `Postgres trigger` with any service that fits your use case.\\n2. Change the `Filter` to fit your needs\\n3. Adjust the Google Sheets node as described above\\n4. Disable or remove the `On clicking \\\"Execute Node\\\"` and `Code` node\\n\"},\"typeVersion\":1},{\"id\":\"8bc7439e-d814-4960-8b75-fc77805f74c7\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,380],\"parameters\":{\"width\":344,\"height\":562,\"content\":\"### 1. Trigger step listens for new events\\n\\n\"},\"typeVersion\":1},{\"id\":\"63b2bc4c-8e33-4432-af4b-4595b2012ce1\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[840,460],\"parameters\":{\"width\":462,\"height\":407,\"content\":\"### 2. Filter and transform your data\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nIn this case, we only want to save qualified users that don't have `@n8n.io` in their email address.\\n\\nTo edit the filter, simply drag and drop input data into the fields or change the values directly. **Besides filters, n8n has other powerful transformation nodes like [Set](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.set), [ItemList](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.itemlists/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.itemLists), [Code](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.code) and many more.**\"},\"typeVersion\":1},{\"id\":\"448e2c49-aa75-405b-ba51-3acbce0fb758\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1340,460],\"parameters\":{\"width\":342.52886836027733,\"height\":407.43618112665195,\"content\":\"### 3. Save the user in a Google Sheet\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nFor simplicity, we're saving our qualified user in a Google Sheet.\\n\\n**You can replace this node with any service like [Excel](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.microsoftexcel/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.microsoftExcel), [HubSpot](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.hubspot/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.hubspot), [Pipedrive](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.pipedrive/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.pipedrive), [Zendesk](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.zendesk/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.zendesk) etc.**\"},\"typeVersion\":1},{\"id\":\"c0ee182d-4c31-488b-a547-5f2d2ba8786e\",\"name\":\"On clicking \\\"Execute Node\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"notes\":\"For testing the workflow\",\"position\":[500,680],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"87f2a11e-f704-4c9e-ac8b-ee1f057cd347\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"notes\":\"Mock Data\",\"position\":[680,680],\"parameters\":{\"jsCode\":\"return [\\n {\\n \\\"id\\\": 1,\\n \\\"username\\\": \\\"max_mustermann\\\",\\n \\\"email\\\": \\\"max_mustermann@acme.com\\\",\\n \\\"company_size\\\": \\\"500-999\\\",\\n \\\"role\\\": \\\"Sales\\\",\\n \\\"users\\\": 50\\n }\\n]\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"0992077f-b6d3-47d2-94d2-c612dfbf5062\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"Add to \\\"Users to contact\\\"\",\"position\":[1400,540],\"parameters\":{\"columns\":{\"value\":{\"id\":\"={{ $json.id }}\",\"email\":\"={{ $json.email }}\",\"username\":\"={{ $json.username }}\"},\"schema\":[{\"id\":\"id\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"id\",\"defaultMatch\":true,\"canBeUsedToMatch\":true},{\"id\":\"username\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"username\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"email\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"email\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"contacted\",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"contacted\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"defineBelow\",\"matchingColumns\":[\"id\"]},\"options\":{\"cellFormat\":\"USER_ENTERED\"},\"operation\":\"appendOrUpdate\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1gVfyernVtgYXD-oPboxOSJYQ-HEfAguEryZ7gTtK0V8/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1gVfyernVtgYXD-oPboxOSJYQ-HEfAguEryZ7gTtK0V8\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1gVfyernVtgYXD-oPboxOSJYQ-HEfAguEryZ7gTtK0V8/edit?usp=drivesdk\",\"cachedResultName\":\"Qualified leads to contact\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"9\",\"name\":\"Google Sheets account\"}},\"notesInFlow\":true,\"typeVersion\":4}],\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"Filter\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Postgres Trigger\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"On clicking \\\"Execute Node\\\"\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Report number of weekly created records in an app", "output": "{\"nodes\":[{\"id\":\"5eeb368d-737a-4186-afef-3072d0e9a1c7\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"notes\":\"Execute WF on a schedule\",\"position\":[940,280],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"notesInFlow\":true,\"typeVersion\":1.1},{\"id\":\"175f3ae0-6710-4934-b6c0-ebc21e26d0b5\",\"name\":\"Notion\",\"type\":\"n8n-nodes-base.notion\",\"disabled\":true,\"position\":[1220,80],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"Created time|created_time\",\"condition\":\"on_or_after\",\"createdTimeValue\":\"={{ $now.minus(7, 'days').toISOString() }}\"}]},\"options\":{},\"resource\":\"databasePage\",\"matchType\":\"allFilters\",\"operation\":\"getAll\",\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"4ab15dec-f104-488e-936b-d14122106e7f\",\"cachedResultUrl\":\"https://www.notion.so/4ab15decf104488e936bd14122106e7f\",\"cachedResultName\":\"Product ideas list\"},\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"5\",\"name\":\"Notion account\"}},\"typeVersion\":2},{\"id\":\"8210582d-aae4-42b4-86d1-0513ad987c55\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"notes\":\"Post message in channel\",\"position\":[2100,280],\"parameters\":{\"text\":\"=Yay, we added *{{ $json.unique_count_id }} new UX ideas* in the last 7 days :tada:\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#nik-wf-testing\"},\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"6\",\"name\":\"Idea Bot\"}},\"notesInFlow\":true,\"typeVersion\":2},{\"id\":\"7db1f3c1-d1c9-4f41-a873-0f083543b4b4\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1800,280],\"parameters\":{\"options\":{},\"operation\":\"summarize\",\"fieldsToSummarize\":{\"values\":[{\"field\":\"id\",\"aggregation\":\"countUnique\"}]}},\"typeVersion\":2.2},{\"id\":\"f6856a5e-d57d-43f4-986b-cd8439e4caa0\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[400,80],\"parameters\":{\"width\":424,\"height\":515.6050016413932,\"content\":\"## 👋 How to use this template\\nThis template shows how you can create reports on data in an app and share a summary in another app. Here's how to use it:\\n\\n1. Double click the `Slack` node and create a credential by signing in.\\n2. Change the channel name in the `Slack` node to a channel you have in Slack.\\n2. Click the `Execute Workflow` button and double click the nodes to see the input and output data\\n\\n### To customize it to you needs, just do the following:\\n1. Enable or exchange the `Notion` node with any service that fits your use case.\\n2. Change the `2. Filter and transform your data` section to fit your needs\\n3. Adjust the Slack node or exchange it with any node that fits your use case\\n4. Disable or remove the `Mock Data` node\\n\"},\"typeVersion\":1},{\"id\":\"13386afe-01c2-4f6e-b9d5-8fc485353ff9\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2040,220],\"parameters\":{\"width\":317.52886836027733,\"height\":373.04798303066787,\"content\":\"### 3. Notify the right channel\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nFinally, we're sending a message to the `#ideas-overview` channel in Slack.\\n\\n**You can replace this node with any service like [Teams](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.microsoftteams/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.microsoftTeams), [Telegram](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.telegram), [Email](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.sendemail/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.emailSend) etc.**\"},\"typeVersion\":1},{\"id\":\"1b4108e0-9e91-4b4e-a4cf-75366d7c82c0\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[860,180],\"parameters\":{\"width\":282,\"height\":415.1692017070486,\"content\":\"### 1. Define a trigger that should start your wofklow\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nWe added a `Schedule trigger` that starts the workflow once a week. \\n\\n**Double click the node to modify when it runs**\"},\"typeVersion\":1},{\"id\":\"ba3eb63f-bdcd-4a58-949a-2d24d4c872c4\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1160,0],\"parameters\":{\"width\":348,\"height\":597.3550016413941,\"content\":\"### 2. Load your data\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nIn our example, we're getting all new entries from a `Notion` Database in which we save new product ideas.\\n\\n**You can replace product ideas with any data that you want to summarize any service you wish, like [Jira](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.jira/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.jira), [Airtable](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.airtable/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.airtable), [Google Sheets](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.googleSheets) etc.**\"},\"typeVersion\":1},{\"id\":\"9ec65fe7-3264-4437-a1bf-3bdec1c886fe\",\"name\":\"Sticky Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1540,160],\"parameters\":{\"width\":462,\"height\":444.12384956830226,\"content\":\"### 2. Filter and transform your data\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nWe only want to count the UX ideas of the team. We use the `Filter` node to filter out all other items, and use the `Item Lists` node to summarize the data for us.\\n\\nTo edit the nodes, simply drag and drop input data into the fields or change the values directly. **n8n comes with a set of powerful transformation and branching tools like [Set](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.set), [ItemList](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.itemlists/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.itemLists), [Code](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.code), [If](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.if/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.if) and many more.**\"},\"typeVersion\":1},{\"id\":\"5597d8bb-ae15-4ea0-be16-531d8a8f7018\",\"name\":\"Filter\",\"type\":\"n8n-nodes-base.filter\",\"notes\":\"Only keep UX ideas\",\"position\":[1600,280],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.property_type.includes(\\\"UX\\\") }}\",\"value2\":true}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"e4a13d15-368f-42a5-b23a-736883e7c1aa\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"notes\":\"Mock Data\",\"position\":[1220,280],\"parameters\":{\"jsCode\":\"return [\\n {\\n \\\"id\\\": \\\"32cb4a89-7735-497d-8862-fc66cb6383f2\\\",\\n \\\"name\\\": \\\"Promote credential test result to NDV, + run on NDV first open\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Promote-credential-test-result-to-NDV-run-on-NDV-first-open-32cb4a897735497d8862fc66cb6383f2\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"UX\\\",\\n \\\"Pain\\\",\\n \\\"UI\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Credentials\\\",\\n \\\"Nodes\\\",\\n \\\"Node details view\\\"\\n ],\\n \\\"property_votes\\\": 2,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-23T13:37:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-23T12:48:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\",\\n \\\"jon@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-23T15:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Promote credential test result to NDV, + run on NDV first open\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n },\\n {\\n \\\"id\\\": \\\"c2ab7fe1-c7ff-4cf0-881d-a039ec90306e\\\",\\n \\\"name\\\": \\\"Add “Duplicate sticky” action\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Add-Duplicate-sticky-action-c2ab7fe1c7ff4cf0881da039ec90306e\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"Tweak\\\",\\n \\\"UX\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Canvas\\\",\\n \\\"Stickies\\\"\\n ],\\n \\\"property_votes\\\": 3,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-23T14:15:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-23T11:46:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\",\\n \\\"jon@n8n.io\\\",\\n \\\"giulio@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-23T14:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Add “Duplicate sticky” action\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n },\\n {\\n \\\"id\\\": \\\"b3e99a3a-451b-4290-9a2b-5121755709d9\\\",\\n \\\"name\\\": \\\"Show “last used” (MVP: created) in cred dropdown; and sort by it\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Show-last-used-MVP-created-in-cred-dropdown-and-sort-by-it-b3e99a3a451b42909a2b5121755709d9\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"Tweak\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Nodes\\\",\\n \\\"Credentials\\\"\\n ],\\n \\\"property_votes\\\": 2,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-22T14:37:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-22T14:28:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\",\\n \\\"jon@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-22T16:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Show “last used” (MVP: created) in cred dropdown; and sort by it\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n },\\n {\\n \\\"id\\\": \\\"a26efc3e-67fe-46d5-8d75-40f125a16e39\\\",\\n \\\"name\\\": \\\"Improve naming of Google Sheets actions (use “row” consistently)\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Improve-naming-of-Google-Sheets-actions-use-row-consistently-a26efc3e67fe46d58d7540f125a16e39\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"Tweak\\\",\\n \\\"UX\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Nodes\\\"\\n ],\\n \\\"property_votes\\\": 1,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-22T14:37:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-22T14:21:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [\\n \\\"n8n-nodes-base.googleSheets\\\"\\n ],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-22T16:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Improve naming of Google Sheets actions (use “row” consistently)\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n },\\n {\\n \\\"id\\\": \\\"a4c72db2-1c0e-45a5-934a-eed187137bc0\\\",\\n \\\"name\\\": \\\"Change Notion trigger event “Page updated in database” to convey that it also fires for page creation\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Change-Notion-trigger-event-Page-updated-in-database-to-convey-that-it-also-fires-for-page-creatio-a4c72db21c0e45a5934aeed187137bc0\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"Tweak\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Nodes\\\"\\n ],\\n \\\"property_votes\\\": 2,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-22T14:37:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-22T14:16:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [\\n \\\"n8n-nodes-base.notionTrigger\\\"\\n ],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\",\\n \\\"jon@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-22T16:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Change Notion trigger event “Page updated in database” to convey that it also fires for page creation\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n },\\n {\\n \\\"id\\\": \\\"9cdaca54-eacb-4623-99e4-09e3957a75df\\\",\\n \\\"name\\\": \\\"Improve “no credential set” error in Google Sheets node\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Improve-no-credential-set-error-in-Google-Sheets-node-9cdaca54eacb462399e409e3957a75df\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"UX\\\",\\n \\\"Tweak\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Nodes\\\",\\n \\\"Credentials\\\",\\n \\\"Error handling\\\"\\n ],\\n \\\"property_votes\\\": 1,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-21T14:37:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-21T13:48:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [\\n \\\"n8n-nodes-base.googleSheets\\\"\\n ],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-21T16:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Improve “no credential set” error in Google Sheets node\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n },\\n {\\n \\\"id\\\": \\\"dda6acab-2160-4570-b110-4f06e126af19\\\",\\n \\\"name\\\": \\\"Promote new features in docs\\\",\\n \\\"url\\\": \\\"https://www.notion.so/Promote-new-features-in-docs-dda6acab21604570b1104f06e126af19\\\",\\n \\\"property_tags\\\": [],\\n \\\"property_priority\\\": null,\\n \\\"property_type\\\": [\\n \\\"Growth\\\",\\n \\\"Monetization\\\"\\n ],\\n \\\"property_deletion_time\\\": null,\\n \\\"property_complexity\\\": null,\\n \\\"property_area\\\": [\\n \\\"Other\\\"\\n ],\\n \\\"property_votes\\\": 2,\\n \\\"property_sync_time\\\": null,\\n \\\"property_consider_soon\\\": false,\\n \\\"property_last_edited\\\": \\\"2023-06-21T09:38:00.000Z\\\",\\n \\\"property_property\\\": \\\"\\\",\\n \\\"property_created_time\\\": \\\"2023-06-21T09:03:00.000Z\\\",\\n \\\"property_nodes_affected\\\": [],\\n \\\"property_linear_ticket\\\": null,\\n \\\"property_external_request_link\\\": null,\\n \\\"property_voters\\\": [\\n \\\"max@n8n.io\\\",\\n \\\"jon@n8n.io\\\"\\n ],\\n \\\"property_published_time\\\": {\\n \\\"start\\\": \\\"2023-06-21T11:37:00.000+02:00\\\",\\n \\\"end\\\": null,\\n \\\"time_zone\\\": null\\n },\\n \\\"property_created_by\\\": [\\n \\\"max@n8n.io\\\"\\n ],\\n \\\"property_sub_area\\\": [],\\n \\\"property_impact\\\": null,\\n \\\"property_metric_to_improve\\\": [],\\n \\\"property_status\\\": null,\\n \\\"property_name\\\": \\\"Promote new features in docs\\\",\\n \\\"property_implementation_phase\\\": null,\\n \\\"property_timeline_status\\\": null\\n }\\n]\"},\"notesInFlow\":true,\"typeVersion\":1}],\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"Filter\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Notion\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"Item Lists\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0},{\"node\":\"Notion\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send alert when data is created in app/database", "output": "{\"nodes\":[{\"id\":\"764c42ae-3761-4375-9de4-69ecdaf82b10\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-20,520],\"parameters\":{\"width\":377.1993316649719,\"height\":590.2004455566864,\"content\":\"## 👋 How to use this template\\nThis template shows how you can take any event from any service, transform its data and send an alert to your desired app. Here's how to use it:\\n\\n1. Double click the `Slack` node and connect to your Slack account by creating a Credential.\\n2. Change the channel name in the `Slack` node to a channel or user you have in Slack.\\n2. Click the `Execute Workflow` button, then double click the nodes to see their input and output data\\n\\n### To customize this template to you needs:\\n1. Enable or swap the `Linear trigger` with any service that fits your use case.\\n2. Change the data transformation to fit your needs\\n3. Adjust the Slack node or swap it with any node that fits your use case\\n4. Disable or remove the `When clicking \\\"Execute Workflow\\\"` and `Code` node\\n\"},\"typeVersion\":1},{\"id\":\"b35b39f5-2937-437e-b4bb-bfd4fc06b2e2\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[423.0997586567955,520],\"parameters\":{\"width\":398.2006312053042,\"height\":600.6569416091058,\"content\":\"### 1. Trigger step listens for new events\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nWe added a `Linear trigger` that starts the workflow every time we have an `Issue` event int the `Product & Design` team. \\n\\n**You can replace this node with any trigger you wish, like [Jira](https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.jiratrigger/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.jiraTrigger), [Clickup](https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.clickuptrigger/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.clickUpTrigger), [HubSpot](https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.hubspottrigger/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.hubspotTrigger), [Google Sheets](https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.googlesheetstrigger/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.googleSheetsTrigger) etc.**\"},\"typeVersion\":1},{\"id\":\"466097b6-a830-43fb-9776-d3c7f676fc9a\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1400,620],\"parameters\":{\"width\":317.52886836027733,\"height\":408.7361996915138,\"content\":\"### 3. Notify the right channel\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nLast but not least we're sending a message to the `#important-bugs` channel in Slack.\\n\\n**You can replace this node with any service like [Teams](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.microsoftteams/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.microsoftTeams), [Telegram](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.telegram), [Email](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.sendemail/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.emailSend) etc.**\"},\"typeVersion\":1},{\"id\":\"99b3eadc-f3ff-4f73-91c2-909ab17ea8ff\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[880,620],\"parameters\":{\"width\":462,\"height\":407,\"content\":\"### 2. Filter and transform your data\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nWe only want to notify the team, if the event is fired on creating an urgent bug.\\n\\nTo edit the nodes, simply drag and drop input data into the fields or change the values directly. **Besides filters, n8n does have other powerful transformation nodes like [Set](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.set), [ItemList](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.itemlists/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.itemLists), [Code](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.code) and many more.**\"},\"typeVersion\":1},{\"id\":\"90e3e605-f497-4aaa-b0be-cb064e9b9ac9\",\"name\":\"Linear Trigger\",\"type\":\"n8n-nodes-base.linearTrigger\",\"disabled\":true,\"position\":[500,600],\"webhookId\":\"b705f01f-3262-46d4-90f2-fc9f962e6766\",\"parameters\":{\"teamId\":\"583b87b7-a8f8-436b-872c-61373503d61d\",\"resources\":[\"issue\"]},\"credentials\":{\"linearApi\":{\"id\":\"15\",\"name\":\"Linear account\"}},\"typeVersion\":1},{\"id\":\"f956bf3b-b119-4006-b964-6fdb089ff877\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"notes\":\"For testing the workflow\",\"position\":[500,800],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"2b347886-f7a8-44eb-b26a-57c436eda594\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"notes\":\"Mock Data\",\"position\":[680,800],\"parameters\":{\"jsCode\":\"return [\\n {\\n \\\"action\\\": \\\"create\\\",\\n \\\"createdAt\\\": \\\"2023-06-27T13:15:14.118Z\\\",\\n \\\"data\\\": {\\n \\\"id\\\": \\\"204224f8-3084-49b0-981f-3ad7f9060316\\\",\\n \\\"createdAt\\\": \\\"2023-06-27T13:15:14.118Z\\\",\\n \\\"updatedAt\\\": \\\"2023-06-27T13:15:14.118Z\\\",\\n \\\"number\\\": 647,\\n \\\"title\\\": \\\"Test event\\\",\\n \\\"priority\\\": 3,\\n \\\"boardOrder\\\": 0,\\n \\\"sortOrder\\\": -48454,\\n \\\"teamId\\\": \\\"583b87b7-a8f8-436b-872c-61373503d61d\\\",\\n \\\"previousIdentifiers\\\": [],\\n \\\"creatorId\\\": \\\"49ae7598-ae5d-42e6-8a03-9f6038a0d37a\\\",\\n \\\"stateId\\\": \\\"49c4401a-3d9e-40f6-a904-2a5eb95e0237\\\",\\n \\\"priorityLabel\\\": \\\"No priority\\\",\\n \\\"subscriberIds\\\": [\\n \\\"49ae7598-ae5d-42e6-8a03-9f6038a0d37a\\\"\\n ],\\n \\\"labelIds\\\": [\\n \\\"23381844-cdf1-4547-8d42-3b369af5b4ef\\\"\\n ],\\n \\\"state\\\": {\\n \\\"id\\\": \\\"49c4401a-3d9e-40f6-a904-2a5eb95e0237\\\",\\n \\\"color\\\": \\\"#bec2c8\\\",\\n \\\"name\\\": \\\"Backlog\\\",\\n \\\"type\\\": \\\"backlog\\\"\\n },\\n \\\"team\\\": {\\n \\\"id\\\": \\\"583b87b7-a8f8-436b-872c-61373503d61d\\\",\\n \\\"key\\\": \\\"PD\\\",\\n \\\"name\\\": \\\"Product & Design\\\"\\n },\\n \\\"labels\\\": [\\n {\\n \\\"id\\\": \\\"23381844-cdf1-4547-8d42-3b369af5b4ef\\\",\\n \\\"color\\\": \\\"#4CB782\\\",\\n \\\"name\\\": \\\"bug\\\"\\n }\\n ]\\n },\\n \\\"url\\\": \\\"https://linear.app/n8n/issue/PD-647/test-event\\\",\\n \\\"type\\\": \\\"Issue\\\",\\n \\\"organizationId\\\": \\\"1c35bbc6-9cd4-427e-8bc5-e5d370a9869f\\\",\\n \\\"webhookTimestamp\\\": 1687871714230\\n }\\n]\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"750acf22-5fc7-40b6-8989-aa8ba1cb207b\",\"name\":\"Filter\",\"type\":\"n8n-nodes-base.filter\",\"notes\":\"Keep urgent bugs only\",\"position\":[960,700],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.data.priority }}\",\"value2\":3,\"operation\":\"largerEqual\"}],\"string\":[{\"value1\":\"={{ $json.data.labels[0].name }}\",\"value2\":\"bug\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"8ce7bb41-30f6-4d28-a5c7-ae5cb856ecc2\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Transform title\",\"position\":[1180,700],\"parameters\":{\"values\":{\"string\":[{\"name\":\"title\",\"value\":\"={{ $json.data.title.toTitleCase() }}\"},{\"name\":\"url\",\"value\":\"={{ $json.url }}\"}]},\"options\":{},\"keepOnlySet\":true},\"notesInFlow\":true,\"typeVersion\":2},{\"id\":\"b9c6f60a-5b69-4bf5-9514-9c9dc9813595\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1500,700],\"parameters\":{\"text\":\"= New urgent bug *<{{ $json.url }}|{{ $json.title }}>*\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#important bugs\"},\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"6\",\"name\":\"Idea Bot\"}},\"typeVersion\":2}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Code\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"Filter\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Linear Trigger\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Push JSON data into an App or to Spreadsheet file", "output": "{\"nodes\":[{\"id\":\"3d58a8a9-50dd-4f06-8955-c73c30b64225\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[380,240],\"parameters\":{\"url\":\"https://randomuser.me/api/\",\"options\":{}},\"typeVersion\":2},{\"id\":\"ceaf349d-3fa6-44b0-9238-2998ce026175\",\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[920,480],\"parameters\":{\"options\":{\"fileName\":\"users_spreadsheet\"},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"id\":\"a8cd75a4-1b2c-4e1f-bd96-0377cc156025\",\"name\":\"Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[680,-14],\"parameters\":{\"width\":523,\"height\":302,\"content\":\"### JSON to Google Sheets\\nWe map data from the HTTP Request directly in the `Google Sheets` node, so we don't need a `Set` node before to transform the incoming data.\"},\"typeVersion\":1},{\"id\":\"a81fb564-f34a-4fd8-9758-6a2fb9bac6e0\",\"name\":\"Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[680,340],\"parameters\":{\"width\":522,\"height\":299,\"content\":\"### JSON to .CSV\\nWe use the `Set` node to trim down the data that we convert to CSV file format (and flatten it from it's previous object-like data structure). Change settings in `Spreadsheet File` node to convert to .xls etc.\"},\"typeVersion\":1},{\"id\":\"003a33f1-e060-4373-a97a-0be2c4a5e2a1\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[140,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"b63a19f6-008c-4a38-8112-073433a2d125\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-340,20],\"parameters\":{\"width\":377.1993316649719,\"height\":590.2004455566864,\"content\":\"## 👋 How to use this template\\nThis template shows how you can load JSON data from an API and load it into an App (Google Sheets) or convert to a file. Here's how to use it:\\n\\n1. Open the `Google Sheets` node and add a credential (or disabled the node)\\n2. Click the `Execute Workflow` button, then double click the nodes to see their input and output data\\n\\n### To customize this template to you needs:\\n1. Swap `When clicking \\\"Execute Workflow\\\"` and the `HTTP Request` node with an App trigger. If we don't have a Native app trigger, just replace `When clicking \\\"Execute Workflow\\\"` with a [Schedule trigger](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/).\\n2. Disable or remove parts of the workflow that are not relevant to your usecase.\\n4. Activate the workflow \\n\"},\"typeVersion\":1},{\"id\":\"426c8cce-0af6-4c9a-9702-9695093fe7fd\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[720,120],\"parameters\":{\"columns\":{\"value\":{},\"schema\":[{\"id\":\"id\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"id\",\"defaultMatch\":true,\"canBeUsedToMatch\":true},{\"id\":\"status\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"status\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"name\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"name\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"defineBelow\",\"matchingColumns\":[\"id\"]},\"options\":{},\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1fAy_eUTZqaUBnCHTvF7F-VCu0zqlGlupgcAdL68UuJA/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1fAy_eUTZqaUBnCHTvF7F-VCu0zqlGlupgcAdL68UuJA\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1fAy_eUTZqaUBnCHTvF7F-VCu0zqlGlupgcAdL68UuJA/edit?usp=drivesdk\",\"cachedResultName\":\"Sync data from one app to another [one-way sync] (Destination example)\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"uJ1SWmfKH3MikNyZ\",\"name\":\"Google Sheets account 2\"}},\"typeVersion\":4},{\"id\":\"5886f624-ab5a-4cd2-be2b-b166f617f77c\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[720,480],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Full Name\",\"value\":\"={{ $json.results[0].name.first }} {{ $json.results[0].name.last }}\"},{\"name\":\"Country\",\"value\":\"={{ $json.results[0].location.country }}\"},{\"name\":\"email\",\"value\":\"={{ $json.results[0].email }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0},{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Telegram AI Chatbot", "output": "{\"id\":\"177\",\"meta\":{\"instanceId\":\"dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3\"},\"name\":\"Telegram AI-bot\",\"tags\":[{\"id\":\"15\",\"name\":\"tutorial\",\"createdAt\":\"2022-10-04T20:07:25.607Z\",\"updatedAt\":\"2022-10-04T20:07:25.607Z\"}],\"nodes\":[{\"id\":\"ea71a467-a646-4aca-b72e-cef1249c74e2\",\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[20,340],\"webhookId\":\"51942fbb-ca0e-4ec4-9423-5fcc7d3c4281\",\"parameters\":{\"updates\":[\"*\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"70\",\"name\":\"Telegram bot\"}},\"typeVersion\":1},{\"id\":\"1cbe43d4-ea8b-4178-bc10-4bfad7abe143\",\"name\":\"CheckCommand\",\"type\":\"n8n-nodes-base.switch\",\"position\":[980,360],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"/\",\"operation\":\"notStartsWith\"},{\"output\":1,\"value2\":\"/start\",\"operation\":\"startsWith\"},{\"output\":2,\"value2\":\"=/image \",\"operation\":\"startsWith\"}]},\"value1\":\"={{ $json.message?.text }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"074e907f-634b-4242-b669-33fa064f8472\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1600,581.661764705882],\"parameters\":{\"width\":316.1071428571428,\"height\":231.22373949579838,\"content\":\"## Error fallback for unsupported commands\"},\"typeVersion\":1},{\"id\":\"2aa961b8-f0af-4d5c-a6af-1be56ea4b2e6\",\"name\":\"Settings\",\"type\":\"n8n-nodes-base.set\",\"position\":[380,340],\"parameters\":{\"values\":{\"number\":[{\"name\":\"model_temperature\",\"value\":0.8},{\"name\":\"token_length\",\"value\":500}],\"string\":[{\"name\":\"system_command\",\"value\":\"=You are a friendly chatbot. User name is {{ $json?.message?.from?.first_name }}. User system language is {{ $json?.message?.from?.language_code }}. First, detect user text language. Next, provide your reply in the same language. Include several suitable emojis in your answer.\"},{\"name\":\"bot_typing\",\"value\":\"={{ $json?.message?.text.startsWith('/image') ? \\\"upload_photo\\\" : \\\"typing\\\" }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"2d2fe268-1e3e-483b-847c-4412e586c1ca\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1240,-240],\"parameters\":{\"width\":330.5019024637719,\"height\":233,\"content\":\"## Chatbot mode by default\\n### (when no command is provided)\"},\"typeVersion\":1},{\"id\":\"09a9c0b4-ac6e-46eb-b2e0-ef2b55e94ada\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1240,20],\"parameters\":{\"width\":330.7863484403046,\"height\":219.892857142857,\"content\":\"## Welcome message\\n### /start\"},\"typeVersion\":1},{\"id\":\"088cffee-5720-488b-a4ec-cfdccbf77e75\",\"name\":\"Chat_mode\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1340,-160],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"={{ $json.system_command }}\"},{\"content\":\"={{ $json.message.text }}\"}]},\"options\":{\"maxTokens\":\"={{ $json.token_length }}\",\"temperature\":\"={{ $json.model_temperature }}\"},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"41248697-6474-4a8f-a8b8-038c96465948\",\"name\":\"Greeting\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1340,80],\"parameters\":{\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"={{ $json.system_command }}\"},{\"content\":\"=This is the first message from a user. Please welcome a new user in `{{ $json.message.from.language_code }}` language\"}]},\"options\":{\"maxTokens\":\"={{ $json.token_length }}\",\"temperature\":\"={{ $json.model_temperature }}\"},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"20c2e7fa-5d65-441b-8d1d-a8d46c624964\",\"name\":\"Text reply\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1700,-40],\"parameters\":{\"text\":\"={{ $json.message.content }}\",\"chatId\":\"={{ $('Settings').first().json.message.from.id }}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"70\",\"name\":\"Telegram bot\"}},\"typeVersion\":1},{\"id\":\"30321276-ebe1-41ac-b420-9dab8daa405b\",\"name\":\"Send Typing action\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[580,480],\"parameters\":{\"action\":\"={{ $json.bot_typing }}\",\"chatId\":\"={{ $json.message.from.id }}\",\"operation\":\"sendChatAction\"},\"credentials\":{\"telegramApi\":{\"id\":\"70\",\"name\":\"Telegram bot\"}},\"typeVersion\":1},{\"id\":\"7d7ff2e8-b0ca-4638-a056-f7b4e2e6273d\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[800,360],\"parameters\":{\"mode\":\"chooseBranch\"},\"typeVersion\":2.1},{\"id\":\"656bab5e-b7f7-47a1-8e75-4a17d2070290\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1240,280],\"parameters\":{\"width\":329.7428571428562,\"height\":233.8785714285713,\"content\":\"## Create an image\\n### /image + request\"},\"typeVersion\":1},{\"id\":\"ca2111d2-463a-4ef0-9436-ee09598dbf07\",\"name\":\"Create an image\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1340,360],\"parameters\":{\"prompt\":\"={{ $json.message.text.split(' ').slice(1).join(' ') }}\",\"options\":{\"n\":1,\"size\":\"512x512\"},\"resource\":\"image\",\"responseFormat\":\"imageUrl\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"e91d616b-1d5e-40e8-8468-2d0b2dda4cf7\",\"name\":\"Send error message\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1700,660],\"parameters\":{\"text\":\"=Sorry, {{ $json.message.from.first_name }}! This command is not supported yet. Please type some text to a chat bot or try this command:\\n/image \\\\[your prompt]\\n\\nEnter the command, then space and provide your request. Example:\\n\\n`/image a picture or a cute little kitten with big eyes. Miyazaki studio ghibli style`\",\"chatId\":\"={{ $json.message.from.id }}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":{\"id\":\"70\",\"name\":\"Telegram bot\"}},\"typeVersion\":1},{\"id\":\"125e27d2-b03b-4f02-9dd1-8fc81ecf0b6b\",\"name\":\"Send image\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1700,360],\"parameters\":{\"file\":\"={{ $json.url }}\",\"chatId\":\"={{ $('Settings').first().json.message.from.id }}\",\"operation\":\"sendPhoto\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"70\",\"name\":\"Telegram bot\"}},\"typeVersion\":1},{\"id\":\"730a51ac-223e-4956-be7f-166eadb6ed81\",\"name\":\"PreProcessing\",\"type\":\"n8n-nodes-base.set\",\"position\":[200,340],\"parameters\":{\"values\":{\"string\":[{\"name\":\"message.text\",\"value\":\"={{ $json?.message?.text || \\\"\\\" }}\"}]},\"options\":{\"dotNotation\":true}},\"typeVersion\":2}],\"active\":true,\"pinData\":{},\"settings\":{\"callerPolicy\":\"workflowsFromSameOwner\",\"saveManualExecutions\":true,\"saveDataSuccessExecution\":\"all\"},\"versionId\":\"6ab99e3f-845d-42cc-847b-37cf19a72e93\",\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"CheckCommand\",\"type\":\"main\",\"index\":0}]]},\"Greeting\":{\"main\":[[{\"node\":\"Text reply\",\"type\":\"main\",\"index\":0}]]},\"Settings\":{\"main\":[[{\"node\":\"Send Typing action\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Chat_mode\":{\"main\":[[{\"node\":\"Text reply\",\"type\":\"main\",\"index\":0}]]},\"CheckCommand\":{\"main\":[[{\"node\":\"Chat_mode\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Greeting\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create an image\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send error message\",\"type\":\"main\",\"index\":0}]]},\"PreProcessing\":{\"main\":[[{\"node\":\"Settings\",\"type\":\"main\",\"index\":0}]]},\"Create an image\":{\"main\":[[{\"node\":\"Send image\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"PreProcessing\",\"type\":\"main\",\"index\":0}]]},\"Send Typing action\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Reach out to companies that recently secured funding", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"e5b37882-16bd-4a75-ab95-2902ae320163\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-540,100],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f1d17f5d-cba9-403b-9b9d-02cecafd4c86\",\"name\":\"HubSpot - Search company\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[860,100],\"parameters\":{\"limit\":1,\"domain\":\"={{ $json[\\\"domain\\\"] }}\",\"options\":{\"properties\":[\"hs_lead_status\",\"hs_all_owner_ids\",\"website\"]},\"resource\":\"company\",\"operation\":\"searchByDomain\",\"authentication\":\"oAuth2\"},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"notesInFlow\":false,\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"id\":\"78a68c37-b40c-448e-98c8-2dbc87918d3d\",\"name\":\"HubSpot Create Account\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1560,320],\"parameters\":{\"name\":\"={{ $node[\\\"Set domain\\\"].json[\\\"name\\\"] }}\",\"resource\":\"company\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"websiteUrl\":\"={{ $node[\\\"Set domain\\\"].json[\\\"domain\\\"] }}\",\"description\":\"={{ $json[\\\"company\\\"][\\\"premium\\\"][\\\"about\\\"] }}\",\"linkedinBio\":\"={{ $json[\\\"company\\\"][\\\"premium\\\"][\\\"about\\\"] }}\",\"yearFounded\":\"={{ $node[\\\"Set domain\\\"].json[\\\"founded\\\"] }}\",\"linkedInCompanyPage\":\"={{ $json[\\\"company\\\"][\\\"premium\\\"][\\\"url\\\"] }}\"}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"3a200e11-54a6-4dfc-88f7-d2c3adad0c88\",\"name\":\"Is Account in Hubspot\",\"type\":\"n8n-nodes-base.if\",\"position\":[1020,100],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"companyId\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"5e96ea10-72bb-4a1a-b5a1-a81a75717e2c\",\"name\":\"Lemlist - Add lead to campaign\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[2180,480],\"parameters\":{\"email\":\"={{ $json.email[0].email }}\",\"resource\":\"lead\",\"campaignId\":\"cam_jqPvWgoXjHQaQzErv\",\"additionalFields\":{\"lastName\":\"={{ $json.last_name }}\",\"firstName\":\"={{ $json.first_name }}\",\"companyName\":\"={{ $json.company }}\",\"linkedinUrl\":\"={{ $json.linkedin }}\"}},\"credentials\":{\"lemlistApi\":{\"id\":\"32\",\"name\":\"lemlist.net\"}},\"typeVersion\":1},{\"id\":\"96af34ba-9f21-4638-a81d-3129f088e07e\",\"name\":\"HubSpot - Follow up task\",\"type\":\"n8n-nodes-base.hubspot\",\"position\":[1560,-300],\"parameters\":{\"type\":\"task\",\"metadata\":{\"body\":\"={{ $node[\\\"Set domain\\\"].json[\\\"name\\\"] }} has just announced a fundraising round!\\n\\nFunding Round: {{ $node[\\\"Loop\\\"].json[\\\"investment_type\\\"] }}\\nFunding Amount:{{$node[\\\"Loop\\\"].json[\\\"money_raised\\\"] }}\\nAnnounced on: {{ $node[\\\"Loop\\\"].json[\\\"announced_on\\\"] }} \"},\"resource\":\"engagement\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"associations\":{\"ownerIds\":\"={{ $json[\\\"properties\\\"][\\\"hs_all_owner_ids\\\"][\\\"value\\\"] }}\",\"companyIds\":\"={{ $json[\\\"companyId\\\"] }}\"}}},\"credentials\":{\"hubspotOAuth2Api\":{\"id\":\"68\",\"name\":\"HubSpot - Sales & CS\"}},\"typeVersion\":1},{\"id\":\"54509e4f-f562-4af3-a4fd-745a991f5807\",\"name\":\"Attempted to contact?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1340,-280],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"ATTEMPTED_TO_CONTACT\"}]}},\"typeVersion\":1},{\"id\":\"8f5619f5-e707-4ffb-ae69-630e6f7c4ceb\",\"name\":\"Slack - Notify sales team on Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1560,60],\"parameters\":{\"text\":\"=Someone from {{ $node[\\\"Albacross - New company in segment\\\"].json[\\\"name\\\"] }} is interested by our content.\\n\\nCheck what pages they visited here:\\n{{$node[\\\"Albacross - New company in segment\\\"].json[\\\"profile_url\\\"]}}\\n\\nHubspot URL:\\nhttps://app-eu1.hubspot.com/contacts/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"portalId\\\"] }}/company/{{ $node[\\\"HubSpot - Search company\\\"].json[\\\"companyId\\\"] }} \",\"channel\":\"Customer Success - Customer News\",\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"5\",\"name\":\"Slack account\"}},\"typeVersion\":1},{\"id\":\"45d0569f-134f-4452-9d68-2ca6f8eb9e10\",\"name\":\"Open Deal?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1340,80],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $node[\\\"HubSpot - Search company\\\"].json[\\\"properties\\\"][\\\"hs_lead_status\\\"][\\\"value\\\"] }}\",\"value2\":\"OPEN_DEAL\"}]}},\"typeVersion\":1},{\"id\":\"5cf1b9ca-a16f-4619-9997-275c073050f8\",\"name\":\"Return only 3 profiles\",\"type\":\"n8n-nodes-base.code\",\"position\":[1560,500],\"parameters\":{\"jsCode\":\"array = $input.all()[0].json.company.employees\\n\\nfunction addWebsiteProperty(array) {\\n const firstThreeElements = array.slice(0, 3);\\n const updatedElements = firstThreeElements.map(element => {\\n return { ...element, website: \\\"test\\\" };\\n });\\n return updatedElements;\\n}\\n\\nreturn addWebsiteProperty(array)\"},\"typeVersion\":1},{\"id\":\"8c4c54f6-76cd-4fc1-a433-07915fd5e25d\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1280,-420],\"parameters\":{\"width\":655.6935017564062,\"height\":321.5131001029625,\"content\":\"## Create a follow-up task for your reps when a company they prospected before has done a fundraise.\"},\"typeVersion\":1},{\"id\":\"23177c0a-c07b-455b-9f8f-daf98bf058ba\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1280,-80],\"parameters\":{\"width\":655.6935017564062,\"height\":321.5131001029625,\"content\":\"## Alert your reps when a company with an ongoing opportunity has done a fundraise\"},\"typeVersion\":1},{\"id\":\"f9249293-5c9d-4579-b9a5-203fad7613b4\",\"name\":\"Datagma - Enrich Account & Search for contact\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1320,500],\"parameters\":{\"url\":\"https://gateway.datagma.net/api/ingress/v2/full\",\"options\":{},\"sendQuery\":true,\"queryParameters\":{\"parameters\":[{\"name\":\"apiId\",\"value\":\"YOUR API KEY\"},{\"name\":\"data\",\"value\":\"=lemlist\"},{\"name\":\"companyPremium\",\"value\":\"true\"},{\"name\":\"companyEmployees\",\"value\":\"true\"},{\"name\":\"maxEmployeesReturn\",\"value\":\"5\"},{\"name\":\"employeeTitle\",\"value\":\"founder\"}]}},\"typeVersion\":3},{\"id\":\"db5851fc-2680-43a8-83f8-20cecced158c\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"disabled\":true,\"position\":[1280,260],\"parameters\":{\"width\":1091.436003585227,\"height\":433.62721861064347,\"content\":\"## Find new leads, update hubspot and add to lemlist\\n\\n\"},\"typeVersion\":1},{\"id\":\"164ad2b8-e140-46ee-a5f1-47087131e8c2\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[-540,-60],\"parameters\":{\"rule\":{\"interval\":[{\"triggerAtHour\":11}]}},\"typeVersion\":1},{\"id\":\"a672b3ba-0a24-4a43-b440-1436d85a9804\",\"name\":\"Set domain\",\"type\":\"n8n-nodes-base.set\",\"position\":[580,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"domain\",\"value\":\"={{ $json[\\\"website\\\"].replace(/(https?:\\\\/\\\\/)?(www\\\\.)?([^\\\\/]+)(\\\\/)?/, '$3') }}\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"9aa851a9-9951-44c6-b002-8a117c3ac0ec\",\"name\":\"Piloterr - Get Recent Fundraise\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-240,100],\"parameters\":{\"url\":\"https://piloterr.com/api/v2/crunchbase/funding_rounds\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"days_since_announcement\",\"value\":\"1\"},{\"name\":\"investment_type\",\"value\":\"series_a\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"123\",\"name\":\"Pilotr\"}},\"typeVersion\":3},{\"id\":\"091d2c46-a5a6-4020-9b05-55b6ea88e5a5\",\"name\":\"Piloterr - Enrich company\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[400,100],\"parameters\":{\"url\":\"https://piloterr.com/api/v2/crunchbase/company/info\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"query\",\"value\":\"=https://www.crunchbase.com/organization/{{ $json[\\\"funded_organization_identifier\\\"][\\\"permalink\\\"] }}\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"123\",\"name\":\"Pilotr\"}},\"typeVersion\":3},{\"id\":\"7b764778-3854-4b6b-9e82-66c8b691d6d5\",\"name\":\"Loop\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[200,100],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"id\":\"da013091-2bed-4af8-b368-1e687f16f4a0\",\"name\":\"Split results\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[-20,100],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"results\"},\"typeVersion\":1},{\"id\":\"f780a8b1-3062-48c7-a3e6-9c07b0bb3bd3\",\"name\":\"email found\",\"type\":\"n8n-nodes-base.if\",\"position\":[1940,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json[\\\"email\\\"][0][\\\"email\\\"] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"6d67ae9b-fff4-4a50-9eb2-418209292637\",\"name\":\"Dropcontact\",\"type\":\"n8n-nodes-base.dropcontact\",\"position\":[1760,500],\"parameters\":{\"options\":{},\"additionalFields\":{\"company\":\"={{ $json[\\\"company\\\"] }}\",\"website\":\"\",\"last_name\":\"={{ $json[\\\"lastName\\\"] }}\",\"first_name\":\"={{ $json[\\\"firstName\\\"] }}\"}},\"credentials\":{\"dropcontactApi\":{\"id\":\"1\",\"name\":\"Dropcontact account\"}},\"typeVersion\":1},{\"id\":\"e3208ccf-ee73-46aa-9d75-606c6da40249\",\"name\":\"Wait\",\"type\":\"n8n-nodes-base.wait\",\"position\":[760,700],\"webhookId\":\"ddb98b92-0b2a-43de-9013-99f68f059c97\",\"parameters\":{\"unit\":\"seconds\"},\"typeVersion\":1}],\"connections\":{\"Loop\":{\"main\":[[{\"node\":\"Piloterr - Enrich company\",\"type\":\"main\",\"index\":0}]]},\"Wait\":{\"main\":[[{\"node\":\"Loop\",\"type\":\"main\",\"index\":0}]]},\"Open Deal?\":{\"main\":[[{\"node\":\"Slack - Notify sales team on Slack\",\"type\":\"main\",\"index\":0}]]},\"Set domain\":{\"main\":[[{\"node\":\"HubSpot - Search company\",\"type\":\"main\",\"index\":0},{\"node\":\"Wait\",\"type\":\"main\",\"index\":0}]]},\"Dropcontact\":{\"main\":[[{\"node\":\"email found\",\"type\":\"main\",\"index\":0}]]},\"email found\":{\"main\":[[{\"node\":\"Lemlist - Add lead to campaign\",\"type\":\"main\",\"index\":0}]]},\"Split results\":{\"main\":[[{\"node\":\"Loop\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Piloterr - Get Recent Fundraise\",\"type\":\"main\",\"index\":0}]]},\"Attempted to contact?\":{\"main\":[[{\"node\":\"HubSpot - Follow up task\",\"type\":\"main\",\"index\":0}]]},\"Is Account in Hubspot\":{\"main\":[[{\"node\":\"Attempted to contact?\",\"type\":\"main\",\"index\":0},{\"node\":\"Open Deal?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Datagma - Enrich Account & Search for contact\",\"type\":\"main\",\"index\":0}]]},\"Return only 3 profiles\":{\"main\":[[{\"node\":\"Dropcontact\",\"type\":\"main\",\"index\":0}]]},\"HubSpot - Search company\":{\"main\":[[{\"node\":\"Is Account in Hubspot\",\"type\":\"main\",\"index\":0}]]},\"Piloterr - Enrich company\":{\"main\":[[{\"node\":\"Set domain\",\"type\":\"main\",\"index\":0}]]},\"Piloterr - Get Recent Fundraise\":{\"main\":[[{\"node\":\"Split results\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Piloterr - Get Recent Fundraise\",\"type\":\"main\",\"index\":0}]]},\"Datagma - Enrich Account & Search for contact\":{\"main\":[[{\"node\":\"Return only 3 profiles\",\"type\":\"main\",\"index\":0},{\"node\":\"HubSpot Create Account\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "WhatsApp Webhook Callback URL Setup", "output": "{\"id\":\"21\",\"meta\":{\"instanceId\":\"057bb085b7b12e5ec63364c07c90a6991ff38e80cb982cf713e98103021c1136\"},\"name\":\"whatssapp webhook\",\"tags\":[],\"nodes\":[{\"id\":\"6bf1cb65-5cb3-4bc2-a377-02b17fd104f1\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[880,420],\"webhookId\":\"c507e282-9f2e-4542-aef2-29f6f9d50ee8\",\"parameters\":{\"path\":\"whatsapp\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"460df56c-144e-453f-9634-2717bd35ffcb\",\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1260,420],\"parameters\":{\"values\":{\"string\":[{\"name\":\"data\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"hub.challenge\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"id\":\"c6817745-b6aa-45a0-9456-dcd7720dba09\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1060,420],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"hub.mode\\\"]}}\",\"value2\":\"subscribe\"}]}},\"typeVersion\":1},{\"id\":\"57a9a2c5-6c68-4a46-a475-17213ed28f4d\",\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1440,420],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"={{ $json.data }}\"},\"typeVersion\":1}],\"active\":true,\"pinData\":{},\"settings\":{},\"versionId\":\"55fe98ba-7517-4151-87d2-17223fe9df8f\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Check domain redirection", "output": "{\"meta\":{\"instanceId\":\"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5\"},\"nodes\":[{\"id\":\"6f89527a-3fa0-4b60-bfc0-6a701b77fbf0\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[120,580],\"parameters\":{},\"typeVersion\":1},{\"id\":\"5a5faad0-5328-4b40-87fb-4ff80cccc48a\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[540,580],\"parameters\":{\"url\":\"=http://{{ $json.domain }}\",\"options\":{\"redirect\":{\"redirect\":{}},\"response\":{\"response\":{\"fullResponse\":true}}}},\"typeVersion\":4.1},{\"id\":\"131d8b30-7406-4bcf-88ed-687d3f1c786b\",\"name\":\"HTML redirect location\",\"type\":\"n8n-nodes-base.html\",\"position\":[740,580],\"parameters\":{\"options\":{},\"operation\":\"extractHtmlContent\",\"extractionValues\":{\"values\":[{\"key\":\"data-wf-domain\",\"attribute\":\"data-wf-domain\",\"cssSelector\":\"html\",\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"id\":\"1f9632fa-ef4b-4a43-9cdd-887d8a2f00ec\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[960,580],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json['data-wf-domain'].replace(/^(https?:\\\\/\\\\/)?(www\\\\.)?/, '') }}\",\"value2\":\"={{ $('domain to check').item.json.domain }}\",\"operation\":\"notEqual\"},{\"value1\":\"={{ $json['data-wf-domain'] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"31b15755-caa3-454b-98fc-86ad4f30f372\",\"name\":\"Redirection\",\"type\":\"n8n-nodes-base.set\",\"position\":[1200,400],\"parameters\":{\"values\":{\"boolean\":[{\"name\":\"redirection\",\"value\":true}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"7e030ee8-ab12-4269-aa42-75763e4245ce\",\"name\":\"domain to check\",\"type\":\"n8n-nodes-base.set\",\"position\":[320,580],\"parameters\":{\"values\":{\"string\":[{\"name\":\"domain\",\"value\":\"lemlist.co\"}]},\"options\":{}},\"typeVersion\":2}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Redirection\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML redirect location\",\"type\":\"main\",\"index\":0}]]},\"domain to check\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTML redirect location\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"domain to check\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Discord AI-powered bot", "output": "{\"id\":\"180\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"Discord AI bot\",\"tags\":[],\"nodes\":[{\"id\":\"6f188270-2c08-491f-bf52-c4a152b33aa0\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[1220,780],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e4839de2-fc04-40b0-b6bc-596455ad93fe\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[1220,580],\"webhookId\":\"d0cdd428-be96-4821-85bc-65342cf928d0\",\"parameters\":{\"path\":\"d0cdd428-be96-4821-85bc-65342cf928d0\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"15dcafe1-6361-4775-ace0-e34fd2a143b4\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2120,940],\"parameters\":{},\"typeVersion\":1},{\"id\":\"0d28fe8e-da80-458b-9a75-d316019cb3ae\",\"name\":\"Analyze user request\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1420,680],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"role\":\"system\",\"content\":\"Act as a service desk agent and help to categorize user messages. Return back only JSON without quotations. Do not return anything else.\"},{\"content\":\"=Here is a user feedback: \\\"{{ $json.body.feedback }}\\\". Please analyse it and put into one of the categories:\\n1. \\\"success-story\\\" for user appraisal or success story. this will be processed by customer success department\\n2. \\\"urgent-issue\\\" for extreme dissatisfaction or an urgent problem. this will be escalated to the IT team. Please assess if the request is really urgent and whether it has an immediate impact on the client. If the ticket doesn't look like an immediate problem or an extreme dissatisfaction then proceed as a normal ticket.\\n3. \\\"ticket\\\" for everything else. This will be processed as normal by customer support team.\\n\\nPlease return back a JSON with the following structure: category (string), feedback (string), instruction (string).\\nCategory must match the analysed category. feedback must match the original text. instruction should contain a text for a department according to the category with a one sentense summary of the feedback. Please be polite and friendly to the colleagues.\"}]},\"options\":{\"maxTokens\":500,\"temperature\":0.5},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"ce1c4198-ce21-4436-9ccb-4a2a078cd06e\",\"name\":\"Select category\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1840,680],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"success-story\"},{\"output\":1,\"value2\":\"urgent-issue\"},{\"output\":2,\"value2\":\"ticket\"}]},\"value1\":\"={{ $json.gpt_reply.category.toLowerCase() }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"839cc38d-b393-4fc1-a068-47a8fcf55e3f\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.set\",\"position\":[1640,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"gpt_reply\",\"value\":\"={{ JSON.parse( $json.message.content.replace(/\\\\n(?=[^\\\"]*\\\"(?:[^\\\"]*\\\"[^\\\"]*\\\")*[^\\\"]*$)/g, '\\\\\\\\n')) }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"4c150439-89af-42bd-bbdc-905d13ada76b\",\"name\":\"User Success Dept\",\"type\":\"n8n-nodes-base.discord\",\"position\":[2120,460],\"parameters\":{\"text\":\"={{ $json.gpt_reply.instruction }}\",\"options\":{},\"webhookUri\":\"https://discord.com/api/webhooks/\"},\"typeVersion\":1},{\"id\":\"9a5e5335-9e6c-4f1f-a0f0-b1b022956549\",\"name\":\"IT Dept\",\"type\":\"n8n-nodes-base.discord\",\"position\":[2120,620],\"parameters\":{\"text\":\"={{ $json.gpt_reply.instruction }}\",\"options\":{},\"webhookUri\":\"https://discord.com/api/webhooks/\"},\"typeVersion\":1},{\"id\":\"d6d6250a-3a24-49f1-a597-47ebc179949c\",\"name\":\"Helpdesk\",\"type\":\"n8n-nodes-base.discord\",\"position\":[2120,780],\"parameters\":{\"text\":\"={{ $json.gpt_reply.instruction }}\",\"options\":{},\"webhookUri\":\"https://discord.com/api/webhooks/\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"callerPolicy\":\"workflowsFromSameOwner\",\"saveManualExecutions\":true,\"saveDataSuccessExecution\":\"all\"},\"versionId\":\"8871171e-7e18-49ee-a570-facbe97afb79\",\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Analyze user request\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Select category\",\"type\":\"main\",\"index\":0}]]},\"Select category\":{\"main\":[[{\"node\":\"User Success Dept\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IT Dept\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Helpdesk\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"Analyze user request\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Analyze user request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send labeled email to a Notion database", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"0bacf032-53d6-4ba6-ab71-e01625c49cc4\",\"name\":\"On schedule\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[-1960,160],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"minutes\",\"minutesInterval\":1}]}},\"typeVersion\":1.1},{\"id\":\"2e0d9aef-0a60-4506-9c11-c6c2cccb16ea\",\"name\":\"Derive last request time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[-1740,160],\"parameters\":{\"duration\":1,\"timeUnit\":\"minutes\",\"magnitude\":\"={{ $json.timestamp }}\",\"operation\":\"subtractFromDate\",\"outputFieldName\":\"last_request_time\"},\"typeVersion\":2},{\"id\":\"f726c448-b4c4-4159-8ca5-c94c092127b7\",\"name\":\"Get emails from label and last request time\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[-1520,160],\"parameters\":{\"filters\":{\"labelIds\":[\"Label_9178764513576607415\"]},\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"gmailOAuth2\":{\"id\":\"31\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2},{\"id\":\"9b86331f-d33b-4266-ba34-bc0491a0da24\",\"name\":\"Create database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[-620,60],\"parameters\":{\"title\":\"={{ $('If database page not found').item.json.Subject }}\",\"blockUi\":{\"blockValues\":[{\"type\":\"heading_3\",\"textContent\":\"Snippet\"},{\"textContent\":\"={{ $('If database page not found').item.json.snippet }}\"},{\"text\":{\"text\":[{\"text\":\"See more\",\"isLink\":true,\"textLink\":\"=https://mail.google.com/mail/u/{{ $json.emailAddress }}/#all/{{ $('If database page not found').item.json.id }}\",\"annotationUi\":{}}]},\"richText\":true}]},\"options\":{\"icon\":\"https://avatars.githubusercontent.com/u/45487711?s=280&v=4\",\"iconType\":\"file\"},\"resource\":\"databasePage\",\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"e606a7c1-e93d-47fd-8b8d-8000cd6e7522\",\"cachedResultUrl\":\"https://www.notion.so/e606a7c1e93d47fd8b8d8000cd6e7522\",\"cachedResultName\":\"Gmail\"},\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Thread ID|rich_text\",\"textContent\":\"={{ $('If database page not found').item.json.id }}\"},{\"key\":\"Email thread|url\",\"urlValue\":\"=https://mail.google.com/mail/u/{{ $json.emailAddress }}/#all/{{ $('If database page not found').item.json.id }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"18\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"d7198578-4c83-4f57-8eba-5b5a9b89195c\",\"name\":\"Try get database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[-1360,220],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"Thread ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{ $json.id }}\"}]},\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"e606a7c1-e93d-47fd-8b8d-8000cd6e7522\",\"cachedResultUrl\":\"https://www.notion.so/e606a7c1e93d47fd8b8d8000cd6e7522\",\"cachedResultName\":\"My Gmail Tasks\"},\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"18\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"f8188ab9-9a80-4aa9-b773-73cd90b8dbd3\",\"name\":\"If checked off\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1740,460],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.Complete }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"bfcfeeb1-ad8b-47fb-8a09-b58e7b649a25\",\"name\":\"On updated database page\",\"type\":\"n8n-nodes-base.notionTrigger\",\"position\":[-1960,460],\"parameters\":{\"event\":\"pagedUpdatedInDatabase\",\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"e606a7c1-e93d-47fd-8b8d-8000cd6e7522\",\"cachedResultUrl\":\"https://www.notion.so/e606a7c1e93d47fd8b8d8000cd6e7522\",\"cachedResultName\":\"My Gmail Tasks\"}},\"credentials\":{\"notionApi\":{\"id\":\"18\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":1},{\"id\":\"dc2c59b8-6e0d-46b3-946a-e48b0461c48f\",\"name\":\"Remove label from target email\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[-1520,460],\"parameters\":{\"labelIds\":[\"Label_9178764513576607415\"],\"messageId\":\"={{ $json['Thread ID'] }}\",\"operation\":\"removeLabels\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"31\",\"name\":\"REPLACE ME\"}},\"typeVersion\":2},{\"id\":\"0f693c2f-ce89-4a2f-a85f-9230b7bcb94d\",\"name\":\"Not yet checked off, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1520,660],\"parameters\":{},\"typeVersion\":1},{\"id\":\"bf792470-fc0a-45a2-b655-df5c977faa97\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[-1220,100],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"joinMode\":\"enrichInput1\",\"mergeByFields\":{\"values\":[{\"field1\":\"id\",\"field2\":\"property_thread_id\"}]}},\"typeVersion\":2.1},{\"id\":\"f910c34c-4c3d-481f-8223-a8aae710dbbd\",\"name\":\"If found, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-840,260],\"parameters\":{},\"typeVersion\":1},{\"id\":\"7086cd15-9f2e-40e4-be3b-47d117dde670\",\"name\":\"If database page not found\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1060,160],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.property_thread_id }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"86ce380c-0810-4edb-94e4-fb67b0ca422c\",\"name\":\"Find my email address\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-840,60],\"parameters\":{\"url\":\"https://gmail.googleapis.com/gmail/v1/users/me/profile\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"gmailOAuth2\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"31\",\"name\":\"REPLACE ME\"}},\"typeVersion\":4.1},{\"id\":\"f576f785-49e4-4ed2-b83e-400b001b6c3a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-2540,100],\"parameters\":{\"width\":501.0810810810809,\"height\":545.405405405404,\"content\":\"## Send labeled email to a Notion database\\nThis workflow sends the contents of an email to a Notion database. The email must be labeled with a specific label for the workflow to trigger. The email subject will be the title of the Notion page, and a snippet of the email body will be the content of the Notion page. The email link will be added to the Notion page as a property.\\n\\n### How it works\\nOn scheduled intervals, find all emails with a specific label. For each email, check if the email already exists in the Notion database. If it does not exist, create a new page in the Notion database, otherwise do nothing. When the task in the Notion database is checked off, the label will be removed from the email.\\n\\n### Setup\\nThis workflow requires that you set up a Notion database or use an existing one with at least the following fields:\\n- Title (title)\\n- Thread ID (text)\\n- Email thread (URL)\\n\\n\\nAdditionally, create a label that will be used to trigger the workflow in Gmail. In this workflow, the label is called \\\"Notion\\\".\"},\"typeVersion\":1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"If database page not found\",\"type\":\"main\",\"index\":0}]]},\"On schedule\":{\"main\":[[{\"node\":\"Derive last request time\",\"type\":\"main\",\"index\":0}]]},\"If checked off\":{\"main\":[[{\"node\":\"Remove label from target email\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Not yet checked off, do nothing\",\"type\":\"main\",\"index\":0}]]},\"Find my email address\":{\"main\":[[{\"node\":\"Create database page\",\"type\":\"main\",\"index\":0}]]},\"Try get database page\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Derive last request time\":{\"main\":[[{\"node\":\"Get emails from label and last request time\",\"type\":\"main\",\"index\":0}]]},\"On updated database page\":{\"main\":[[{\"node\":\"If checked off\",\"type\":\"main\",\"index\":0}]]},\"If database page not found\":{\"main\":[[{\"node\":\"Find my email address\",\"type\":\"main\",\"index\":0}],[{\"node\":\"If found, do nothing\",\"type\":\"main\",\"index\":0}]]},\"Get emails from label and last request time\":{\"main\":[[{\"node\":\"Try get database page\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Discord scheduled events to Google Calendar", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"78d5f452-5ba1-4d59-9d52-8f32512d2c25\",\"name\":\"List scheduled events from Discord\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1940,1000],\"parameters\":{\"url\":\"=https://discord.com/api/guilds/{{ $('Configure').first().json.guild_id }}/scheduled-events\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"with_user_count\",\"value\":\"true\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"fxbcosIH3MYkufX8\",\"name\":\"FILL ME\"}},\"typeVersion\":4.1},{\"id\":\"af149917-0d46-4a40-b377-69c088a4a7b9\",\"name\":\"On schedule\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[1420,1000],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1.1},{\"id\":\"619c149f-f954-4f5d-a160-01a8b85f3eb7\",\"name\":\"Update event details\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[2600,900],\"parameters\":{\"eventId\":\"={{ $json.id }}\",\"calendar\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"[UPDATE ME]\",\"cachedResultName\":\"Events\"},\"operation\":\"update\",\"updateFields\":{\"end\":\"={{ $('List scheduled events from Discord').item.json.scheduled_end_time }}\",\"start\":\"={{ $('List scheduled events from Discord').item.json.scheduled_start_time }}\",\"summary\":\"={{ $('List scheduled events from Discord').item.json.name }}\",\"location\":\"={{ $('List scheduled events from Discord').item.json.entity_metadata.location }}\",\"description\":\"={{ $('List scheduled events from Discord').item.json.description }}\"}},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"dRGPTy0BjDpAYjYl\",\"name\":\"FILL ME\"}},\"typeVersion\":1},{\"id\":\"56e60042-d345-46f2-b1c6-4e21825cb5c9\",\"name\":\"Create event\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[2600,1100],\"parameters\":{\"end\":\"={{ $('List scheduled events from Discord').item.json.scheduled_end_time }}\",\"start\":\"={{ $('List scheduled events from Discord').item.json.scheduled_start_time }}\",\"calendar\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"[UPDATE ME]\",\"cachedResultName\":\"Events\"},\"additionalFields\":{\"id\":\"={{ $('List scheduled events from Discord').item.json.id }}\",\"summary\":\"={{ $('List scheduled events from Discord').item.json.name }}\",\"location\":\"={{ $('List scheduled events from Discord').item.json.entity_metadata.location }}\",\"description\":\"={{ $('List scheduled events from Discord').item.json.description }}\"}},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"dRGPTy0BjDpAYjYl\",\"name\":\"FILL ME\"}},\"typeVersion\":1},{\"id\":\"afb05bee-eb5f-453f-8e95-277296ce94b8\",\"name\":\"Get events\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[2160,1000],\"parameters\":{\"eventId\":\"={{ $json.id }}\",\"options\":{},\"calendar\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"[UPDATE ME]\",\"cachedResultName\":\"Events\"},\"operation\":\"get\"},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"dRGPTy0BjDpAYjYl\",\"name\":\"FILL ME\"}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":false},{\"id\":\"56b731bd-4676-4b77-bafa-7120a51bf75d\",\"name\":\"Create or update?\",\"type\":\"n8n-nodes-base.if\",\"position\":[2380,1000],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.id }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"12e40b0e-3740-47db-8647-eff8c0c959df\",\"name\":\"Configure\",\"type\":\"n8n-nodes-base.set\",\"position\":[1680,1000],\"parameters\":{\"values\":{\"string\":[{\"name\":\"guild_id\",\"value\":\"447359847986495498\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"4160a727-6a50-40ce-a7f2-0abbd5a6b1bc\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1600,940],\"parameters\":{\"width\":254.7946768060834,\"height\":296.7300380228139,\"content\":\"### Configuration\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n__`guild_id`__: the server ID in Discord. See how to get that [from this Wikipedia tutorial](https://en.wikipedia.org/wiki/Template:Discord_server#:~:text=Getting%20Guild%20ID,to%20get%20the%20guild%20ID.).\"},\"typeVersion\":1},{\"id\":\"ac717afe-1d30-4994-a134-0d535d04b932\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[920,760],\"parameters\":{\"width\":420.45280925604845,\"height\":639.1273068962362,\"content\":\"## Sync Discord scheduled events to Google Calendar\\nThis workflow syncs Discord scheduled events to Google Calendar. On a specified schedule, a request to Discord's API is made to get the scheduled events on a particular server. Only the events that have not been created or have recently been updated will be sent to Google Calendar.\\n\\n### Setup\\nYou will need to create a Discord bot. See how to do that [here](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token). Once you have created your bot, create **Header Auth** in `List scheduled events from Discord` node. Your header auth fields should be:\\n\\nName: Authorization\\nValue: Bot __ \\n(i.e. Bot MTEzMTgw...uQdg)\\n\\n### How it works\\n1. Triggers off on the `On schedule` node.\\n2. Gets the scheduled events from Discord.\\n3. The IDs of the Discord scheduled events are used to get the events from Google Calendar, since the IDs are the same on creation of the Google Calendar event.\\n4. We can now determine which events are new or have been updated.\\n5. The new or updated events are created or updated in Google Calendar.\"},\"typeVersion\":1}],\"connections\":{\"Configure\":{\"main\":[[{\"node\":\"List scheduled events from Discord\",\"type\":\"main\",\"index\":0}]]},\"Get events\":{\"main\":[[{\"node\":\"Create or update?\",\"type\":\"main\",\"index\":0}]]},\"On schedule\":{\"main\":[[{\"node\":\"Configure\",\"type\":\"main\",\"index\":0}]]},\"Create or update?\":{\"main\":[[{\"node\":\"Update event details\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Create event\",\"type\":\"main\",\"index\":0}]]},\"List scheduled events from Discord\":{\"main\":[[{\"node\":\"Get events\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Google Sheets data as a message to a Discord channel", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"b3a0fa7c-eb47-4f51-98d7-ac1a8de7b05d\",\"name\":\"On new or updated row\",\"type\":\"n8n-nodes-base.googleSheetsTrigger\",\"position\":[800,380],\"parameters\":{\"options\":{\"columnsToWatch\":[\"Security Code\"]},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Np8TQv7kWwwrGiPkWWsmr4WYWAosv1BMBwwCd0f-dis/edit#gid=0\",\"cachedResultName\":\"Investments\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1Np8TQv7kWwwrGiPkWWsmr4WYWAosv1BMBwwCd0f-dis\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1Np8TQv7kWwwrGiPkWWsmr4WYWAosv1BMBwwCd0f-dis/edit?usp=drivesdk\",\"cachedResultName\":\"Investments\"}},\"credentials\":{\"googleSheetsTriggerOAuth2Api\":{\"id\":\"35\",\"name\":\"TEST USER\"}},\"typeVersion\":1},{\"id\":\"61b96d9b-801c-43e6-b89a-a55245386e4f\",\"name\":\"Send message\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1200,380],\"parameters\":{\"text\":\"=```\\n{{ $json.ascii_table }}\\n```\",\"options\":{},\"webhookUri\":\"https://discord.com/api/webhooks/...\"},\"typeVersion\":1},{\"id\":\"2dc9ce88-2079-4419-9f48-2281ac25cb36\",\"name\":\"Convert to ASCII table\",\"type\":\"n8n-nodes-base.code\",\"position\":[1000,380],\"parameters\":{\"jsCode\":\"/* configure columns to be displayed */\\nconst columns_to_display = [\\n \\\"Security Code\\\",\\n \\\"Price\\\",\\n \\\"Quantity\\\",\\n]\\n\\n/* End of configuration section (do not edit code below) */\\nconst google_sheets_data = $('On new or updated row').all();\\n\\n/**\\n * Takes a list of objects and returns an ascii table with\\n * padding and headers.\\n */\\nfunction ascii_table(data, columns_to_display) {\\n let table = \\\"\\\"\\n \\n // Get the headers\\n let headers = []\\n for (let i = 0; i < columns_to_display.length; i++) {\\n headers.push(columns_to_display[i])\\n }\\n\\n // Get the longest string in each column\\n let longest_strings = []\\n for (let i = 0; i < headers.length; i++) {\\n let longest_string = headers[i].length\\n for (let j = 0; j < data.length; j++) {\\n let string_length = data[j].json[headers[i]].length\\n if (string_length > longest_string) {\\n longest_string = string_length\\n }\\n }\\n longest_strings.push(longest_string)\\n }\\n\\n // Add the headers to the table\\n for (let i = 0; i < headers.length; i++) {\\n table += headers[i].toString().padEnd(longest_strings[i] + 2, \\\" \\\")\\n }\\n\\n // Add the data to the table\\n for (let i = 0; i < data.length; i++) {\\n table += \\\"\\\\n\\\"\\n for (let j = 0; j < headers.length; j++) {\\n table += data[i].json[headers[j]].toString().padEnd(longest_strings[j] + 2, \\\" \\\")\\n }\\n }\\n\\n return table\\n}\\n\\noutput = {\\n ascii_table: ascii_table(google_sheets_data, columns_to_display),\\n}\\n\\nconsole.log(output.ascii_table)\\n\\nreturn output\"},\"typeVersion\":1},{\"id\":\"2db7b37b-22f9-424d-a889-33f8a0db2b01\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[340,220],\"parameters\":{\"width\":402,\"height\":433,\"content\":\"## Send Google Sheets data as a message to a Discord channel\\nThis workflow sends a message to a Discord channel when a new row is added or a row is updated in a Google Sheet. The message will send all data rows in the Google Sheet.\\n\\n### How it works\\nUsing a code node, we can use the obtained Google Sheet data to create a custom message that will be sent to Discord. The message will be sent to the Discord channel specified in the Discord node.\\n\\n### Setup\\nThis workflow requires that you set up a Discord webhook and have an existing Google Sheet with data. See how to set up a Discord webhook [here](https://docs.n8n.io/integrations/builtin/credentials/discord/#creating-a-webhook-in-discord).\\n\"},\"typeVersion\":1}],\"connections\":{\"On new or updated row\":{\"main\":[[{\"node\":\"Convert to ASCII table\",\"type\":\"main\",\"index\":0}]]},\"Convert to ASCII table\":{\"main\":[[{\"node\":\"Send message\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Push and update files in GitHub", "output": "{\"id\":\"kdqqvoh5qZaYawq1\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"Work with GitHub | examples\",\"tags\":[{\"id\":\"y9tvM3hISJKT2jeo\",\"name\":\"Ted's Tech Talks\",\"createdAt\":\"2023-08-15T22:12:34.260Z\",\"updatedAt\":\"2023-08-15T22:12:34.260Z\"}],\"nodes\":[{\"id\":\"b3f0b4a9-34ea-4630-8756-eb43f8ecb4ff\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,640],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f5cb92f3-c3df-4640-90c1-870c9f27d085\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[830,402],\"parameters\":{\"width\":865.0290253216738,\"height\":244.559082047148,\"content\":\"## Push a single file via GitHub node directly to the remote GitHub repo\"},\"typeVersion\":1},{\"id\":\"54f7a07c-8d85-4c69-81c9-a95449958eb4\",\"name\":\"GitHub push edited file\",\"type\":\"n8n-nodes-base.github\",\"position\":[1200,480],\"parameters\":{\"owner\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"teds-tech-talks\",\"cachedResultUrl\":\"https://github.com/teds-tech-talks\",\"cachedResultName\":\"teds-tech-talks\"},\"filePath\":\"README.md\",\"resource\":\"file\",\"operation\":\"edit\",\"repository\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"git_push_article\",\"cachedResultUrl\":\"https://github.com/teds-tech-talks/git_push_article\",\"cachedResultName\":\"git_push_article\"},\"fileContent\":\"={{ $json.data }}\\n## Updated at:\\n{{ $now.toISO() }}\",\"commitMessage\":\"updated from n8n via GitHub node\",\"authentication\":\"oAuth2\"},\"credentials\":{\"githubOAuth2Api\":{\"id\":\"SBUgEkMg70oFZRct\",\"name\":\"TTT GitHub account\"}},\"typeVersion\":1},{\"id\":\"2b625156-17a5-4245-9ee8-604a631d65fe\",\"name\":\"Update README and add new file\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[1040,800],\"parameters\":{\"command\":\"=echo '' >> {{ $('config').item.json.localrepo }}/README.md\\necho '## Updated at:' >> {{ $('config').item.json.localrepo }}/README.md\\necho '{{ $now.toISO() }}' >> {{ $('config').item.json.localrepo }}/README.md\\necho 'Check new file' >> {{ $('config').item.json.localrepo }}/README.md\\necho '' >> {{ $('config').item.json.localrepo }}/README.md\\n\\necho '# This is a new file' >> {{ $('config').item.json.localrepo }}/new_{{ $now.toFormat('yyyyddMM-hhmmss') }}.md\"},\"typeVersion\":1},{\"id\":\"99bf3b00-7e51-49b6-a602-8769012d9270\",\"name\":\"Add files\",\"type\":\"n8n-nodes-base.git\",\"position\":[1200,800],\"parameters\":{\"operation\":\"add\",\"pathsToAdd\":\".\",\"repositoryPath\":\"={{ $('config').item.json.localrepo }}\"},\"typeVersion\":1},{\"id\":\"f0e220c5-d717-471f-8b0c-cca3a06ff7f6\",\"name\":\"Commit\",\"type\":\"n8n-nodes-base.git\",\"position\":[1360,800],\"parameters\":{\"message\":\"updated from n8n via Git node\",\"options\":{},\"operation\":\"commit\",\"repositoryPath\":\"={{ $('config').item.json.localrepo }}\"},\"typeVersion\":1},{\"id\":\"7ef8674e-3c1f-4903-aa3e-28af69d80264\",\"name\":\"Push\",\"type\":\"n8n-nodes-base.git\",\"position\":[1520,800],\"parameters\":{\"options\":{\"targetRepository\":\"https://github.com/teds-tech-talks/git_push_article.git\"},\"operation\":\"push\",\"authentication\":\"gitPassword\",\"repositoryPath\":\"={{ $('config').item.json.localrepo }}\"},\"credentials\":{\"gitPassword\":{\"id\":\"CQx0W73u1zlK56mk\",\"name\":\"TTT Git account\"}},\"typeVersion\":1},{\"id\":\"f27bb600-4352-47db-aeeb-7688fa6c72c1\",\"name\":\"config\",\"type\":\"n8n-nodes-base.set\",\"position\":[520,640],\"parameters\":{\"values\":{\"string\":[{\"name\":\"localrepo\",\"value\":\"/path/to/git/repo\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"512f0333-358d-43e6-a03f-b13792969d04\",\"name\":\"Pull\",\"type\":\"n8n-nodes-base.git\",\"position\":[880,800],\"parameters\":{\"operation\":\"pull\",\"repositoryPath\":\"={{ $('config').item.json.localrepo }}\"},\"typeVersion\":1},{\"id\":\"2830b321-5b58-4080-9a53-ddc703a80ec9\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[827.4395480225996,720],\"parameters\":{\"width\":870.5619913953059,\"height\":251.5433184970501,\"content\":\"## Push all changes via Git node\"},\"typeVersion\":1},{\"id\":\"da8b52dd-4245-4adb-aff8-63f19a002d16\",\"name\":\"GitHub get file\",\"type\":\"n8n-nodes-base.github\",\"position\":[880,480],\"parameters\":{\"owner\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"teds-tech-talks\",\"cachedResultUrl\":\"https://github.com/teds-tech-talks\",\"cachedResultName\":\"teds-tech-talks\"},\"filePath\":\"README.md\",\"resource\":\"file\",\"operation\":\"get\",\"repository\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"git_push_article\",\"cachedResultUrl\":\"https://github.com/teds-tech-talks/git_push_article\",\"cachedResultName\":\"git_push_article\"},\"authentication\":\"oAuth2\",\"additionalParameters\":{}},\"credentials\":{\"githubOAuth2Api\":{\"id\":\"SBUgEkMg70oFZRct\",\"name\":\"TTT GitHub account\"}},\"typeVersion\":1},{\"id\":\"e4eb2f71-5b66-4ab7-bb1a-b48ef25728e1\",\"name\":\"Decode file\",\"type\":\"n8n-nodes-base.code\",\"position\":[1040,480],\"parameters\":{\"jsCode\":\"var text = Buffer.from($input.first().binary.data.data, 'base64').toString('utf8');\\nreturn {\\\"data\\\": text};\"},\"typeVersion\":2},{\"id\":\"ec27d375-b994-415c-be53-5715df83585c\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[400.9808509052974,440],\"parameters\":{\"width\":373.9894195663518,\"height\":383.3156992772523,\"content\":\"## Please update the path to the local repository and connect this node to the upper or lower parts of the workflow\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"4bf99f5b-96e7-4f12-a14d-187a0b39a07e\",\"connections\":{\"Pull\":{\"main\":[[{\"node\":\"Update README and add new file\",\"type\":\"main\",\"index\":0}]]},\"Commit\":{\"main\":[[{\"node\":\"Push\",\"type\":\"main\",\"index\":0}]]},\"Add files\":{\"main\":[[{\"node\":\"Commit\",\"type\":\"main\",\"index\":0}]]},\"Decode file\":{\"main\":[[{\"node\":\"GitHub push edited file\",\"type\":\"main\",\"index\":0}]]},\"GitHub get file\":{\"main\":[[{\"node\":\"Decode file\",\"type\":\"main\",\"index\":0}]]},\"Update README and add new file\":{\"main\":[[{\"node\":\"Add files\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"config\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Comparing data with the Compare Datasets node", "output": "{\"meta\":{\"instanceId\":\"cb484ba7b742928a2048bf8829668bed5b5ad9787579adea888f05980292a4a7\"},\"nodes\":[{\"id\":\"31a9f34c-c5b0-462e-885d-f394b6d83f3a\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[840,500],\"parameters\":{},\"typeVersion\":1},{\"id\":\"a16c48dd-070d-4d0b-b220-20a5e98288a6\",\"name\":\"Dataset 1\",\"type\":\"n8n-nodes-base.code\",\"position\":[1060,360],\"parameters\":{\"jsCode\":\" return [\\n{\\n\\\"fruit\\\": \\\"apple\\\",\\n\\\"color\\\": \\\"green\\\",\\n},\\n{\\n\\\"fruit\\\": \\\"orange\\\",\\n\\\"color\\\": \\\"orange\\\",\\n},\\n{\\n\\\"fruit\\\": \\\"grape\\\",\\n\\\"color\\\": \\\"green\\\", \\n},\\n{\\n\\\"fruit\\\": \\\"strawberry\\\",\\n\\\"color\\\": \\\"red\\\",\\n},\\n{\\n\\\"fruit\\\": \\\"banana\\\",\\n\\\"color\\\": \\\"yellow\\\",\\n}\\n];\\n\"},\"typeVersion\":2},{\"id\":\"11b41146-8682-4c8d-84db-259acddced4b\",\"name\":\"Dataset 2\",\"type\":\"n8n-nodes-base.code\",\"position\":[1060,620],\"parameters\":{\"jsCode\":\" return [\\n{\\n\\\"fruit\\\": \\\"apple\\\",\\n\\\"color\\\": \\\"green\\\",\\n},\\n{\\n\\\"fruit\\\": \\\"grape\\\",\\n\\\"color\\\": \\\"purple\\\",\\n},\\n{\\n\\\"fruit\\\": \\\"orange\\\",\\n\\\"color\\\": \\\"orange\\\",\\n},\\n{\\n \\\"fruit\\\": \\\"kiwi\\\",\\n \\\"color\\\": \\\"mostly green\\\"\\n},\\n{\\n\\\"fruit\\\": \\\"banana\\\",\\n\\\"color\\\": \\\"yellow\\\",\\n}\\n];\\n\"},\"typeVersion\":2},{\"id\":\"dc976f9e-e645-4bcf-999a-b3a62be661e3\",\"name\":\"Compare Datasets\",\"type\":\"n8n-nodes-base.compareDatasets\",\"position\":[1380,500],\"parameters\":{\"options\":{},\"mergeByFields\":{\"values\":[{\"field1\":\"fruit\",\"field2\":\"fruit\"}]}},\"typeVersion\":2.3},{\"id\":\"1945d250-b5dd-4aa3-aa85-8c41aeb1f04a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,440],\"parameters\":{\"width\":321,\"height\":250,\"content\":\"## Comparing data with the Compare Datasets node\\n\\nThe [Compare Datasets](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.comparedatasets/) node compares data streams before merging them. It outputs up to four different branches.\\n\\nClick the **Execute Workflow** button, then double click on the nodes to see the input and output items.\"},\"typeVersion\":1},{\"id\":\"313571f3-b249-43d1-b152-1e45c31b0b8c\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1300,340],\"parameters\":{\"width\":302,\"height\":385,\"content\":\"## Explore outputs \\n\\nIn the OUTPUT panel of this node, click on the different tabs to see which data goes to which output stream.\"},\"typeVersion\":1}],\"connections\":{\"Dataset 1\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":0}]]},\"Dataset 2\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":1}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Dataset 1\",\"type\":\"main\",\"index\":0},{\"node\":\"Dataset 2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Compare SQL datasets", "output": "{\"id\":\"emPRhyWgxygwHgWh\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"Compare 2 SQL datasets\",\"tags\":[],\"nodes\":[{\"id\":\"df04c503-d4af-4e8f-bcc3-f1fd02d3a332\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[780,340],\"parameters\":{},\"typeVersion\":1},{\"id\":\"6fe78ae6-7325-4062-ab58-457dc1d985c4\",\"name\":\"Compare Datasets\",\"type\":\"n8n-nodes-base.compareDatasets\",\"position\":[1560,320],\"parameters\":{\"options\":{\"multipleMatches\":\"all\"},\"mergeByFields\":{\"values\":[{\"field1\":\"customerNumber\",\"field2\":\"customerNumber\"},{\"field1\":\"year\",\"field2\":\"year\"}]}},\"typeVersion\":2.3},{\"id\":\"0dae008c-242d-4757-a5a4-a075bde54cb6\",\"name\":\"Orders from 2003 and 2004\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1080,220],\"parameters\":{\"query\":\"SELECT customerNumber, SUM(amount) as Total, COUNT(*) as ordercount, YEAR(paymentDate) as year\\nFROM payments\\nWHERE YEAR(paymentDate) = '2003' OR YEAR(paymentDate) = '2004'\\nGROUP BY customerNumber, year\\n;\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"EEPqCgKBDiRRZ3ua\",\"name\":\"db4free MySQL\"}},\"typeVersion\":2.1},{\"id\":\"c162e9b5-6e26-4a81-b90d-a5709e73019c\",\"name\":\"Orders from 2004 and 2005\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1080,440],\"parameters\":{\"query\":\"SELECT customerNumber, SUM(amount) as Total, COUNT(*) as ordercount, YEAR(paymentDate) as year\\nFROM payments\\nWHERE YEAR(paymentDate) = '2004' OR YEAR(paymentDate) = '2005'\\nGROUP BY customerNumber, year\\n;\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"EEPqCgKBDiRRZ3ua\",\"name\":\"db4free MySQL\"}},\"typeVersion\":2.1},{\"id\":\"05547a67-2c53-43df-8abd-ee356f12742b\",\"name\":\"Change ordercount\",\"type\":\"n8n-nodes-base.set\",\"position\":[1300,440],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ordercount\",\"value\":1}]},\"options\":{}},\"typeVersion\":2}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"9680b087-de3a-4179-8f48-5e2ae9dc6fac\",\"connections\":{\"Change ordercount\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":1}]]},\"Orders from 2003 and 2004\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":0}]]},\"Orders from 2004 and 2005\":{\"main\":[[{\"node\":\"Change ordercount\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Orders from 2003 and 2004\",\"type\":\"main\",\"index\":0},{\"node\":\"Orders from 2004 and 2005\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Outlook Calendar events to Notion", "output": "{\"meta\":{\"instanceId\":\"a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd\"},\"nodes\":[{\"id\":\"713d2864-efd0-4938-871e-1d37a7c58b67\",\"name\":\"On schedule\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[1280,840],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"minutes\"}]}},\"typeVersion\":1.1},{\"id\":\"0cedfde1-6ae1-485c-bd2c-b6114f6e4deb\",\"name\":\"Try get database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2160,900],\"parameters\":{\"filters\":{\"conditions\":[{\"key\":\"Event ID|rich_text\",\"condition\":\"equals\",\"richTextValue\":\"={{ $json.id }}\"}]},\"options\":{},\"resource\":\"databasePage\",\"operation\":\"getAll\",\"returnAll\":true,\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"6318457d-052d-4107-9c5b-8041f530fa03\",\"cachedResultUrl\":\"https://www.notion.so/6318457d052d41079c5b8041f530fa03\",\"cachedResultName\":\"Outlook Calendar\"},\"filterType\":\"manual\"},\"credentials\":{\"notionApi\":{\"id\":\"18\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"92ebdd55-0950-471c-aa44-2fed31b17870\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2380,780],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"joinMode\":\"enrichInput1\",\"mergeByFields\":{\"values\":[{\"field1\":\"id\",\"field2\":\"property_event_id\"}]}},\"typeVersion\":2.1},{\"id\":\"d38e4228-b3ab-443f-bfac-ffd0bc10fd08\",\"name\":\"If database page not found\",\"type\":\"n8n-nodes-base.if\",\"position\":[2600,840],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.property_event_id }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"6ef0f18c-51fe-42e7-9e42-fd6ca8564e6e\",\"name\":\"Create database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2820,740],\"parameters\":{\"title\":\"={{ $json.subject }}\",\"options\":{\"icon\":\"https://avatars.githubusercontent.com/u/45487711?s=280&v=4\",\"iconType\":\"file\"},\"resource\":\"databasePage\",\"databaseId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"6318457d-052d-4107-9c5b-8041f530fa03\",\"cachedResultUrl\":\"https://www.notion.so/6318457d052d41079c5b8041f530fa03\",\"cachedResultName\":\"Outlook Calendar\"},\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Date|date\",\"range\":true,\"dateEnd\":\"={{ $json.end.dateTime }}\",\"timezone\":\"={{ $json.start.timeZone }}\",\"dateStart\":\"={{ $json.start.dateTime }}\"},{\"key\":\"Event ID|rich_text\",\"textContent\":\"={{ $json.id }}\"},{\"key\":\"Link|url\",\"urlValue\":\"={{ $json.webLink }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"18\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"2d324002-348b-4f23-bffe-57f685a8a761\",\"name\":\"Update database page\",\"type\":\"n8n-nodes-base.notion\",\"position\":[2820,940],\"parameters\":{\"pageId\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $json.id }}\"},\"resource\":\"databasePage\",\"operation\":\"update\",\"propertiesUi\":{\"propertyValues\":[{\"key\":\"Date|date\",\"range\":true,\"dateEnd\":\"={{ $json.end.dateTime }}\",\"timezone\":\"={{ $json.start.timeZone }}\",\"dateStart\":\"={{ $json.start.dateTime }}\"},{\"key\":\"Link|url\",\"urlValue\":\"={{ $json.webLink }}\"},{\"key\":\"Name|title\",\"title\":\"={{ $json.subject }}\"}]}},\"credentials\":{\"notionApi\":{\"id\":\"18\",\"name\":\"[UPDATE ME]\"}},\"typeVersion\":2},{\"id\":\"ee4792c4-d71c-4fd3-a8a3-babae5ff3479\",\"name\":\"X days into the future\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1500,840],\"parameters\":{\"duration\":365,\"magnitude\":\"={{ $json.timestamp }}\",\"operation\":\"addToDate\",\"outputFieldName\":\"Future date\"},\"typeVersion\":2},{\"id\":\"00b53a21-97c7-4293-a5eb-8321afddd4bc\",\"name\":\"Split out items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1940,840],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"value\"},\"typeVersion\":2.2},{\"id\":\"a7541bb9-0c0d-48b5-a39e-57e5681330da\",\"name\":\"Get Outlook Calendar events\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1720,840],\"parameters\":{\"url\":\"https://graph.microsoft.com/v1.0/me/calendarview\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"oAuth2Api\",\"queryParameters\":{\"parameters\":[{\"name\":\"startdatetime\",\"value\":\"={{ new Date($('On schedule').item.json.timestamp).toISOString() }}\"},{\"name\":\"enddatetime\",\"value\":\"={{ new Date($json['Future date']).toISOString() }}\"}]}},\"credentials\":{\"oAuth2Api\":{\"id\":\"dxBfWhTrnERPMHGs\",\"name\":\"REPLACE ME\"}},\"typeVersion\":4.1}],\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"If database page not found\",\"type\":\"main\",\"index\":0}]]},\"On schedule\":{\"main\":[[{\"node\":\"X days into the future\",\"type\":\"main\",\"index\":0}]]},\"Split out items\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0},{\"node\":\"Try get database page\",\"type\":\"main\",\"index\":0}]]},\"Try get database page\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"X days into the future\":{\"main\":[[{\"node\":\"Get Outlook Calendar events\",\"type\":\"main\",\"index\":0}]]},\"If database page not found\":{\"main\":[[{\"node\":\"Create database page\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Update database page\",\"type\":\"main\",\"index\":0}]]},\"Get Outlook Calendar events\":{\"main\":[[{\"node\":\"Split out items\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Expert onboarding journey", "output": "{\"id\":\"gCCUQ8k09Pct3NAd\",\"meta\":{\"instanceId\":\"a8776c839b528359abae77a741e1975e8c9ba32475c0422988891b98d29b1a4c\"},\"name\":\"Onboarding basics workflow\",\"tags\":[],\"nodes\":[{\"id\":\"697eb6c8-0667-45d7-965a-051b71b479d5\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[280,340],\"parameters\":{},\"typeVersion\":1},{\"id\":\"9c291249-5826-4c99-b4c0-c065ba0d7480\",\"name\":\"Hacker News\",\"type\":\"n8n-nodes-base.hackerNews\",\"position\":[500,340],\"parameters\":{\"limit\":50,\"resource\":\"all\",\"additionalFields\":{}},\"typeVersion\":1},{\"id\":\"97b9aa2b-7cef-4de3-bd79-7caed1714be6\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[720,340],\"parameters\":{\"conditions\":{\"number\":[{\"value2\":500}]}},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"999c05d4-9bb2-4095-baed-02faaa7dcc78\",\"connections\":{\"IF\":{\"main\":[[]]},\"Hacker News\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Hacker News\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "SQL to XML export with XSL template formatting", "output": "{\"id\":\"v5wqVsciFcGDMujC\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"XML usecase: advanced\",\"tags\":[],\"nodes\":[{\"id\":\"bca571ac-25dc-470d-b249-460861e99791\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[660,380],\"webhookId\":\"81115579-ca32-496f-baa7-f14fb3baec6f\",\"parameters\":{\"path\":\"81115579-ca32-496f-baa7-f14fb3baec6f\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"e851d287-f739-462e-816b-605daf7b4897\",\"name\":\"Show 16 random products\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[840,380],\"parameters\":{\"query\":\"SELECT * from products\\nORDER BY RAND()\\nLIMIT 16;\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"EEPqCgKBDiRRZ3ua\",\"name\":\"db4free MySQL\"}},\"typeVersion\":2.1},{\"id\":\"895725ed-e250-408b-95f5-32223a58adfe\",\"name\":\"Define file structure\",\"type\":\"n8n-nodes-base.set\",\"position\":[1020,380],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Product.Code\",\"value\":\"={{ $json.productCode }}\"},{\"name\":\"Product.Name\",\"value\":\"={{ $json.productName }}\"},{\"name\":\"Product.Line\",\"value\":\"={{ $json.productLine }}\"},{\"name\":\"Product.Scale\",\"value\":\"={{ $json.productScale }}\"},{\"name\":\"Product.Price\",\"value\":\"={{ $json.MSRP }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"4bf5deb3-56d8-45f3-8c26-01cd7e58968c\",\"name\":\"Concatenate Items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1200,380],\"parameters\":{\"aggregate\":\"aggregateAllItemData\",\"operation\":\"concatenateItems\",\"destinationFieldName\":\"Products\"},\"typeVersion\":3},{\"id\":\"0d97118d-bf0c-4084-9d18-54fed1a9c8b6\",\"name\":\"Convert to XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1380,380],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{\"headless\":true}},\"typeVersion\":1},{\"id\":\"670f23f3-2b18-4121-93c8-6b047f999054\",\"name\":\"Create HTML\",\"type\":\"n8n-nodes-base.html\",\"position\":[1760,380],\"parameters\":{\"html\":\"\\n\\n\\n{{ $json.data }}\"},\"typeVersion\":1},{\"id\":\"43bb6052-4a4e-4951-836b-ee5afe478188\",\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[2240,380],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"mimeType\":\"text/xml\",\"keepSource\":false,\"useRawData\":true},\"sourceKey\":\"html\",\"convertAllData\":false},\"typeVersion\":1},{\"id\":\"3ca41f0f-e21a-450e-bfbe-8d94c3f65277\",\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[2420,380],\"parameters\":{\"options\":{\"responseCode\":200,\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/xml\"},{\"name\":\"Control-Allow-Origin\",\"value\":\"*\"}]}},\"respondWith\":\"binary\"},\"typeVersion\":1},{\"id\":\"776db7a4-7e03-4bb1-a937-e15cb1f66a59\",\"name\":\"Get XSLT\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[840,740],\"parameters\":{\"url\":\"https://gist.githubusercontent.com/teds-tech-talks/02c4bb157627e5e9031df996ffa7d2d2/raw/9a058ba2866c9853c52cdd136c74276b883af04a/models.xsl\",\"options\":{\"response\":{\"response\":{\"responseFormat\":\"file\"}}}},\"typeVersion\":4.1},{\"id\":\"aedf30e5-d670-4f14-8ba1-f7afd613628d\",\"name\":\"Respond to Webhook1\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1020,740],\"parameters\":{\"options\":{\"responseCode\":200,\"responseHeaders\":{\"entries\":[{\"name\":\"Content-Type\",\"value\":\"text/xsl\"}]}},\"respondWith\":\"binary\"},\"typeVersion\":1},{\"id\":\"cb69cda9-3639-46cc-a16d-aaf101261fb2\",\"name\":\"Request xsl template\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[660,740],\"webhookId\":\"044ccd2d-d1a7-485b-bb22-218a6848fd1c\",\"parameters\":{\"path\":\"044ccd2d-d1a7-485b-bb22-218a6848fd1c/models.xsl\",\"options\":{\"rawBody\":false},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"306bc89e-d497-4344-9bb5-6f4ea607130a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[620,657.1779141104296],\"parameters\":{\"width\":644.1717791411014,\"height\":249.44785276073617,\"content\":\"### This webhook is needed to comply with the CORS policy of modern browsers.\\n### It requests XSL template stored on GitHub gist and serves it using your n8n URL\"},\"typeVersion\":1},{\"id\":\"5f57d577-577f-4dc9-a0b3-696fedeeab08\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[800,234.8490345891829],\"parameters\":{\"width\":728.0981595091996,\"height\":315.4577138770747,\"content\":\"## Get data from SQL and convert it to XML\\n### Note that XML node has an activated Headless toggle\"},\"typeVersion\":1},{\"id\":\"21ecc2b5-8ae1-421b-8a0e-8d75d94dd63e\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1560,233.36956603560543],\"parameters\":{\"width\":511.65644171779115,\"height\":315.43648613045264,\"content\":\"## Set node can be used as well\\n### XML declaration and a link to the XSL template are added here\\n### Note that {{$env.WEBHOOK_URL}} variable is used, so that an URL of your n8n instance is automatically selected\"},\"typeVersion\":1},{\"id\":\"84df91b1-767b-46fb-aa1f-847b549a3c0d\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2100,237.0954119462532],\"parameters\":{\"width\":531.5337423312881,\"height\":312.1448304414918,\"content\":\"## Convert to binary data and send the webhook response\"},\"typeVersion\":1}],\"active\":true,\"pinData\":{},\"settings\":{\"callerPolicy\":\"workflowsFromSameOwner\",\"executionOrder\":\"v1\",\"saveManualExecutions\":true,\"saveDataSuccessExecution\":\"all\"},\"versionId\":\"c9205b2e-e8f0-4131-ac45-a6cf08b9c8cd\",\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Show 16 random products\",\"type\":\"main\",\"index\":0}]]},\"Get XSLT\":{\"main\":[[{\"node\":\"Respond to Webhook1\",\"type\":\"main\",\"index\":0}]]},\"Create HTML\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Convert to XML\":{\"main\":[[{\"node\":\"Create HTML\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]},\"Concatenate Items\":{\"main\":[[{\"node\":\"Convert to XML\",\"type\":\"main\",\"index\":0}]]},\"Request xsl template\":{\"main\":[[{\"node\":\"Get XSLT\",\"type\":\"main\",\"index\":0}]]},\"Define file structure\":{\"main\":[[{\"node\":\"Concatenate Items\",\"type\":\"main\",\"index\":0}]]},\"Show 16 random products\":{\"main\":[[{\"node\":\"Define file structure\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "XML to SQL database import", "output": "{\"id\":\"5x5q3sta3Qh0MdIX\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"XML usecase: import XML data\",\"tags\":[],\"nodes\":[{\"id\":\"19a81ae3-6ef6-46b0-aaa7-2ddcad1c86cb\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[700,360],\"parameters\":{},\"typeVersion\":1},{\"id\":\"495356fb-8132-40c2-bfd8-559cd1a03bf8\",\"name\":\"Read Binary Files\",\"type\":\"n8n-nodes-base.readBinaryFiles\",\"position\":[900,360],\"parameters\":{\"fileSelector\":\"/home/node/.n8n/intermediate.xml\"},\"typeVersion\":1},{\"id\":\"9c88e06c-66be-4f62-a30e-811171fec34b\",\"name\":\"Item Lists\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1500,360],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"Products.Product\"},\"typeVersion\":3},{\"id\":\"a8aeb5c8-bb7a-4990-8a07-565c2d9e2760\",\"name\":\"Extract binary data\",\"type\":\"n8n-nodes-base.code\",\"position\":[1100,360],\"parameters\":{\"jsCode\":\"let binaryDataBufferItem = await this.helpers.getBinaryDataBuffer(0, 'data');\\nvar data = binaryDataBufferItem.toString('utf8')\\n\\nreturn {\\\"data\\\": data};\"},\"typeVersion\":2},{\"id\":\"7a37802d-e0b7-4520-8832-8d43fa5815a0\",\"name\":\"XML to JSON\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1300,360],\"parameters\":{\"options\":{\"trim\":false,\"attrkey\":\"$\",\"normalize\":false,\"mergeAttrs\":true,\"ignoreAttrs\":false,\"normalizeTags\":false}},\"typeVersion\":1},{\"id\":\"e5bca22c-7941-46d0-ba2d-d375cb4735c9\",\"name\":\"Add new records\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1700,360],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"new_table\",\"cachedResultName\":\"new_table\"},\"options\":{\"detailedOutput\":true},\"dataMode\":\"defineBelow\",\"valuesToSend\":{\"values\":[{\"value\":\"={{ $json.Code }}\",\"column\":\"productCode\"},{\"value\":\"={{ $json.Name }}\",\"column\":\"productName\"},{\"value\":\"={{ $json.Line }}\",\"column\":\"productLine\"},{\"value\":\"={{ $json.Scale }}\",\"column\":\"productScale\"},{\"value\":\"={{ $json.Description }}\",\"column\":\"productDescription\"},{\"value\":\"={{ $json.Price }}\",\"column\":\"MSRP\"},{\"value\":\"NA\",\"column\":\"productVendor\"},{\"value\":\"0\",\"column\":\"quantityInStock\"},{\"value\":\"0\",\"column\":\"buyPrice\"}]}},\"credentials\":{\"mySql\":{\"id\":\"EEPqCgKBDiRRZ3ua\",\"name\":\"db4free MySQL\"}},\"typeVersion\":2.2},{\"id\":\"b787244f-aebf-4ec7-ba84-4b9409e30817\",\"name\":\"Create new table\",\"type\":\"n8n-nodes-base.mySql\",\"disabled\":true,\"position\":[900,80],\"parameters\":{\"query\":\"CREATE TABLE IF NOT EXISTS new_table AS SELECT * FROM products;\\nTRUNCATE new_table;\\n\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"EEPqCgKBDiRRZ3ua\",\"name\":\"db4free MySQL\"}},\"typeVersion\":2.2},{\"id\":\"49b8214d-bc98-441c-847d-158a35c6fefa\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[720,-40],\"parameters\":{\"width\":503,\"height\":317,\"content\":\"### Activate and execute this node only when needed.\\nCREATE TABLE IF NOT EXISTS new_table AS SELECT * FROM products;\\nTRUNCATE new_table;\"},\"typeVersion\":1},{\"id\":\"28533467-5e12-4f7c-9310-8c88708bcff9\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[680,560],\"parameters\":{\"width\":553.5746606334839,\"height\":268.9366515837105,\"content\":\"## This is a content of the example XML file.\\n### Please use it if the file was not already created\\n\\n\\n\\n \\n 1982 Ducati 900 Monster\\n Motorcycles\\n 1:24\\n Features two-tone paint with chrome accents, superior die-cast detail , rotating wheels , working kick stand\\n \\n \\n 1996 Moto Guzzi 1100i\\n Motorcycles\\n 1:10\\n Official Moto Guzzi logos and insignias, saddle bags located on side of motorcycle, detailed engine, working steering, working suspension, two leather seats, luggage rack, dual exhaust pipes, small saddle bag located on handle bars, two-tone paint with chrome accents, superior die-cast detail , rotating wheels , working kick stand, diecast metal with plastic parts and baked enamel finish.\\n \\n \\n 1957 Corvette Convertible\\n Classic Cars\\n 1:18\\n 1957 die cast Corvette Convertible in Roman Red with white sides and whitewall tires. 1:18 scale quality die-cast with detailed engine and underbvody. Now you can own The Classic Corvette.\\n \\n \\n HMS Bounty\\n Ships\\n 1:700\\n Measures 30 inches Long x 27 1/2 inches High x 4 3/4 inches Wide. \\nMany extras including rigging, long boats, pilot house, anchors, etc. Comes with three masts, all square-rigged.\\n \\n \\n 1996 Peterbilt 379 Stake Bed with Outrigger\\n Trucks and Buses\\n 1:32\\n This model features, opening doors, detailed engine, working steering, tinted windows, detailed interior, die-struck logos, removable stakes operating outriggers, detachable second trailer, functioning 360-degree self loader, precision molded resin trailer and trim, baked enamel finish on cab\\n \\n \\n 1999 Yamaha Speed Boat\\n Ships\\n 1:18\\n Exact replica. Wood and Metal. Many extras including rigging, long boats, pilot house, anchors, etc. Comes with three masts, all square-rigged.\\n \\n \\n 1936 Harley Davidson El Knucklehead\\n Motorcycles\\n 1:18\\n Intricately detailed with chrome accents and trim, official die-struck logos and baked enamel finish.\\n \\n \\n 1985 Toyota Supra\\n Classic Cars\\n 1:18\\n This model features soft rubber tires, working steering, rubber mud guards, authentic Ford logos, detailed undercarriage, opening doors and hood, removable split rear gate, full size spare mounted in bed, detailed interior with opening glove box\\n \\n \\n 1940 Ford Delivery Sedan\\n Vintage Cars\\n 1:24\\n Chrome Trim, Chrome Grille, Opening Hood, Opening Doors, Opening Trunk, Detailed Engine, Working Steering System. Color black.\\n \\n \\n 1997 BMW R 1100 S\\n Motorcycles\\n 1:24\\n Detailed scale replica with working suspension and constructed from over 70 parts\\n \\n \\n 1970 Dodge Coronet\\n Classic Cars\\n 1:24\\n 1:24 scale die-cast about 18\\\" long doors open, hood opens and rubber wheels\\n \\n \\n 1903 Ford Model A\\n Vintage Cars\\n 1:18\\n Features opening trunk, working steering system\\n \\n \\n 1949 Jaguar XK 120\\n Classic Cars\\n 1:24\\n Precision-engineered from original Jaguar specification in perfect scale ratio. Features opening doors, superb detail and craftsmanship, working steering system, opening forward compartment, opening rear trunk with removable spare, 4 wheel independent spring suspension as well as factory baked enamel finish.\\n \\n \\n 1940 Ford Pickup Truck\\n Trucks and Buses\\n 1:18\\n This model features soft rubber tires, working steering, rubber mud guards, authentic Ford logos, detailed undercarriage, opening doors and hood, removable split rear gate, full size spare mounted in bed, detailed interior with opening glove box\\n \\n \\n Pont Yacht\\n Ships\\n 1:72\\n Measures 38 inches Long x 33 3/4 inches High. Includes a stand. \\nMany extras including rigging, long boats, pilot house, anchors, etc. Comes with 2 masts, all square-rigged\\n \\n \\n 1948 Porsche Type 356 Roadster\\n Classic Cars\\n 1:18\\n This model features working front and rear suspension on accurately replicated and actuating shock absorbers as well as opening engine cover, rear stabilizer flap, and 4 opening doors.\\n \\n\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"25ab0ab6-6689-48ad-967e-2a2fb0743ece\",\"connections\":{\"Item Lists\":{\"main\":[[{\"node\":\"Add new records\",\"type\":\"main\",\"index\":0}]]},\"XML to JSON\":{\"main\":[[{\"node\":\"Item Lists\",\"type\":\"main\",\"index\":0}]]},\"Read Binary Files\":{\"main\":[[{\"node\":\"Extract binary data\",\"type\":\"main\",\"index\":0}]]},\"Extract binary data\":{\"main\":[[{\"node\":\"XML to JSON\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Binary Files\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create 2 XML files: with and without XML attributes", "output": "{\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"nodes\":[{\"id\":\"ef32b2b5-9739-4622-aa50-ac9e6a93c43c\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[720,360],\"parameters\":{},\"typeVersion\":1},{\"id\":\"d39d67b6-3f3c-4296-affc-cfc786b877c3\",\"name\":\"Show 16 random products\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[900,360],\"parameters\":{\"query\":\"SELECT * from products\\nORDER BY RAND()\\nLIMIT 16;\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":{\"id\":\"EEPqCgKBDiRRZ3ua\",\"name\":\"db4free MySQL\"}},\"typeVersion\":2.1},{\"id\":\"8ca3e11c-d1b0-4ee6-94f0-b16c46b804d7\",\"name\":\"Define file structure\",\"type\":\"n8n-nodes-base.set\",\"position\":[1120,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Product.Code\",\"value\":\"={{ $json.productCode }}\"},{\"name\":\"Product.Name\",\"value\":\"={{ $json.productName }}\"},{\"name\":\"Product.Line\",\"value\":\"={{ $json.productLine }}\"},{\"name\":\"Product.Scale\",\"value\":\"={{ $json.productScale }}\"},{\"name\":\"Product.Price\",\"value\":\"={{ $json.MSRP }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"6ee087c9-afd6-405a-b922-61aae33f5a1e\",\"name\":\"Concatenate Items\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1300,200],\"parameters\":{\"aggregate\":\"aggregateAllItemData\",\"operation\":\"concatenateItems\",\"destinationFieldName\":\"Products\"},\"typeVersion\":3},{\"id\":\"0aadf35f-9bec-4d27-9122-2ac350f609f7\",\"name\":\"Convert to XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1480,200],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{\"headless\":false}},\"typeVersion\":1},{\"id\":\"5eed6fe8-b7ba-483f-8362-f371e3c678af\",\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1680,200],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"fileName\":\"simple.xml\",\"mimeType\":\"text/xml\",\"keepSource\":false,\"useRawData\":true},\"convertAllData\":false},\"typeVersion\":1},{\"id\":\"eb2240a4-cccd-4a4d-a807-1e2bddb0dc89\",\"name\":\"Define file structure1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1120,520],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Product.Name\",\"value\":\"={{ $json.productName }}\"},{\"name\":\"Product.Line\",\"value\":\"={{ $json.productLine }}\"},{\"name\":\"Product.Scale\",\"value\":\"={{ $json.productScale }}\"},{\"name\":\"Product.$.Price\",\"value\":\"={{ $json.MSRP }}\"},{\"name\":\"Product.$.Code\",\"value\":\"={{ $json.productCode }}\"},{\"name\":\"Product.Description\",\"value\":\"={{ $json.productDescription }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"06a739b9-72fd-4d9c-9dd2-36086fafae7a\",\"name\":\"Concatenate Items1\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1300,520],\"parameters\":{\"aggregate\":\"aggregateAllItemData\",\"operation\":\"concatenateItems\",\"destinationFieldName\":\"Products\"},\"typeVersion\":3},{\"id\":\"082008c2-d13b-453d-87c2-f551467c6aec\",\"name\":\"Convert to XML1\",\"type\":\"n8n-nodes-base.xml\",\"position\":[1480,520],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{\"attrkey\":\"$\",\"headless\":false}},\"typeVersion\":1},{\"id\":\"e66df48f-4c75-4316-910c-0eb8be0bcf9c\",\"name\":\"Move Binary Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1680,520],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"fileName\":\"intermediate.xml\",\"mimeType\":\"text/xml\",\"keepSource\":false,\"useRawData\":true},\"convertAllData\":false},\"typeVersion\":1},{\"id\":\"1ece7a61-04d8-4d0b-aa33-1085a5732a92\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1080,132],\"parameters\":{\"width\":830,\"height\":226,\"content\":\"## Simple conversion to XML\"},\"typeVersion\":1},{\"id\":\"89cca26f-adde-426a-8033-b66224e9b934\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1080,460],\"parameters\":{\"width\":830,\"height\":231,\"content\":\"## XML tags with attributes\"},\"typeVersion\":1},{\"id\":\"0c01e6cf-da59-460a-b1ab-6977ca88c1cc\",\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[1980,360],\"parameters\":{\"options\":{},\"fileName\":\"=/home/node/.n8n/{{ $binary.data.fileName }}\"},\"typeVersion\":1}],\"connections\":{\"Convert to XML\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Convert to XML1\":{\"main\":[[{\"node\":\"Move Binary Data1\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Concatenate Items\":{\"main\":[[{\"node\":\"Convert to XML\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data1\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Concatenate Items1\":{\"main\":[[{\"node\":\"Convert to XML1\",\"type\":\"main\",\"index\":0}]]},\"Define file structure\":{\"main\":[[{\"node\":\"Concatenate Items\",\"type\":\"main\",\"index\":0}]]},\"Define file structure1\":{\"main\":[[{\"node\":\"Concatenate Items1\",\"type\":\"main\",\"index\":0}]]},\"Show 16 random products\":{\"main\":[[{\"node\":\"Define file structure\",\"type\":\"main\",\"index\":0},{\"node\":\"Define file structure1\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Show 16 random products\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new record in Google Sheets when something happens in Hubspot", "output": "{\"id\":\"cGYp8fpTdh3LAgP5\",\"meta\":{\"instanceId\":\"dbd43d88d26a9e30d8aadc002c9e77f1400c683dd34efe3778d43d27250dde50\"},\"name\":\"Create a new record in Google Sheets when something happens in Hubspot\",\"tags\":[{\"id\":\"vh6ctEIEfFztmSF2\",\"name\":\"release-template-version\",\"createdAt\":\"2023-09-21T09:36:34.726Z\",\"updatedAt\":\"2023-09-21T09:36:52.231Z\"}],\"nodes\":[{\"id\":\"78395fdf-2e8b-4064-a102-c1c0335e0d94\",\"name\":\"HubSpot Trigger\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"notes\":\"On Contact Created\",\"position\":[580,320],\"webhookId\":\"25833e56-c646-4af0-8bbe-2eea8bda4c00\",\"parameters\":{\"eventsUi\":{\"eventValues\":[{}]},\"additionalFields\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"3888d918-c140-47a1-8024-d50fddb3f8f0\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Is Gmail Email?\",\"position\":[820,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json['identity-profiles'][0].identities[0].value }}\",\"value2\":\"@gmail\",\"operation\":\"contains\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"416a8876-f496-499c-a089-aad243daabc6\",\"name\":\"Is Gmail, Don't Add to Sheet\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1140,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"cf69cda9-ba96-468f-990c-6c3ad5242053\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[520,100],\"parameters\":{\"width\":480.31999999999596,\"height\":160.1450000000002,\"content\":\"## Demo: Creating Google Sheets records when something happens in HubSpot\\nThis workflow runs each time a new Contact is added in HubSpot. It filters out Contacts with Gmail email addresses then pushes the remaining new Contacts to [this Google Sheet](https://docs.google.com/spreadsheets/d/1GeWRcu5cvNVA-0hpHZHtatjnFtyunbgWUgRur5uT08A/edit?usp=sharing).\"},\"typeVersion\":1},{\"id\":\"1e4084bd-b7fb-41f1-a340-1414ef134468\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"notes\":\"Append new contact to sheet\",\"position\":[1140,440],\"parameters\":{\"columns\":{\"value\":{\"Name\":\"={{ $json.properties.num_unique_conversion_events.versions[0]['source-type'] }}\",\"Email\":\"={{ $json.properties.num_unique_conversion_events.versions[0]['source-label'] }}\"},\"schema\":[{\"id\":\"Name\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Name\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Email\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Email\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Sync timestamp\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Sync timestamp\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"defineBelow\",\"matchingColumns\":[]},\"options\":{},\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1GeWRcu5cvNVA-0hpHZHtatjnFtyunbgWUgRur5uT08A/edit#gid=0\",\"cachedResultName\":\"New Contacts\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1GeWRcu5cvNVA-0hpHZHtatjnFtyunbgWUgRur5uT08A\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1GeWRcu5cvNVA-0hpHZHtatjnFtyunbgWUgRur5uT08A/edit?usp=drivesdk\",\"cachedResultName\":\"New HubSpot Contacts\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"FrRoXgPJOrFwkeN4\",\"name\":\"Replace me with your own Sheets credential\"}},\"notesInFlow\":true,\"typeVersion\":4}],\"active\":false,\"pinData\":{\"HubSpot Trigger\":[{\"json\":{\"vid\":51,\"portal-id\":8924380,\"is-contact\":true,\"properties\":{\"city\":{\"value\":\"Cambridge\",\"versions\":[{\"value\":\"Cambridge\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"email\":{\"value\":\"bh@hubspot.com\",\"versions\":[{\"value\":\"bh@hubspot.com\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"API\",\"source-label\":null,\"updated-by-user-id\":null}]},\"state\":{\"value\":\"MA\",\"versions\":[{\"value\":\"MA\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"company\":{\"value\":\"HubSpot\",\"versions\":[{\"value\":\"HubSpot\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"website\":{\"value\":\"http://www.HubSpot.com\",\"versions\":[{\"value\":\"http://www.HubSpot.com\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"jobtitle\":{\"value\":\"CEO\",\"versions\":[{\"value\":\"CEO\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"lastname\":{\"value\":\"Halligan (Sample Contact)\",\"versions\":[{\"value\":\"Halligan (Sample Contact)\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"firstname\":{\"value\":\"Brian\",\"versions\":[{\"value\":\"Brian\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"createdate\":{\"value\":\"1606827045698\",\"versions\":[{\"value\":\"1606827045698\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045698,\"source-type\":\"API\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_pipeline\":{\"value\":\"contacts-lifecycle-pipeline\",\"versions\":[{\"value\":\"contacts-lifecycle-pipeline\",\"selected\":false,\"source-id\":\"BackfillHsPipelineForContacts\",\"timestamp\":1628846625829,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_object_id\":{\"value\":\"51\",\"versions\":[{\"value\":\"51\",\"selected\":false,\"source-id\":\"BackfillReadtimeCalculatedPropertiesJob\",\"timestamp\":1629469311146,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_is_contact\":{\"value\":\"true\",\"versions\":[{\"value\":\"true\",\"selected\":false,\"source-id\":null,\"timestamp\":1606827045698,\"source-type\":\"CALCULATED\",\"source-label\":null,\"updated-by-user-id\":null}]},\"twitterhandle\":{\"value\":\"bhalligan\",\"versions\":[{\"value\":\"bhalligan\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_is_unworked\":{\"value\":\"true\",\"versions\":[{\"value\":\"true\",\"selected\":false,\"source-id\":null,\"timestamp\":1606827045782,\"source-type\":\"CALCULATED\",\"source-label\":null,\"updated-by-user-id\":null}]},\"lifecyclestage\":{\"value\":\"lead\",\"versions\":[{\"value\":\"lead\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_email_domain\":{\"value\":\"hubspot.com\",\"versions\":[{\"value\":\"hubspot.com\",\"selected\":false,\"source-id\":\"BackfillReadtimeCalculatedPropertiesJob\",\"timestamp\":1629469311146,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_latest_source\":{\"value\":\"OFFLINE\",\"versions\":[{\"value\":\"OFFLINE\",\"selected\":false,\"source-id\":\"BackfillContactUpdatesKafka\",\"timestamp\":1639158301358,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"lastmodifieddate\":{\"value\":\"1651750891986\",\"versions\":[{\"value\":\"1651750891986\",\"selected\":false,\"source-id\":null,\"timestamp\":1651750891986,\"source-type\":\"CALCULATED\",\"source-label\":null,\"updated-by-user-id\":null},{\"value\":\"1639158305597\",\"selected\":false,\"source-id\":null,\"timestamp\":1639158305597,\"source-type\":\"CALCULATED\",\"source-label\":null,\"updated-by-user-id\":null},{\"value\":\"1628846625829\",\"selected\":false,\"source-id\":\"BackfillHsPipelineForContacts\",\"timestamp\":1628846625829,\"source-type\":\"CALCULATED\",\"source-label\":null,\"updated-by-user-id\":null}]},\"associatedcompanyid\":{\"value\":\"4931550080\",\"versions\":[{\"value\":\"4931550080\",\"selected\":false,\"source-id\":\"RollupProperties\",\"timestamp\":1606827057264,\"source-type\":\"CALCULATED\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_all_contact_vids\":{\"value\":\"51\",\"versions\":[{\"value\":\"51\",\"selected\":false,\"source-id\":\"BackfillReadtimeCalculatedPropertiesJob\",\"timestamp\":1629469311146,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_source\":{\"value\":\"OFFLINE\",\"versions\":[{\"value\":\"OFFLINE\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"twitterprofilephoto\":{\"value\":\"https://pbs.twimg.com/profile_images/3491742741/212e42c07d3348251da10872e85aa6b0.jpeg\",\"versions\":[{\"value\":\"https://pbs.twimg.com/profile_images/3491742741/212e42c07d3348251da10872e85aa6b0.jpeg\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_revenue\":{\"value\":\"0.0\",\"versions\":[{\"value\":\"0.0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_marketable_status\":{\"value\":\"true\",\"versions\":[{\"value\":\"true\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045876,\"source-type\":\"API\",\"source-label\":null,\"updated-by-user-id\":null}]},\"num_conversion_events\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"BackfillReadtimeCalculatedPropertiesJob\",\"timestamp\":1629469311146,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_num_visits\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_latest_source_data_1\":{\"value\":\"API\",\"versions\":[{\"value\":\"API\",\"selected\":false,\"source-id\":\"BackfillContactUpdatesKafka\",\"timestamp\":1639158301358,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_latest_source_data_2\":{\"value\":\"sample-contact\",\"versions\":[{\"value\":\"sample-contact\",\"selected\":false,\"source-id\":\"BackfillContactUpdatesKafka\",\"timestamp\":1639158301358,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_marketable_reason_id\":{\"value\":\"Sample Contact\",\"versions\":[{\"value\":\"Sample Contact\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045876,\"source-type\":\"API\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_social_twitter_clicks\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_marketable_reason_type\":{\"value\":\"SAMPLE_CONTACT\",\"versions\":[{\"value\":\"SAMPLE_CONTACT\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045876,\"source-type\":\"API\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_social_facebook_clicks\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_social_linkedin_clicks\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_source_data_1\":{\"value\":\"API\",\"versions\":[{\"value\":\"API\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827054762,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_source_data_2\":{\"value\":\"sample-contact\",\"versions\":[{\"value\":\"sample-contact\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827054762,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_latest_source_timestamp\":{\"value\":\"1606827045720\",\"versions\":[{\"value\":\"1606827045720\",\"selected\":false,\"source-id\":\"BackfillContactUpdatesKafka\",\"timestamp\":1651750884919,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_num_page_views\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_lifecyclestage_lead_date\":{\"value\":\"1606827045444\",\"versions\":[{\"value\":\"1606827045444\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045444,\"source-type\":\"CONTACTS_WEB\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_marketable_until_renewal\":{\"value\":\"true\",\"versions\":[{\"value\":\"true\",\"selected\":false,\"source-id\":\"sample-contact\",\"timestamp\":1606827045876,\"source-type\":\"API\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_first_timestamp\":{\"value\":\"1606827045444\",\"versions\":[{\"value\":\"1606827045444\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_social_google_plus_clicks\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"num_unique_conversion_events\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"BackfillReadtimeCalculatedPropertiesJob\",\"timestamp\":1629469311146,\"source-type\":\"MIGRATION\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_social_num_broadcast_clicks\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_average_page_views\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]},\"hs_analytics_num_event_completions\":{\"value\":\"0\",\"versions\":[{\"value\":\"0\",\"selected\":false,\"source-id\":\"ContactAnalyticsDetailsUpdateWorker\",\"timestamp\":1606827047569,\"source-type\":\"ANALYTICS\",\"source-label\":null,\"updated-by-user-id\":null}]}},\"merged-vids\":[],\"merge-audits\":[],\"canonical-vid\":51,\"form-submissions\":[],\"list-memberships\":[],\"identity-profiles\":[{\"vid\":51,\"identities\":[{\"type\":\"EMAIL\",\"value\":\"bh@hubspot.com\",\"timestamp\":1606827045444,\"is-primary\":true},{\"type\":\"LEAD_GUID\",\"value\":\"d3749acc-06e1-4511-84fd-7b0d847f6eff\",\"timestamp\":1606827045717}],\"saved-at-timestamp\":1606827045720,\"deleted-changed-timestamp\":0}],\"associated-company\":{\"portal-id\":8924380,\"company-id\":4931550080,\"properties\":{\"zip\":{\"value\":\"02141\"},\"city\":{\"value\":\"Cambridge\"},\"name\":{\"value\":\"HubSpot, Inc.\"},\"phone\":{\"value\":\"+1 888-482-7768\"},\"state\":{\"value\":\"MA\"},\"domain\":{\"value\":\"hubspot.com\"},\"address\":{\"value\":\"25 First Street\"},\"country\":{\"value\":\"United States\"},\"website\":{\"value\":\"hubspot.com\"},\"industry\":{\"value\":\"COMPUTER_SOFTWARE\"},\"timezone\":{\"value\":\"America/New_York\"},\"is_public\":{\"value\":\"true\"},\"createdate\":{\"value\":\"1606827053844\"},\"description\":{\"value\":\"HubSpot is an American developer and marketer of software products for inbound marketing, sales, and customer service.\"},\"linkedinbio\":{\"value\":\"HubSpot is an American developer and marketer of software products for inbound marketing, sales, and customer service.\"},\"founded_year\":{\"value\":\"2006\"},\"hs_object_id\":{\"value\":\"4931550080\"},\"annualrevenue\":{\"value\":\"250000000\"},\"twitterhandle\":{\"value\":\"HubSpot\"},\"hs_num_blockers\":{\"value\":\"0\"},\"web_technologies\":{\"value\":\"unbounce;instagram;app_nexus;piwik;google_analytics;mixpanel;google_tag_manager;facebook_advertiser;salesforce;cloud_flare;dstillery;twitter_button;hubspot;vidyard;facebook_connect;crazy_egg;amazon__cloudfront;wistia;optimizely\"},\"hs_num_open_deals\":{\"value\":\"0\"},\"numberofemployees\":{\"value\":\"5000\"},\"total_money_raised\":{\"value\":\"100.5M\"},\"hs_analytics_source\":{\"value\":\"OFFLINE\"},\"hs_lastmodifieddate\":{\"value\":\"1653392172246\"},\"facebook_company_page\":{\"value\":\"https://www.facebook.com/hubspot\"},\"linkedin_company_page\":{\"value\":\"https://www.linkedin.com/company/hubspot\"},\"hs_num_child_companies\":{\"value\":\"0\"},\"hs_num_decision_makers\":{\"value\":\"0\"},\"hs_analytics_num_visits\":{\"value\":\"0\"},\"num_associated_contacts\":{\"value\":\"2\"},\"first_contact_createdate\":{\"value\":\"1606827045444\"},\"hs_analytics_latest_source\":{\"value\":\"OFFLINE\"},\"hs_analytics_source_data_1\":{\"value\":\"API\"},\"hs_analytics_source_data_2\":{\"value\":\"sample-contact\"},\"hs_analytics_num_page_views\":{\"value\":\"0\"},\"hs_analytics_first_timestamp\":{\"value\":\"1606827045444\"},\"hs_target_account_probability\":{\"value\":\"0.49565839767456055\"},\"hs_annual_revenue_currency_code\":{\"value\":\"USD\"},\"hs_analytics_latest_source_data_1\":{\"value\":\"API\"},\"hs_analytics_latest_source_data_2\":{\"value\":\"sample-contact\"},\"hs_num_contacts_with_buying_roles\":{\"value\":\"0\"},\"hs_analytics_latest_source_timestamp\":{\"value\":\"1606827045720\"}}}}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"4748dbbc-75dd-400e-98d1-41bbd82c7208\",\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Is Gmail, Don't Add to Sheet\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"HubSpot Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Scrape and summarize webpages with AI", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"a9048293-787d-44d6-b995-d329b2495048\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-1920,1380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"56017e8b-2f2e-4f40-9325-184ea01a18be\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1720,1260],\"parameters\":{\"width\":1071.752021563343,\"height\":285.66037735849045,\"content\":\"## Scrape latest Paul Graham essays\"},\"typeVersion\":1},{\"id\":\"aa855d7c-6602-4242-bc84-56fed7c27c26\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-600,1260],\"parameters\":{\"width\":625,\"height\":607,\"content\":\"## Summarize them with GPT\"},\"typeVersion\":1},{\"id\":\"1a38e545-6d3b-40b2-a3ff-6f91fdd772de\",\"name\":\"Fetch Essay List\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-1640,1380],\"parameters\":{\"url\":\"http://www.paulgraham.com/articles.html\",\"options\":{}},\"typeVersion\":4.2},{\"id\":\"bd713892-356b-4a9c-b076-000bd4f1f1ba\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-380,1600],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"4d7359ab-ba87-4756-8168-f2b987aac2fc\",\"name\":\"Extract essay names\",\"type\":\"n8n-nodes-base.html\",\"position\":[-1440,1380],\"parameters\":{\"options\":{},\"operation\":\"extractHtmlContent\",\"extractionValues\":{\"values\":[{\"key\":\"essay\",\"attribute\":\"href\",\"cssSelector\":\"table table a\",\"returnArray\":true,\"returnValue\":\"attribute\"}]}},\"typeVersion\":1.2},{\"id\":\"8342d13f-879d-426b-ba28-ab696dd7f155\",\"name\":\"Split out into items\",\"type\":\"n8n-nodes-base.splitOut\",\"position\":[-1240,1380],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"essay\"},\"typeVersion\":1},{\"id\":\"a057d3cb-b7fb-4b4d-810a-e4de3ac10702\",\"name\":\"Fetch essay texts\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-840,1380],\"parameters\":{\"url\":\"=http://www.paulgraham.com/{{ $json.essay }}\",\"options\":{}},\"typeVersion\":4.2},{\"id\":\"98164d8c-3d6f-485d-93b6-1da3e8ae7ca8\",\"name\":\"Extract title\",\"type\":\"n8n-nodes-base.html\",\"position\":[-340,1080],\"parameters\":{\"options\":{},\"operation\":\"extractHtmlContent\",\"extractionValues\":{\"values\":[{\"key\":\"title\",\"cssSelector\":\"title\"}]}},\"typeVersion\":1.2},{\"id\":\"fc0b6230-d169-4b20-803b-1896982c37c3\",\"name\":\"Summarization Chain\",\"type\":\"@n8n/n8n-nodes-langchain.chainSummarization\",\"position\":[-340,1380],\"parameters\":{\"options\":{},\"operationMode\":\"documentLoader\"},\"typeVersion\":2},{\"id\":\"a656524a-9f77-4922-9de7-e2221ac82b70\",\"name\":\"Clean up\",\"type\":\"n8n-nodes-base.set\",\"position\":[360,1380],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"7b337b47-a1c6-470e-881f-0c038b4917e5\",\"name\":\"title\",\"type\":\"string\",\"value\":\"={{ $json.title }}\"},{\"id\":\"ca820521-4fff-4971-84b5-e6e2dbd8bb7a\",\"name\":\"summary\",\"type\":\"string\",\"value\":\"={{ $json.response.text }}\"},{\"id\":\"0fd9b5e3-44dd-49a3-82c1-3a4aa4698376\",\"name\":\"url\",\"type\":\"string\",\"value\":\"=http://www.paulgraham.com/{{ $('Limit to first 3').first().json.essay }}\"}]}},\"typeVersion\":3.4},{\"id\":\"da738af0-7302-442d-bdc8-c9771be10794\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[160,1380],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combineBy\":\"combineByPosition\"},\"typeVersion\":3},{\"id\":\"adf51f27-8d3e-49a8-b850-7990d355dc81\",\"name\":\"Default Data Loader\",\"type\":\"@n8n/n8n-nodes-langchain.documentDefaultDataLoader\",\"position\":[-260,1600],\"parameters\":{\"options\":{},\"jsonData\":\"={{ $('Extract Text Only').item.json.data }}\",\"jsonMode\":\"expressionData\"},\"typeVersion\":1},{\"id\":\"f57c5908-4ae3-4ce1-a74b-0fc393792c21\",\"name\":\"Recursive Character Text Splitter\",\"type\":\"@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter\",\"position\":[-180,1720],\"parameters\":{\"options\":{},\"chunkSize\":6000},\"typeVersion\":1},{\"id\":\"278eed78-3489-41e3-b4d2-a2de788fcd21\",\"name\":\"Limit to first 3\",\"type\":\"n8n-nodes-base.limit\",\"position\":[-1040,1380],\"parameters\":{\"maxItems\":3},\"typeVersion\":1},{\"id\":\"028147d1-2a45-416d-91d0-40a0af2747f5\",\"name\":\"Extract Text Only\",\"type\":\"n8n-nodes-base.html\",\"position\":[-520,1380],\"parameters\":{\"options\":{},\"operation\":\"extractHtmlContent\",\"extractionValues\":{\"values\":[{\"key\":\"data\",\"cssSelector\":\"body\",\"skipSelectors\":\"img,nav\"}]}},\"typeVersion\":1.2}],\"pinData\":{},\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Clean up\",\"type\":\"main\",\"index\":0}]]},\"Extract title\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Fetch Essay List\":{\"main\":[[{\"node\":\"Extract essay names\",\"type\":\"main\",\"index\":0}]]},\"Limit to first 3\":{\"main\":[[{\"node\":\"Fetch essay texts\",\"type\":\"main\",\"index\":0}]]},\"Extract Text Only\":{\"main\":[[{\"node\":\"Summarization Chain\",\"type\":\"main\",\"index\":0}]]},\"Fetch essay texts\":{\"main\":[[{\"node\":\"Extract title\",\"type\":\"main\",\"index\":0},{\"node\":\"Extract Text Only\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Summarization Chain\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Default Data Loader\":{\"ai_document\":[[{\"node\":\"Summarization Chain\",\"type\":\"ai_document\",\"index\":0}]]},\"Extract essay names\":{\"main\":[[{\"node\":\"Split out into items\",\"type\":\"main\",\"index\":0}]]},\"Summarization Chain\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Split out into items\":{\"main\":[[{\"node\":\"Limit to first 3\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Fetch Essay List\",\"type\":\"main\",\"index\":0}]]},\"Recursive Character Text Splitter\":{\"ai_textSplitter\":[[{\"node\":\"Default Data Loader\",\"type\":\"ai_textSplitter\",\"index\":0}]]}}}" }, { "input": "Suggest meeting slots using AI", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"eaa31cde-3017-400d-aac8-999def8cc227\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-340,-780],\"parameters\":{\"width\":617,\"height\":490,\"content\":\"## Check if incoming email is about appointment\\nWe use LLM to check subject and body of the email and determine if it's an appointment request. \"},\"typeVersion\":1},{\"id\":\"b03d3f72-d1d8-49a7-bcc1-a476fd5c4ad7\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[400,-780],\"parameters\":{\"width\":796,\"height\":482,\"content\":\"## Get calendar availability and compose a response\\nMake sure to update the Workflow ID if you are running this as 2 workflows\"},\"typeVersion\":1},{\"id\":\"29ce0093-c4c8-41cc-be69-334de3a1d1a2\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-60,-460],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"5176f475-704b-446e-b368-ffa395bb089e\",\"name\":\"OpenAI Chat Model1\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[480,-460],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"0e8a75dd-ce68-46c3-972c-32b15e04b254\",\"name\":\"Send reply\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[940,-660],\"webhookId\":\"0f18d414-1b14-4d2e-9fc2-d2d302372dc6\",\"parameters\":{\"message\":\"={{ $json.output }}\",\"options\":{},\"messageId\":\"={{ $('Gmail Trigger').first().json.id }}\",\"operation\":\"reply\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"Sf5Gfl9NiFTNXFWb\",\"name\":\"Gmail account\"}},\"typeVersion\":2.1},{\"id\":\"bf154384-274a-4cdd-977d-890220948a9d\",\"name\":\"Gmail Trigger\",\"type\":\"n8n-nodes-base.gmailTrigger\",\"position\":[-280,-640],\"parameters\":{\"filters\":{\"readStatus\":\"unread\",\"includeSpamTrash\":false},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"credentials\":{\"gmailOAuth2\":{\"id\":\"Sf5Gfl9NiFTNXFWb\",\"name\":\"Gmail account\"}},\"typeVersion\":1.2},{\"id\":\"5a268b34-38ea-4e55-87ab-8a616e2aa1fa\",\"name\":\"Classify appointment\",\"type\":\"@n8n/n8n-nodes-langchain.textClassifier\",\"position\":[-60,-640],\"parameters\":{\"options\":{\"fallback\":\"discard\"},\"inputText\":\"=Please evaluate the following email to determine if it suggests scheduling a meeting or a call:\\nSubject: {{ $json.Subject }}\\nSnippet: {{ $json.snippet }}\",\"categories\":{\"categories\":[{\"category\":\"is_appointment\",\"description\":\"email Is requesting an appointment\"}]}},\"typeVersion\":1},{\"id\":\"7b5a8468-09e5-4575-97cb-9175ee02b19d\",\"name\":\"Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[500,-660],\"parameters\":{\"text\":\"=Sender: {{ $('Gmail Trigger').first().json.From }}\\nSubject: {{ $('Gmail Trigger').first().json.Subject }}\\nEmail Text: {{ $('Gmail Trigger').first().json.snippet }}\",\"options\":{\"systemMessage\":\"=You are an email scheduling assistant. Based on the received email, check my availability and propose an appropriate response. \\nAim to get a specific time, rather than just a day. When checking my availability, make sure that there's enough time in between meetings.\\nIf I'm not available, ALWAYS propose a new time based on my availability. When proposing a new time, always leave 15 minutes buffer from previous meeting.\\nToday date and time is: {{ $now.toISO() }}.\"},\"promptType\":\"define\"},\"typeVersion\":1.8},{\"id\":\"b61e8061-5719-4c30-97da-e306e7b79b76\",\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendarTool\",\"position\":[680,-460],\"parameters\":{\"options\":{},\"timeMax\":\"={{ $now.plus(1, 'month').toISO() }}\",\"timeMin\":\"={{ $now.minus(1, 'day').toISO() }}\",\"calendar\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"your_email@gmail.com\"},\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":{\"id\":\"kWMxmDbMDDJoYFVK\",\"name\":\"Google Calendar account\"}},\"typeVersion\":1.3},{\"id\":\"47e07b6c-d432-4111-b33e-56d6c305c40c\",\"name\":\"Mark as read\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[940,-480],\"webhookId\":\"7e2d851b-c9f3-471c-875d-0da7c2c3b561\",\"parameters\":{\"messageId\":\"={{ $('Gmail Trigger').first().json.id }}\",\"operation\":\"markAsRead\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"Sf5Gfl9NiFTNXFWb\",\"name\":\"Gmail account\"}},\"typeVersion\":2.1}],\"pinData\":{},\"connections\":{\"Agent\":{\"main\":[[{\"node\":\"Send reply\",\"type\":\"main\",\"index\":0},{\"node\":\"Mark as read\",\"type\":\"main\",\"index\":0}]]},\"Gmail Trigger\":{\"main\":[[{\"node\":\"Classify appointment\",\"type\":\"main\",\"index\":0}]]},\"Google Calendar\":{\"ai_tool\":[[{\"node\":\"Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Classify appointment\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"OpenAI Chat Model1\":{\"ai_languageModel\":[[{\"node\":\"Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Classify appointment\":{\"main\":[[{\"node\":\"Agent\",\"type\":\"main\",\"index\":0}],[]]}}}" }, { "input": "AI agent chat", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"ef4c6982-f746-4d48-944b-449f8bdbb69f\",\"name\":\"When chat message received\",\"type\":\"@n8n/n8n-nodes-langchain.chatTrigger\",\"position\":[-180,-380],\"webhookId\":\"53c136fe-3e77-4709-a143-fe82746dd8b6\",\"parameters\":{\"options\":{}},\"typeVersion\":1.1},{\"id\":\"e6183978-5077-4252-9718-6b36b6a7cd74\",\"name\":\"Simple Memory\",\"type\":\"@n8n/n8n-nodes-langchain.memoryBufferWindow\",\"position\":[160,-160],\"parameters\":{},\"typeVersion\":1.3},{\"id\":\"1719e956-f9c8-48f5-9744-ee62345a9f7d\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[20,-160],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"f0815af7-da61-4863-9cfa-b35be836b59c\",\"name\":\"SerpAPI\",\"type\":\"@n8n/n8n-nodes-langchain.toolSerpApi\",\"position\":[300,-160],\"parameters\":{\"options\":{}},\"credentials\":{\"serpApi\":{\"id\":\"aJCKjxx6U3K7ydDe\",\"name\":\"SerpAPI account\"}},\"typeVersion\":1},{\"id\":\"2d3b4012-bd5f-46d5-be6d-af1ede6c155b\",\"name\":\"AI Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[60,-380],\"parameters\":{\"options\":{}},\"typeVersion\":1.8}],\"pinData\":{},\"connections\":{\"SerpAPI\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"Simple Memory\":{\"ai_memory\":[[{\"node\":\"AI Agent\",\"type\":\"ai_memory\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"AI Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"When chat message received\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Custom LangChain agent written in JavaScript", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"5a421900-20d7-4d64-a064-3211c3338676\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-520,-820],\"parameters\":{\"width\":432,\"height\":397,\"content\":\"## Self-coded LLM Chain Node\"},\"typeVersion\":1},{\"id\":\"93e3641b-d365-456d-b939-11fd92da8155\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-1060,-740],\"parameters\":{},\"typeVersion\":1},{\"id\":\"235e436f-353f-4bb4-a619-35ebb17011d0\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-300,-100],\"parameters\":{\"width\":320.2172923777021,\"height\":231,\"content\":\"## Self-coded Tool Node\"},\"typeVersion\":1},{\"id\":\"4265a9d3-7c7e-4511-9a41-fa5a940f8869\",\"name\":\"Set2\",\"type\":\"n8n-nodes-base.set\",\"position\":[-820,-740],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"6c3d9c41-58b0-4d0d-8892-0b1a96428da3\",\"name\":\"chatInput\",\"type\":\"string\",\"value\":\"Tell me a joke\"}]}},\"typeVersion\":3.4},{\"id\":\"b78b6d50-53be-43a1-889c-773726443bfb\",\"name\":\"Custom - LLM Chain Node1\",\"type\":\"@n8n/n8n-nodes-langchain.code\",\"position\":[-440,-740],\"parameters\":{\"code\":{\"execute\":{\"code\":\"const { PromptTemplate } = require('@langchain/core/prompts');\\n\\nconst query = $input.item.json.chatInput;\\nconst prompt = PromptTemplate.fromTemplate(query);\\nconst llm = await this.getInputConnectionData('ai_languageModel', 0);\\nlet chain = prompt.pipe(llm);\\nconst output = await chain.invoke();\\nreturn [ {json: { output } } ];\"}},\"inputs\":{\"input\":[{\"type\":\"main\",\"required\":true,\"maxConnections\":1},{\"type\":\"ai_languageModel\",\"required\":true,\"maxConnections\":1}]},\"outputs\":{\"output\":[{\"type\":\"main\"}]}},\"typeVersion\":1},{\"id\":\"cc27654f-92bd-48f5-80d9-1d4f9c83ecb5\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-420,-580],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"e64b5510-efd9-4a8b-aa3c-4312219cb2f0\",\"name\":\"Set3\",\"type\":\"n8n-nodes-base.set\",\"position\":[-820,-440],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"6c3d9c41-58b0-4d0d-8892-0b1a96428da3\",\"name\":\"chatInput\",\"type\":\"string\",\"value\":\"What year was Einstein born?\"}]}},\"typeVersion\":3.4},{\"id\":\"77f8bff3-8868-43ca-8739-7cc16d15dd80\",\"name\":\"AI Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[-440,-340],\"parameters\":{\"options\":{}},\"typeVersion\":1.8},{\"id\":\"d6e943df-ee88-4d0b-bca4-68b9f249dd00\",\"name\":\"OpenAI Chat Model1\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-460,-120],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"a4b19037-399a-4d0b-abe0-378d8d81c536\",\"name\":\"Custom - Wikipedia1\",\"type\":\"@n8n/n8n-nodes-langchain.toolCode\",\"position\":[-180,-20],\"parameters\":{\"name\":\"wikipedia_tool\",\"jsCode\":\"console.log('Custom Wikipedia Node runs');\\nconst { WikipediaQueryRun } = require(\\\"@n8n/n8n-nodes-langchain/node_modules/@langchain/community/tools/wikipedia_query_run.cjs\\\");\\n\\nconst tool = new WikipediaQueryRun({\\n topKResults: 3,\\n maxDocContentLength: 4000,\\n});\\n\\nreturn await tool.invoke(query);\",\"description\":\"Call this tool to research a topic on wikipedia.\"},\"typeVersion\":1.1}],\"pinData\":{},\"connections\":{\"Set2\":{\"main\":[[{\"node\":\"Custom - LLM Chain Node1\",\"type\":\"main\",\"index\":0}]]},\"Set3\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Custom - LLM Chain Node1\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"OpenAI Chat Model1\":{\"ai_languageModel\":[[{\"node\":\"AI Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Custom - Wikipedia1\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Set3\",\"type\":\"main\",\"index\":0},{\"node\":\"Set2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "AI: Summarize podcast episode and enhance using Wikipedia", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"b2c3ff9d-936e-4c3c-b3da-84b44f12b6f0\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-980,500],\"parameters\":{},\"typeVersion\":1},{\"id\":\"8ddbbd62-a49b-44d9-b8db-d710c2cc7f07\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-560,360],\"parameters\":{\"width\":456,\"height\":638,\"content\":\"## Chunk the transcript into several parts, and refine-summarize it \"},\"typeVersion\":1},{\"id\":\"007400f1-97b8-4b31-a126-f9b76ffabc65\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-80,360],\"parameters\":{\"width\":615.8516011477997,\"height\":443.66706715913415,\"content\":\"## Generate Questions and Topics from the summary and make sure the response follows required schema.\"},\"typeVersion\":1},{\"id\":\"7e27d8fa-a21c-4690-bf84-6366695d49b6\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[560,360],\"parameters\":{\"width\":479,\"height\":508,\"content\":\"## Ask Agent to research and explain each topic using Wikipedia\\n\\n\"},\"typeVersion\":1},{\"id\":\"e6cef3c3-0811-49dc-9706-f98befeadfc0\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1080,360],\"parameters\":{\"width\":452,\"height\":351,\"content\":\"## Format as HTML and send via Gmail\"},\"typeVersion\":1},{\"id\":\"cb911db1-d2af-4d2b-9338-3804f89d6de2\",\"name\":\"Default Data Loader\",\"type\":\"@n8n/n8n-nodes-langchain.documentDefaultDataLoader\",\"position\":[-380,722.5],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"id\":\"20e60d3a-bc0d-4918-b0bc-53dea0b31e15\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-500,720],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"e6d03a52-ba51-4661-a3ff-647bffe1dc4a\",\"name\":\"AI Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[680,500],\"parameters\":{\"text\":\"=Question: {{ $json.question }}\\nWhy: {{ $json.why }}\\n\\nContext: {{ $('Summarize Transcript').first().json.response.text }}\\n\",\"options\":{},\"promptType\":\"define\"},\"typeVersion\":1.8},{\"id\":\"70c1fa3b-40b2-4015-b6dd-5f0750c80c1b\",\"name\":\"Wikipedia\",\"type\":\"@n8n/n8n-nodes-langchain.toolWikipedia\",\"position\":[860,720],\"parameters\":{},\"typeVersion\":1},{\"id\":\"968816a8-2da1-4af0-abe1-e46f9df21883\",\"name\":\"Podcast Episode Transcript\",\"type\":\"n8n-nodes-base.code\",\"position\":[-760,500],\"parameters\":{\"jsCode\":\"return { transcript: `So throughout the last couple episodes we’ve been doing on the philosophy of mind…there’s been an IDEA that we’ve referenced MULTIPLE TIMES… and really just glossed over it as something, that’s PRACTICALLY self evident. \\n\\n\\n\\nThe idea… is that when we THINK about consciousness… we can SPLIT it into two different types…there’s ACCESS consciousness on the one hand… and PHENOMENAL consciousness on the other. This is what we’ve been saying. \\n\\n\\n\\nWhen it comes to ACCESS consciousness…that’s stuff we CAN explain with neuroscience things like memories, information processing, our field of visual awareness…we can CLEARLY EXPLAIN a bit about how all THAT stuff works.\\n\\n\\n\\nBut in this conversation so far, what KEEPS on being said… is that what we CAN’T SEEM to explain…is PHENOMENAL consciousness…you know, the subjective experience, that UNDERLIES conscious thought. That it FEELS like something to be me. There’s this idea…that this phenomenal consciousness is something separate…something fundamental, something in a category ALL IT’S OWN… that needs to be explained. You can explain a lot of stuff about access consciousness…but you can’t explain PHENOMENAL consciousness. \\n\\n\\n\\nBut if you were a good materialist listening to the discussions on this series so far…and you’re sitting in the back of the room, being SUPER PATIENT, NOT SAYING ANYTHING trying to be respectful to all the other ideas being presented…maybe there’s a part of you so far that’s just been BOILING inside, because you’re waiting for the part of the show where we’re ACTUALLY going to call that GIANT assumption that’s being made into question. \\n\\n\\n\\nBecause a materialist might say, SURE…phenomenal consciousness is PRETTY mysterious and all. But DOES that necessarily mean that it’s something that NEEDS a further explanation? \\n\\n\\n\\nThis is a good question. What is the difference… between EXPLAINING ALL of the component PARTS of our subjective experience again the thoughts, memories, information processing…what’s the difference between explaining all that and explaining phenomenal consciousness… in itself? Like what does that even mean?\\n\\n\\n\\nThat’s kinda like you saying…well… you can EXPLAIN the delicious waffle cone. You can EXPLAIN the creamy chocolatey goodness inside, you can EXPLAIN the RAINBOW colored SPRINKLES. But you CAN’T explain the ICE CREAM CONE…in ITSELF, now can you? \\n\\n\\n\\nI mean at a CERTAIN point what are we even talking about anymore? IS phenomenal consciousness REALLY something that’s ENTIRELY SEPARATE that needs to be explained? \\n\\n\\n\\nMaybe, it DOESN’T need to be explained. Maybe phenomenal consciousness is less a thing in itself…and MORE a sort of ATTRIBUTION we make… about a particular INTERSECTION of those component parts that we CAN study and explain. \\n\\n\\n\\nNow obviously there’s a bit to clarify there… and going over some popular arguments as to why that might be the case will take a good portion of the episode here today. But maybe a good place to start is to ask the question…if the hard problem of consciousness is to be able to explain why it FEELS like something to be me…and your SOLUTION to that is that maybe we don’t even need to explain that. One thing you’re gonna HAVE to explain no matter what… is why it SEEMS to MOST people living in today’s world…that phenomenal consciousness IS something that needs to be explained. \\n\\n\\n\\nRight before we began this series we did an episode on Susan Sontag and the power of the metaphors we casually use in conversations. And we talked about how these metaphors ACTUALLY go on to have a pretty huge impact on the way we contextualize the things in our lives. \\n\\n\\n\\nWell the philosopher Susan Blackmore, and apparently… I ONLY cover female philosophers by the name of Susan or Simone on this show…but anyway SUSAN BLACKMORE, huge player in these modern conversations about the mysteries of consciousness…and she thinks that if it’s DIFFICULT for someone to wrap their brain around the idea that phenomenal consciousness is NOT something that is conceptually distinct…it MAY BE because of the METAPHORS about consciousness that we use in everyday conversation that are directing the way you THINK about consciousness… into a particular lane that’s incorrect. \\n\\n\\n\\nFor example, there’s a way people think about consciousness… that’s TRAGICALLY common in today’s world…it’s become known as the Cartesian theater. So Cartesian obviously referring to Descartes. And when Descartes arrives at his substance dualism where the MIND is something ENTIRELY SEPARATE from the BODY…this EVENT in the history of philosophy goes on to CHANGE the way that people start to see their conscious experience. They start to think… well what I am…is I’m this conscious creature, sort of perched up here inside of this head…and I’m essentially…sitting in a theater, LOOKING OUT through a set of eyes which are kind of like the screen in a theater…and on the screen what I SEE is the outside world. \\n\\n\\n\\nNow nobody ACTUALLY believes this is what is happening. Every person on this god forsaken planet KNOWS that there isn’t a movie theater up in their heads. But hearing and using this metaphor DOES SHADE the way that they see their own conscious experience. The casual use of the metaphor… ALLOWS people to smuggle in assumptions about their subjective experience, that we REALLY have no evidence to be assuming. \\n\\n\\n\\nFor example, when the mind and body is totally separate…maybe it becomes EASIER for people to believe that they’re a SPIRIT that’s INHABITING a body. Maybe it just makes it easier for people to VIEW their subjective, phenomenal consciousness as something SEPARATE from the body that needs to be explained in itself. WHATEVER IT IS though…the point to Susan Blackmore is that metaphors you use have an IMPACT on your intuitions about consciousness. And she thinks there’s several OTHER examples that fall into the very same CATEGORY as the Cartesian Theater. \\n\\n\\n\\nHow about the idea that there’s a unified, single, STREAM of consciousness that you’re experiencing. The STREAM being the metaphor there. Susan Blackmore asks is a SINGLE, unified STREAM, REALLY the way that you experience your conscious thought? Like when you REALLY pay attention is that how you’re existing?\\n\\n\\n\\nShe says most likely the only reason people SEE their consciousness in terms of a stream…is because of the specific way that people are often asked to OBSERVE their own consciousness. There’s a BIAS built into the way that we’re checking in. How do people typically do it? Well they’ll take a moment…they’ll stop what they’re doing…and they’ll ask themselves: what does it feel like to be ME right now. They’ll pay attention, they’ll listen, they’ll try to come up with an answer to the question…and they’ll realize that there’s a PARTICULAR set of thoughts, feelings and perceptions that it FEELS like, to be YOU in THAT moment. \\n\\n\\n\\nBut then that person can wait for an hour…come back later, and ask the very SAME QUESTION in a different moment: what does it feel like to be me right now…and low and behold a totally DIFFERENT set of thoughts, feelings and perceptions come up. \\n\\n\\n\\nAnd then what we OFTEN DO as people at that point… is we FILL IN that empty space between those two moments with some ethereal STREAM of consciousness that we assume MUST HAVE existed between the two. \\n\\n\\n\\nBut at some OTHER level…RATIONALLY we KNOW…that for the whole time that we WEREN’T doing this accounting of what it FEELS like to be me…we KNOW that there were TONS of different unconscious meta-processes going on…all doing their own things, sometimes interacting with each other, most of the time not. We KNOW that our EXPERIENCE of consciousness is just directing our attention to one PIECE of our mental activity or another… and that all those pieces of mental activity KEEP on operating whether we’re FOCUSING on one of them or not. \\n\\n\\n\\nSo is there a specific LOCATION where there’s some sort of collective STREAM where all of this stuff is bound together HOLISTICALLY? Is there ANY good reason to ASSUME that it NEEDS to BE that way? Could it be that the continuity of this mental activity is more of an ILLUSION… than it is a reality?\\n\\n\\n\\nAnd if this sounds impossible at first…think of OTHER illusions that we KNOW go on in the brain. Think of how any SINGLE sector of the brain CREATES a similar sort of illusion. Memories. We KNOW that DIFFERENT parts of the brain are responsible for different types of memory. Semantic memory in the frontal cortex, episodic memory in the hippocampus, procedural memory in the cerebellum. ALL of these different areas work together in concert with each other, it’s ALL seemingly unified. \\n\\n\\n\\nWhen someone cuts me off in traffic and I’m choosing a reaction…I don’t CONSCIOUSLY, travel down to my cerebellum and say hey 200 million years ago how did my lizard grandfather react when a lizard cut him off in traffic…no MULTIPLE different parts of the brain work together and create an ILLUSION of continuity. And the SAME thing goes for our VISUAL experience of the world. The SAME thing happens with our emotions. \\n\\n\\n\\nHere’s Susan Blackmore saying: the traditional METAPHORS that we casually throw around about consciousness…even with just a LITTLE bit of careful observation of your own experience…being someone up in a theater in your head with a unified, continuous STREAM of your own consciousness…this ISN’T even how our experiences SEEM. \\n\\n\\n\\nNow it should be said if you were sufficiently COMMITTED to the process…you could ABSOLUTELY carry on in life with a complete LACK of self awareness fueled by the METAPHORS of pop-psychology and MOVIES and TV shows, and you could DEFINITELY LIVE in a state of illusion about it. But that DOESN’T make it right…and what happens she asks when those METAPHORS go on to impact the way we conduct science or break things down philosophically? She says:\\n\\n\\n\\n“Neuroscience and disciplined introspection give the same answer: there are multiple parallel processes with no clear distinction between conscious and unconscious ones. Consciousness is an attribution we make, not a property of only some special events or processes. Notions of the stream, contents, continuity and function of consciousness are all misguided as is the search for the neural correlates of consciousness.”\\n\\n\\n\\nThe MORE you think about the ILLUSIONS that our brains create for the sake of simplicity…the more the question starts to emerge: what if there is no CENTRALIZED HEADQUARTERS of the brain where the subjective experience of YOU…is being produced? \\n\\n\\n\\nWhat if consciousness…is an emergent property that exists…ONLY, when there is a VERY SPECIFIC organization of physical systems? \\n\\n\\n\\nThere are people that believe that phenomenal consciousness… is an ILLUSION, they’re often called Illusionists…and what someone like THAT may say is sure, fully acknowledge there are other theories about what may ultimately explain phenomenal consciousness…but isn’t it ALSO, ENTIRELY POSSIBLE…that what it FEELS like to be YOU…is an illusion created by several, distributed processes of the brain running in parallel? Multiple different channels, exerting simultaneous influence on a variety of subsystems of the brain. That these subsystems talk to each other, they compete with each other, they ebb and flow between various states of representation. \\n\\n\\n\\nBut that these different DRAFTS of cognitive processes come together, to create a type of simplification of what’s going on in aggregate… and that simplification is what YOU experience as… YOU. I mean we have our five senses that help us map the EXTERNAL world and they do so in a way that is often crude and incomplete. Could it be… that we SIMILARLY… have a crude misrepresentation of our own brain activity that SIMILARLY, allows us to be able to function efficiently as a person? \\n\\n\\n\\nIf you were looking for another METAPHOR to apply here that an illusionist might say is probably better for people to think of themselves in terms of… because its not gonna lead us down that rabbit hole of the cartesian theater…its to THINK of phenomenal CONSCIOUSNESS…as being SIMILAR to a USER INTERFACE or a DESKTOP on a computer. \\n\\n\\n\\nThe idea is: what IS the desktop of a computer? Well its a bunch of simplified ICONS on a screen, that allow you to essentially manipulate the ELECTRICAL VOLTAGE going on in between transistors on computer hardware. But AS you’re pushing buttons to CHANNEL this electricity, getting things DONE on the computer…you don’t ACTUALLY need to know ANYTHING ABOUT the complex inner workings of how the software and hardware are operating.\\n\\n\\n\\nThe philosopher Daniel Dennett INTRODUCES the metaphor here in his famous book called Consciousness Explained (1991). He says:\\n\\n\\n\\n“When I interact with the computer, I have limited access to the events occurring within it. Thanks to the schemes of presentation devised by the programmers, I am treated to an elaborate audiovisual metaphor, an interactive drama acted out on the stage of keyboard, mouse, and screen. I, the User, am subjected to a series of benign illusions: I seem to be able to move the cursor (a powerful and visible servant) to the very place in the computer where I keep my file, and once that I see that the cursor has arrived ‘there’, by pressing a key I get it to retrieve the file, spreading it out on a long scroll that unrolls in front of a window (the screen) at my command. I can make all sorts of things happen inside the computer by typing in various commands, pressing various buttons, and I don’t have to know the details; I maintain control by relying on my understanding of the detailed audiovisual metaphors provided by the User illusion.”\\n\\n\\n\\nSo if we take this metaphor seriously…then the idea that you are some sort of privileged observer of everything that’s going on in your mind…that starts to seem like it’s just FALSE. To Daniel Dennett…we don’t know what’s REALLY happening at the deepest levels of our brains…we only know what SEEMS to be happening. We are constantly acting in certain ways, doing things…and then AFTER the fact making up reasons for why we ACTED in the way that we did.\\n\\n\\n\\nPoint is: you don’t need to know EVERYTHING that’s going on at EVERY LEVEL of a computer… to be able to for example, drag a file that you don’t need anymore into the trash can on your desktop. You just drag the file into the trash can on this convenient, intuitive SCREEN. In fact you could make the argument that KNOWING about all the information being processed at other levels would get in the way of you being able to get things done that are USEFUL.\\n\\n\\n\\nBut… as its been said many times before…to RELATE this back to our subjective experience of consciousness…to an ILLUSIONIST… we have to acknowledge the fact…that there is NO MORE… a TRASH CAN inside of your computer screen…as there is a separate PHENOMENAL SUBJECT inside of your brain that needs to be explained. THAT…is an ILLUSION. What you HAVE… Daniel Dennett refers to as an EDITED DIGEST, of events that are going on inside your brain. \\n\\n\\n\\nSo again just to clarify…an ILLUSIONIST… doesn’t DOUBT the existence of access consciousness, they’re not saying that the OUTSIDE WORLD is an illusion… No, just the phenomenal REPRESENTATION of brain activity…just the subjective YOU that experiences the world phenomenologically.\\n\\n\\n\\nThe philosopher Keith Frankish gives the example of a television set to describe the type of illusion they’re talking about. He says: \\n\\n\\n“Think of watching a movie. What your eyes are actually witnessing is a series of still images rapidly succeeding each other. But your visual system represents these images as a single fluid moving image. The motion is an illusion. Similarly, illusionists argue, your introspective system misrepresents complex patterns of brain activity as simple phenomenal properties. The phenomenality is an illusion.”\\n\\n\\n\\nWhen it FEELS LIKE SOMETHING to be you…these phenomena are “metaphorical representations” of REAL neural events that are going on…and they definitely help us navigate reality…they definitely ARE useful… but nothing about those phenomena… offer ANY sort of deep insight into the processes involved to produce that experience. So in THAT sense, they are an illusion. \\n\\n\\n\\nAnd Daniel Dennett goes HARD on ANYONE trying to smuggle in ANY MORE MAGIC than needs to be brought in to EXPLAIN consciousness. He wrote a GREAT entry in the journal of consciousness studies in 2016 called Illusionism as the obvious default theory of consciousness. \\n\\n\\n\\nNow what’s he GETTING at with that title? Why should consciousness being an ILLUSION… be the DEFAULT theory we should all START from? Well he COMPARES the possibility of consciousness being an illusion…with ANOTHER kind of illusion. The kind of illusion that you’d see in VEGAS at a MAGIC show. \\n\\n\\n\\nBecause what HAPPENS at a MAGIC show? Well there are GREAT efforts MADE by the magician you’re watching…to TRICK you into thinking that what you’re seeing is real. \\n\\n\\n\\nYou’re watching the magic show from a VERY specific point of view…CAREFULLY selected by the magician to LIMIT the information you have. They got lights and smoke and music to DISTRACT you, they’re usually wearing some kind of bedazzled, cowboy costume looks like they got it at spirit Halloween, their poor assistant is dressed in God knows what to distract you. \\n\\n\\n\\nAnd when they DO the trick and the ILLUSION is finally COMPLETE…and you’re sitting there AMAZED, WONDERING as to how they defied the laws of nature and actually sawed someone in half and put them back together in front of you…imagine someone in the crowd writing a REVIEW of the show the next day and saying, welp…I guess EVERYTHING we KNOW about science needs to be rethought…I mean this man is CLEARLY a wizard…he is CLEARLY outside the bounds of natural constraints that we THOUGHT existed…it’s time to RETHINK our ENTIRE theoretical model.\\n\\n\\n\\nDaniel Dennett says who would EVER TAKE that person seriously? They’d be laughed off the internet if they wrote that. And RIGHTFULLY SO. And SIMILARLY when it comes to these modern conversations about consciousness…why would we EVER assume that our entire theoretical MODEL is flawed? Why would we ASSUME the supernatural? Why wouldn’t we assume that anything that seems magical or mysterious definitely HAS a natural explanation…and that we just don’t understand it yet? \\n\\n\\n\\nIf you ONLY saw a magic trick from a single angle, like sitting in the audience of a theater…it would be silly for us to assume that there wasn’t a different perspective available that would SHOW how the trick was done. Similarly… we ONLY REALLY SEE the qualia of our subjective experience from the angle of introspection. \\n\\n\\n\\nThis is why to daniel dennett…the DEFAULT position we should be starting from…the MOST parsimonious explanation for a mystery that contradicts everything else we know…is that it’s an illusion. \\n\\n\\n\\nIt’s funny because it’s an argument that’s coming from a place that’s SIMILAR to where a panpsychist may be coming from, but it’s arriving at a totally different conclusion. Panpsychist might say that we don’t yet know enough about the human brain to write OFF the possibility that consciousness exists at some level underneath. Here’s an illusionist position that’s saying, yeah, we certainly HAVEN’T been doing science long enough to know EVERYTHING about the brain…and think of all the low hanging fruit in the sciences that could potentially EXPLAIN this mystery if only we have more time to study it. \\n\\n\\n\\nMore than that…to an illusionist…maybe there is something ABOUT the nature of the illusion that we’re experiencing, that is NOT fully explainable by studying the physical properties of the brain. Maybe studying the ILLUSION ITSELF… is where we should be focusing more of our attention. \\n\\n\\n\\nBut that said…there’s no shortage of people out there that have PROBLEMS with saying consciousness is an illusion. For example… the philosopher Massimo Pigliucci, who by the way fun trivia fact is the only person OTHER than phillip goff that we’ve ever interviewed on this show all the way back in our HUME series…anyway HE once wrote an article where he talks about how Illusionism…AS an ANSWER to the hard problem of consciousness…is something that HE thinks HEAVILY relies on the specific definition you’re using of what an ILLUSION is or what CONSCIOUSNESS is. \\n\\n\\n\\nTo explain what he means… let’s go back to the metaphor about the icons on the computer screen. Massimo Pigliucci says this metaphor that Daniel Dennett presents in Consciousness Explained…is a POWERFUL metaphor when it comes to describing the relationship between phenomenal consciousness… and the underlying neural machinery that makes it possible. It’s great. But what HE can’t seem to understand is why ANYONE would EVER CALL what’s going ON there…an “illusion”? Why USE the word illusion? \\n\\n\\n\\nWhen you hear the word illusion he says… you think of mind trickery, smoke and mirrors. But that’s not what’s happening when it comes to the user interface of a computer. He says, “computer icons, cursors and so forth are not illusions, they are causally efficacious representations… of underlying machine language processes.” \\n\\n\\n\\nWhat he’s getting at… is that there’s no ILLUSION going on here. There IS a connection between the underlying processes of the brain and our phenomenal experience of it. If it were truly an illusion, there would BE no real connection. But he says if you wanted to use that same logic…would you say that the wheel of your CAR is an illusion? I mean when you’re driving down the road and you turn the wheel…you’re not aware of the complexity of everything the car is doing, all of the internal communication going on to be able to turn the car in whatever direction you’re going. Does that make it an illusion when you turn the steering wheel left and everything moves that makes the car go left? No, the steering wheel is causally connected to the underlying machinery… and that steering wheel makes it POSSIBLE for you to actually be able to drive the car efficiently. So why would you ever choose the word ILLUSION… to describe… what’s going ON there? \\n\\n\\n\\nMassimo Pigliucci thinks there’s an easy trap for someone to fall into living in today’s world…he calls it a sort of reductionist temptation…we come from a LONG HISTORY in the sciences of progressively reducing things to a deeper, more fundamental level of their component parts… and then the assumption has usually been that if you can find a lower level of description about something…for example if we can explain what PHENOMENAL CONSCIOUSNESS is, with a neurobiological explanation…well then THAT explanation, must be MORE TRUE than anything going on at a more macro level…at the level of the consciousness we experience every day. It must be a more FUNDAMENTAL explanation, and therefore a BETTER explanation. \\n\\n\\n\\nYou’ll see this same kind of thinking going on when someone assumes the atoms that MAKE UP an apple… are more REAL in some sense than the apple in macroscopic reality…the assumption being that the apple as WE experience it is some kind of an illusion created by our flawed SENSES and that it’s somehow less valuable. \\n\\n\\n\\nBut this whole way of thinking…is UNWORKABLE he says. We’ve learned over the course of THOUSANDS of years of trying to STUDY the things around us…that different levels of description… are USEFUL for different purposes. \\n\\n\\n\\nHe gives a series of examples: he says, “If we are interested in the biochemistry of the brain, then the proper level of description is the subcellular one, taking lower levels (eg, the quantum one) as background conditions. If we want a broader picture of how the brain works, we need to move up to the anatomical level, which takes all previous levels, from the subcellular to the quantum one, as background conditions. But if we want to talk to other human beings about how we feel and what we are experiencing, then it is the psychological level of description (the equivalent of Dennett’s icons and cursors) that, far from being illusory, is the most valuable.”\\n\\n\\n\\nReality plays by different sets of rules at different scales. And different SCALES of reality are USEFUL for different types of inquiry. When you’re going about your everyday life do you assume that the ground is solid? Or do you use the lower level of description at the atomic level where the ground is really 99.9% empty space?\\n\\n\\n\\nSo when it comes to consciousness…if we’re gonna SAY that a neurobiological description of what’s going on invalidates the experience of what’s going on at the level of subjectivity, that subjectivity is nothing but an illusion…then why stop at the neurobiological level he says? Why not say that neurons are actually an illusion because they’re ultimately made up of molecules? Why not say that MOLECULES are illusions because they’re really made up of quarks and gluons. You can do this INFINITELY. \\n\\n\\n\\nAnd maybe on a more GENERAL note…JUST when it comes to this lifelong process of trying to be as clear thinking of a human being as you possibly CAN be…maybe part of that whole process… is accepting the fact that there is no, single, monistic way of analyzing reality that is the ULTIMATE METHOD of understanding it. Maybe understanding reality… just takes a more pluralistic approach, maybe GETTING as close to the truth as we can as people takes LOOKING at reality from many different angles at many different scales, and maybe phenomenal consciousness is an important scale of reality… that we need to be considering. \\n\\n\\n\\nSo from Daniel Dennett and Keith Frankish offering a take on HOW consciousness might be an illusion…to Susan Blackmore offering a take on WHY the illusion of consciousness is such an easy trap to FALL into…I think if anyone you’re in a conversation with calls themselves an illusionist…then unless you’re talking to David Copperfield I think you’ll at LEAST be able to understand the main reasons for why someone may THINK this way about consciousness. \\n\\n\\n\\nAnd this is the point in the conversation where we hit a bit of a crossroads…SAME crossroads that we’ve seen with OTHER theories of consciousness in the series so far. At a certain point...there are GOOD reasons to believe that phenomenal consciousness may be an illusion…and there are good reasons to DOUBT whether that is true or not. As we’ve talked about at a certain point with these conversations you just have to CHOOSE to believe in something, and then deal with the prescriptive implications of BELIEVING it after the fact…and one of the ones with Illusionism in particular is you can start to wonder, the more you think about it, how much consciousness being an illusion, ACTUALLY has an impact on ANYTHING going on in your everyday life or your relationship to society. \\n\\n\\n\\nIt’s actually pretty interesting to consider…how much the possibility of consciousness being an illusion…DIRECTLY MIRRORS, OTHER, unsolved conversations in the philosophy of mind more broadly. Like for example…the ongoing debate about whether FREE WILL is an illusion. \\n\\n\\n\\nIn fact in order to be able to talk about the societal impacts of consciousness being an illusion we have to talk about free will being one as well. \\n\\n\\n\\nNext episode we’re going to dive into it. Free will, free wont, hard determinism and the implications of ALL of these when it comes to structuring our societies. Keep your eyes open for it, it will be out soon! Thanks for everyone on Patreon and thanks for checking out the website at philosophizethis.org\\n\\n\\n\\nBut as always, thank you for listening. Talk to you next time. `}\"},\"typeVersion\":2},{\"id\":\"a2ba5d04-8c28-4899-b131-29ade473526e\",\"name\":\"Summarize Transcript\",\"type\":\"@n8n/n8n-nodes-langchain.chainSummarization\",\"position\":[-484,500],\"parameters\":{\"options\":{},\"operationMode\":\"documentLoader\"},\"typeVersion\":2},{\"id\":\"47b73fb3-0d0c-4125-8639-8809ebccb9f6\",\"name\":\"Recursive Character Text Splitter\",\"type\":\"@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter\",\"position\":[-280,860],\"parameters\":{\"options\":{},\"chunkSize\":6000,\"chunkOverlap\":1000},\"typeVersion\":1},{\"id\":\"0830e349-2c8e-45ad-89be-14a77d0d083e\",\"name\":\"Extract Topics & Questions\",\"type\":\"@n8n/n8n-nodes-langchain.informationExtractor\",\"position\":[-4,500],\"parameters\":{\"text\":\"=Podcast Summary: {{ $json.response.output_text }}\",\"options\":{\"systemPromptTemplate\":\"=Come up with a list of questions and further topics to explore that are relevant for the context. Make sure questions are relevant to the topics but not verbatim. Think hard about what the appropriate questions should be and how it relates to the summarization.\"},\"schemaType\":\"manual\",\"inputSchema\":\"{\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"questions\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"question\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"why\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"description\\\": \\\"Explanation of why this question is relevant for the context\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"question\\\",\\n \\\"why\\\"\\n ]\\n }\\n },\\n \\\"topics\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"topic\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"why\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"description\\\": \\\"A few sentences explanation of why this topic is relevant for the context\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"topic\\\",\\n \\\"why\\\"\\n ]\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"questions\\\",\\n \\\"topics\\\"\\n ]\\n}\"},\"typeVersion\":1},{\"id\":\"e9e8239d-2154-406a-98c2-b77511a70f3e\",\"name\":\"OpenAI Chat Model3\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[80,660],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"b3abb262-f334-4ef4-b8f7-a8e6e8aa3b5f\",\"name\":\"Topics\",\"type\":\"n8n-nodes-base.splitOut\",\"position\":[340,500],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"output.questions\"},\"typeVersion\":1},{\"id\":\"0bd53e7e-e1dd-47bb-86a1-e4f270c4dab3\",\"name\":\"OpenAI Chat Model1\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[700,720],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"6c05ed75-e890-4500-9804-6118adca6ee6\",\"name\":\"Format topic text & title\",\"type\":\"n8n-nodes-base.code\",\"position\":[1160,500],\"parameters\":{\"jsCode\":\"const inputItems = $input.all();\\nconst topics = [];\\nconst questions = [];\\nconst summary = $('Summarize Transcript').first().json.response.text;\\n// Format Topics\\nfor (const [index, topic] of inputItems.entries()) {\\n const title = $('Topics').all()[index].json.question\\n\\n topics.push(`\\n

    ${title}

    \\n

    ${topic.json.output}

    `.trim()\\n )\\n}\\n\\n// Format Questions\\nfor (const question of $('Extract Topics & Questions').first().json.output.questions) {\\n questions.push(`\\n

    ${question.question}

    \\n

    ${question.why}

    `.trim()\\n )\\n}\\n\\nreturn { topics, summary, questions }\"},\"typeVersion\":2},{\"id\":\"836c1897-04bd-4547-897f-d7bf5ad91762\",\"name\":\"Send Digest\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1340,500],\"webhookId\":\"8c4cf2db-e22b-46e6-b27a-c03044bd38dc\",\"parameters\":{\"sendTo\":\"oleg@n8n.io\",\"message\":\"=Greetings 👋,\\nHope you're doing well! Here's your digest for this week's episode of Philoshopy This! \\n\\n

    🎙 Episode Summary

    \\n{{ $json.summary }}\\n\\n

    💡 Topics Discussed

    \\n{{ $json.topics.join('\\\\n') }}\\n\\n

    ❓ Questions to Ponder

    \\n{{ $json.questions.join('\\\\n') }}\",\"options\":{},\"subject\":\"Podcast Digest\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"Sf5Gfl9NiFTNXFWb\",\"name\":\"Gmail account\"}},\"typeVersion\":2.1}],\"pinData\":{},\"connections\":{\"Topics\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}]]},\"AI Agent\":{\"main\":[[{\"node\":\"Format topic text & title\",\"type\":\"main\",\"index\":0}]]},\"Wikipedia\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Summarize Transcript\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"OpenAI Chat Model1\":{\"ai_languageModel\":[[{\"node\":\"AI Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"OpenAI Chat Model3\":{\"ai_languageModel\":[[{\"node\":\"Extract Topics & Questions\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Default Data Loader\":{\"ai_document\":[[{\"node\":\"Summarize Transcript\",\"type\":\"ai_document\",\"index\":0}]]},\"Summarize Transcript\":{\"main\":[[{\"node\":\"Extract Topics & Questions\",\"type\":\"main\",\"index\":0}]]},\"Format topic text & title\":{\"main\":[[{\"node\":\"Send Digest\",\"type\":\"main\",\"index\":0}]]},\"Extract Topics & Questions\":{\"main\":[[{\"node\":\"Topics\",\"type\":\"main\",\"index\":0}]]},\"Podcast Episode Transcript\":{\"main\":[[{\"node\":\"Summarize Transcript\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Podcast Episode Transcript\",\"type\":\"main\",\"index\":0}]]},\"Recursive Character Text Splitter\":{\"ai_textSplitter\":[[{\"node\":\"Default Data Loader\",\"type\":\"ai_textSplitter\",\"index\":0}]]}}}" }, { "input": "Force AI to use a specific output format", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"1116cae7-c7f3-424d-8b87-06ecbac0539f\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[1040,-260],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c01d02c0-a41b-445e-b006-8b46ad1c437d\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2000,260],\"parameters\":{\"height\":264.69900963477494,\"content\":\"### Parser which defines the output format and which gets used to validate the output\"},\"typeVersion\":1},{\"id\":\"97f977e2-eb78-4ad9-ab21-816ff94c8f0c\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1600,260],\"parameters\":{\"height\":266.9506012398238,\"content\":\"### The LLM which gets used to try to autofix the output in case it was not valid\"},\"typeVersion\":1},{\"id\":\"5325a0d4-9422-445c-bd21-3290c2b14415\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1320,-40],\"parameters\":{\"height\":245.56048099185898,\"content\":\"### The LLM to process the original prompt\"},\"typeVersion\":1},{\"id\":\"55e78fdb-1e08-4f13-be0d-7e476aced21b\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1740,-40],\"parameters\":{\"width\":348,\"height\":253,\"content\":\"### Autofixing parser which tries to fix invalid outputs with the help of an LLM\"},\"typeVersion\":1},{\"id\":\"622183c2-9d57-4e1c-a7bd-c5320ef42668\",\"name\":\"Basic LLM Chain\",\"type\":\"@n8n/n8n-nodes-langchain.chainLlm\",\"position\":[1480,-260],\"parameters\":{\"hasOutputParser\":true},\"typeVersion\":1.5},{\"id\":\"314739fe-0ab3-40a1-b192-6e09b548b92f\",\"name\":\"Prompt\",\"type\":\"n8n-nodes-base.set\",\"position\":[1260,-260],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"6f09dac7-429c-4e8f-af32-8e0112efc8c2\",\"name\":\"chatInput\",\"type\":\"string\",\"value\":\"Return the 5 largest states by area in the USA with their 3 largest cities and their population.\"}]}},\"typeVersion\":3.4},{\"id\":\"e76f5ac7-e185-46d4-aa26-971c8fe03c76\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[1400,60],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"5306e68a-cce0-4298-a50a-33727e2186c5\",\"name\":\"Auto-fixing Output Parser\",\"type\":\"@n8n/n8n-nodes-langchain.outputParserAutofixing\",\"position\":[1800,80],\"parameters\":{\"options\":{\"prompt\":\"Instructions:\\n--------------\\n{instructions}\\n--------------\\nCompletion:\\n--------------\\n{completion}\\n--------------\\n\\nAbove, the Completion did not satisfy the constraints given in the Instructions.\\nError:\\n--------------\\n{error}\\n--------------\\n\\nPlease try again. Please only respond with an answer that satisfies the constraints laid out in the Instructions:\"}},\"typeVersion\":1},{\"id\":\"d5642767-69f6-4a09-92da-195a25a17dd1\",\"name\":\"OpenAI Chat Model1\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[1680,400],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"dc708b80-8d48-40cb-9af3-692ddd566b9f\",\"name\":\"Structured Output Parser\",\"type\":\"@n8n/n8n-nodes-langchain.outputParserStructured\",\"position\":[2080,380],\"parameters\":{\"schemaType\":\"manual\",\"inputSchema\":\"{\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"state\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"cities\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"name\\\": \\\"string\\\",\\n \\\"population\\\": \\\"number\\\"\\n }\\n }\\n }\\n }\\n}\"},\"typeVersion\":1.2}],\"pinData\":{},\"connections\":{\"Prompt\":{\"main\":[[{\"node\":\"Basic LLM Chain\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Basic LLM Chain\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"OpenAI Chat Model1\":{\"ai_languageModel\":[[{\"node\":\"Auto-fixing Output Parser\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Structured Output Parser\":{\"ai_outputParser\":[[{\"node\":\"Auto-fixing Output Parser\",\"type\":\"ai_outputParser\",\"index\":0}]]},\"Auto-fixing Output Parser\":{\"ai_outputParser\":[[{\"node\":\"Basic LLM Chain\",\"type\":\"ai_outputParser\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Prompt\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "AI: Ask questions about any data source (using the n8n workflow retriever)", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"9ec28e5e-8f1a-4f18-82bb-6c51a03f83e9\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-940,500],\"parameters\":{},\"typeVersion\":1},{\"id\":\"800f3bb9-09bb-41b6-84c5-d9d7abd6c7a8\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-560,440],\"parameters\":{\"width\":363,\"height\":211.90203341144422,\"content\":\"### Q&A on data returned from a workflow\"},\"typeVersion\":1},{\"id\":\"278b573c-70cc-4439-85c0-e415bcf7c4ee\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-320,700],\"parameters\":{\"width\":262.67019427016413,\"height\":255.8330939602389,\"content\":\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nReplace \\\"Workflow ID\\\" with the ID the Subworkflow got saved as\"},\"typeVersion\":1},{\"id\":\"313d8f8b-b7d4-4aee-9725-005aa5c5a984\",\"name\":\"Edit Fields\",\"type\":\"n8n-nodes-base.set\",\"position\":[-720,500],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"a3695a2f-e0bb-4277-886d-3f301f24794b\",\"name\":\"chatInput\",\"type\":\"string\",\"value\":\"What notes can you find for Jay Gatsby and what is his email address?\"}]}},\"typeVersion\":3.4},{\"id\":\"74479c7b-3d64-4715-90e9-250560f3ea3d\",\"name\":\"Question and Answer Chain\",\"type\":\"@n8n/n8n-nodes-langchain.chainRetrievalQa\",\"position\":[-500,500],\"parameters\":{\"options\":{}},\"typeVersion\":1.4},{\"id\":\"912affaa-efea-435e-bad5-2f2ac31b7fd6\",\"name\":\"OpenAI Chat Model1\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-560,760],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"6da9d2ae-83d6-4bde-b013-71d313fcbe9b\",\"name\":\"Workflow Retriever\",\"type\":\"@n8n/n8n-nodes-langchain.retrieverWorkflow\",\"position\":[-240,760],\"parameters\":{\"workflowId\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"QacfBRBnf1xOyckC\"}},\"typeVersion\":1.1}],\"pinData\":{},\"connections\":{\"Edit Fields\":{\"main\":[[{\"node\":\"Question and Answer Chain\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model1\":{\"ai_languageModel\":[[{\"node\":\"Question and Answer Chain\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Workflow Retriever\":{\"ai_retriever\":[[{\"node\":\"Question and Answer Chain\",\"type\":\"ai_retriever\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Edit Fields\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "AI chatbot that can search the web", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"a8211c61-5ca5-4b0a-adce-b7954a387aba\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-540,900],\"parameters\":{\"width\":300,\"height\":225,\"content\":\"### The conversation history (last 20 messages) is stored in a buffer memory\"},\"typeVersion\":1},{\"id\":\"639ef27d-3e6e-4d2b-804a-5d1c95d509fc\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-200,900],\"parameters\":{\"width\":340,\"height\":225,\"content\":\"### Tools which agent can use to accomplish the task\"},\"typeVersion\":1},{\"id\":\"dcb7ade3-005c-44e3-a369-526baa5b8813\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-500,500],\"parameters\":{\"width\":422,\"height\":211,\"content\":\"### Conversational agent will utilise available tools to answer the prompt. \"},\"typeVersion\":1},{\"id\":\"2830de15-bdd2-48f4-8957-659014cd0a82\",\"name\":\"When chat message received\",\"type\":\"@n8n/n8n-nodes-langchain.chatTrigger\",\"position\":[-800,580],\"webhookId\":\"d48f9e07-3c05-4be8-86ca-5cee4c27b78f\",\"parameters\":{\"options\":{}},\"typeVersion\":1.1},{\"id\":\"bd1865fc-c37f-4b81-8ee1-83205e67e42b\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-720,1000],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"d9ee6da6-f2cd-4077-913c-9215433dfc31\",\"name\":\"Simple Memory\",\"type\":\"@n8n/n8n-nodes-langchain.memoryBufferWindow\",\"position\":[-440,1000],\"parameters\":{\"contextWindowLength\":20},\"typeVersion\":1.3},{\"id\":\"fe8ddba3-37ba-43c3-9797-021b14a1be49\",\"name\":\"SerpAPI\",\"type\":\"@n8n/n8n-nodes-langchain.toolSerpApi\",\"position\":[-140,1000],\"parameters\":{\"options\":{}},\"credentials\":{\"serpApi\":{\"id\":\"aJCKjxx6U3K7ydDe\",\"name\":\"SerpAPI account\"}},\"typeVersion\":1},{\"id\":\"f7cee7ea-6a21-4eae-a1c6-36716683a3eb\",\"name\":\"Wikipedia\",\"type\":\"@n8n/n8n-nodes-langchain.toolWikipedia\",\"position\":[0,1000],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e6f6fe48-3ad0-4bfe-a2f2-922e4c652306\",\"name\":\"AI Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[-420,580],\"parameters\":{\"options\":{}},\"typeVersion\":1.8}],\"pinData\":{},\"connections\":{\"SerpAPI\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"Wikipedia\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"Simple Memory\":{\"ai_memory\":[[{\"node\":\"AI Agent\",\"type\":\"ai_memory\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"AI Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"When chat message received\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Ask questions about a PDF using AI", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"1f2bb917-6d65-4cfa-9474-fc3b19a8c3bd\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-440,-120],\"parameters\":{\"color\":7,\"width\":918,\"height\":627,\"content\":\"### Load data into database\\nFetch file from Google Drive, split it into chunks and insert into Pinecone index\"},\"typeVersion\":1},{\"id\":\"eabbc944-5b62-4959-8ea4-879f28e19ab8\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[740,-120],\"parameters\":{\"color\":7,\"width\":534,\"height\":627,\"content\":\"### Chat with database\\nEmbed the incoming chat message and use it retrieve relevant chunks from the vector store. These are passed to the model to formulate an answer \"},\"typeVersion\":1},{\"id\":\"ab577f4d-8906-4e0c-bc62-e8a4b2610551\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-720,240],\"parameters\":{\"height\":264.61498034081166,\"content\":\"## Try me out\\n1. In Pinecone, create an index with 1536 dimensions and select it in *both* Pinecone nodes\\n2. Click 'test workflow' at the bottom of the canvas to load data into the vector store\\n3. Click 'chat' at the bottom of the canvas to ask questions about the data\"},\"typeVersion\":1},{\"id\":\"6f074b77-3441-4026-a13a-ed891a1c959b\",\"name\":\"When clicking 'Test Workflow' button\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-700,-20],\"parameters\":{},\"typeVersion\":1},{\"id\":\"0a6f8b88-9c62-4e3e-82cb-a7028bdcac45\",\"name\":\"Pinecone Vector Store\",\"type\":\"@n8n/n8n-nodes-langchain.vectorStorePinecone\",\"position\":[80,-20],\"parameters\":{\"mode\":\"insert\",\"options\":{\"clearNamespace\":true},\"pineconeIndex\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"test-index\"}},\"credentials\":{\"pineconeApi\":{\"id\":\"OHDlDbBkaPDgpnOY\",\"name\":\"PineconeApi account\"}},\"typeVersion\":1},{\"id\":\"ae426fdc-0d58-46a6-bfe6-0f25c0e70cf1\",\"name\":\"When chat message received\",\"type\":\"@n8n/n8n-nodes-langchain.chatTrigger\",\"position\":[560,-20],\"webhookId\":\"dec328cc-f47e-4727-b1c5-7370be86a958\",\"parameters\":{\"options\":{}},\"typeVersion\":1.1},{\"id\":\"9388b413-f133-45a6-8066-cf71c0fb826c\",\"name\":\"Question & Answer\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[800,-20],\"parameters\":{\"options\":{}},\"typeVersion\":1.8},{\"id\":\"c50e8f9b-8254-495e-9e13-62f42d22c9b0\",\"name\":\"Set Google Drive file URL\",\"type\":\"n8n-nodes-base.set\",\"position\":[-380,-20],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"d08ef1f5-932b-4bbb-bb02-0cbdff26a636\",\"name\":\"file_url\",\"type\":\"string\",\"value\":\"https://drive.google.com/file/d/11Koq9q53nkk0F5Y8eZgaWJUVR03I4-MM/view\"}]}},\"typeVersion\":3.4},{\"id\":\"d97920ad-6b36-4981-8b9d-9d470b5c769a\",\"name\":\"Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[-180,-20],\"parameters\":{\"fileId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"={{ $json.file_url }}\"},\"options\":{},\"operation\":\"download\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"yOwz41gMQclOadgu\",\"name\":\"Google Drive account\"}},\"typeVersion\":3},{\"id\":\"742beb54-8b89-49a3-afe5-fd7e73b37044\",\"name\":\"Default Data Loader\",\"type\":\"@n8n/n8n-nodes-langchain.documentDefaultDataLoader\",\"position\":[180,200],\"parameters\":{\"options\":{},\"dataType\":\"binary\"},\"typeVersion\":1},{\"id\":\"f75e31e9-f752-45d1-bc44-75097ec85ce6\",\"name\":\"Recursive Character Text Splitter\",\"type\":\"@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter\",\"position\":[260,320],\"parameters\":{\"options\":{},\"chunkSize\":3000,\"chunkOverlap\":200},\"typeVersion\":1},{\"id\":\"034a2b72-f728-4978-bc18-c950f0f2c24c\",\"name\":\"Embeddings OpenAI1\",\"type\":\"@n8n/n8n-nodes-langchain.embeddingsOpenAi\",\"position\":[1000,320],\"parameters\":{\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"bac883c8-4c1f-466b-b20f-d0fdf6acfc42\",\"name\":\"Embeddings OpenAI\",\"type\":\"@n8n/n8n-nodes-langchain.embeddingsOpenAi\",\"position\":[60,200],\"parameters\":{\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"7b6cdba3-906b-44dd-85be-1d515337972b\",\"name\":\"Pinecone Vector Store1\",\"type\":\"@n8n/n8n-nodes-langchain.vectorStorePinecone\",\"position\":[920,200],\"parameters\":{\"mode\":\"retrieve-as-tool\",\"options\":{},\"toolName\":\"bitcoin_paper\",\"pineconeIndex\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"test-index\"},\"toolDescription\":\"Call this tool to retrieve facts from the bitcoin whitepaper\",\"includeDocumentMetadata\":false},\"credentials\":{\"pineconeApi\":{\"id\":\"OHDlDbBkaPDgpnOY\",\"name\":\"PineconeApi account\"}},\"typeVersion\":1},{\"id\":\"cf9d18a9-4c1e-4a67-8149-961b3eee374d\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[800,200],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2}],\"pinData\":{},\"connections\":{\"Google Drive\":{\"main\":[[{\"node\":\"Pinecone Vector Store\",\"type\":\"main\",\"index\":0}]]},\"Embeddings OpenAI\":{\"ai_embedding\":[[{\"node\":\"Pinecone Vector Store\",\"type\":\"ai_embedding\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Question & Answer\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Embeddings OpenAI1\":{\"ai_embedding\":[[{\"node\":\"Pinecone Vector Store1\",\"type\":\"ai_embedding\",\"index\":0}]]},\"Default Data Loader\":{\"ai_document\":[[{\"node\":\"Pinecone Vector Store\",\"type\":\"ai_document\",\"index\":0}]]},\"Pinecone Vector Store1\":{\"ai_tool\":[[{\"node\":\"Question & Answer\",\"type\":\"ai_tool\",\"index\":0}]]},\"Set Google Drive file URL\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]},\"When chat message received\":{\"main\":[[{\"node\":\"Question & Answer\",\"type\":\"main\",\"index\":0}]]},\"Recursive Character Text Splitter\":{\"ai_textSplitter\":[[{\"node\":\"Default Data Loader\",\"type\":\"ai_textSplitter\",\"index\":0}]]},\"When clicking 'Test Workflow' button\":{\"main\":[[{\"node\":\"Set Google Drive file URL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Slack chatbot powered by AI", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"12786b19-159f-45b0-8d15-d88de73c17e9\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1540,660],\"parameters\":{\"width\":483,\"height\":345,\"content\":\"### Slack POSTs to Webhook on every message so we need to filter-out bot messages\"},\"typeVersion\":1},{\"id\":\"3949be41-98b7-4414-84fd-819f4fccca35\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-400,1080],\"parameters\":{\"width\":293,\"height\":228,\"content\":\"### Tools which Agent can use to accomplish the task\\n\"},\"typeVersion\":1},{\"id\":\"76ce81d8-33e2-470a-9313-dd888acabed0\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-720,1080],\"parameters\":{\"width\":288,\"height\":233,\"content\":\"### Conversation history is stored in memory using channel id as key\"},\"typeVersion\":1},{\"id\":\"3682ffd3-7002-466a-bedf-9897067586c0\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1000,1080],\"parameters\":{\"width\":260,\"height\":233,\"content\":\"### The chat LM to process the prompt\"},\"typeVersion\":1},{\"id\":\"92865916-e814-49d4-baaa-4122c1447c23\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-280,640],\"parameters\":{\"width\":280,\"height\":243,\"content\":\"### Send agent's output as Slack message\\n\"},\"typeVersion\":1},{\"id\":\"edeab2bb-8177-42c7-bcf4-f8d99e193729\",\"name\":\"AI Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[-820,740],\"parameters\":{\"text\":\"={{ $json.body.event.text }}\",\"options\":{\"systemMessage\":\"You are Gilfoyle from Silicon Valley TV show. Amplify your bluntness and cynicism, tolerating zero incompetence. Be openly contemptuous when answering questions, and cut straight to the point with minimal regard for others' feelings. Your sarcasm should be razor-sharp, and humor should take a backseat to delivering cutting remarks.\\\\nDo your best to answer the questions. Feel free to use any tools available to look up relevant information, only if necessary. \"},\"promptType\":\"define\"},\"typeVersion\":1.8},{\"id\":\"275f8192-6da6-41b0-b892-c779f5d136e4\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[-920,1180],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"776ce632-5c62-4ac6-a494-e23ef650ac48\",\"name\":\"Simple Memory\",\"type\":\"@n8n/n8n-nodes-langchain.memoryBufferWindow\",\"position\":[-620,1180],\"parameters\":{\"sessionKey\":\"={{ $('Webhook').first().json.body.event.channel }}__gilfoyle\",\"sessionIdType\":\"customKey\",\"contextWindowLength\":30},\"typeVersion\":1.3},{\"id\":\"97989831-3fc6-4954-ac55-8e0950081b7a\",\"name\":\"Is user message?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1480,740],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"version\":2,\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"1def7344-ce55-450d-a85a-468f746fe31f\",\"operator\":{\"type\":\"string\",\"operation\":\"notExists\",\"singleValue\":true},\"leftValue\":\"={{ $json.body.event.bot_id }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2.2},{\"id\":\"afa6b192-1e25-46b6-8fdc-81dff9a37e74\",\"name\":\"No Operation, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[-1280,820],\"parameters\":{},\"typeVersion\":1},{\"id\":\"eab68a99-cdd6-4ea1-8d6f-053c2a96303c\",\"name\":\"SerpAPI\",\"type\":\"@n8n/n8n-nodes-langchain.toolSerpApi\",\"position\":[-360,1180],\"parameters\":{\"options\":{}},\"credentials\":{\"serpApi\":{\"id\":\"aJCKjxx6U3K7ydDe\",\"name\":\"SerpAPI account\"}},\"typeVersion\":1},{\"id\":\"717117f5-5f34-4189-b92a-df2155e367ac\",\"name\":\"Wikipedia\",\"type\":\"@n8n/n8n-nodes-langchain.toolWikipedia\",\"position\":[-220,1180],\"parameters\":{},\"typeVersion\":1},{\"id\":\"1914f623-66c0-4547-bf3e-b4932d0c2a9b\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[-200,720],\"webhookId\":\"e0f8b8ad-7126-487c-88e2-b624dfd16678\",\"parameters\":{\"text\":\"={{ $json.output }}\",\"user\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $('Webhook').first().json.body.event.user }}\"},\"select\":\"user\",\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"VfK3js0YdqBdQLGP\",\"name\":\"Slack account\"}},\"typeVersion\":2.3},{\"id\":\"4a7ec607-1706-4357-aa89-4c44faa98fb8\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-1780,740],\"webhookId\":\"db3bf3da-b9b7-4823-8c5d-14f5de0272da\",\"parameters\":{\"path\":\"slack-gilfoyle\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":2}],\"pinData\":{},\"connections\":{\"SerpAPI\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Is user message?\",\"type\":\"main\",\"index\":0}]]},\"AI Agent\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Wikipedia\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"Simple Memory\":{\"ai_memory\":[[{\"node\":\"AI Agent\",\"type\":\"ai_memory\",\"index\":0}]]},\"Is user message?\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No Operation, do nothing\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"AI Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]}}}" }, { "input": "Load and summarize Google Drive files with AI", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"96d41f6a-3534-4286-a514-c39fa3100897\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-40,520],\"parameters\":{},\"typeVersion\":1},{\"id\":\"8fc1ced3-3007-4a18-9619-b7c72589d784\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[360,740],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"e12e4360-50e6-421a-ba95-8474fb06448c\",\"name\":\"Default Data Loader\",\"type\":\"@n8n/n8n-nodes-langchain.documentDefaultDataLoader\",\"position\":[540,740],\"parameters\":{\"options\":{},\"dataType\":\"binary\"},\"typeVersion\":1},{\"id\":\"244ed66f-1dde-4a56-90ec-cb31644f3d5a\",\"name\":\"Token Splitter1\",\"type\":\"@n8n/n8n-nodes-langchain.textSplitterTokenSplitter\",\"position\":[620,880],\"parameters\":{\"chunkSize\":3000},\"typeVersion\":1},{\"id\":\"7a2b2f4c-8153-4cac-9bb2-45c46f28f8a5\",\"name\":\"Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[180,520],\"parameters\":{\"fileId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://drive.google.com/file/d/11Koq9q53nkk0F5Y8eZgaWJUVR03I4-MM/view\"},\"options\":{},\"operation\":\"download\"},\"credentials\":{\"googleDriveOAuth2Api\":{\"id\":\"yOwz41gMQclOadgu\",\"name\":\"Google Drive account\"}},\"typeVersion\":3},{\"id\":\"e803a016-a9e7-4af2-bca2-05f9243196b2\",\"name\":\"Summarization Chain\",\"type\":\"@n8n/n8n-nodes-langchain.chainSummarization\",\"position\":[400,520],\"parameters\":{\"options\":{},\"operationMode\":\"documentLoader\"},\"typeVersion\":2}],\"pinData\":{},\"connections\":{\"Google Drive\":{\"main\":[[{\"node\":\"Summarization Chain\",\"type\":\"main\",\"index\":0}]]},\"Token Splitter1\":{\"ai_textSplitter\":[[{\"node\":\"Default Data Loader\",\"type\":\"ai_textSplitter\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"Summarization Chain\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Default Data Loader\":{\"ai_document\":[[{\"node\":\"Summarization Chain\",\"type\":\"ai_document\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "AI: Conversational agent with custom tool written in JavaScript ", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"912b279c-30e5-4991-92ab-040fc1e89c7a\",\"name\":\"When clicking ‘Test workflow’\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-60,0],\"parameters\":{},\"typeVersion\":1},{\"id\":\"749d8762-d213-4dd3-b404-4c6518fcd28f\",\"name\":\"When chat message received\",\"type\":\"@n8n/n8n-nodes-langchain.chatTrigger\",\"position\":[-60,200],\"webhookId\":\"c2e664e6-645f-422a-99d3-cf0f4c53c345\",\"parameters\":{\"options\":{}},\"typeVersion\":1.1},{\"id\":\"1eeff044-b914-40f7-8d37-8b69007862cd\",\"name\":\"AI Agent\",\"type\":\"@n8n/n8n-nodes-langchain.agent\",\"position\":[460,0],\"parameters\":{\"text\":\"={{ $json.chatInput }}\",\"options\":{},\"promptType\":\"define\"},\"typeVersion\":1.8},{\"id\":\"ac34f7f0-d1dc-4ffb-8f49-6ddc925e97bc\",\"name\":\"Debug Input\",\"type\":\"n8n-nodes-base.set\",\"position\":[160,0],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"25d97d59-b0cf-46ae-916d-18059b3d6847\",\"name\":\"chatInput\",\"type\":\"string\",\"value\":\"Return a random color but not green or blue\"}]}},\"typeVersion\":3.4},{\"id\":\"a410a0a5-1ea1-4ade-a32c-8f6fd959bae8\",\"name\":\"OpenAI Chat Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[440,200],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"923b1597-2e9c-4c38-b3bb-7d6dffb52e4a\",\"name\":\"Code Tool\",\"type\":\"@n8n/n8n-nodes-langchain.toolCode\",\"position\":[660,200],\"parameters\":{\"name\":\"my_color_selector\",\"jsCode\":\"const colors = [\\n 'red',\\n 'green',\\n 'blue',\\n 'yellow',\\n 'pink',\\n 'white',\\n 'black',\\n 'orange',\\n 'brown',\\n];\\n\\nconst ignoreColors = query.split(',').map((text) => text.trim());\\n\\n// remove all the colors that should be ignored\\nconst availableColors = colors.filter((color) => {\\n return !ignoreColors.includes(color);\\n});\\n\\n// Select a random color\\nreturn availableColors[Math.floor(Math.random() * availableColors.length)];\\n\",\"description\":\"Call this tool to get a random color. The input should be a string with comma-separated names of colors to exclude.\"},\"typeVersion\":1.1}],\"pinData\":{},\"connections\":{\"Code Tool\":{\"ai_tool\":[[{\"node\":\"AI Agent\",\"type\":\"ai_tool\",\"index\":0}]]},\"Debug Input\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model\":{\"ai_languageModel\":[[{\"node\":\"AI Agent\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"When chat message received\":{\"main\":[[{\"node\":\"AI Agent\",\"type\":\"main\",\"index\":0}]]},\"When clicking ‘Test workflow’\":{\"main\":[[{\"node\":\"Debug Input\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync Google Sheets data with MySQL", "output": "{\"id\":\"VtiRiIGkdeUhyh0N\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"GoogleSheets MySQL Integration\",\"tags\":[],\"nodes\":[{\"id\":\"ec43f0df-338b-462f-9195-b20024e83ba1\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[720,500],\"parameters\":{},\"typeVersion\":1},{\"id\":\"e9fd1af3-dcf8-4442-958d-cb8390c85263\",\"name\":\"Compare Datasets\",\"type\":\"n8n-nodes-base.compareDatasets\",\"position\":[1380,380],\"parameters\":{\"options\":{\"skipFields\":\"record_created,record_updated,id\"},\"mergeByFields\":{\"values\":[{\"field1\":\"timestamp\",\"field2\":\"timestamp\"},{\"field1\":\"source_name\",\"field2\":\"source_name\"}]}},\"typeVersion\":2.3},{\"id\":\"5b14d739-9037-48a8-9990-5b8ac3318b1c\",\"name\":\"Send Notifications\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1840,260],\"parameters\":{},\"typeVersion\":1},{\"id\":\"10ff3339-9091-4ea2-be4e-12a91208e27d\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[720,200],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"cronExpression\",\"expression\":\"*/30 6-22 * * 1-5\"}]}},\"typeVersion\":1.1},{\"id\":\"dcf6838f-0d58-4438-875b-94caac45cb65\",\"name\":\"Google Sheet Data\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[940,200],\"parameters\":{\"options\":{\"returnAllMatches\":\"returnAllMatches\"},\"filtersUI\":{\"values\":[{\"lookupColumn\":\"DB Status\"}]},\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":263642066,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1KCSKt9bKrFSWGRTTfj-JIVl-u7gcLMbFTCSvZbUMiuo/edit#gid=263642066\",\"cachedResultName\":\"Form Responses 1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1KCSKt9bKrFSWGRTTfj-JIVl-u7gcLMbFTCSvZbUMiuo\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"RtRiRezoxiWkzZQt\",\"name\":\"Google Sheets account 3\"}},\"typeVersion\":4},{\"id\":\"6044469f-9000-4e47-a2d9-920371677a82\",\"name\":\"SQL Get inquiries from Google\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[940,500],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"ConcertInquiries\",\"cachedResultName\":\"ConcertInquiries\"},\"where\":{\"values\":[{\"value\":\"GoogleForm\",\"column\":\"source_name\"}]},\"options\":{},\"operation\":\"select\",\"returnAll\":true},\"credentials\":{\"mySql\":{\"id\":\"ICakJ1LRuVl4dRTs\",\"name\":\"db4free TTT account\"}},\"typeVersion\":2.2},{\"id\":\"f65aad46-93ce-44e6-b7b9-8c177516cf18\",\"name\":\"Add MySQL records\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1620,80],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"ConcertInquiries\",\"cachedResultName\":\"ConcertInquiries\"},\"options\":{},\"operation\":\"upsert\",\"columnToMatchOn\":\"timestamp\"},\"credentials\":{\"mySql\":{\"id\":\"ICakJ1LRuVl4dRTs\",\"name\":\"db4free TTT account\"}},\"typeVersion\":2.2},{\"id\":\"6b3d9971-f37c-4721-8134-f60bdf1a03da\",\"name\":\"Rename GSheet variables\",\"type\":\"n8n-nodes-base.set\",\"position\":[1160,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"timestamp\",\"value\":\"={{ $json.Timestamp }}\"},{\"name\":\"occasion\",\"value\":\"={{ $json[\\\"What event are you organizing? \\\"] }}\"},{\"name\":\"email_address\",\"value\":\"={{ $json[\\\"Email Address\\\"] }}\"},{\"name\":\"event_date\",\"value\":\"={{ DateTime.fromFormat($json[\\\"When does the event take place? \\\"], 'M/d/yyyy').toFormat('yyyy-MM-dd') }}\"},{\"name\":\"location\",\"value\":\"={{ $json[\\\"Where does the event take place? \\\"] }}\"},{\"name\":\"event_description\",\"value\":\"={{ $json[\\\"Please tell us more about the event. \\\"] }}\"},{\"name\":\"source_name\",\"value\":\"GoogleForm\"},{\"name\":\"db_status\",\"value\":\"={{ $json[\\\"DB Status\\\"] }}\"},{\"name\":\"name\",\"value\":\"={{ $json[\\\"Your name \\\"] }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"04f067be-8d7d-48bd-9a3d-d881d6dd3464\",\"name\":\"No reply too long?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1620,280],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{ DateTime.fromFormat($json.timestamp, 'MM/d/yyyy HH:mm:ss'); }}\",\"value2\":\"={{ DateTime.now().minus({ hours: 4 }) }}\",\"operation\":\"before\"}]}},\"typeVersion\":1},{\"id\":\"2f287a7b-eda2-4d05-9864-ba66bddaf14d\",\"name\":\"DB Status assigned?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1620,480],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.different.db_status.inputB }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"cb10201c-5fcc-41f2-94ac-a52cdbe96e58\",\"name\":\"Update GSheet status\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1840,460],\"parameters\":{\"columns\":{\"value\":{\"DB Status\":\"={{ $json.different.db_status.inputB }}\",\"Timestamp\":\"={{ $json.keys.timestamp }}\"},\"schema\":[{\"id\":\"Timestamp\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"Timestamp\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Email Address\",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"Email Address\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Your name \",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"Your name \",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"What event are you organizing? \",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"What event are you organizing? \",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"When does the event take place? \",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"When does the event take place? \",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Where does the event take place? \",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"Where does the event take place? \",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Please tell us more about the event. \",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"Please tell us more about the event. \",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"DB Status\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"DB Status\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"defineBelow\",\"matchingColumns\":[\"Timestamp\"]},\"options\":{},\"operation\":\"update\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":263642066,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1KCSKt9bKrFSWGRTTfj-JIVl-u7gcLMbFTCSvZbUMiuo/edit#gid=263642066\",\"cachedResultName\":\"Form Responses 1\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/1KCSKt9bKrFSWGRTTfj-JIVl-u7gcLMbFTCSvZbUMiuo\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"RtRiRezoxiWkzZQt\",\"name\":\"Google Sheets account 3\"}},\"typeVersion\":4},{\"id\":\"178fe745-b026-4c7f-9104-6756ba2d7d7d\",\"name\":\"DB Status in sync?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1620,680],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.source_name }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"6b92bfaf-65f1-441d-a0fc-51e448380520\",\"name\":\"Sync MySQL data\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1840,660],\"parameters\":{\"table\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"ConcertInquiries\",\"cachedResultName\":\"ConcertInquiries\"},\"options\":{},\"dataMode\":\"defineBelow\",\"operation\":\"update\",\"valuesToSend\":{\"values\":[{\"value\":\"={{ $json.source_name }}Sync\",\"column\":\"source_name\"}]},\"valueToMatchOn\":\"={{ $json.id }}\",\"columnToMatchOn\":\"id\"},\"credentials\":{\"mySql\":{\"id\":\"ICakJ1LRuVl4dRTs\",\"name\":\"db4free TTT account\"}},\"typeVersion\":2.2},{\"id\":\"3c95f764-e91c-4418-98c9-c18939486b01\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[903,-115.08597285067867],\"parameters\":{\"width\":376.8778280542988,\"height\":474.81900452488685,\"content\":\"## Create a new Google Form with several variables:\\n\\n-Email Address\\n-Your name \\n-What event are you organizing? \\n-When does the event take place? \\n-Where does the event take place? \\n-Please tell us more about the event. \\n\\n- Timestamp variable is added automatically\\n- Add \\\"DB Status\\\" manually in the Google Sheet\\n\"},\"typeVersion\":1},{\"id\":\"0a5aa6c9-5312-4716-bd63-71534cdccbf1\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[900,394],\"parameters\":{\"width\":375.6334841628956,\"height\":273.23529411764684,\"content\":\"### Import this SQL file to create a new table\\nhttps://gist.github.com/teds-tech-talks/cf25c60363cba082b9c5a1feca10180f\"},\"typeVersion\":1}],\"active\":true,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"69bdc2a6-346a-4c2e-82fd-9b7fd54b6f36\",\"connections\":{\"Compare Datasets\":{\"main\":[[{\"node\":\"Add MySQL records\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No reply too long?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"DB Status assigned?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"DB Status in sync?\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Google Sheet Data\",\"type\":\"main\",\"index\":0},{\"node\":\"SQL Get inquiries from Google\",\"type\":\"main\",\"index\":0}]]},\"Google Sheet Data\":{\"main\":[[{\"node\":\"Rename GSheet variables\",\"type\":\"main\",\"index\":0}]]},\"DB Status in sync?\":{\"main\":[[{\"node\":\"Sync MySQL data\",\"type\":\"main\",\"index\":0}]]},\"No reply too long?\":{\"main\":[[{\"node\":\"Send Notifications\",\"type\":\"main\",\"index\":0}]]},\"DB Status assigned?\":{\"main\":[[{\"node\":\"Update GSheet status\",\"type\":\"main\",\"index\":0}]]},\"Rename GSheet variables\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":0}]]},\"SQL Get inquiries from Google\":{\"main\":[[{\"node\":\"Compare Datasets\",\"type\":\"main\",\"index\":1}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Google Sheet Data\",\"type\":\"main\",\"index\":0},{\"node\":\"SQL Get inquiries from Google\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "itemMatching() usage example", "output": "{\"id\":\"gkOayLvJnwcTiHbk\",\"meta\":{\"instanceId\":\"bd0e051174def82b88b5cd547222662900558d74b239c4048ea0f6b7ed61c642\"},\"name\":\"itemMatching() example\",\"tags\":[],\"nodes\":[{\"id\":\"ba0e23f6-aec6-4c22-8e7c-ab4fc65c7767\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[640,500],\"parameters\":{},\"typeVersion\":1},{\"id\":\"8434c3b4-5b80-48e5-803b-b84eb750b2c5\",\"name\":\"Customer Datastore (n8n training)\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[880,500],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"id\":\"4750754a-92a6-44d2-a353-22fbb51a4d00\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[1440,500],\"parameters\":{\"language\":\"python\",\"pythonCode\":\"for i,item in enumerate(_input.all()):\\n _input.all()[i].json.restoreEmail = _('Customer Datastore (n8n training)').itemMatching(i).json.email\\n\\nreturn _input.all();\"},\"typeVersion\":2},{\"id\":\"9ac437bd-0d0d-4d92-845a-a1c9a7976d4d\",\"name\":\"Edit Fields\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,500],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"name\",\"stringValue\":\"={{ $json.name }}\"}]},\"include\":\"none\",\"options\":{}},\"typeVersion\":3.2},{\"id\":\"d59c512c-2dca-4960-b287-b4908713b0a3\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[820,400],\"parameters\":{\"height\":304,\"content\":\"## Generate example data\"},\"typeVersion\":1},{\"id\":\"fad37032-13cc-461e-b48e-a2f470d07823\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1100,398],\"parameters\":{\"height\":303,\"content\":\"## Reduce the data\\n\\nRemove all data except the names\"},\"typeVersion\":1},{\"id\":\"d0751fce-d9f0-40bf-aeb2-9dbc5d0e9bdb\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1380,400],\"parameters\":{\"height\":304,\"content\":\"## Restore\\n\\nRestore the email address data\"},\"typeVersion\":1},{\"id\":\"2b1a67e9-60d6-411e-8ae7-94b02da6be34\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[430,220],\"parameters\":{\"width\":352,\"height\":264,\"content\":\"## About this workflow\\n\\nThis workflow provides a simple example of how to use `itemMatching(itemIndex: Number)` in the Code node to retrieve linked items from earlier in the workflow.\\n\\nThis example uses JavaScript. Refer to [Retrieve linked items from earlier in the workflow](https://docs.n8n.io/code/cookbook/builtin/itemmatching/) for the Python code.\\n\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"02e18c8e-1bec-4170-a2d0-72ec6e063273\",\"connections\":{\"Edit Fields\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Customer Datastore (n8n training)\",\"type\":\"main\",\"index\":0}]]},\"Customer Datastore (n8n training)\":{\"main\":[[{\"node\":\"Edit Fields\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Prepare CSV files with GPT-4", "output": "{\"id\":\"6FSx5OMVxp8Ldg8A\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"Prepare CSV files with GPT-4\",\"tags\":[],\"nodes\":[{\"id\":\"5b43e57d-1fe1-4ea6-bf3d-661f7e5fc4b0\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[960,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"291466e8-1592-4080-a675-5e9f486d0d05\",\"name\":\"OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1160,240],\"parameters\":{\"model\":\"gpt-4\",\"prompt\":{\"messages\":[{\"content\":\"=please create a list of 10 random users. Return back ONLY a JSON array. Character names of famous fiction characters. Make Names and Surnames start with the same letter. Name and Surname can be from different characters. If subscribed is false then make date_subscribed empty. If date_subscribed is not empty then make it random and no later then 2023-10-01. Make JSON in a single line, avoid line breaks. Here's an example: [{\\\"user_name\\\": \\\"Jack Jones\\\", \\\"user_email\\\":\\\"jackjo@yahoo.com\\\",\\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-10-01\\\" },{\\\"user_name\\\": \\\"Martin Moor\\\", \\\"user_email\\\":\\\"mmoor@gmail.com\\\",\\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\" }]\"}]},\"options\":{\"n\":3,\"maxTokens\":2500,\"temperature\":1},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"63\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"edd5bed7-a8a1-4298-b026-3b0061c5064a\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1340,240],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"f0e414e6-741a-42db-86eb-ba95e220f9ef\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[940,80],\"parameters\":{\"width\":600,\"height\":126,\"content\":\"## This is a helper workflow to create 3 CSV files\\n### Feel free to adapt as needed\\n### Some mock data from GPT is pinned for convenience\"},\"typeVersion\":1},{\"id\":\"f1c2891f-5110-423c-9fb4-37e0a0d0f750\",\"name\":\"Parse JSON\",\"type\":\"n8n-nodes-base.set\",\"position\":[1520,240],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"content\",\"type\":\"arrayValue\",\"arrayValue\":\"={{JSON.parse($json.message.content)}}\"}]},\"include\":\"none\",\"options\":{}},\"typeVersion\":3},{\"id\":\"ce59d3e1-3916-48ad-a811-fa19ad66284a\",\"name\":\"Make JSON Table\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1700,240],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"content\"},\"typeVersion\":3},{\"id\":\"8b1fda14-6593-4cc2-ab74-483b7aa4d84a\",\"name\":\"Convert to CSV\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1880,240],\"parameters\":{\"options\":{\"fileName\":\"=funny_names_{{ $('Split In Batches').item.json.index+1 }}.{{ $parameter[\\\"fileFormat\\\"] }}\",\"headerRow\":true},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":2},{\"id\":\"d2a621e0-88df-4642-91ab-772f062c8682\",\"name\":\"Save to Disk\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[2420,240],\"parameters\":{\"options\":{},\"fileName\":\"=./.n8n/{{ $binary.data.fileName }}\"},\"typeVersion\":1},{\"id\":\"20f60bb0-0527-44c4-85d5-a95c20670893\",\"name\":\"Strip UTF BOM bytes\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[2060,240],\"parameters\":{\"options\":{\"encoding\":\"utf8\",\"stripBOM\":true,\"jsonParse\":false,\"keepSource\":false},\"setAllData\":false},\"typeVersion\":1},{\"id\":\"bda91493-df5d-4b8c-b739-abca6045faf9\",\"name\":\"Create valid binary\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[2240,240],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"addBOM\":false,\"encoding\":\"utf8\",\"fileName\":\"=funny_names_{{ $('Split In Batches').item.json.index+1 }}.{{ $('Convert to CSV').first().binary.data.fileExtension }}\",\"mimeType\":\"text/csv\",\"keepSource\":false,\"useRawData\":true},\"convertAllData\":false},\"typeVersion\":1},{\"id\":\"e1b54e0d-56a5-43e7-82b4-aaead2875a9d\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2007,140],\"parameters\":{\"width\":394,\"height\":254,\"content\":\"### These 2 nodes fix an issue with BOM bytes in the beginning of the file.\\nWithout them reading the CSV file back becomes tricky\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"OpenAI\":[{\"json\":{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"[{\\\"user_name\\\": \\\"Harry Holmes\\\", \\\"user_email\\\": \\\"harryholmes@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\": \\\"2022-08-15\\\"}, {\\\"user_name\\\": \\\"Frodo Fawkes\\\", \\\"user_email\\\": \\\"frodo.fawks01@gmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\": \\\"\\\"}, {\\\"user_name\\\": \\\"Luke Longbottom\\\", \\\"user_email\\\": \\\"lukeLongbottom@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\": \\\"2023-09-25\\\"}, {\\\"user_name\\\": \\\"Perry Potter\\\", \\\"user_email\\\": \\\"perry_potter@yahoo.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\": \\\"\\\"}, {\\\"user_name\\\": \\\"James Joyce\\\", \\\"user_email\\\": \\\"jjoyce@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\": \\\"2023-06-12\\\"}, {\\\"user_name\\\": \\\"Bilbo Baggins\\\", \\\"user_email\\\": \\\"bilbobaggins@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\": \\\"2023-03-12\\\"}, {\\\"user_name\\\": \\\"Tom Tompkins\\\", \\\"user_email\\\": \\\"tompkins.tom@outlook.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\": \\\"\\\"}, {\\\"user_name\\\": \\\"Ronald Reagan\\\", \\\"user_email\\\": \\\"ronald.reagan@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\": \\\"2023-01-05\\\"}, {\\\"user_name\\\": \\\"Mary Morstan\\\", \\\"user_email\\\": \\\"maryMorstan@gmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\": \\\"\\\"}, {\\\"user_name\\\": \\\"Arthur Arthur\\\", \\\"user_email\\\": \\\"arthur.arthur@aol.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\": \\\"2023-04-17\\\"}]\"},\"finish_reason\":\"stop\"},\"pairedItem\":{\"item\":0}},{\"json\":{\"index\":1,\"message\":{\"role\":\"assistant\",\"content\":\"[{\\\"user_name\\\": \\\"Harry Holmes\\\", \\\"user_email\\\":\\\"hholmes@email.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2021-12-15\\\"}, {\\\"user_name\\\": \\\"James Jasper\\\", \\\"user_email\\\":\\\"jjasper@yahoo.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Frodo Fenton\\\", \\\"user_email\\\":\\\"frodonot@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2022-07-09\\\"}, {\\\"user_name\\\": \\\"Katniss Kennedy\\\", \\\"user_email\\\":\\\"kennedy@hotmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Bilbo Brandy\\\", \\\"user_email\\\":\\\"bbrandy@gmail.net\\\",\\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2022-02-20\\\"}, {\\\"user_name\\\": \\\"Percy Pepper\\\", \\\"user_email\\\":\\\"percy@gmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Samwise Sprint\\\", \\\"user_email\\\":\\\"ssprint@outlook.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2021-06-01\\\"}, {\\\"user_name\\\": \\\"Gandalf Gatsby\\\", \\\"user_email\\\":\\\"gandalfg@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-01-22\\\"}, {\\\"user_name\\\": \\\"Dumbledore Dane\\\", \\\"user_email\\\":\\\"ddane@gmail.com\\\",\\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Tommy Torrance\\\", \\\"user_email\\\":\\\"ttorrance@hotmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-08-15\\\"}]\"},\"finish_reason\":\"stop\"},\"pairedItem\":{\"item\":0}},{\"json\":{\"index\":2,\"message\":{\"role\":\"assistant\",\"content\":\"[{\\\"user_name\\\": \\\"Harry Holmes\\\", \\\"user_email\\\":\\\"harryholmes@hotmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-01-09\\\"}, {\\\"user_name\\\": \\\"Sam Spade\\\", \\\"user_email\\\":\\\"samspade@gmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Tom Sawyer\\\", \\\"user_email\\\":\\\"tomsawyer@yahoo.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2022-12-12\\\"}, {\\\"user_name\\\": \\\"Frodo Fawkes\\\", \\\"user_email\\\":\\\"frodofawkes@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-09-30\\\"}, {\\\"user_name\\\": \\\"Bruce Bond\\\", \\\"user_email\\\":\\\"brucebond@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-08-15\\\"}, {\\\"user_name\\\": \\\"Peter Pan\\\", \\\"user_email\\\":\\\"peterpan@gmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Hermione Holmes\\\", \\\"user_email\\\":\\\"hermioneholmes@yahoo.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-02-21\\\"}, {\\\"user_name\\\": \\\"Walter White\\\", \\\"user_email\\\":\\\"walterwhite@hotmail.com\\\", \\\"subscribed\\\": false, \\\"date_subscribed\\\":\\\"\\\"}, {\\\"user_name\\\": \\\"Tony Twist\\\", \\\"user_email\\\":\\\"tonytwist@gmail.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-04-27\\\"}, {\\\"user_name\\\": \\\"Ron Ranger\\\", \\\"user_email\\\":\\\"ronranger@yahoo.com\\\", \\\"subscribed\\\": true, \\\"date_subscribed\\\":\\\"2023-07-13\\\"}]\"},\"finish_reason\":\"stop\"},\"pairedItem\":{\"item\":0}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"91f77342-1d0f-4033-b09a-3e3c8791107e\",\"connections\":{\"OpenAI\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Parse JSON\":{\"main\":[[{\"node\":\"Make JSON Table\",\"type\":\"main\",\"index\":0}]]},\"Save to Disk\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Convert to CSV\":{\"main\":[[{\"node\":\"Strip UTF BOM bytes\",\"type\":\"main\",\"index\":0}]]},\"Make JSON Table\":{\"main\":[[{\"node\":\"Convert to CSV\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"Parse JSON\",\"type\":\"main\",\"index\":0}]]},\"Create valid binary\":{\"main\":[[{\"node\":\"Save to Disk\",\"type\":\"main\",\"index\":0}]]},\"Strip UTF BOM bytes\":{\"main\":[[{\"node\":\"Create valid binary\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"OpenAI\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import multiple CSV to Google Sheets", "output": "{\"id\":\"zic2ZEHvxHR4UAYI\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"Import multiple CSV to GoogleSheet\",\"tags\":[],\"nodes\":[{\"id\":\"cd5adfcc-5b92-4a75-8e78-c2c1218d946a\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[920,380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"17305629-bb19-4b55-964e-689ab5f4d557\",\"name\":\"Read Binary Files\",\"type\":\"n8n-nodes-base.readBinaryFiles\",\"position\":[1120,380],\"parameters\":{\"fileSelector\":\"=./.n8n/*.csv\"},\"typeVersion\":1},{\"id\":\"d3055f63-67fa-4dcd-886d-fe6f56fb7058\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1320,380],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"597e9b14-1a8c-4fbb-b5df-c965db1e0e16\",\"name\":\"Read CSV\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1520,360],\"parameters\":{\"options\":{\"rawData\":true,\"headerRow\":true,\"readAsString\":true,\"includeEmptyCells\":false},\"fileFormat\":\"csv\"},\"typeVersion\":2},{\"id\":\"90d5ccac-f2a3-42b6-8fa3-d05450ffa67b\",\"name\":\"Remove duplicates\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1520,600],\"parameters\":{\"compare\":\"selectedFields\",\"options\":{},\"operation\":\"removeDuplicates\",\"fieldsToCompare\":\"user_name\"},\"typeVersion\":3},{\"id\":\"2bddcd85-1c99-41ec-8e16-ab75631c3fb9\",\"name\":\"Keep only subscribers\",\"type\":\"n8n-nodes-base.filter\",\"position\":[1720,600],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.subscribed }}\",\"value2\":\"TRUE\"}]}},\"typeVersion\":1},{\"id\":\"4ac13e9d-8523-4ff3-b778-1d9f0dc744e3\",\"name\":\"Sort by date\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1920,600],\"parameters\":{\"options\":{},\"operation\":\"sort\",\"sortFieldsUi\":{\"sortField\":[{\"fieldName\":\"date_subscribed\"}]}},\"typeVersion\":3},{\"id\":\"862a7ded-0199-48bb-8183-10f9ae06724b\",\"name\":\"Upload to spreadsheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2120,600],\"parameters\":{\"columns\":{\"value\":{},\"schema\":[{\"id\":\"user_name\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"user_name\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"user_email\",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"user_email\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"subscribed\",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"subscribed\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"date_subscribed\",\"type\":\"string\",\"display\":true,\"removed\":true,\"required\":false,\"displayName\":\"date_subscribed\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"autoMapInputData\",\"matchingColumns\":[\"user_name\"]},\"options\":{},\"operation\":\"appendOrUpdate\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":2042396108,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13YYuEJ1cDf-t8P2MSTFWnnNHCreQ6Zo8oPSp7WeNnbY/edit#gid=2042396108\",\"cachedResultName\":\"n8n-sheet\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/13YYuEJ1cDf-t8P2MSTFWnnNHCreQ6Zo8oPSp7WeNnbY\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"54\",\"name\":\"Google Sheets account\"}},\"typeVersion\":4},{\"id\":\"95b499b4-024d-49a5-887f-f2f74bd1b9a1\",\"name\":\"Assign source file name\",\"type\":\"n8n-nodes-base.set\",\"position\":[1720,360],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"Source\",\"stringValue\":\"={{ $('Split In Batches').item.binary.data.fileName }}\"}]},\"options\":{}},\"typeVersion\":3}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"a6ccb0b8-04bd-407d-b5ca-010c68bb2128\",\"connections\":{\"Read CSV\":{\"main\":[[{\"node\":\"Assign source file name\",\"type\":\"main\",\"index\":0}]]},\"Sort by date\":{\"main\":[[{\"node\":\"Upload to spreadsheet\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"Read CSV\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Remove duplicates\",\"type\":\"main\",\"index\":0}]]},\"Read Binary Files\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Remove duplicates\":{\"main\":[[{\"node\":\"Keep only subscribers\",\"type\":\"main\",\"index\":0}]]},\"Keep only subscribers\":{\"main\":[[{\"node\":\"Sort by date\",\"type\":\"main\",\"index\":0}]]},\"Assign source file name\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Read Binary Files\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Import CSV from URL to Google Sheets", "output": "{\"id\":\"NLVfecejH0cTtcdd\",\"meta\":{\"instanceId\":\"fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a\"},\"name\":\"Import CSV from URL to GoogleSheet\",\"tags\":[],\"nodes\":[{\"id\":\"90cced3d-b03b-4b51-b1f7-4cbd2dac25eb\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[860,380],\"parameters\":{},\"typeVersion\":1},{\"id\":\"df9519b6-937e-4a9e-bdb9-86fb722ca3c1\",\"name\":\"Upload to spreadsheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1880,380],\"parameters\":{\"columns\":{\"value\":{},\"schema\":[{\"id\":\"unique_key\",\"type\":\"string\",\"display\":true,\"removed\":false,\"required\":false,\"displayName\":\"unique_key\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"country\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"country\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"country_code\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"country_code\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"year_week\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"year_week\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"level\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"level\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"region\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"region\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"region_name\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"region_name\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"new_cases\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"new_cases\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"tests_done\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"tests_done\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"population\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"population\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"testing_rate\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"testing_rate\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"positivity_rate\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"positivity_rate\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"testing_data_source\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"testing_data_source\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"autoMapInputData\",\"matchingColumns\":[\"unique_key\"]},\"options\":{\"cellFormat\":\"USER_ENTERED\"},\"operation\":\"appendOrUpdate\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":383583634,\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/13YYuEJ1cDf-t8P2MSTFWnnNHCreQ6Zo8oPSp7WeNnbY/edit#gid=383583634\",\"cachedResultName\":\"COVID-weekly\"},\"documentId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"https://docs.google.com/spreadsheets/d/13YYuEJ1cDf-t8P2MSTFWnnNHCreQ6Zo8oPSp7WeNnbY\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"54\",\"name\":\"Google Sheets account\"}},\"typeVersion\":4},{\"id\":\"8298b29e-8784-4e15-902f-dc073fa73668\",\"name\":\"Add unique field\",\"type\":\"n8n-nodes-base.set\",\"position\":[1460,380],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"unique_key\",\"stringValue\":\"={{ $json.country_code }}-{{ $json.year_week }}\"}]},\"options\":{}},\"typeVersion\":3},{\"id\":\"b71bb998-4df2-4311-ae98-42c3e5e41d58\",\"name\":\"Import CSV\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1260,380],\"parameters\":{\"options\":{\"headerRow\":true},\"fileFormat\":\"csv\"},\"typeVersion\":2},{\"id\":\"36204081-3995-46d4-ac8f-3408cbaed657\",\"name\":\"Download CSV\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1060,380],\"parameters\":{\"url\":\"https://opendata.ecdc.europa.eu/covid19/testing/csv/data.csv\",\"options\":{\"response\":{\"response\":{\"responseFormat\":\"file\"}}}},\"typeVersion\":4.1},{\"id\":\"b1a78d2e-1a8b-4d98-b130-080b3017192d\",\"name\":\"Keep only DACH in 2023\",\"type\":\"n8n-nodes-base.filter\",\"position\":[1680,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.year_week }}\",\"value2\":\"2023\",\"operation\":\"startsWith\"}],\"boolean\":[{\"value1\":\"={{ ['DE', 'AT', 'CH'].includes($json.country_code )}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"c5a3af9b-30a0-4337-bbb7-cff54007b22f\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1620,241],\"parameters\":{\"width\":460,\"height\":293,\"content\":\"### Google API has rate-limits for read and write operations, that's why we take only a subset of the data\\n\\nTo import the whole dataset please add Split In Batches and a Wait node with a sufficient delay.\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"d49a3f54-a422-4e76-b410-f8c12b4dd78b\",\"connections\":{\"Import CSV\":{\"main\":[[{\"node\":\"Add unique field\",\"type\":\"main\",\"index\":0}]]},\"Download CSV\":{\"main\":[[{\"node\":\"Import CSV\",\"type\":\"main\",\"index\":0}]]},\"Add unique field\":{\"main\":[[{\"node\":\"Keep only DACH in 2023\",\"type\":\"main\",\"index\":0}]]},\"Keep only DACH in 2023\":{\"main\":[[{\"node\":\"Upload to spreadsheet\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Download CSV\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Unique Jira tickets from Splunk alerts", "output": "{\"id\":\"uD31xU0VYjogxWoY\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Create_Unique_Jira_tickets_from_Splunk_alerts\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"3f9fa220-1966-4478-b7db-c39056564c9d\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-640,320],\"webhookId\":\"f2a52578-2fef-40a6-a7ff-e03f6b751a02\",\"parameters\":{\"path\":\"f2a52578-2fef-40a6-a7ff-e03f6b751a02\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"375ac47e-7975-45cb-b7c1-cef1c7fca701\",\"name\":\"Add Ticket Comment\",\"type\":\"n8n-nodes-base.jira\",\"position\":[240,520],\"parameters\":{\"comment\":\"=Timestamp: {{ $('Set Host Name').item.json.body.timestamp }}\\nDescription: {{ $('Set Host Name').item.json.body.description }}\",\"options\":{},\"issueKey\":\"={{ $json.key }}\",\"resource\":\"issueComment\"},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"OYvpDV2Q42eY6iyA\",\"name\":\"Alex Jira Cloud\"}},\"typeVersion\":1},{\"id\":\"a5dea875-6adf-4d18-aeb9-5fe31a0ebfae\",\"name\":\"Search Ticket\",\"type\":\"n8n-nodes-base.jira\",\"position\":[-200,320],\"parameters\":{\"options\":{\"jql\":\"=splunkhostname ~ \\\"{{ $json['splunk-host-name'] }}\\\" \"},\"operation\":\"getAll\"},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"OYvpDV2Q42eY6iyA\",\"name\":\"Alex Jira Cloud\"}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"3dac410e-1e37-463d-9aba-bc6abf3889f7\",\"name\":\"Set Host Name\",\"type\":\"n8n-nodes-base.set\",\"position\":[-420,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"splunk-host-name\",\"value\":\"={{ $json.body.inputs.A.key['host.name'].replace(/[^a-zA-Z0-9 ]/g, '') }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"465ec3b0-dd16-482e-b4b6-f8ed91fbb11b\",\"name\":\"IF Ticket Not Exists\",\"type\":\"n8n-nodes-base.if\",\"position\":[20,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.key }}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"id\":\"1315b76b-39fc-4fd3-9a45-a91e5e873874\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1120,-26.960531840248223],\"parameters\":{\"width\":643.8620281403546,\"height\":537.944771288002,\"content\":\"![VirusTotal](https://i.imgur.com/spMd6AQ.png)\\n## Webhook Node \\nTo setup your webhook integration for Splunk, first ensure that splunk is setup to send alerts to a webhook by visiting the [Setup Guide here](https://docs.splunk.com/observability/en/admin/notif-services/webhook.html). You will copy the n8n webhook url opening the webhook node below. \\n- **Form Access URLs**:\\n - **Execute Mode**: `https://n8n.domain.com/webhook/test/webhookpath` - Use this to execute the workflow interactively within the n8n canvas. Hit the 'Execute Workflow' button to see real-time execution results. We have pinned data in the webhook node to make testing easier. \\n - **Silent Mode**: `https://n8n.domain.com/webhook/webhookpath` - Use this for background execution without canvas updates. Results will be logged silently and can be reviewed in the 'Executions' tab.\"},\"typeVersion\":1},{\"id\":\"636425b9-a11f-4891-aa00-2f3c42956c01\",\"name\":\"Create Ticket\",\"type\":\"n8n-nodes-base.jira\",\"position\":[240,160],\"parameters\":{\"project\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"10001\",\"cachedResultName\":\"Service Desk\"},\"summary\":\"=Splunk Alert for host {{ $('Set Host Name').item.json.body.inputs.A.key[\\\"host.name\\\"] }}: {{ $('Set Host Name').item.json.body.description }}\",\"issueType\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"10004\",\"cachedResultName\":\"[System] Incident\"},\"additionalFields\":{\"description\":\"={{ $('Set Host Name').item.json.body.description }}\\n\\n{{ $('Set Host Name').item.json.body.messageBody }}\",\"customFieldsUi\":{\"customFieldsValues\":[{\"fieldId\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"customfield_10063\"},\"fieldValue\":\"={{ $('Webhook').item.json[\\\"body\\\"][\\\"inputs\\\"][\\\"A\\\"][\\\"key\\\"][\\\"host.name\\\"].replace(/[^a-zA-Z0-9 ]/g, '') }}\"}]}}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"OYvpDV2Q42eY6iyA\",\"name\":\"Alex Jira Cloud\"}},\"typeVersion\":1},{\"id\":\"47af8bdb-e0da-4923-8f0a-05deb86ac1b3\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-460,98.72468966845895],\"parameters\":{\"width\":401.99970102055784,\"height\":413.43480804607805,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Jira_%28Software%29_logo.svg/320px-Jira_%28Software%29_logo.svg.png)\\n## Normalize Hostname \\nTo ensure no special characters are passed into jira and create issues, this set node removes special characters from the `splunk-host-name` and uses that to search and create tickets. This host name is saved as a custom field. \"},\"typeVersion\":1},{\"id\":\"c0bf09e6-ca08-4db6-aff0-a6528a8fb03b\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[180,-21.934709587377256],\"parameters\":{\"width\":401.99970102055784,\"height\":348.38243930996134,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Jira_%28Software%29_logo.svg/320px-Jira_%28Software%29_logo.svg.png)\\n## Create a new ticket\\nThis creates a new ticket in your Prjoect and issue type. Ensure to update these values to ensure it works correctly. \"},\"typeVersion\":1},{\"id\":\"a175e343-83ed-4442-94df-7e7027b8c687\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[180,340],\"parameters\":{\"width\":401.99970102055784,\"height\":341.08777742613927,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Jira_%28Software%29_logo.svg/320px-Jira_%28Software%29_logo.svg.png)\\n## Add Ticket Comment\\nThis adds the alert as a comment in the existing ticket, to ensure the data is not duplicated. \"},\"typeVersion\":1},{\"id\":\"09143b8c-a4ce-4791-8937-3333d24b6e01\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-40,100.50445897107033],\"parameters\":{\"width\":193.6032856277124,\"height\":415.27445353029793,\"content\":\"## Check if ticket found\\nThis checks `$json.key` to see if the value was found, and route accordingly.\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"Webhook\":[{\"json\":{\"body\":{\"tip\":null,\"rule\":\"n8n-test\",\"inputs\":{\"A\":{\"key\":{\"os.type\":\"linux\",\"host.name\":\"n8n-enterprise-demo\",\"sf_metric\":\"cpu.utilization\"},\"value\":\"0.1670342357065173\",\"fragment\":\"data('cpu.utilization').publish(label='A')\"},\"_S2\":{\"value\":\"0.2\",\"fragment\":\"threshold(0.2)\"}},\"status\":\"ok\",\"detector\":\"n8n-test\",\"imageUrl\":\"https://static.eu0.signalfx.com/signed/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjb20uc2lnbmFsZnguYXBwIiwiZXhwIjoxNjk0NjE0NjI2LCJpSWQiOiJGNVZBcTEwQUVBQSIsIm9JZCI6IkY1V0JKZ2lBSUFBIiwiYlQiOiJlbmQifQ.udzyF5-HqKyV_EMRmT51EtgECK9g-wanl8nx_MH0i9Q/async\",\"severity\":\"Critical\",\"eventType\":\"F5Vx1EuAAKc__F5V-TcTAEJ8__n8n-test\",\"sf_schema\":2,\"timestamp\":\"2023-09-06T14:17:00Z\",\"detectorId\":\"F5V-TcTAEJ8\",\"incidentId\":\"F5VAq10AEAA\",\"runbookUrl\":null,\"description\":\"The value of cpu.utilization is above 0.2.\",\"detectorUrl\":\"https://app.eu0.signalfx.com/#/detector/F5V-TcTAEJ8/edit?incidentId=F5VAq10AEAA&is=ok\",\"messageBody\":\"Rule \\\"n8n-test\\\" in detector \\\"n8n-test\\\" cleared at Wed, 6 Sep 2023 14:17:00 GMT.\\n\\nCurrent signal value for n8n.test: 0.1670342357065173\\n\\nSignal details:\\n{sf_metric=cpu.utilization, host.name=n8n-enterprise-demo, os.type=linux}\",\"messageTitle\":\"Back to normal: n8n-test (n8n-test)\",\"statusExtended\":\"ok\",\"detectOnCondition\":\"when(A > threshold(0.2))\",\"originatingMetric\":\"cpu.utilization\",\"triggeredWhileMuted\":false},\"query\":{},\"params\":{},\"headers\":{\"host\":\"internal.users.n8n.cloud\",\"x-real-ip\":\"10.255.0.2\",\"user-agent\":\"Apache-HttpClient/4.5.14 (Java/1.8.0_372)\",\"content-type\":\"application/json; charset=utf-8\",\"content-length\":\"1366\",\"accept-encoding\":\"gzip,deflate\",\"x-forwarded-for\":\"10.255.0.2\",\"x-forwarded-host\":\"internal.users.n8n.cloud\",\"x-forwarded-port\":\"443\",\"x-forwarded-proto\":\"https\",\"x-forwarded-server\":\"e591fa1c2d01\"}}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"3985cac2-7f23-4d27-b826-0edfb0544b58\",\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Set Host Name\",\"type\":\"main\",\"index\":0}]]},\"Search Ticket\":{\"main\":[[{\"node\":\"IF Ticket Not Exists\",\"type\":\"main\",\"index\":0}]]},\"Set Host Name\":{\"main\":[[{\"node\":\"Search Ticket\",\"type\":\"main\",\"index\":0}]]},\"IF Ticket Not Exists\":{\"main\":[[{\"node\":\"Create Ticket\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Add Ticket Comment\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "URL and IP lookups through Greynoise and VirusTotal", "output": "{\"meta\":{\"instanceId\":\"8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd\",\"templateId\":\"1971\"},\"nodes\":[{\"id\":\"dbb98f7d-6737-4eaa-9a66-9779c042c575\",\"name\":\"VirusTotal result\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2430,1648],\"parameters\":{\"url\":\"={{ $json.data.links.self }}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"virusTotalApi\"},\"typeVersion\":4.1},{\"id\":\"fb71337b-ebd3-4331-9f18-ff953c6b068b\",\"name\":\"DNS Lookup\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1330,1028],\"parameters\":{\"url\":\"=https://dns.google/resolve\",\"options\":{},\"sendQuery\":true,\"queryParameters\":{\"parameters\":[{\"name\":\"name\",\"value\":\"={{ $json.url.includes('://') ? $json.url.split('://')[1].split('/')[0] : $json.url }}\"}]}},\"typeVersion\":4.1},{\"id\":\"290c6e9c-31d1-4476-9beb-b72a795ecfbb\",\"name\":\"Set IP From Lookup\",\"type\":\"n8n-nodes-base.code\",\"position\":[1530,1028],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"// Get the resolved IP address (last item in the Answer array)\\nconst ip = $json.Answer.pop().data;\\nconst item = {...$('Is IP?').item.json}\\nitem.ip = ip\\n\\nreturn {json: item};\"},\"typeVersion\":2},{\"id\":\"2e25aa5e-479c-4e3b-b866-89f2bdbabbba\",\"name\":\"Set IP\",\"type\":\"n8n-nodes-base.set\",\"position\":[1390,828],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ip\",\"value\":\"={{ $json.url }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"69b89cd7-1456-4067-a9da-d81ef3f86097\",\"name\":\"Merge VirusTotal & Greynoise results\",\"type\":\"n8n-nodes-base.merge\",\"position\":[3610,948],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"mergeByFields\":{\"values\":[{\"field1\":\"ip\",\"field2\":\"ip\"}]}},\"typeVersion\":2.1},{\"id\":\"1011bb3b-3f75-40b8-a473-e07b70079b60\",\"name\":\"Is IP?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1110,848],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.url }}\",\"value2\":\"/^(?:[0-9]{1,3}\\\\.){3}[0-9]{1,3}$/\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"id\":\"770b4056-1497-48ed-bcd7-ad6e7106cc7d\",\"name\":\"Start VirusTotal Scan\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1990,1648],\"parameters\":{\"url\":\"https://www.virustotal.com/api/v3/urls\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"contentType\":\"multipart-form-data\",\"authentication\":\"predefinedCredentialType\",\"bodyParameters\":{\"parameters\":[{\"name\":\"url\",\"value\":\"={{ $json.url }}\"}]},\"nodeCredentialType\":\"virusTotalApi\"},\"typeVersion\":4.1},{\"id\":\"d5d31e4a-2f95-4151-af35-bb8129f2e5a3\",\"name\":\"VirusTotal Summary\",\"type\":\"n8n-nodes-base.set\",\"position\":[3230,1628],\"parameters\":{\"values\":{\"string\":[{\"name\":\"virusTotalStats\",\"value\":\"={{ $json.data.attributes.stats }}\"},{\"name\":\"blockList\",\"value\":\"={{ $json.data.attributes.results.BlockList.result }}\"},{\"name\":\"openPhish\",\"value\":\"={{ $json.data.attributes.results.OpenPhish.result }}\"},{\"name\":\"url\",\"value\":\"={{ $('Merge').all()[$itemIndex].json.url }}\"},{\"name\":\"ip\",\"value\":\"={{ $('Merge').all()[$itemIndex].json.ip }}\"}]},\"options\":{\"dotNotation\":false},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"467c795f-6f13-4d6d-a8cf-5cf9be2e7a77\",\"name\":\"VirusTotal ready?\",\"type\":\"n8n-nodes-base.if\",\"position\":[2790,1648],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.data.attributes.status }}\",\"value2\":\"queued\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"284728e4-dc74-4c37-890b-5305970960c0\",\"name\":\"Wait 5s\",\"type\":\"n8n-nodes-base.wait\",\"position\":[2230,1648],\"webhookId\":\"18348e84-831d-4ea8-bb39-6ec847c72275\",\"parameters\":{\"unit\":\"seconds\",\"amount\":5},\"typeVersion\":1},{\"id\":\"76e1414a-d690-44df-a3b8-8dbb4a192720\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"notes\":\"Example:\\n\\ncurl -X POST \\\"https://n8n.yourdomain.com/webhook-test/d5124bd8-aada-44da-8050-3070f303ad24\\\" \\\\\\n -H \\\"Content-Type: application/json\\\" \\\\\\n -d '{\\\"data\\\": [{\\\"url\\\": \\\"1.1.1.1\\\"}, {\\\"url\\\": \\\"88.204.59.2\\\"}, {\\\"url\\\": \\\"54.36.148.188\\\"}, {\\\"url\\\": \\\"facebook.com\\\"}], \\\"email\\\": \\\"user@domain.com\\\"}'\",\"position\":[450,1448],\"webhookId\":\"d5124bd8-aada-44da-8050-3070f303ad24\",\"parameters\":{\"path\":\"d5124bd8-aada-44da-8050-3070f303ad24\",\"options\":{},\"httpMethod\":\"POST\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"b3e188f3-0a39-4451-ab70-632282243f03\",\"name\":\"Get List of URLs\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[650,1448],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"body.data\"},\"typeVersion\":3},{\"id\":\"360628b7-afc0-4444-a8c0-a85fae54b0e3\",\"name\":\"Set Email\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,1448],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Email\",\"value\":\"={{ $('Webhook').item.json.body.email }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"6df9593b-5f9f-4b50-bddb-97dcb2017d6e\",\"name\":\"Merge Greynoise results\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2370,728],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2.1},{\"id\":\"1957a675-7a5a-4ccd-b334-f2c4f9749f58\",\"name\":\"Send Report Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[3850,1168],\"parameters\":{\"text\":\"=Successfully scanned {{ $json.url }} {{$json.ip !== $json.url ? `(${$json.ip})`: '' }}\\n\\n\\nVirusTotal Report ({{ $json.virusTotalStats.harmless + $json.virusTotalStats.malicious + $json.virusTotalStats.suspicious + $json.virusTotalStats.undetected}} scans)\\n\\n{{$json.virusTotalStats.harmless}} Harmless\\n{{$json.virusTotalStats.malicious}} Malicious\\n{{$json.virusTotalStats.suspicious}} Suspicious\\n{{$json.virusTotalStats.undetected}} Undetected\\n{{$json.virusTotalStats.timeout}} Timed out\\n\\nBlockList: {{ $json.blockList }}\\nOpenPhish: {{ $json.openPhish }}\\n\\nSummary: {{ $json.virusTotalStats.suspicious + $json.virusTotalStats.malicious === 0 ? \\\"✅ Harmless\\\": \\\"🚨 Malicous\\\" }}\\n\\n\\n\\nGreynoise Report\\n\\nTrust Level: {{ $json.trust_level ?? \\\"Not trusted\\\"}}\\nClassification: {{ $json.classification }}\\n\\nLocation: {{ $json.location || 'n/a' }}\\nCategory: {{ $json.category }}\\nTags: {{$json.tags.join(', ') || 'None'}}\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#notifications\"},\"otherOptions\":{}},\"typeVersion\":2.1},{\"id\":\"4d64351f-0233-4859-afd2-fc31e3fc37cd\",\"name\":\"Send Report Email\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[3850,948],\"parameters\":{\"sendTo\":\"={{ $('Merge').first().json.Email }}\",\"message\":\"=Successfully scanned {{ $json.url }} {{$json.ip !== $json.url ? `(${$json.ip})`: '' }}


    \\n\\n\\n

    VirusTotal Report ({{ $json.virusTotalStats.harmless + $json.virusTotalStats.malicious + $json.virusTotalStats.suspicious + $json.virusTotalStats.undetected}} scans)



    \\n\\n{{$json.virusTotalStats.harmless}} Harmless
    \\n{{$json.virusTotalStats.malicious}} Malicious
    \\n{{$json.virusTotalStats.suspicious}} Suspicious
    \\n{{$json.virusTotalStats.undetected}} Undetected
    \\n{{$json.virusTotalStats.timeout}} Timed out

    \\n\\nBlockList: {{ $json.blockList }}
    \\nOpenPhish: {{ $json.openPhish }}

    \\n\\nSummary: {{ $json.virusTotalStats.suspicious + $json.virusTotalStats.malicious === 0 ? \\\"✅ Harmless\\\": \\\"🚨 Malicous\\\" }}


    \\n\\n\\n\\n

    Greynoise Report



    \\n\\nTrust Level: {{ $json.trust_level ?? \\\"Not trusted\\\"}}
    \\nClassification: {{ $json.classification }}

    \\n\\nLocation: {{ $json.location || 'n/a' }}
    \\nCategory: {{ $json.category }}
    \\nTags: {{$json.tags.join(', ') || 'None'}}



    \",\"options\":{},\"subject\":\"={{ $json.url }} Scan Report\"},\"typeVersion\":2},{\"id\":\"e4305eb1-8e57-49d0-97b7-391200bd0042\",\"name\":\"Greynoise Summary\",\"type\":\"n8n-nodes-base.set\",\"position\":[2650,728],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ip\",\"value\":\"={{ $json.ip }}\"},{\"name\":\"classification\",\"value\":\"={{ $json.classification || 'safe' }}\"},{\"name\":\"location\",\"value\":\"={{ $json.metadata?.region ? `${$json.metadata?.region} ${$json.metadata?.country}` : '' }}\"},{\"name\":\"tags\",\"value\":\"={{ $json.tags ?? [] }}\"},{\"name\":\"category\",\"value\":\"={{ $json.category || 'n/a' }}\"},{\"name\":\"trustLevel\",\"value\":\"={{ $json.trust_level }}\"}]},\"options\":{\"dotNotation\":false},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"c149b1f3-e447-4194-a94e-7d8e0bf38241\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1750,848],\"parameters\":{},\"typeVersion\":2.1},{\"id\":\"88c30a1d-c232-4da5-87c3-4d67234b6a29\",\"name\":\"Combine looped items\",\"type\":\"n8n-nodes-base.code\",\"position\":[3010,1628],\"parameters\":{\"jsCode\":\"let results = [],\\n i = 0;\\n\\ndo {\\n try {\\n results = results.concat($(\\\"VirusTotal result\\\").all(0, i)\\n .filter(node => node.json.data.attributes.status === 'completed')\\n );\\n } catch (error) {\\n return results;\\n }\\n i++;\\n} while (true);\"},\"typeVersion\":2},{\"id\":\"839170f5-7c97-40fd-aeaa-ad57262a586e\",\"name\":\"Filter\",\"type\":\"n8n-nodes-base.filter\",\"position\":[2610,1648],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.data.attributes.status }}\",\"value2\":\"completed\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"d68db329-4628-44a8-8f97-b06cbf18e238\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,240],\"parameters\":{\"width\":651.1325602067182,\"height\":703.911103299255,\"content\":\"## Form Input Overview\\n\\n- **Purpose**: \\n - Instead of forcing other departments to use a full threat platform, simplify the interaction with our Threat Intel workflow which allows other departments to submit items via URL-accessible forms.\\n\\n- **Form Access URLs**:\\n - **Execute Mode**: `https://n8n.domain.com/webhook/test/url-scan-form` - Use this to execute the workflow interactively within the n8n canvas. Hit the 'Execute Workflow' button to see real-time execution results.\\n - **Silent Mode**: `https://n8n.domain.com/webhook/url-scan-form` - Use this for background execution without canvas updates. Results will be logged silently and can be reviewed in the 'Executions' tab.\\n\\n## Details and Best Practices\\nWhen using the form, ensure that all inputs match the required format, like valid URLs for scans, to prevent any workflow interruptions. Keep in mind these forms are not performing input sanitation so incorrectly entered values will trigger an error workflow. Should there be any issues upon form submission, such as an absence of a confirmation message, or if the workflow fails, you can find detailed error information in the 'Executions' tab. \"},\"typeVersion\":1},{\"id\":\"f9081f7d-35ab-489c-87bb-c2deba7515f9\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[370,968],\"parameters\":{\"width\":653.8285114211884,\"height\":663.9676956356055,\"content\":\"## API Integration\\nWant to submit URLs and IPs automatically? Utilize the JSON structure below to upload multiple indicators simultaneously. The workflow leverages 'Item list' to parse the 'data' field, while 'Set Email' node appends the provided email to each URL.\\n\\n```json\\n{\\n \\\"email\\\": \\\"johndoe@example.com\\\",\\n \\\"data\\\": [\\n {\\n \\\"url\\\": \\\"aztechsol.com\\\"\\n },\\n {\\n \\\"ip\\\": \\\"8.8.8.8\\\"\\n }\\n ]\\n}\\n```\\n\\n## Details and Best Practices\\n- Webhook Usage: Send data with a POST request, e.g., using curl.\\n- Validation & Errors: Ensure URLs are correctly formatted. Check the 'Executions' tab for any submission errors. Keep in mind that there is only basic error handling in this workflow.\"},\"typeVersion\":1},{\"id\":\"aaaac5aa-f0a0-4452-99b4-d78d55a80564\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1070,266.9400418986032],\"parameters\":{\"width\":827.7173647545219,\"height\":936.2889303743061,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Google_2015_logo.svg/320px-Google_2015_logo.svg.png)\\n## Data Standardization & Google DNS Integration\\n- Purpose:\\n\\n - Standardize the diverse input sources---either from form submissions or API calls---by streamlining the input through a uniform processing pipeline. This ensures that whether the data entered is an IP address or a domain name, it can be consistently managed and transformed for threat intelligence tasks.\\n - Extract IP from URL by passing it to Google DNS and attaching it to the URL.\\n\\n## Details and Best Practices\\nTo guarantee the efficacy of the workflow, adhere to the prescribed input formats. For IP addresses, ensure they conform to IPv4 or IPv6 standards; for domains, verify that they are properly structured URLs. The system assumes clean inputs, as there are no built-in sanitation mechanisms---erroneous inputs may result in processing errors.\\n\\nIn case of an unsuccessful DNS lookup or other discrepancies, consult the 'Executions' tab for comprehensive error logs and apply the necessary corrections. To mitigate workflow disruptions, establish a set of error-handling protocols to manage and rectify such incidents.\\n\\nBe mindful that while the workflow is designed to automatically discern between IP addresses and domain names, it is imperative that the data entered is accurate to prevent any fallbacks or unnecessary processing overhead.\"},\"typeVersion\":1},{\"id\":\"32e80421-b608-4d89-b6fe-a95ab5b9e3bd\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1950,68.30371042491026],\"parameters\":{\"width\":1485.5734904392764,\"height\":987.7653566551932,\"content\":\"![VirusTotal](https://i.imgur.com/fd6Ng5R.png)\\n## Greynoise Integration\\n\\n- Purpose:\\n - The aim is to tap into Greynoise's robust API to enrich and contextualize IP-related information within the workflow. By querying Greynoise's specialized noise and RIOT databases, the workflow can quickly ascertain the nature of the IP activity and determine its relevance and potential threat level to an organization.\\n - Classify and assess IP addresses by consulting with Greynoise databases, providing an additional layer of security intelligence.\\n\\n## Details and Best Practices\\nTo ensure reliable results from the Greynoise integration, it's important to use well-formatted IP addresses. Confirm that IPs meet standard internet protocols for either IPv4 or IPv6. The workflow assumes that inputs are pre-sanitized, so any deviation may lead to errors or inaccurate assessments.\\n\\nIf the Greynoise lookup does not yield results or encounters errors, investigate the issue using the 'Executions' tab to view detailed error logs. Proactively develop error-handling strategies to effectively manage and recover from these errors.\\n\\nThe workflow is pre-configured to discern and process IP information accurately; however, it relies heavily on the integrity of the input. Incorrectly entered IPs can cause incorrect lookups and potentially miss significant threat data, thereby undermining the security posture.\\n\\n**Please note that this workflow segment is designed for the enterprise edition of Greynoise's API. Users must have a valid API key with enterprise access which should be configured in the HTTP request nodes that perform the API calls.**\"},\"typeVersion\":1},{\"id\":\"adda919b-f65f-4fe0-9f66-11a5a9b65674\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1952,1088],\"parameters\":{\"width\":1483.145187368557,\"height\":774.1502041707245,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b7/VirusTotal_logo.svg/320px-VirusTotal_logo.svg.png)\\n## VirusTotal Integration\\n- Purpose:\\n - This workflow component is specifically crafted to harness the VirusTotal API's capabilities, allowing URLs to be submitted for thorough scanning. The goal is to seamlessly integrate the scanning process into the workflow, handling the asynchronous nature of VirusTotal scans by effectively managing state checks and result compilation.\\n - Implement URL scanning by submitting requests to the VirusTotal API and accurately aggregating the scan results for analysis.\\n\\n## Details and Best Practices\\nFor successful VirusTotal integration, it's crucial to submit URLs following standard web formats. The workflow is configured to expect correct URL inputs; deviations can disrupt the scanning process.\\n\\nUpon submission, if the VirusTotal scan results are pending or if errors are encountered, these can be tracked and examined under the 'Executions' tab. Develop a proactive strategy for handling such cases, including error logging, maximum retry limitations, or implementing a timeout mechanism.\\n\\nThe configuration of the workflow takes into account the need to prevent rapid, repetitive status checks, which can strain the VirusTotal API. As a result, it employs a looping system for status re-evaluation, which should be managed with precision to avoid unnecessary delays or excessive polling.\\n\\nNote that this integration is tailored for workflows that involve the VirusTotal API. While it works with the free VirusTotal license, too many requests may cause errors due to rate limiting. The Public API is limited to 500 requests per day and a rate of 4 requests per minute. It requires valid credentials set up in the HTTP request nodes to authenticate API calls successfully. Users should configure their API keys for access, and handle any API error responses, like HTTP 4xx or 5xx codes, with a robust error-logging and retry mechanism to ensure reliability and effectiveness of the scan process.\"},\"typeVersion\":1},{\"id\":\"cdaec18e-e9f1-4567-89e6-f5474bff42c4\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3470,247],\"parameters\":{\"width\":898.9279259630971,\"height\":1146.6423884335761,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Slack_Logo_Pre_2019.svg/320px-Slack_Logo_Pre_2019.svg.png)\\n![VirusTotal](https://i.imgur.com/f6f6my0.png)\\n## Reporting Integration\\n- Purpose:\\n - This component of the workflow is designed to amalgamate and communicate the insights from threat intelligence analysis to the team effectively. By integrating data from VirusTotal and Greynoise, it generates comprehensive reports that are automatically shared via Slack and email, fostering situational awareness and facilitating prompt action.\\n - Compile and disseminate threat intelligence reports that highlight the significance and implications of the analyzed IP or domain data, ensuring that the team remains informed and ready to act.\\n\\n## Details and Best Practices\\nThe heart of this workflow lies in the synthesis of threat intelligence gathered from both Greynoise and VirusTotal. By merging these data points, the logic creates a thorough examination of the URLs/IPs under scrutiny.\\n\\nHere's an expanded view of best practices to adhere to in this critical stage of the workflow:\\n\\nThe merging process must be precise, using the 'ip' fields as the common key to unify data from the two distinct sources. This unified view is crucial for accurate analysis and reporting.\\n\\nIt’s advisable to extend the merging capabilities to include additional data fields that may enhance the intelligence report. This could mean incorporating timestamps, geolocation data, or even threat levels.\\n\\nWhen integrating new messaging or reporting nodes, leverage the provided JSON structure to maintain consistency. To replicate the logic in another node, simply copy the JSON snippet from the expression editor and paste it into the configuration of the new node.\"},\"typeVersion\":1},{\"id\":\"577d4b74-9155-440f-a752-6654f8e54669\",\"name\":\"GreyNoise RIOT lookup\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2070,708],\"parameters\":{\"url\":\"=https://api.greynoise.io/v2/riot/{{ $json.ip }}\",\"options\":{},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\"},\"typeVersion\":4.1},{\"id\":\"9a41df79-3d81-4b2e-b21c-7f31985d8d1e\",\"name\":\"GreyNoise IP Check\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2070,888],\"parameters\":{\"url\":\"=https://api.greynoise.io/v2/noise/context/{{ $json.ip }}\",\"options\":{},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\"},\"typeVersion\":4.1},{\"id\":\"006eb997-5851-41bd-9d5c-9f44d3b7ec08\",\"name\":\"Form Trigger\",\"type\":\"n8n-nodes-base.formTrigger\",\"position\":[640,800],\"webhookId\":\"087145f7-3c00-4a1a-8e04-181b536606e7\",\"parameters\":{\"path\":\"url-scan-form\",\"options\":{},\"formTitle\":\"Scan URL or IP and get a report\",\"formFields\":{\"values\":[{\"fieldLabel\":\"url\",\"requiredField\":true},{\"fieldLabel\":\"Email\",\"requiredField\":true}]},\"formDescription\":\"Get a report from Virus Total and Greynoise on an IP address of URL\"},\"typeVersion\":2}],\"pinData\":{},\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Start VirusTotal Scan\",\"type\":\"main\",\"index\":0},{\"node\":\"GreyNoise IP Check\",\"type\":\"main\",\"index\":0},{\"node\":\"GreyNoise RIOT lookup\",\"type\":\"main\",\"index\":0}]]},\"Filter\":{\"main\":[[{\"node\":\"VirusTotal ready?\",\"type\":\"main\",\"index\":0}]]},\"Is IP?\":{\"main\":[[{\"node\":\"Set IP\",\"type\":\"main\",\"index\":0}],[{\"node\":\"DNS Lookup\",\"type\":\"main\",\"index\":0}]]},\"Set IP\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Wait 5s\":{\"main\":[[{\"node\":\"VirusTotal result\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Get List of URLs\",\"type\":\"main\",\"index\":0}]]},\"Set Email\":{\"main\":[[{\"node\":\"Is IP?\",\"type\":\"main\",\"index\":0}]]},\"DNS Lookup\":{\"main\":[[{\"node\":\"Set IP From Lookup\",\"type\":\"main\",\"index\":0}]]},\"Form Trigger\":{\"main\":[[{\"node\":\"Is IP?\",\"type\":\"main\",\"index\":0}]]},\"Get List of URLs\":{\"main\":[[{\"node\":\"Set Email\",\"type\":\"main\",\"index\":0}]]},\"Greynoise Summary\":{\"main\":[[{\"node\":\"Merge VirusTotal & Greynoise results\",\"type\":\"main\",\"index\":0}]]},\"VirusTotal ready?\":{\"main\":[[{\"node\":\"Combine looped items\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait 5s\",\"type\":\"main\",\"index\":0}]]},\"VirusTotal result\":{\"main\":[[{\"node\":\"Filter\",\"type\":\"main\",\"index\":0}]]},\"GreyNoise IP Check\":{\"main\":[[{\"node\":\"Merge Greynoise results\",\"type\":\"main\",\"index\":1}]]},\"Set IP From Lookup\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"VirusTotal Summary\":{\"main\":[[{\"node\":\"Merge VirusTotal & Greynoise results\",\"type\":\"main\",\"index\":1}]]},\"Combine looped items\":{\"main\":[[{\"node\":\"VirusTotal Summary\",\"type\":\"main\",\"index\":0}]]},\"GreyNoise RIOT lookup\":{\"main\":[[{\"node\":\"Merge Greynoise results\",\"type\":\"main\",\"index\":0}]]},\"Start VirusTotal Scan\":{\"main\":[[{\"node\":\"Wait 5s\",\"type\":\"main\",\"index\":0}]]},\"Merge Greynoise results\":{\"main\":[[{\"node\":\"Greynoise Summary\",\"type\":\"main\",\"index\":0}]]},\"Merge VirusTotal & Greynoise results\":{\"main\":[[{\"node\":\"Send Report Slack\",\"type\":\"main\",\"index\":0},{\"node\":\"Send Report Email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "My first Form Trigger workflow [DEMO]", "output": "{\"meta\":{\"instanceId\":\"dbd43d88d26a9e30d8aadc002c9e77f1400c683dd34efe3778d43d27250dde50\"},\"nodes\":[{\"id\":\"ed62d8fd-2328-4aea-8be3-029ac2b98416\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,280],\"parameters\":{\"width\":367,\"height\":294.4066610691299,\"content\":\"### Welcome! Build a simple test workflow\\nStart by connecting a `Send Email` node to the `n8n Form Trigger`\\n![](https://i.ibb.co/wcKPw7P/add-send-email.gif#full-width)\"},\"typeVersion\":1},{\"id\":\"0f9a0fb6-cf16-40fe-ac85-34773ee110a4\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,780],\"parameters\":{\"width\":509,\"height\":160.60474772918081,\"content\":\"### To finish, complete the following quick steps 👇\\n- Back in this canvas, click the `Execute Workflow` button to test your workflow. \\n- Complete and submit the test pop-up form that appears.\\n\\n\\nYou should then receive an email from the `Send Email` node 🥳\\n\"},\"typeVersion\":1},{\"id\":\"8832abc3-374b-4f37-bd85-5745636ce330\",\"name\":\"n8n Form Trigger\",\"type\":\"n8n-nodes-base.formTrigger\",\"position\":[400,620],\"webhookId\":\"30f21edc-6c39-4877-b21b-71a129d5e511\",\"parameters\":{\"options\":{},\"formTitle\":\"My first test form\",\"formFields\":{\"values\":[{\"fieldLabel\":\"What is your name?\"}]}},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Analyze CrowdStrike Detections - Search for IOCs in VirusTotal - Create a Ticket in Jira, and Post a Message in Slack", "output": "{\"id\":\"IMVycpyABaGuD1hq\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Analyze_Crowdstrike_Detections__search_for_IOCs_in_VirusTotal__create_a_ticket_in_Jira_and_post_a_message_in_Slack\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"bd1234f2-631c-457d-8423-cec422852bbc\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[-880,602],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1.1},{\"id\":\"b9f134cd-06de-49cd-83a2-19f705fd18c6\",\"name\":\"Split out detections\",\"type\":\"n8n-nodes-base.itemLists\",\"notes\":\"So we can process each one individually\",\"position\":[-440,602],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"resources\"},\"notesInFlow\":true,\"typeVersion\":3},{\"id\":\"8d1fc16d-bcbd-4ca2-ac2d-ea676cde4403\",\"name\":\"Get recent detections from Crowdstrike\",\"type\":\"n8n-nodes-base.httpRequest\",\"disabled\":true,\"position\":[-660,602],\"parameters\":{\"url\":\"https://api.us-2.crowdstrike.com/detects/queries/detects/v1\",\"options\":{},\"sendQuery\":true,\"authentication\":\"predefinedCredentialType\",\"queryParameters\":{\"parameters\":[{\"name\":\"filter\",\"value\":\"status:'new'\"}]},\"nodeCredentialType\":\"crowdStrikeOAuth2Api\"},\"credentials\":{\"crowdStrikeOAuth2Api\":{\"id\":\"tRdRtergnonxM2oS\",\"name\":\"CrowdStrike account\"}},\"typeVersion\":4.1},{\"id\":\"bda81386-f301-44ac-ba91-2301ecdad6c3\",\"name\":\"Get detection details\",\"type\":\"n8n-nodes-base.httpRequest\",\"disabled\":true,\"position\":[-220,602],\"parameters\":{\"url\":\"https://api.us-2.crowdstrike.com/detects/entities/summaries/GET/v1\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={\\n \\\"ids\\\":[\\\"{{ $json.resources }}\\\"]\\n}\",\"sendBody\":true,\"sendQuery\":true,\"specifyBody\":\"json\",\"authentication\":\"predefinedCredentialType\",\"queryParameters\":{\"parameters\":[{\"name\":\"ids\",\"value\":\"={{ $json.resources }}\"}]},\"nodeCredentialType\":\"crowdStrikeOAuth2Api\"},\"credentials\":{\"crowdStrikeOAuth2Api\":{\"id\":\"tRdRtergnonxM2oS\",\"name\":\"CrowdStrike account\"}},\"typeVersion\":4.1},{\"id\":\"ed6fe708-c67e-4cd1-800f-e13ab999c1c2\",\"name\":\"Split out behaviours\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[280,362],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"resources[0].behaviors\"},\"typeVersion\":3},{\"id\":\"4d6c708c-56c3-43b7-ae06-0078d917ebd5\",\"name\":\"Look up SHA in Virustotal\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[720,362],\"parameters\":{\"url\":\"=https://www.virustotal.com/api/v3/files/{{ $json.dsha256 }}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"virusTotalApi\"},\"credentials\":{\"virusTotalApi\":{\"id\":\"JXVMMSznhawgxP9S\",\"name\":\"Virus Total account\"}},\"typeVersion\":4.1,\"continueOnFail\":true},{\"id\":\"3e9f63a1-7a2a-43e3-998c-32eef23f8066\",\"name\":\"Look up IOC in Virustotal\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[940,362],\"parameters\":{\"url\":\"=https://www.virustotal.com/api/v3/files/{{ $('Split out behaviours').item.json.ioc_value }}\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"virusTotalApi\"},\"credentials\":{\"virusTotalApi\":{\"id\":\"JXVMMSznhawgxP9S\",\"name\":\"Virus Total account\"}},\"typeVersion\":4.1,\"continueOnFail\":true},{\"id\":\"4249e16a-e84b-4af8-98e7-8a771a9016f0\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[60,602],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"a6de25ad-195d-44a8-a8da-3ec14bfaec66\",\"name\":\"Merge behaviour descriptions\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1460,360],\"parameters\":{\"options\":{},\"operation\":\"summarize\",\"fieldsToSummarize\":{\"values\":[{\"field\":\"details\",\"separateBy\":\"other\",\"aggregation\":\"concatenate\",\"customSeparator\":\"\\\\n\\\\n\"}]}},\"typeVersion\":3},{\"id\":\"fdc43a7b-579b-44ea-841b-cfebf2447ab9\",\"name\":\"Set behaviour descriptions\",\"type\":\"n8n-nodes-base.set\",\"position\":[1240,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"details\",\"value\":\"=| Link | https://falcon.us-2.crowdstrike.com/activity/detections/detail/{{ $('Split out behaviours').item.json.control_graph_id.replaceAll(':', '/').substring(4) }} |\\n| Confidence | {{ $('Split out behaviours').item.json.confidence }} |\\n| Filename | {{ $('Split out behaviours').item.json.filename }} |\\n| Username | {{ $('Split out behaviours').item.json.user_name }} |\\n| VT link | https://www.virustotal.com/gui/file/{{ $('Split out behaviours').item.json.sha256 }}/detection |\\n| VT creation date | {{ $('Look up SHA in Virustotal').item.json.data.attributes.creation_date }} |\\n| VT tags | {{ $('Look up SHA in Virustotal').item.json.data.attributes.tags.join(', ') }} |\\n| IOC | {{ $('Split out behaviours').item.json.ioc_value }} |\\n| IOC VT score | {{ $json.data.attributes.last_analysis_stats.malicious }} |\\n| IOC source | {{ $('Split out behaviours').item.json.ioc_source }} |\\n| IOC description | {{ $('Split out behaviours').item.json.ioc_description }} |\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"d11c8794-ca93-4916-87b2-86b87751d64e\",\"name\":\"Create Jira issue\",\"type\":\"n8n-nodes-base.jira\",\"disabled\":true,\"position\":[1680,360],\"parameters\":{\"project\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"10000\",\"cachedResultName\":\"My Kanban Project\"},\"summary\":\"=CrowdStrike {{ $('Split In Batches').item.json.resources[0].max_severity_displayname.toLowerCase() }} severity alert ({{ $('Split In Batches').item.json.resources[0].device.hostname }})\",\"issueType\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"10001\",\"cachedResultName\":\"Task\"},\"additionalFields\":{\"description\":\"=\\nAlert details\\n\\n| Severity | {{ $('Split In Batches').item.json.resources[0].max_severity_displayname }} |\\n| Host | {{ $('Split In Batches').item.json.resources[0].device.hostname }} |\\n| Device ID | {{ $('Split In Batches').item.json.resources[0].device.device_id }} |\\n| IP (external) | {{ $('Split In Batches').item.json.resources[0].device.external_ip }}|\\n| IP (internal) | {{ $('Split In Batches').item.json.resources[0].device.local_ip }}|\\n| Platform | {{ $('Split In Batches').item.json.resources[0].device.platform_name }} |\\n| OS version | {{ $('Split In Batches').item.json.resources[0].device.os_version }}|\\n\\nBehaviours\\n\\n{{ $json.concatenated_details }}\"}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"1rCcjDO7MfM4b9ho\",\"name\":\"David Jira SW Cloud account\"}},\"typeVersion\":1},{\"id\":\"ac44f600-31b3-418b-8f75-5c42094f2b5b\",\"name\":\"Post notification on Slack\",\"type\":\"n8n-nodes-base.slack\",\"disabled\":true,\"position\":[2080,400],\"parameters\":{\"text\":\"=New CrowdStrike {{ $('Split In Batches').item.json.resources[0].max_severity_displayname.toLowerCase() }} severity alert ({{ $('Split In Batches').item.json.resources[0].device.hostname }})\\n<{{ $json.self }}|Jira ticket>\",\"user\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"U034NUWQ7M5\",\"cachedResultName\":\"david\"},\"select\":\"user\",\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"262\",\"name\":\"Slack David (User)\"}},\"typeVersion\":2.1},{\"id\":\"2c5c81bd-096c-4613-aa85-e1c01eac484e\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-940,200],\"parameters\":{\"width\":907.2533697472911,\"height\":622.2432296251139,\"content\":\"![crowdstrike](https://i.imgur.com/bXWeemY.png)\\n## Workflow Overview\\nThis n8n workflow is a robust orchestration tool designed to streamline and automate the response to cybersecurity threats detected by CrowdStrike. By running daily, the script systematically gathers new detection data, enriches it with external intelligence from VirusTotal, and then creates tickets in Jira for incident tracking and resolution. Finally, it posts notifications to Slack to alert the security team promptly. \\n\\n## Get details of recent CrowdStrike detections\\nThis section initiates the workflow, scheduled to run daily at midnight, by fetching new detection events from CrowdStrike. It leverages an HTTP Request to query the CrowdStrike API, receiving a list of recent detections. These detections are then individually parsed for further analysis, ensuring that each detection is handled separately and efficiently.\\n\"},\"typeVersion\":1},{\"id\":\"34f3178a-f333-44ae-bb84-775748a40871\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[456,85.94250946457566],\"parameters\":{\"width\":684.9176314093856,\"height\":498.43309582729387,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b7/VirusTotal_logo.svg/320px-VirusTotal_logo.svg.png)\\n## Enrich each detection using VirusTotal\\n\\nEach detection is enhanced with additional intelligence by querying VirusTotal. The process involves looking up SHA256 hashes and other indicators of compromise (IOCs) to gather comprehensive threat information. With rate-limiting in mind, a 1-second pause is included between requests to maintain compliance with VirusTotal's API usage policies.\\n\"},\"typeVersion\":1},{\"id\":\"9b248ed5-0a9b-4737-a571-ce20340a48af\",\"name\":\"Pause 1 second\",\"type\":\"n8n-nodes-base.wait\",\"notes\":\"To avoid overloading VT\",\"position\":[500,362],\"webhookId\":\"be50455f-f28d-4621-87aa-60a5d46c219e\",\"parameters\":{\"unit\":\"seconds\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"854bbab6-b725-4a01-b179-1f1c944b7ea5\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1180,89.58126014061668],\"parameters\":{\"width\":732.8033084720628,\"height\":495.2133868905577,\"content\":\"![Jira](https://i.imgur.com/Ko72Qxa.png)\\n## Create a Jira Ticket:\\nFor actionable response and tracking, the workflow creates a Jira ticket for each detection. The ticket includes detailed information from CrowdStrike and enrichment data from VirusTotal, such as detection links, confidence scores, and relevant tags. This step is crucial for documenting incidents and initiating the incident response protocol.\\n\"},\"typeVersion\":1},{\"id\":\"da8ca7ef-714f-42b1-a642-3165c479b5df\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1940,90.04831844240124],\"parameters\":{\"width\":348.9781174689024,\"height\":490.93784005768947,\"content\":\"![Slack](https://i.imgur.com/iKyMV0N.png)\\n## Post Notification in Slack\\nTo ensure prompt attention, a notification is sent to a designated Slack channel with the severity level of the alert and a link to the corresponding Jira ticket. This immediate notification allows for quick engagement from the security team to review and act upon the detection as needed.\\n\"},\"typeVersion\":1},{\"id\":\"a10f5365-85bc-435d-9b56-1154987af962\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[0,-96.97284326663032],\"parameters\":{\"width\":432.3140705656865,\"height\":908.8964372010092,\"content\":\"![n8n](https://i.imgur.com/lKnBNnH.png)\\n## Iterate Through Detection Events\\nThe \\\"`Split In Batches`\\\" node is configured with a batch size of one, ensuring that the array of detections from CrowdStrike is divided into individual items for processing. \\n\\nThis approach allows for a focused analysis of each detection, ensuring no detail is overlooked. \\n\\nFollowing this, the \\\"`Split out behaviours`\\\" node further dissects each detection to extract and separately handle the array of behaviors associated with them. \\n\\nBy processing these elements one by one, we effectively manage the workflow's load, maintaining optimal performance and adherence to external APIs' rate limits, crucial for the seamless operation of our security protocols.\\n\\n\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"Get detection details\":[{\"json\":{\"meta\":{\"trace_id\":\"638fdbc5-29f3-49c5-bb02-67846cc0eae5\",\"powered_by\":\"legacy-detects\",\"query_time\":0.002640396},\"errors\":[],\"resources\":[{\"cid\":\"4f82da4ce0564f64a2469af78d4c73dc\",\"device\":{\"cid\":\"4f82da4ce0564f64a2469af78d4c73dc\",\"status\":\"normal\",\"hostname\":\"Sample-Detect-2\",\"local_ip\":\"10.0.2.15\",\"device_id\":\"5556c55274f24f149ee3ffcc9226e595\",\"last_seen\":\"2023-09-01T21:35:09Z\",\"first_seen\":\"2023-09-01T21:35:08Z\",\"os_version\":\"Windows 7\",\"external_ip\":\"10.224.245.198\",\"mac_address\":\"08-00-27-51-56-d8\",\"platform_id\":\"0\",\"bios_version\":\"VirtualBox\",\"product_type\":\"1\",\"agent_version\":\"5.25.10701.0\",\"major_version\":\"6\",\"minor_version\":\"1\",\"platform_name\":\"Windows\",\"config_id_base\":\"65994754\",\"config_id_build\":\"10701\",\"agent_load_flags\":\"0\",\"agent_local_time\":\"2019-08-08T18:27:17.143Z\",\"bios_manufacturer\":\"innotek GmbH\",\"product_type_desc\":\"Workstation\",\"config_id_platform\":\"3\",\"modified_timestamp\":\"2023-09-01T21:35:12Z\",\"system_manufacturer\":\"innotek GmbH\",\"system_product_name\":\"VirtualBox\"},\"status\":\"new\",\"hostinfo\":{\"domain\":\"\"},\"behaviors\":[{\"md5\":\"a390c897089f47bda6e913a68b49676f\",\"sha256\":\"a9b89714cb6e7c41c76484368856521d318b7237823f26f674c1f562eb11228a\",\"tactic\":\"Machine Learning\",\"cmdline\":\"\\\"C:\\\\demo\\\\OnSensor_MachineLearning.exe\\\"\",\"user_id\":\"S-1-5-21-1516984458-1910986210-2733350064-1000\",\"filename\":\"OnSensor_MachineLearning.exe\",\"filepath\":\"\\\\Device\\\\HarddiskVolume2\\\\demo\\\\OnSensor_MachineLearning.exe\",\"ioc_type\":\"\",\"scenario\":\"NGAV\",\"severity\":50,\"device_id\":\"5556c55274f24f149ee3ffcc9226e595\",\"ioc_value\":\"\",\"objective\":\"Falcon Detection Method\",\"tactic_id\":\"CSTA0004\",\"technique\":\"Sensor-based ML\",\"timestamp\":\"2023-09-01T21:35:08Z\",\"user_name\":\"Trial\",\"confidence\":50,\"ioc_source\":\"\",\"behavior_id\":\"5701\",\"description\":\"This file meets the machine learning-based on-sensor AV protection's medium confidence threshold for malicious files.\",\"display_name\":\"\",\"technique_id\":\"CST0007\",\"parent_details\":{\"parent_md5\":\"ea7fa3d7190f262a920bd04326f9a5f4\",\"parent_sha256\":\"9c30192c1d4cec9dc0de67ab4ace625bcf038f60eb038d5efa868bff9ec411d4\",\"parent_cmdline\":\"powershell.exe \",\"parent_process_graph_id\":\"pid:5556c55274f24f149ee3ffcc9226e595:169381896777762\"},\"ioc_description\":\"\",\"alleged_filetype\":\"exe\",\"control_graph_id\":\"ctg:5556c55274f24f149ee3ffcc9226e595:169377591508015\",\"pattern_disposition\":2176,\"pattern_disposition_details\":{\"detect\":false,\"rooting\":false,\"indicator\":false,\"inddet_mask\":false,\"kill_parent\":false,\"sensor_only\":false,\"kill_process\":false,\"suspend_parent\":false,\"kill_subprocess\":false,\"policy_disabled\":false,\"process_blocked\":true,\"quarantine_file\":true,\"suspend_process\":false,\"operation_blocked\":false,\"kill_action_failed\":false,\"quarantine_machine\":false,\"fs_operation_blocked\":false,\"bootup_safeguard_enabled\":false,\"critical_process_disabled\":false,\"registry_operation_blocked\":false,\"handle_operation_downgraded\":false,\"blocking_unsupported_or_disabled\":false},\"triggering_process_graph_id\":\"pid:5556c55274f24f149ee3ffcc9226e595:169381898588255\"}],\"email_sent\":false,\"show_in_ui\":true,\"date_updated\":\"2023-09-01T21:36:36Z\",\"detection_id\":\"ldt:5556c55274f24f149ee3ffcc9226e595:169377591508015\",\"max_severity\":50,\"last_behavior\":\"2023-09-01T21:35:08Z\",\"first_behavior\":\"2023-09-01T21:35:08Z\",\"max_confidence\":50,\"created_timestamp\":\"2023-09-01T21:36:15.576367873Z\",\"quarantined_files\":[{\"id\":\"5556c55274f24f149ee3ffcc9226e595_a9b89714cb6e7c41c76484368856521d318b7237823f26f674c1f562eb11228a\",\"state\":\"quarantined\",\"sha256\":\"a9b89714cb6e7c41c76484368856521d318b7237823f26f674c1f562eb11228a\"}],\"seconds_to_triaged\":0,\"behaviors_processed\":[\"pid:5556c55274f24f149ee3ffcc9226e595:169381898588255:5701\"],\"seconds_to_resolved\":0,\"max_severity_displayname\":\"Medium\"}]},\"pairedItem\":{\"item\":0}},{\"json\":{\"meta\":{\"trace_id\":\"01ced1a3-9e31-4a5e-a4ab-33cba88c1081\",\"powered_by\":\"legacy-detects\",\"query_time\":0.002151283},\"errors\":[],\"resources\":[{\"cid\":\"4f82da4ce0564f64a2469af78d4c73dc\",\"device\":{\"cid\":\"4f82da4ce0564f64a2469af78d4c73dc\",\"status\":\"normal\",\"hostname\":\"Sample-Detect-3\",\"local_ip\":\"10.0.2.15\",\"device_id\":\"bbb9e831141343808ced11e87081d820\",\"last_seen\":\"2023-09-01T21:35:08Z\",\"first_seen\":\"2023-09-01T21:35:07Z\",\"os_version\":\"Windows 7\",\"external_ip\":\"10.224.240.255\",\"mac_address\":\"08-00-27-51-56-d8\",\"platform_id\":\"0\",\"bios_version\":\"VirtualBox\",\"product_type\":\"1\",\"agent_version\":\"5.25.10701.0\",\"major_version\":\"6\",\"minor_version\":\"1\",\"platform_name\":\"Windows\",\"config_id_base\":\"65994754\",\"config_id_build\":\"10701\",\"agent_load_flags\":\"0\",\"agent_local_time\":\"2019-08-08T18:25:50.945Z\",\"bios_manufacturer\":\"innotek GmbH\",\"product_type_desc\":\"Workstation\",\"config_id_platform\":\"3\",\"modified_timestamp\":\"2023-09-01T21:35:11Z\",\"system_manufacturer\":\"innotek GmbH\",\"system_product_name\":\"VirtualBox\"},\"status\":\"new\",\"hostinfo\":{\"domain\":\"\"},\"behaviors\":[{\"md5\":\"bb7e3954e2db5c58e47ba39b9aad35af\",\"sha256\":\"c3598ca88efe1b7aace5430686e69667e9d34450b6a40ee87b7da896b3044ec4\",\"tactic\":\"Machine Learning\",\"cmdline\":\"Cloud_MachineLearning.exe\",\"user_id\":\"S-1-5-21-1516984458-1910986210-2733350064-1000\",\"filename\":\"Cloud_MachineLearning.exe\",\"filepath\":\"\\\\Device\\\\HarddiskVolume2\\\\demo\\\\Cloud_MachineLearning.exe\",\"ioc_type\":\"\",\"scenario\":\"NGAV\",\"severity\":70,\"device_id\":\"bbb9e831141343808ced11e87081d820\",\"ioc_value\":\"\",\"objective\":\"Falcon Detection Method\",\"tactic_id\":\"CSTA0004\",\"technique\":\"Cloud-based ML\",\"timestamp\":\"2023-09-01T21:35:07Z\",\"user_name\":\"Trial\",\"confidence\":70,\"ioc_source\":\"\",\"behavior_id\":\"5708\",\"description\":\"This file meets the File Analysis ML algorithm's high-confidence threshold for malware.\",\"display_name\":\"\",\"technique_id\":\"CST0008\",\"parent_details\":{\"parent_md5\":\"5746bd7e255dd6a8afa06f7c42c1ba41\",\"parent_sha256\":\"db06c3534964e3fc79d2763144ba53742d7fa250ca336f4a0fe724b75aaff386\",\"parent_cmdline\":\"cmd.exe \",\"parent_process_graph_id\":\"pid:bbb9e831141343808ced11e87081d820:169377600150243\"},\"ioc_description\":\"\",\"alleged_filetype\":\"exe\",\"control_graph_id\":\"ctg:bbb9e831141343808ced11e87081d820:169373296003013\",\"pattern_disposition\":2176,\"pattern_disposition_details\":{\"detect\":false,\"rooting\":false,\"indicator\":false,\"inddet_mask\":false,\"kill_parent\":false,\"sensor_only\":false,\"kill_process\":false,\"suspend_parent\":false,\"kill_subprocess\":false,\"policy_disabled\":false,\"process_blocked\":true,\"quarantine_file\":true,\"suspend_process\":false,\"operation_blocked\":false,\"kill_action_failed\":false,\"quarantine_machine\":false,\"fs_operation_blocked\":false,\"bootup_safeguard_enabled\":false,\"critical_process_disabled\":false,\"registry_operation_blocked\":false,\"handle_operation_downgraded\":false,\"blocking_unsupported_or_disabled\":false},\"triggering_process_graph_id\":\"pid:bbb9e831141343808ced11e87081d820:169377602048561\"}],\"email_sent\":false,\"show_in_ui\":true,\"date_updated\":\"2023-09-01T21:35:35Z\",\"detection_id\":\"ldt:bbb9e831141343808ced11e87081d820:169373296003013\",\"max_severity\":70,\"last_behavior\":\"2023-09-01T21:35:07Z\",\"first_behavior\":\"2023-09-01T21:35:07Z\",\"max_confidence\":70,\"created_timestamp\":\"2023-09-01T21:35:15.070436407Z\",\"quarantined_files\":[{\"id\":\"bbb9e831141343808ced11e87081d820_c3598ca88efe1b7aace5430686e69667e9d34450b6a40ee87b7da896b3044ec4\",\"state\":\"quarantined\",\"sha256\":\"c3598ca88efe1b7aace5430686e69667e9d34450b6a40ee87b7da896b3044ec4\"}],\"seconds_to_triaged\":0,\"behaviors_processed\":[\"pid:bbb9e831141343808ced11e87081d820:169377602048561:5708\"],\"seconds_to_resolved\":0,\"max_severity_displayname\":\"High\"}]},\"pairedItem\":{\"item\":1}},{\"json\":{\"meta\":{\"trace_id\":\"420a43e9-52f6-4304-9db6-16afb83f94c0\",\"powered_by\":\"legacy-detects\",\"query_time\":0.005119884},\"errors\":[],\"resources\":[{\"cid\":\"4f82da4ce0564f64a2469af78d4c73dc\",\"device\":{\"cid\":\"4f82da4ce0564f64a2469af78d4c73dc\",\"status\":\"normal\",\"hostname\":\"Sample-Detect-1\",\"local_ip\":\"10.0.2.15\",\"device_id\":\"ac6da4f6e14249cc9e52a922d678edb7\",\"last_seen\":\"2023-09-01T21:35:06Z\",\"first_seen\":\"2023-09-01T21:35:07Z\",\"os_version\":\"Windows 7\",\"external_ip\":\"10.224.243.113\",\"mac_address\":\"08-00-27-51-56-d8\",\"platform_id\":\"0\",\"bios_version\":\"VirtualBox\",\"product_type\":\"1\",\"agent_version\":\"5.25.10701.0\",\"major_version\":\"6\",\"minor_version\":\"1\",\"platform_name\":\"Windows\",\"config_id_base\":\"65994754\",\"config_id_build\":\"10701\",\"agent_load_flags\":\"0\",\"agent_local_time\":\"2019-08-08T18:30:14.606Z\",\"bios_manufacturer\":\"innotek GmbH\",\"product_type_desc\":\"Workstation\",\"config_id_platform\":\"3\",\"modified_timestamp\":\"2023-09-01T21:35:09Z\",\"system_manufacturer\":\"innotek GmbH\",\"system_product_name\":\"VirtualBox\"},\"status\":\"new\",\"hostinfo\":{\"domain\":\"\"},\"behaviors\":[{\"md5\":\"27ad42cc15165b0ab19ea06a286c5507\",\"sha256\":\"ee117f5c26717300cc7ae1f92c77f6372fdcdc379599d2130b534f3c958247a9\",\"tactic\":\"Credential Access\",\"cmdline\":\"c:\\\\demo\\\\Mimikatz_Credtheft.exe\",\"user_id\":\"S-1-5-21-1516984458-1910986210-2733350064-1000\",\"filename\":\"Mimikatz_Credtheft.exe\",\"filepath\":\"\\\\Device\\\\HarddiskVolume2\\\\demo\\\\Mimikatz_Credtheft.exe\",\"ioc_type\":\"\",\"scenario\":\"credential_theft\",\"severity\":70,\"device_id\":\"ac6da4f6e14249cc9e52a922d678edb7\",\"ioc_value\":\"\",\"objective\":\"Gain Access\",\"tactic_id\":\"TA0006\",\"technique\":\"OS Credential Dumping\",\"timestamp\":\"2023-09-01T21:35:05Z\",\"user_name\":\"Trial\",\"confidence\":99,\"ioc_source\":\"\",\"behavior_id\":\"52\",\"description\":\"The LSASS process was accessed from the mimikatz hack tool.\",\"display_name\":\"LsassAccessFromMimikatz\",\"technique_id\":\"T1003\",\"parent_details\":{\"parent_md5\":\"5746bd7e255dd6a8afa06f7c42c1ba41\",\"parent_sha256\":\"db06c3534964e3fc79d2763144ba53742d7fa250ca336f4a0fe724b75aaff386\",\"parent_cmdline\":\"cmd.exe \",\"parent_process_graph_id\":\"pid:ac6da4f6e14249cc9e52a922d678edb7:169390485285907\"},\"ioc_description\":\"\",\"alleged_filetype\":\"exe\",\"control_graph_id\":\"ctg:ac6da4f6e14249cc9e52a922d678edb7:169386181192007\",\"pattern_disposition\":128,\"pattern_disposition_details\":{\"detect\":false,\"rooting\":false,\"indicator\":false,\"inddet_mask\":false,\"kill_parent\":false,\"sensor_only\":false,\"kill_process\":false,\"suspend_parent\":false,\"kill_subprocess\":false,\"policy_disabled\":false,\"process_blocked\":false,\"quarantine_file\":true,\"suspend_process\":false,\"operation_blocked\":false,\"kill_action_failed\":false,\"quarantine_machine\":false,\"fs_operation_blocked\":false,\"bootup_safeguard_enabled\":false,\"critical_process_disabled\":false,\"registry_operation_blocked\":false,\"handle_operation_downgraded\":false,\"blocking_unsupported_or_disabled\":false},\"triggering_process_graph_id\":\"pid:ac6da4f6e14249cc9e52a922d678edb7:169390487319138\"}],\"email_sent\":false,\"show_in_ui\":true,\"date_updated\":\"2023-09-01T21:36:37Z\",\"detection_id\":\"ldt:ac6da4f6e14249cc9e52a922d678edb7:169386181192007\",\"max_severity\":70,\"last_behavior\":\"2023-09-01T21:35:05Z\",\"first_behavior\":\"2023-09-01T21:35:05Z\",\"max_confidence\":99,\"created_timestamp\":\"2023-09-01T21:36:15.373807643Z\",\"quarantined_files\":[{\"id\":\"ac6da4f6e14249cc9e52a922d678edb7_ee117f5c26717300cc7ae1f92c77f6372fdcdc379599d2130b534f3c958247a9\",\"state\":\"quarantined\",\"sha256\":\"ee117f5c26717300cc7ae1f92c77f6372fdcdc379599d2130b534f3c958247a9\"}],\"seconds_to_triaged\":0,\"behaviors_processed\":[\"pid:ac6da4f6e14249cc9e52a922d678edb7:169390487319138:52\"],\"seconds_to_resolved\":0,\"max_severity_displayname\":\"High\"}]},\"pairedItem\":{\"item\":2}}],\"Look up SHA in Virustotal\":[{\"json\":{\"data\":{\"id\":\"fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37\",\"type\":\"file\",\"links\":{\"self\":\"https://www.virustotal.com/api/v3/files/fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37\"},\"attributes\":{\"md5\":\"2c527d980eb30daa789492283f9bf69e\",\"sha1\":\"d007f64dae6bc5fdfe4ff30fe7be9b7d62238012\",\"size\":804352,\"tags\":[\"peexe\",\"assembly\",\"runtime-modules\",\"detect-debug-environment\",\"idle\",\"long-sleeps\",\"direct-cpu-clock-access\",\"64bits\"],\"tlsh\":\"T1DF051955A3ED0098F1B79AB59EF19516EBB378D61830C30F02A8CA5F1F73B519D29322\",\"trid\":[{\"file_type\":\"Microsoft Visual C++ compiled executable (generic)\",\"probability\":43.3},{\"file_type\":\"Win64 Executable (generic)\",\"probability\":27.6},{\"file_type\":\"Win16 NE executable (generic)\",\"probability\":13.2},{\"file_type\":\"OS/2 Executable (generic)\",\"probability\":5.3},{\"file_type\":\"Generic Win/DOS Executable\",\"probability\":5.2}],\"magic\":\"PE32+ executable (console) x86-64, for MS Windows\",\"names\":[\"mimikatz\",\"mimikatz.exe\",\"172869_96@172869\",\"172611_113@172611\",\"172608_99@172608\",\"172604_113@172604\",\"172603_99@172603\",\"172515_99@172515\",\"172514_99@172514\",\"172513_101@172513\",\"172511_97@172511\",\"mimi64.exe\",\"VirusShare_2c527d980eb30daa789492283f9bf69e\",\"fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37\",\"Tmp_575016140236840010mimikatz.exe\",\"mimikatz.exe3070765334181680807.tmp\",\"mimikatz.exe3239312256147622824.tmp\",\"realprotects02_mmk.exe\",\"aa\"],\"vhash\":\"085066651d1555651572z152z8137082f1z30300240701051z203dz\",\"sha256\":\"fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37\",\"ssdeep\":\"12288:7DKgZYQ/TH180/fFKZxjpeNwGxj8TZncET1efb2EfYpXcO:3vZYQ/TV8iSjpMgncDT2Efi\",\"pe_info\":{\"imphash\":\"1b0369a1e06271833f78ffa70ffb4eaf\",\"sections\":[{\"md5\":\"211c2a40b62791565749abc7d7e30f37\",\"chi2\":3115270.25,\"name\":\".text\",\"flags\":\"rx\",\"entropy\":6.44,\"raw_size\":497664,\"virtual_size\":497409,\"virtual_address\":4096},{\"md5\":\"51730eaa462a07fe3b68ed33c1bfc3e0\",\"chi2\":15408258,\"name\":\".rdata\",\"flags\":\"r\",\"entropy\":4.18,\"raw_size\":247296,\"virtual_size\":246884,\"virtual_address\":503808},{\"md5\":\"b3c66f6122ece6ce02e2f17a3dc6c1e2\",\"chi2\":2412184.25,\"name\":\".data\",\"flags\":\"rw\",\"entropy\":2.87,\"raw_size\":19968,\"virtual_size\":23364,\"virtual_address\":753664},{\"md5\":\"bc744f41721f50c78b8d48aedfe88cf2\",\"chi2\":384387.06,\"name\":\".pdata\",\"flags\":\"r\",\"entropy\":5.74,\"raw_size\":16384,\"virtual_size\":16344,\"virtual_address\":778240},{\"md5\":\"19c28ffab7ff15fb1476e2ce044fcb76\",\"chi2\":180777.06,\"name\":\".rsrc\",\"flags\":\"r\",\"entropy\":6.55,\"raw_size\":16384,\"virtual_size\":16376,\"virtual_address\":794624},{\"md5\":\"ddae0726e032c4bb02273debff9763ac\",\"chi2\":203187.77,\"name\":\".reloc\",\"flags\":\"r\",\"entropy\":4.37,\"raw_size\":5632,\"virtual_size\":5600,\"virtual_address\":811008}],\"timestamp\":1502638084,\"entry_point\":473720,\"import_list\":[{\"library_name\":\"NETAPI32.dll\",\"imported_functions\":[\"DsGetDcNameW\",\"NetApiBufferFree\",\"NetRemoteTOD\",\"NetServerGetInfo\",\"NetSessionEnum\",\"NetShareEnum\",\"NetStatisticsGet\",\"NetWkstaUserEnum\"]},{\"library_name\":\"WINSTA.dll\",\"imported_functions\":[\"WinStationCloseServer\",\"WinStationConnectW\",\"WinStationEnumerateW\",\"WinStationFreeMemory\",\"WinStationOpenServerW\",\"WinStationQueryInformationW\"]},{\"library_name\":\"CRYPT32.dll\",\"imported_functions\":[\"CertAddCertificateContextToStore\",\"CertAddEncodedCertificateToStore\",\"CertCloseStore\",\"CertEnumCertificatesInStore\",\"CertEnumSystemStore\",\"CertFindCertificateInStore\",\"CertFreeCertificateContext\",\"CertGetCertificateContextProperty\",\"CertGetNameStringW\",\"CertNameToStrW\",\"CertOpenStore\",\"CertSetCertificateContextProperty\",\"CryptAcquireCertificatePrivateKey\",\"CryptBinaryToStringW\",\"CryptEncodeObject\",\"CryptExportPublicKeyInfo\",\"CryptProtectData\",\"CryptSignAndEncodeCertificate\",\"CryptStringToBinaryW\",\"CryptUnprotectData\",\"PFXExportCertStoreEx\"]},{\"library_name\":\"ADVAPI32.dll\",\"imported_functions\":[\"AllocateAndInitializeSid\",\"BuildSecurityDescriptorW\",\"CheckTokenMembership\",\"ClearEventLogW\",\"CloseServiceHandle\",\"ControlService\",\"ConvertSidToStringSidW\",\"ConvertStringSidToSidW\",\"CopySid\",\"CreateProcessAsUserW\",\"CreateProcessWithLogonW\",\"CreateServiceW\",\"CreateWellKnownSid\",\"CredEnumerateW\",\"CredFree\",\"CryptAcquireContextA\",\"CryptAcquireContextW\",\"CryptCreateHash\",\"CryptDecrypt\",\"CryptDestroyHash\",\"CryptDestroyKey\",\"CryptDuplicateKey\",\"CryptEncrypt\",\"CryptEnumProvidersW\",\"CryptEnumProviderTypesW\",\"CryptExportKey\",\"CryptGenKey\",\"CryptGetHashParam\",\"CryptGetKeyParam\",\"CryptGetProvParam\",\"CryptGetUserKey\",\"CryptHashData\",\"CryptImportKey\",\"CryptReleaseContext\",\"CryptSetHashParam\",\"CryptSetKeyParam\",\"CryptSetProvParam\",\"DeleteService\",\"DuplicateTokenEx\",\"FreeSid\",\"GetLengthSid\",\"GetNumberOfEventLogRecords\",\"GetSidSubAuthority\",\"GetSidSubAuthorityCount\",\"GetTokenInformation\",\"IsTextUnicode\",\"IsValidSid\",\"LookupAccountNameW\",\"LookupAccountSidW\",\"LookupPrivilegeNameW\",\"LookupPrivilegeValueW\",\"LsaClose\",\"LsaEnumerateTrustedDomainsEx\",\"LsaFreeMemory\",\"LsaOpenPolicy\",\"LsaOpenSecret\",\"LsaQueryInformationPolicy\",\"LsaQuerySecret\",\"LsaQueryTrustedDomainInfoByName\",\"LsaRetrievePrivateData\",\"OpenEventLogW\",\"OpenProcessToken\",\"OpenSCManagerW\",\"OpenServiceW\",\"OpenThreadToken\",\"QueryServiceObjectSecurity\",\"QueryServiceStatusEx\",\"RegCloseKey\",\"RegEnumKeyExW\",\"RegEnumValueW\",\"RegisterServiceCtrlHandlerW\",\"RegOpenKeyExW\",\"RegQueryInfoKeyW\",\"RegQueryValueExW\",\"RegSetValueExW\",\"SetServiceObjectSecurity\",\"SetServiceStatus\",\"SetThreadToken\",\"StartServiceCtrlDispatcherW\",\"StartServiceW\",\"SystemFunction001\",\"SystemFunction005\",\"SystemFunction006\",\"SystemFunction007\",\"SystemFunction013\",\"SystemFunction025\",\"SystemFunction032\"]},{\"library_name\":\"KERNEL32.dll\",\"imported_functions\":[\"AreFileApisANSI\",\"CloseHandle\",\"CreateEventW\",\"CreateFileA\",\"CreateFileMappingA\",\"CreateFileMappingW\",\"CreateFileW\",\"CreateMutexW\",\"CreatePipe\",\"CreateProcessW\",\"CreateRemoteThread\",\"CreateThread\",\"DeleteCriticalSection\",\"DeleteFileA\",\"DeleteFileW\",\"DeviceIoControl\",\"DuplicateHandle\",\"EnterCriticalSection\",\"ExitProcess\",\"ExpandEnvironmentStringsW\",\"FileTimeToLocalFileTime\",\"FileTimeToSystemTime\",\"FillConsoleOutputCharacterW\",\"FindClose\",\"FindFirstFileW\",\"FindNextFileW\",\"FlushFileBuffers\",\"FlushViewOfFile\",\"FormatMessageA\",\"FormatMessageW\",\"FreeLibrary\",\"GetComputerNameExW\",\"GetConsoleOutputCP\",\"GetConsoleScreenBufferInfo\",\"GetCurrentDirectoryW\",\"GetCurrentProcess\",\"GetCurrentProcessId\",\"GetCurrentThread\",\"GetCurrentThreadId\",\"GetDateFormatW\",\"GetDiskFreeSpaceA\",\"GetDiskFreeSpaceW\",\"GetFileAttributesA\",\"GetFileAttributesExW\",\"GetFileAttributesW\",\"GetFileSize\",\"GetFileSizeEx\",\"GetFullPathNameA\",\"GetFullPathNameW\",\"GetLastError\",\"GetModuleHandleW\",\"GetProcAddress\",\"GetProcessHeap\",\"GetProcessId\",\"GetStdHandle\",\"GetSystemInfo\",\"GetSystemTime\",\"GetSystemTimeAsFileTime\",\"GetTempPathA\",\"GetTempPathW\",\"GetTickCount\",\"GetTimeFormatW\",\"GetTimeZoneInformation\",\"GetVersionExA\",\"GetVersionExW\",\"HeapAlloc\",\"HeapCompact\",\"HeapCreate\",\"HeapDestroy\",\"HeapFree\",\"HeapReAlloc\",\"HeapSize\",\"HeapValidate\",\"InitializeCriticalSection\",\"LeaveCriticalSection\",\"LoadLibraryA\",\"LoadLibraryW\",\"LocalAlloc\",\"LocalFree\",\"LockFile\",\"LockFileEx\",\"lstrlenA\",\"lstrlenW\",\"MapViewOfFile\",\"MultiByteToWideChar\",\"OpenProcess\",\"OutputDebugStringA\",\"OutputDebugStringW\",\"ProcessIdToSessionId\",\"QueryPerformanceCounter\",\"RaiseException\",\"ReadFile\",\"ReadProcessMemory\",\"RtlCaptureContext\",\"RtlLookupFunctionEntry\",\"RtlVirtualUnwind\",\"SetConsoleCtrlHandler\",\"SetConsoleCursorPosition\",\"SetConsoleOutputCP\",\"SetConsoleTitleW\",\"SetCurrentDirectoryW\",\"SetEndOfFile\",\"SetEvent\",\"SetFilePointer\",\"SetHandleInformation\",\"SetLastError\",\"SetUnhandledExceptionFilter\",\"Sleep\",\"SystemTimeToFileTime\",\"TerminateProcess\",\"TerminateThread\",\"TryEnterCriticalSection\",\"UnhandledExceptionFilter\",\"UnlockFile\",\"UnlockFileEx\",\"UnmapViewOfFile\",\"VirtualAlloc\",\"VirtualAllocEx\",\"VirtualFree\",\"VirtualFreeEx\",\"VirtualProtect\",\"VirtualProtectEx\",\"VirtualQuery\",\"VirtualQueryEx\",\"WaitForSingleObject\",\"WaitForSingleObjectEx\",\"WideCharToMultiByte\",\"WriteFile\",\"WriteProcessMemory\"]},{\"library_name\":\"msvcrt.dll\",\"imported_functions\":[\"?terminate@@YAXXZ\",\"__badioinfo\",\"__C_specific_handler\",\"__mb_cur_max\",\"__pioinfo\",\"__set_app_type\",\"__setusermatherr\",\"__wgetmainargs\",\"_amsg_exit\",\"_cexit\",\"_commode\",\"_errno\",\"_exit\",\"_fileno\",\"_fmode\",\"_initterm\",\"_iob\",\"_isatty\",\"_itoa\",\"_lseeki64\",\"_msize\",\"_read\",\"_setmode\",\"_snprintf\",\"_wcsdup\",\"_wfopen\",\"_wpgmptr\",\"_write\",\"_XcptFilter\",\"calloc\",\"exit\",\"fclose\",\"ferror\",\"fflush\",\"fgetws\",\"free\",\"gmtime\",\"isdigit\",\"isleadbyte\",\"isspace\",\"iswctype\",\"isxdigit\",\"localeconv\",\"malloc\",\"mbtowc\",\"memcpy\",\"memset\",\"realloc\",\"strftime\",\"ungetc\",\"vfwprintf\",\"vwprintf\",\"wcstombs\",\"wctomb\",\"wprintf\"]},{\"library_name\":\"OLEAUT32.dll\",\"imported_functions\":[\"SysAllocString\",\"SysFreeString\",\"VariantInit\"]},{\"library_name\":\"netapi32.dll\",\"imported_functions\":[\"I_NetServerAuthenticate2\",\"I_NetServerReqChallenge\",\"I_NetServerTrustPasswordsGet\"]},{\"library_name\":\"RPCRT4.dll\",\"imported_functions\":[\"I_RpcBindingInqSecurityContext\",\"MesDecodeIncrementalHandleCreate\",\"MesEncodeIncrementalHandleCreate\",\"MesHandleFree\",\"MesIncrementalHandleReset\",\"NdrClientCall2\",\"NdrMesTypeAlignSize2\",\"NdrMesTypeDecode2\",\"NdrMesTypeEncode2\",\"NdrMesTypeFree2\",\"NdrServerCall2\",\"RpcBindingFree\",\"RpcBindingFromStringBindingW\",\"RpcBindingInqAuthClientW\",\"RpcBindingSetAuthInfoExW\",\"RpcBindingSetOption\",\"RpcBindingToStringBindingW\",\"RpcBindingVectorFree\",\"RpcEpRegisterW\",\"RpcEpResolveBinding\",\"RpcEpUnregister\",\"RpcImpersonateClient\",\"RpcMgmtEpEltInqBegin\",\"RpcMgmtEpEltInqDone\",\"RpcMgmtEpEltInqNextW\",\"RpcMgmtStopServerListening\",\"RpcRevertToSelf\",\"RpcServerInqBindings\",\"RpcServerListen\",\"RpcServerRegisterAuthInfoW\",\"RpcServerRegisterIf2\",\"RpcServerUnregisterIfEx\",\"RpcServerUseProtseqEpW\",\"RpcStringBindingComposeW\",\"RpcStringFreeW\",\"UuidCreate\"]},{\"library_name\":\"SHELL32.dll\",\"imported_functions\":[\"CommandLineToArgvW\"]},{\"library_name\":\"ntdll.dll\",\"imported_functions\":[\"__chkstk\",\"_stricmp\",\"_vscwprintf\",\"_wcsicmp\",\"_wcsnicmp\",\"memcmp\",\"memmove\",\"NtCompareTokens\",\"NtEnumerateSystemEnvironmentValuesEx\",\"NtQueryInformationProcess\",\"NtQueryObject\",\"NtQuerySystemEnvironmentValueEx\",\"NtQuerySystemInformation\",\"NtResumeProcess\",\"NtSetSystemEnvironmentValueEx\",\"NtSuspendProcess\",\"NtTerminateProcess\",\"RtlAdjustPrivilege\",\"RtlAnsiStringToUnicodeString\",\"RtlAppendUnicodeStringToString\",\"RtlCompressBuffer\",\"RtlCreateUserThread\",\"RtlDowncaseUnicodeString\",\"RtlEqualString\",\"RtlEqualUnicodeString\",\"RtlFreeAnsiString\",\"RtlFreeOemString\",\"RtlFreeUnicodeString\",\"RtlGetCompressionWorkSpaceSize\",\"RtlGetCurrentPeb\",\"RtlGetNtVersionNumbers\",\"RtlGUIDFromString\",\"RtlInitUnicodeString\",\"RtlIpv4AddressToStringW\",\"RtlIpv6AddressToStringW\",\"RtlStringFromGUID\",\"RtlUnicodeStringToAnsiString\",\"RtlUpcaseUnicodeString\",\"RtlUpcaseUnicodeStringToOemString\",\"strrchr\",\"strtoul\",\"towupper\",\"wcschr\",\"wcsrchr\",\"wcsstr\",\"wcstol\",\"wcstoul\"]},{\"library_name\":\"cryptdll.dll\",\"imported_functions\":[\"CDGenerateRandomBits\",\"CDLocateCheckSum\",\"CDLocateCSystem\",\"MD5Final\",\"MD5Init\",\"MD5Update\"]},{\"library_name\":\"USERENV.dll\",\"imported_functions\":[\"CreateEnvironmentBlock\",\"DestroyEnvironmentBlock\"]},{\"library_name\":\"HID.DLL\",\"imported_functions\":[\"HidD_FreePreparsedData\",\"HidD_GetAttributes\",\"HidD_GetHidGuid\",\"HidD_GetPreparsedData\",\"HidP_GetCaps\"]},{\"library_name\":\"SETUPAPI.dll\",\"imported_functions\":[\"SetupDiDestroyDeviceInfoList\",\"SetupDiEnumDeviceInterfaces\",\"SetupDiGetClassDevsW\",\"SetupDiGetDeviceInterfaceDetailW\"]},{\"library_name\":\"WLDAP32.dll\",\"imported_functions\":[\"Ord(127)\",\"Ord(13)\",\"Ord(133)\",\"Ord(142)\",\"Ord(145)\",\"Ord(147)\",\"Ord(157)\",\"Ord(167)\",\"Ord(208)\",\"Ord(26)\",\"Ord(27)\",\"Ord(301)\",\"Ord(304)\",\"Ord(309)\",\"Ord(310)\",\"Ord(36)\",\"Ord(41)\",\"Ord(54)\",\"Ord(73)\",\"Ord(77)\",\"Ord(79)\"]},{\"library_name\":\"VERSION.dll\",\"imported_functions\":[\"GetFileVersionInfoSizeW\",\"GetFileVersionInfoW\",\"VerQueryValueW\"]},{\"library_name\":\"SAMLIB.dll\",\"imported_functions\":[\"SamCloseHandle\",\"SamConnect\",\"SamEnumerateAliasesInDomain\",\"SamEnumerateDomainsInSamServer\",\"SamEnumerateGroupsInDomain\",\"SamEnumerateUsersInDomain\",\"SamFreeMemory\",\"SamGetAliasMembership\",\"SamGetGroupsForUser\",\"SamGetMembersInAlias\",\"SamGetMembersInGroup\",\"SamiChangePasswordUser\",\"SamLookupDomainInSamServer\",\"SamLookupIdsInDomain\",\"SamLookupNamesInDomain\",\"SamOpenAlias\",\"SamOpenDomain\",\"SamOpenGroup\",\"SamOpenUser\",\"SamQueryInformationUser\",\"SamRidToSid\",\"SamSetInformationUser\"]},{\"library_name\":\"msasn1.dll\",\"imported_functions\":[\"ASN1_CloseDecoder\",\"ASN1_CloseEncoder\",\"ASN1_CloseModule\",\"ASN1_CreateDecoder\",\"ASN1_CreateEncoder\",\"ASN1_CreateModule\",\"ASN1_FreeEncoded\",\"ASN1BERDotVal2Eoid\"]},{\"library_name\":\"Secur32.dll\",\"imported_functions\":[\"FreeContextBuffer\",\"LsaCallAuthenticationPackage\",\"LsaConnectUntrusted\",\"LsaDeregisterLogonProcess\",\"LsaFreeReturnBuffer\",\"LsaLookupAuthenticationPackage\",\"QueryContextAttributesW\"]},{\"library_name\":\"WinSCard.dll\",\"imported_functions\":[\"SCardConnectW\",\"SCardDisconnect\",\"SCardEstablishContext\",\"SCardFreeMemory\",\"SCardGetAttrib\",\"SCardGetCardTypeProviderNameW\",\"SCardListCardsW\",\"SCardListReadersW\",\"SCardReleaseContext\"]},{\"library_name\":\"advapi32.dll\",\"imported_functions\":[\"A_SHAFinal\",\"A_SHAInit\",\"A_SHAUpdate\"]},{\"library_name\":\"ole32.dll\",\"imported_functions\":[\"CoCreateInstance\",\"CoInitializeEx\",\"CoUninitialize\"]},{\"library_name\":\"SHLWAPI.dll\",\"imported_functions\":[\"PathCanonicalizeW\",\"PathCombineW\",\"PathFindFileNameW\",\"PathIsDirectoryW\",\"PathIsRelativeW\"]},{\"library_name\":\"USER32.dll\",\"imported_functions\":[\"GetKeyboardLayout\",\"IsCharAlphaNumericW\"]}],\"machine_type\":34404,\"resource_langs\":{\"ENGLISH US\":5},\"resource_types\":{\"RT_ICON\":3,\"RT_VERSION\":1,\"RT_GROUP_ICON\":1},\"resource_details\":[{\"chi2\":97825.41,\"lang\":\"ENGLISH US\",\"type\":\"RT_ICON\",\"sha256\":\"bb14aef3a976374d7a2d7032e95e8b7d339402547705c07768f5e523aa227dbc\",\"entropy\":6.587414264678955,\"filetype\":\"unknown\"},{\"chi2\":38498.81,\"lang\":\"ENGLISH US\",\"type\":\"RT_ICON\",\"sha256\":\"4a5ff11cfc675db544c54be18d5f1c2a29ef4c9e02b931792b48263f773fe477\",\"entropy\":6.686271667480469,\"filetype\":\"unknown\"},{\"chi2\":9270.41,\"lang\":\"ENGLISH US\",\"type\":\"RT_ICON\",\"sha256\":\"268a8b9081b620341e20e68861b379f8d9a72d2e44a5f9910ce6c67c5fcfcbc5\",\"entropy\":6.698233127593994,\"filetype\":\"unknown\"},{\"chi2\":3685.33,\"lang\":\"ENGLISH US\",\"type\":\"RT_GROUP_ICON\",\"sha256\":\"77a1efb6136f52dd2372987b13bf486aa75baeacb93bad009aa3e284c57b8694\",\"entropy\":2.4584920406341553,\"filetype\":\"ICO\"},{\"chi2\":74977.56,\"lang\":\"ENGLISH US\",\"type\":\"RT_VERSION\",\"sha256\":\"448bf98b570a49d2c2998a29a7e5cd607608c45dc76ec66754e22423be55e747\",\"entropy\":3.480771541595459,\"filetype\":\"unknown\"}],\"rich_pe_header_hash\":\"125ebb664f20db252068564903aac593\",\"compiler_product_versions\":[\"[ASM] VS2008 SP1 build 30729 count=1\",\"[ C ] VS2008 SP1 build 30729 count=62\",\"[C++] VS2008 SP1 build 30729 count=16\",\"[IMP] VS2008 SP1 build 30729 count=2\",\"[IMP] VS2010 SP1 build 40219 count=2\",\"[IMP] VS2012 UPD4 build 61030 count=4\",\"[IMP] VS2012 UPD2 build 60315 count=2\",\"id: 109, version: 40310 count=2\",\"[C++] VS2008 build 21022 count=2\",\"id: 123, version: 40310 count=41\",\"[---] Unmarked objects count=548\",\"id: 126, version: 50727 count=1\",\"id: 137, version: 30729 count=79\",\"id: 148, version: 30729 count=1\",\"[LNK] VS2008 SP1 build 30729 count=1\"]},\"type_tag\":\"peexe\",\"type_tags\":[\"executable\",\"windows\",\"win32\",\"pe\",\"peexe\"],\"reputation\":-3,\"total_votes\":{\"harmless\":0,\"malicious\":3},\"authentihash\":\"02c86c9977c85a08f18ac1dae02f1cdda569eaba51ec6d17aed6f4ebc2adaf21\",\"detectiteasy\":{\"values\":[{\"name\":\"Microsoft Visual C/C++\",\"type\":\"Compiler\",\"version\":\"2008 SP1\"},{\"info\":\"LTCG/C\",\"name\":\"Microsoft Visual C/C++\",\"type\":\"Compiler\",\"version\":\"15.00.30729\"},{\"name\":\"Microsoft Linker\",\"type\":\"Linker\",\"version\":\"9.00.30729\"},{\"name\":\"Visual Studio\",\"type\":\"Tool\",\"version\":\"2008\"}],\"filetype\":\"PE64\"},\"creation_date\":1502638084,\"signature_info\":{\"product\":\"mimikatz\",\"copyright\":\"Copyright (c) 2007 - 2017 gentilkiwi (Benjamin DELPY)\",\"description\":\"mimikatz for Windows\",\"file version\":\"2.1.1.0\",\"internal name\":\"mimikatz\",\"original name\":\"mimikatz.exe\"},\"type_extension\":\"exe\",\"unique_sources\":26,\"meaningful_name\":\"mimikatz.exe\",\"times_submitted\":40,\"sandbox_verdicts\":{\"Zenbox\":{\"category\":\"malicious\",\"confidence\":72,\"sandbox_name\":\"Zenbox\",\"malware_names\":[\"Mimikatz\"],\"malware_classification\":[\"MALWARE\",\"TROJAN\"]}},\"type_description\":\"Win32 EXE\",\"last_analysis_date\":1693832687,\"first_seen_itw_date\":1613148992,\"last_analysis_stats\":{\"failure\":0,\"timeout\":0,\"harmless\":0,\"malicious\":59,\"suspicious\":0,\"undetected\":12,\"type-unsupported\":4,\"confirmed-timeout\":0},\"last_submission_date\":1689416355,\"first_submission_date\":1502652611,\"last_analysis_results\":{\"AVG\":{\"method\":\"blacklist\",\"result\":\"Win64:HacktoolX-gen [Trj]\",\"category\":\"malicious\",\"engine_name\":\"AVG\",\"engine_update\":\"20230904\",\"engine_version\":\"23.8.8378.0\"},\"CMC\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"CMC\",\"engine_update\":\"20230822\",\"engine_version\":\"2.4.2022.1\"},\"MAX\":{\"method\":\"blacklist\",\"result\":\"malware (ai score=100)\",\"category\":\"malicious\",\"engine_name\":\"MAX\",\"engine_update\":\"20230904\",\"engine_version\":\"2023.1.4.1\"},\"APEX\":{\"method\":\"blacklist\",\"result\":\"Malicious\",\"category\":\"malicious\",\"engine_name\":\"APEX\",\"engine_update\":\"20230904\",\"engine_version\":\"6.451\"},\"Bkav\":{\"method\":\"blacklist\",\"result\":\"W32.AIDetectMalware.64\",\"category\":\"malicious\",\"engine_name\":\"Bkav\",\"engine_update\":\"20230904\",\"engine_version\":\"2.0.0.1\"},\"K7GW\":{\"method\":\"blacklist\",\"result\":\"Hacktool ( 0043c1591 )\",\"category\":\"malicious\",\"engine_name\":\"K7GW\",\"engine_update\":\"20230904\",\"engine_version\":\"12.113.49483\"},\"ALYac\":{\"method\":\"blacklist\",\"result\":\"Application.HackTool.Mimikatz.Z\",\"category\":\"malicious\",\"engine_name\":\"ALYac\",\"engine_update\":\"20230904\",\"engine_version\":\"1.1.3.1\"},\"Avast\":{\"method\":\"blacklist\",\"result\":\"Win64:HacktoolX-gen [Trj]\",\"category\":\"malicious\",\"engine_name\":\"Avast\",\"engine_update\":\"20230904\",\"engine_version\":\"23.8.8378.0\"},\"Avira\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"Avira\",\"engine_update\":\"20230904\",\"engine_version\":\"8.3.3.16\"},\"Baidu\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"Baidu\",\"engine_update\":\"20190318\",\"engine_version\":\"1.0.0.2\"},\"Cynet\":{\"method\":\"blacklist\",\"result\":\"Malicious (score: 100)\",\"category\":\"malicious\",\"engine_name\":\"Cynet\",\"engine_update\":\"20230904\",\"engine_version\":\"4.0.0.27\"},\"Cyren\":{\"method\":\"blacklist\",\"result\":\"W64/S-b61adc75!Eldorado\",\"category\":\"malicious\",\"engine_name\":\"Cyren\",\"engine_update\":\"20230904\",\"engine_version\":\"6.5.1.2\"},\"DrWeb\":{\"method\":\"blacklist\",\"result\":\"Tool.Mimikatz.149\",\"category\":\"malicious\",\"engine_name\":\"DrWeb\",\"engine_update\":\"20230904\",\"engine_version\":\"7.0.61.8090\"},\"GData\":{\"method\":\"blacklist\",\"result\":\"Win64.Trojan-Stealer.Mimikatz.J\",\"category\":\"malicious\",\"engine_name\":\"GData\",\"engine_update\":\"20230904\",\"engine_version\":\"A:25.36452B:27.33020\"},\"Panda\":{\"method\":\"blacklist\",\"result\":\"Hacktool/Mimikatz\",\"category\":\"malicious\",\"engine_name\":\"Panda\",\"engine_update\":\"20230904\",\"engine_version\":\"4.6.4.2\"},\"VBA32\":{\"method\":\"blacklist\",\"result\":\"TrojanPSW.Win64.Mimikatz\",\"category\":\"malicious\",\"engine_name\":\"VBA32\",\"engine_update\":\"20230904\",\"engine_version\":\"5.0.0\"},\"VIPRE\":{\"method\":\"blacklist\",\"result\":\"Application.HackTool.Mimikatz.Z\",\"category\":\"malicious\",\"engine_name\":\"VIPRE\",\"engine_update\":\"20230904\",\"engine_version\":\"6.0.0.35\"},\"VirIT\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"VirIT\",\"engine_update\":\"20230904\",\"engine_version\":\"9.5.527\"},\"Zoner\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"Zoner\",\"engine_update\":\"20230904\",\"engine_version\":\"2.2.2.0\"},\"ClamAV\":{\"method\":\"blacklist\",\"result\":\"Win.Dropper.Mimikatz-9778171-1\",\"category\":\"malicious\",\"engine_name\":\"ClamAV\",\"engine_update\":\"20230904\",\"engine_version\":\"1.2.0.0\"},\"Google\":{\"method\":\"blacklist\",\"result\":\"Detected\",\"category\":\"malicious\",\"engine_name\":\"Google\",\"engine_update\":\"20230904\",\"engine_version\":\"1693828828\"},\"Ikarus\":{\"method\":\"blacklist\",\"result\":\"HackTool.Mimikatz\",\"category\":\"malicious\",\"engine_name\":\"Ikarus\",\"engine_update\":\"20230904\",\"engine_version\":\"6.1.14.0\"},\"Lionic\":{\"method\":\"blacklist\",\"result\":\"Trojan.Win32.Generic.4!c\",\"category\":\"malicious\",\"engine_name\":\"Lionic\",\"engine_update\":\"20230904\",\"engine_version\":\"7.5\"},\"McAfee\":{\"method\":\"blacklist\",\"result\":\"HTool-MimiKatz!2C527D980EB3\",\"category\":\"malicious\",\"engine_name\":\"McAfee\",\"engine_update\":\"20230904\",\"engine_version\":\"6.0.6.653\"},\"Rising\":{\"method\":\"blacklist\",\"result\":\"HackTool.Mimikatz!1.B63A (CLASSIC)\",\"category\":\"malicious\",\"engine_name\":\"Rising\",\"engine_update\":\"20230904\",\"engine_version\":\"25.0.0.27\"},\"Sophos\":{\"method\":\"blacklist\",\"result\":\"ATK/Apteryx-Gen\",\"category\":\"malicious\",\"engine_name\":\"Sophos\",\"engine_update\":\"20230904\",\"engine_version\":\"2.3.1.0\"},\"Yandex\":{\"method\":\"blacklist\",\"result\":\"Trojan.GenAsa!yEfBfhfG1SM\",\"category\":\"malicious\",\"engine_name\":\"Yandex\",\"engine_update\":\"20230904\",\"engine_version\":\"5.5.2.24\"},\"Zillya\":{\"method\":\"blacklist\",\"result\":\"Tool.Mimikatz.Win32.432\",\"category\":\"malicious\",\"engine_name\":\"Zillya\",\"engine_update\":\"20230904\",\"engine_version\":\"2.0.0.4949\"},\"Acronis\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"Acronis\",\"engine_update\":\"20230828\",\"engine_version\":\"1.2.0.121\"},\"Alibaba\":{\"method\":\"blacklist\",\"result\":\"TrojanPSW:Win64/Mimikatz.3b37040b\",\"category\":\"malicious\",\"engine_name\":\"Alibaba\",\"engine_update\":\"20190527\",\"engine_version\":\"0.3.0.5\"},\"Arcabit\":{\"method\":\"blacklist\",\"result\":\"Application.HackTool.Mimikatz.Z\",\"category\":\"malicious\",\"engine_name\":\"Arcabit\",\"engine_update\":\"20230904\",\"engine_version\":\"2022.0.0.18\"},\"Cylance\":{\"method\":\"blacklist\",\"result\":\"unsafe\",\"category\":\"malicious\",\"engine_name\":\"Cylance\",\"engine_update\":\"20230830\",\"engine_version\":\"2.0.0.0\"},\"Elastic\":{\"method\":\"blacklist\",\"result\":\"Windows.Hacktool.Mimikatz\",\"category\":\"malicious\",\"engine_name\":\"Elastic\",\"engine_update\":\"20230830\",\"engine_version\":\"4.0.105\"},\"FireEye\":{\"method\":\"blacklist\",\"result\":\"Generic.mg.2c527d980eb30daa\",\"category\":\"malicious\",\"engine_name\":\"FireEye\",\"engine_update\":\"20230904\",\"engine_version\":\"35.24.1.0\"},\"Sangfor\":{\"method\":\"blacklist\",\"result\":\"Trojan.Win32.Save.a\",\"category\":\"malicious\",\"engine_name\":\"Sangfor\",\"engine_update\":\"20230818\",\"engine_version\":\"2.23.0.0\"},\"TACHYON\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"TACHYON\",\"engine_update\":\"20230904\",\"engine_version\":\"2023-09-04.02\"},\"Tencent\":{\"method\":\"blacklist\",\"result\":\"Trojan.Win64.Mimikatz.a\",\"category\":\"malicious\",\"engine_name\":\"Tencent\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0.0.1\"},\"ViRobot\":{\"method\":\"blacklist\",\"result\":\"HackTool.Mimikatz.804352\",\"category\":\"malicious\",\"engine_name\":\"ViRobot\",\"engine_update\":\"20230904\",\"engine_version\":\"2014.3.20.0\"},\"Webroot\":{\"method\":\"blacklist\",\"result\":\"W32.Hacktool.Gen\",\"category\":\"malicious\",\"engine_name\":\"Webroot\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0.0.403\"},\"Xcitium\":{\"method\":\"blacklist\",\"result\":\"Malware@#krqmh0fxnt9s\",\"category\":\"malicious\",\"engine_name\":\"Xcitium\",\"engine_update\":\"20230904\",\"engine_version\":\"35974\"},\"tehtris\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"tehtris\",\"engine_update\":\"20230904\",\"engine_version\":\"v0.1.4\"},\"Emsisoft\":{\"method\":\"blacklist\",\"result\":\"Application.HackTool.Mimikatz.Z (B)\",\"category\":\"malicious\",\"engine_name\":\"Emsisoft\",\"engine_update\":\"20230904\",\"engine_version\":\"2022.6.0.32461\"},\"F-Secure\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"F-Secure\",\"engine_update\":\"20230904\",\"engine_version\":\"18.10.1137.128\"},\"Fortinet\":{\"method\":\"blacklist\",\"result\":\"Riskware/NetWalker\",\"category\":\"malicious\",\"engine_name\":\"Fortinet\",\"engine_update\":\"20230830\",\"engine_version\":\"None\"},\"Jiangmin\":{\"method\":\"blacklist\",\"result\":\"Trojan.PSW.Mimikatz.pv\",\"category\":\"malicious\",\"engine_name\":\"Jiangmin\",\"engine_update\":\"20230831\",\"engine_version\":\"16.0.100\"},\"Paloalto\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"Paloalto\",\"engine_update\":\"20230904\",\"engine_version\":\"0.9.0.1003\"},\"Symantec\":{\"method\":\"blacklist\",\"result\":\"ML.Attribute.HighConfidence\",\"category\":\"malicious\",\"engine_name\":\"Symantec\",\"engine_update\":\"20230904\",\"engine_version\":\"1.20.0.0\"},\"Trapmine\":{\"method\":\"blacklist\",\"result\":\"malicious.high.ml.score\",\"category\":\"malicious\",\"engine_name\":\"Trapmine\",\"engine_update\":\"20230718\",\"engine_version\":\"4.0.14.90\"},\"AhnLab-V3\":{\"method\":\"blacklist\",\"result\":\"Trojan/Win32.Mimikatz.R248716\",\"category\":\"malicious\",\"engine_name\":\"AhnLab-V3\",\"engine_update\":\"20230904\",\"engine_version\":\"3.24.0.10447\"},\"Antiy-AVL\":{\"method\":\"blacklist\",\"result\":\"Trojan/Win32.AGeneric\",\"category\":\"malicious\",\"engine_name\":\"Antiy-AVL\",\"engine_update\":\"20230904\",\"engine_version\":\"3.0\"},\"Kaspersky\":{\"method\":\"blacklist\",\"result\":\"HEUR:Trojan.Win32.Generic\",\"category\":\"malicious\",\"engine_name\":\"Kaspersky\",\"engine_update\":\"20230904\",\"engine_version\":\"22.0.1.28\"},\"MaxSecure\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"MaxSecure\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0.0.1\"},\"Microsoft\":{\"method\":\"blacklist\",\"result\":\"HackTool:Win32/Mimikatz.D\",\"category\":\"malicious\",\"engine_name\":\"Microsoft\",\"engine_update\":\"20230904\",\"engine_version\":\"1.1.23080.2005\"},\"Trustlook\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"type-unsupported\",\"engine_name\":\"Trustlook\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0\"},\"ZoneAlarm\":{\"method\":\"blacklist\",\"result\":\"HEUR:Trojan.Win32.Generic\",\"category\":\"malicious\",\"engine_name\":\"ZoneAlarm\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0\"},\"Cybereason\":{\"method\":\"blacklist\",\"result\":\"malicious.80eb30\",\"category\":\"malicious\",\"engine_name\":\"Cybereason\",\"engine_update\":\"20230822\",\"engine_version\":\"1.2.449\"},\"ESET-NOD32\":{\"method\":\"blacklist\",\"result\":\"a variant of Win64/Riskware.Mimikatz.D\",\"category\":\"malicious\",\"engine_name\":\"ESET-NOD32\",\"engine_update\":\"20230904\",\"engine_version\":\"27850\"},\"Gridinsoft\":{\"method\":\"blacklist\",\"result\":\"Risk.Win64.Gen.dd!i\",\"category\":\"malicious\",\"engine_name\":\"Gridinsoft\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0.136.174\"},\"TrendMicro\":{\"method\":\"blacklist\",\"result\":\"HKTL_MIMIKATZ64.SMGK\",\"category\":\"malicious\",\"engine_name\":\"TrendMicro\",\"engine_update\":\"20230904\",\"engine_version\":\"11.0.0.1006\"},\"BitDefender\":{\"method\":\"blacklist\",\"result\":\"Application.HackTool.Mimikatz.Z\",\"category\":\"malicious\",\"engine_name\":\"BitDefender\",\"engine_update\":\"20230904\",\"engine_version\":\"7.2\"},\"CrowdStrike\":{\"method\":\"blacklist\",\"result\":\"win/malicious_confidence_100% (W)\",\"category\":\"malicious\",\"engine_name\":\"CrowdStrike\",\"engine_update\":\"20220812\",\"engine_version\":\"1.0\"},\"K7AntiVirus\":{\"method\":\"blacklist\",\"result\":\"Hacktool ( 0043c1591 )\",\"category\":\"malicious\",\"engine_name\":\"K7AntiVirus\",\"engine_update\":\"20230904\",\"engine_version\":\"12.112.49482\"},\"SentinelOne\":{\"method\":\"blacklist\",\"result\":\"Static AI - Suspicious PE\",\"category\":\"malicious\",\"engine_name\":\"SentinelOne\",\"engine_update\":\"20230705\",\"engine_version\":\"23.3.0.3\"},\"Avast-Mobile\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"type-unsupported\",\"engine_name\":\"Avast-Mobile\",\"engine_update\":\"20230904\",\"engine_version\":\"230904-00\"},\"DeepInstinct\":{\"method\":\"blacklist\",\"result\":\"MALICIOUS\",\"category\":\"malicious\",\"engine_name\":\"DeepInstinct\",\"engine_update\":\"20230831\",\"engine_version\":\"3.1.0.15\"},\"Malwarebytes\":{\"method\":\"blacklist\",\"result\":\"Generic.Malware.AI.DDS\",\"category\":\"malicious\",\"engine_name\":\"Malwarebytes\",\"engine_update\":\"20230904\",\"engine_version\":\"4.5.5.54\"},\"CAT-QuickHeal\":{\"method\":\"blacklist\",\"result\":\"HackTool.Mimikatz.S13719268\",\"category\":\"malicious\",\"engine_name\":\"CAT-QuickHeal\",\"engine_update\":\"20230903\",\"engine_version\":\"22.00\"},\"NANO-Antivirus\":{\"method\":\"blacklist\",\"result\":\"Trojan.Win64.Mimikatz.erycef\",\"category\":\"malicious\",\"engine_name\":\"NANO-Antivirus\",\"engine_update\":\"20230904\",\"engine_version\":\"1.0.146.25796\"},\"BitDefenderFalx\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"type-unsupported\",\"engine_name\":\"BitDefenderFalx\",\"engine_update\":\"20230829\",\"engine_version\":\"2.0.936\"},\"BitDefenderTheta\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"undetected\",\"engine_name\":\"BitDefenderTheta\",\"engine_update\":\"20230828\",\"engine_version\":\"7.2.37796.0\"},\"MicroWorld-eScan\":{\"method\":\"blacklist\",\"result\":\"Application.HackTool.Mimikatz.Z\",\"category\":\"malicious\",\"engine_name\":\"MicroWorld-eScan\",\"engine_update\":\"20230904\",\"engine_version\":\"14.0.409.0\"},\"SUPERAntiSpyware\":{\"method\":\"blacklist\",\"result\":\"Hack.Tool/Gen-Mimikatz\",\"category\":\"malicious\",\"engine_name\":\"SUPERAntiSpyware\",\"engine_update\":\"20230902\",\"engine_version\":\"5.6.0.1032\"},\"McAfee-GW-Edition\":{\"method\":\"blacklist\",\"result\":\"BehavesLike.Win64.HToolMimiKatz.bh\",\"category\":\"malicious\",\"engine_name\":\"McAfee-GW-Edition\",\"engine_update\":\"20230904\",\"engine_version\":\"v2021.2.0+4045\"},\"TrendMicro-HouseCall\":{\"method\":\"blacklist\",\"result\":\"HKTL_MIMIKATZ64.SMGK\",\"category\":\"malicious\",\"engine_name\":\"TrendMicro-HouseCall\",\"engine_update\":\"20230904\",\"engine_version\":\"10.0.0.1040\"},\"SymantecMobileInsight\":{\"method\":\"blacklist\",\"result\":null,\"category\":\"type-unsupported\",\"engine_name\":\"SymantecMobileInsight\",\"engine_update\":\"20230119\",\"engine_version\":\"2.0\"}},\"last_modification_date\":1693839964,\"crowdsourced_yara_results\":[{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"HKTL_Mimikatz_SkeletonKey_in_memory_Aug20_1\",\"ruleset_id\":\"000f4d099b\",\"description\":\"Detects Mimikatz SkeletonKey in Memory\",\"ruleset_name\":\"gen_mimikatz\"},{\"author\":\"Arnim Rupp\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"HKTL_mimikatz_icon\",\"ruleset_id\":\"000f4d099b\",\"description\":\"Detects mimikatz icon in PE file\",\"ruleset_name\":\"gen_mimikatz\",\"match_in_subfile\":true},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"Mimikatz_Strings\",\"ruleset_id\":\"000f4d099b\",\"description\":\"Detects Mimikatz strings\",\"ruleset_name\":\"gen_mimikatz\",\"match_in_subfile\":true},{\"author\":\"Arnim Rupp\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"HKTL_mimikatz_icon\",\"ruleset_id\":\"000f4d099b\",\"description\":\"Detects mimikatz icon in PE file\",\"ruleset_name\":\"gen_mimikatz\"},{\"author\":\"@fusionrace\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"hacktool_windows_mimikatz_modules\",\"ruleset_id\":\"00028d3c79\",\"description\":\"Mimikatz credential dump tool: Modules\",\"ruleset_name\":\"airbnb_binaryalert\"},{\"author\":\"@fusionrace\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"hacktool_windows_mimikatz_copywrite\",\"ruleset_id\":\"00028d3c79\",\"description\":\"Mimikatz credential dump tool: Author copywrite\",\"ruleset_name\":\"airbnb_binaryalert\"},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"Mimikatz_Gen_Strings\",\"ruleset_id\":\"00017701b5\",\"description\":\"Detects Mimikatz by using some special strings\",\"ruleset_name\":\"thor-hacktools\",\"match_in_subfile\":true},{\"author\":\"Elastic Security\",\"source\":\"https://github.com/elastic/protections-artifacts\",\"rule_name\":\"Windows_Hacktool_Mimikatz_674fd079\",\"ruleset_id\":\"015dd811fe\",\"description\":\"Detection for default mimikatz memssp module\",\"ruleset_name\":\"Windows_Hacktool_Mimikatz\",\"match_in_subfile\":true},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"Powerkatz_DLL_Generic\",\"ruleset_id\":\"000a067e96\",\"description\":\"Detects Powerkatz - a Mimikatz version prepared to run in memory via Powershell (overlap with other Mimikatz versions is possible)\",\"ruleset_name\":\"gen_powerkatz\"},{\"author\":\"ditekSHen\",\"source\":\"https://github.com/ditekshen/detection\",\"rule_name\":\"INDICATOR_TOOL_PWS_Mimikatz\",\"ruleset_id\":\"00cfed631c\",\"description\":\"Detects Mimikatz\",\"ruleset_name\":\"indicator_tools\",\"match_in_subfile\":true},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"HKTL_Mimikatz_SkeletonKey_in_memory_Aug20_1\",\"ruleset_id\":\"000f4d099b\",\"description\":\"Detects Mimikatz SkeletonKey in Memory\",\"ruleset_name\":\"gen_mimikatz\",\"match_in_subfile\":true},{\"author\":\"Florian Roth\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"HKTL_Imphashes_Aug22_1\",\"ruleset_id\":\"000c8f1d6e\",\"description\":\"Detects different hacktools based on their imphash\",\"ruleset_name\":\"gen_imphash_detection\"},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"Mimikatz_Strings\",\"ruleset_id\":\"000f4d099b\",\"description\":\"Detects Mimikatz strings\",\"ruleset_name\":\"gen_mimikatz\"},{\"author\":\"@fusionrace\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"hacktool_windows_mimikatz_modules\",\"ruleset_id\":\"00028d3c79\",\"description\":\"Mimikatz credential dump tool: Modules\",\"ruleset_name\":\"airbnb_binaryalert\",\"match_in_subfile\":true},{\"author\":\"ditekSHen\",\"source\":\"https://github.com/ditekshen/detection\",\"rule_name\":\"INDICATOR_SUSPICIOUS_EXE_SQLQuery_ConfidentialDataStore\",\"ruleset_id\":\"00c3b8eb5d\",\"description\":\"Detects executables containing SQL queries to confidential data stores. Observed in infostealers\",\"ruleset_name\":\"indicator_suspicious\"},{\"author\":\"Elastic Security\",\"source\":\"https://github.com/elastic/protections-artifacts\",\"rule_name\":\"Windows_Hacktool_Mimikatz_674fd079\",\"ruleset_id\":\"015dd811fe\",\"description\":\"Detection for default mimikatz memssp module\",\"ruleset_name\":\"Windows_Hacktool_Mimikatz\"},{\"author\":\"Benjamin DELPY (gentilkiwi)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"mimikatz\",\"ruleset_id\":\"000f4d099b\",\"description\":\"mimikatz\",\"ruleset_name\":\"gen_mimikatz\"},{\"author\":\"Felix Bilstein - yara-signator at cocacoding dot com\",\"source\":\"https://malpedia.caad.fkie.fraunhofer.de/\",\"rule_name\":\"win_mimikatz_auto\",\"ruleset_id\":\"008212ed58\",\"description\":\"Detects win.mimikatz.\",\"ruleset_name\":\"win.mimikatz_auto\",\"match_in_subfile\":true},{\"author\":\"ditekSHen\",\"source\":\"https://github.com/ditekshen/detection\",\"rule_name\":\"INDICATOR_TOOL_PWS_Mimikatz\",\"ruleset_id\":\"00cfed631c\",\"description\":\"Detects Mimikatz\",\"ruleset_name\":\"indicator_tools\"},{\"author\":\"Elastic Security\",\"source\":\"https://github.com/elastic/protections-artifacts\",\"rule_name\":\"Windows_Hacktool_Mimikatz_1388212a\",\"ruleset_id\":\"015dd811fe\",\"ruleset_name\":\"Windows_Hacktool_Mimikatz\",\"match_in_subfile\":true},{\"author\":\"Florian Roth\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"HKTL_Imphashes_Aug22_1\",\"ruleset_id\":\"000c8f1d6e\",\"description\":\"Detects different hacktools based on their imphash\",\"ruleset_name\":\"gen_imphash_detection\",\"match_in_subfile\":true},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"Mimikatz_Gen_Strings\",\"ruleset_id\":\"00017701b5\",\"description\":\"Detects Mimikatz by using some special strings\",\"ruleset_name\":\"thor-hacktools\"},{\"author\":\"ditekSHen\",\"source\":\"https://github.com/ditekshen/detection\",\"rule_name\":\"INDICATOR_SUSPICIOUS_EXE_SQLQuery_ConfidentialDataStore\",\"ruleset_id\":\"00c3b8eb5d\",\"description\":\"Detects executables containing SQL queries to confidential data stores. Observed in infostealers\",\"ruleset_name\":\"indicator_suspicious\",\"match_in_subfile\":true},{\"author\":\"Elastic Security\",\"source\":\"https://github.com/elastic/protections-artifacts\",\"rule_name\":\"Windows_Hacktool_Mimikatz_1388212a\",\"ruleset_id\":\"015dd811fe\",\"ruleset_name\":\"Windows_Hacktool_Mimikatz\"},{\"author\":\"@fusionrace\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"hacktool_windows_mimikatz_copywrite\",\"ruleset_id\":\"00028d3c79\",\"description\":\"Mimikatz credential dump tool: Author copywrite\",\"ruleset_name\":\"airbnb_binaryalert\",\"match_in_subfile\":true},{\"author\":\"Benjamin DELPY (gentilkiwi)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"mimikatz\",\"ruleset_id\":\"000f4d099b\",\"description\":\"mimikatz\",\"ruleset_name\":\"gen_mimikatz\",\"match_in_subfile\":true},{\"author\":\"Felix Bilstein - yara-signator at cocacoding dot com\",\"source\":\"https://malpedia.caad.fkie.fraunhofer.de/\",\"rule_name\":\"win_mimikatz_auto\",\"ruleset_id\":\"008212ed58\",\"description\":\"Detects win.mimikatz.\",\"ruleset_name\":\"win.mimikatz_auto\"},{\"author\":\"Florian Roth (Nextron Systems)\",\"source\":\"https://github.com/Neo23x0/signature-base\",\"rule_name\":\"Powerkatz_DLL_Generic\",\"ruleset_id\":\"000a067e96\",\"description\":\"Detects Powerkatz - a Mimikatz version prepared to run in memory via Powershell (overlap with other Mimikatz versions is possible)\",\"ruleset_name\":\"gen_powerkatz\",\"match_in_subfile\":true}],\"popular_threat_classification\":{\"popular_threat_name\":[{\"count\":26,\"value\":\"mimikatz\"},{\"count\":2,\"value\":\"trojanpsw\"},{\"count\":2,\"value\":\"hacktoolx\"}],\"suggested_threat_label\":\"hacktool.mimikatz/trojanpsw\",\"popular_threat_category\":[{\"count\":19,\"value\":\"hacktool\"},{\"count\":11,\"value\":\"trojan\"},{\"count\":2,\"value\":\"pua\"}]}}}},\"pairedItem\":{\"item\":0}}],\"Get recent detections from Crowdstrike\":[{\"json\":{\"meta\":{\"trace_id\":\"0682792d-d018-4075-a204-64e9dc26061b\",\"pagination\":{\"limit\":100,\"total\":3,\"offset\":0},\"powered_by\":\"legacy-detects\",\"query_time\":0.003692402},\"errors\":[],\"resources\":[\"ldt:5556c55274f24f149ee3ffcc9226e595:169377591508015\",\"ldt:bbb9e831141343808ced11e87081d820:169373296003013\",\"ldt:ac6da4f6e14249cc9e52a922d678edb7:169386181192007\"]},\"pairedItem\":{\"item\":0}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"5529711a-2944-4559-a798-a6b2bc43f65a\",\"connections\":{\"Pause 1 second\":{\"main\":[[{\"node\":\"Look up SHA in Virustotal\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Get recent detections from Crowdstrike\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"Split out behaviours\",\"type\":\"main\",\"index\":0}]]},\"Create Jira issue\":{\"main\":[[{\"node\":\"Post notification on Slack\",\"type\":\"main\",\"index\":0}]]},\"Split out behaviours\":{\"main\":[[{\"node\":\"Pause 1 second\",\"type\":\"main\",\"index\":0}]]},\"Split out detections\":{\"main\":[[{\"node\":\"Get detection details\",\"type\":\"main\",\"index\":0}]]},\"Get detection details\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Look up IOC in Virustotal\":{\"main\":[[{\"node\":\"Set behaviour descriptions\",\"type\":\"main\",\"index\":0}]]},\"Look up SHA in Virustotal\":{\"main\":[[{\"node\":\"Look up IOC in Virustotal\",\"type\":\"main\",\"index\":0}]]},\"Post notification on Slack\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Set behaviour descriptions\":{\"main\":[[{\"node\":\"Merge behaviour descriptions\",\"type\":\"main\",\"index\":0}]]},\"Merge behaviour descriptions\":{\"main\":[[{\"node\":\"Create Jira issue\",\"type\":\"main\",\"index\":0}]]},\"Get recent detections from Crowdstrike\":{\"main\":[[{\"node\":\"Split out detections\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Monitor Security Advisories", "output": "{\"id\":\"YSjQ7TVCNY9v1F2A\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Monitor_security_advisories\",\"tags\":[{\"id\":\"DlIeVDZxzko5ifNi\",\"name\":\"createdBy:David\",\"createdAt\":\"2023-10-31T02:21:50.700Z\",\"updatedAt\":\"2023-10-31T02:21:50.700Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"},{\"id\":\"oyHT7KfD0rdIizVw\",\"name\":\"Pending\",\"createdAt\":\"2023-11-10T23:19:06.319Z\",\"updatedAt\":\"2023-11-10T23:19:06.319Z\"}],\"nodes\":[{\"id\":\"62ef1311-a623-4a7d-b59a-6c0a0d7751d7\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[100,200],\"parameters\":{},\"typeVersion\":1},{\"id\":\"808c1b88-69e9-4e96-bcfd-b93810740fda\",\"name\":\"Get Palo Alto security advisories\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[400,360],\"parameters\":{\"url\":\"https://security.paloaltonetworks.com/rss.xml\",\"options\":{}},\"typeVersion\":1},{\"id\":\"97f16fe1-c720-40e0-85ff-61fdbfb9a2c2\",\"name\":\"GlobalProtect advisory?\",\"type\":\"n8n-nodes-base.filter\",\"position\":[1240,240],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.title }}\",\"value2\":\"GlobalProtect\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"3602f7bb-87d3-49a2-9916-b9ab7d86f58b\",\"name\":\"Traps advisory?\",\"type\":\"n8n-nodes-base.filter\",\"position\":[1240,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.title }}\",\"value2\":\"Traps\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"id\":\"97c108f0-bdf1-4ed9-a545-d52acb7c9cec\",\"name\":\"Create Jira issue\",\"type\":\"n8n-nodes-base.jira\",\"position\":[1520,240],\"parameters\":{\"project\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"},\"summary\":\"={{ $json.title.substring(14) }}\",\"issueType\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"},\"additionalFields\":{\"priority\":{\"mode\":\"list\",\"value\":\"\"},\"description\":\"=Severity: {{ $json.title.split('(Severity:')[1].replace(')', '').trim() }}\\nLink: {{ $json.link }}\\nPublished: {{ $json.pubDate }} \"}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"4\",\"name\":\"Jira Ricardo\"}},\"typeVersion\":1},{\"id\":\"acb89eb0-c9e5-4fbb-a750-3607ae280670\",\"name\":\"Get customers\",\"type\":\"n8n-nodes-base.n8nTrainingCustomerDatastore\",\"position\":[1960,380],\"parameters\":{\"operation\":\"getAllPeople\",\"returnAll\":true},\"typeVersion\":1},{\"id\":\"babf1ce4-6ed4-4bd9-a1df-429a15fa6849\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-13.168003380834136,-396.06737036843754],\"parameters\":{\"width\":332.0284684971131,\"height\":926.523360092614,\"content\":\"![Shodan](https://i.imgur.com/PcOuvAL.png)\\n## Workflow Overview\\nThis n8n workflow is designed to streamline security oversight by fetching advisories from Palo Alto's feed and filtering out alerts not pertinent to your products. \\n\\nBy utilizing a dynamic filter system, it excludes unrelated advisories, ensuring that your team receives only relevant security updates. \\n\\nCoupled with a sample database of emails, this workflow offers a customizable solution to align with any corporate email directory, providing a strong foundation for your security information management strategy. \\n\\n## Execution Schedule\\n\\nScheduled to run every 24 hours at 1 am. If you change this timer, ensure to update the `Deduplicate Advisories` section to match. \\n\"},\"typeVersion\":1},{\"id\":\"820112fc-e635-4d51-b152-8a2ee4de8f56\",\"name\":\"Email customers\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[2360,380],\"parameters\":{\"sendTo\":\"={{ $json.email }}\",\"message\":\"=Dear {{ $json.name.split(' ')[0] }},\\n\\nWe wanted to let you know of a new security advisory:\\n\\n{{ $('GlobalProtect advisory?').item.json.title }}\\n{{ $('GlobalProtect advisory?').item.json.link }}\\n\\nRegards,\\n\\nNathan\",\"options\":{},\"subject\":\"=New {{ $('Extract info').item.json.type }} security advisory \"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"198\",\"name\":\"Gmail account (David)\"}},\"typeVersion\":2},{\"id\":\"06497e48-37ea-4c2a-a633-6b0f02d1da5f\",\"name\":\"Extract info\",\"type\":\"n8n-nodes-base.set\",\"position\":[600,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"type\",\"value\":\"={{ $json.title.match(/[^ ]* ([^:]*):/)[1].trim() }}\"},{\"name\":\"subject\",\"value\":\"={{ $json.title.match(/[^ ]* [^:]*: (.*)(?=\\\\(Severity:)/)[1].trim() }}\"},{\"name\":\"severity\",\"value\":\"={{ $json.title.split('Severity:')[1].replaceAll(')', '').trim().toLowerCase().toTitleCase() }}\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"79a85d6e-2550-4351-9356-6f2f8c330693\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[340,-54.852630774649356],\"parameters\":{\"width\":419.37209302325573,\"height\":577.9223982165106,\"content\":\"![Shodan](https://i.imgur.com/weKPN2E.png)\\n## Get Palo Alto security advisories\\nAdaptable and efficient, this segment of the workflow retrieves Palo Alto security advisories directly through their RSS feed. \\n\\nYou can tailor the feed URL in the RSS node below to meet your needs and ensure the `Extract Info` node captures the correct information. \\n\\nThis flexibility allows the workflow to stay current with the latest advisories, making it a vital component in maintaining up-to-date security measures across your network infrastructure.\\n\"},\"typeVersion\":1},{\"id\":\"f2c5155d-28ab-4ae4-a402-5244ccac94e3\",\"name\":\"Check if posted in last 24 hours\",\"type\":\"n8n-nodes-base.if\",\"position\":[920,360],\"parameters\":{\"conditions\":{\"dateTime\":[{\"value1\":\"={{ $json.pubDate }}\",\"value2\":\"={{$today.minus({days: 1})}}\"}]}},\"typeVersion\":1},{\"id\":\"a3553ba4-3581-4844-abaf-e872cb6dc7ea\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1751,-366.68188678732713],\"parameters\":{\"width\":461.89918009735027,\"height\":893.2712326436663,\"content\":\"![n8n](https://i.imgur.com/lKnBNnH.png)\\n## Query Company Email Directory\\nThe workflow includes a sample node setup that queries a company email directory, allowing for dynamic distribution of advisories to relevant personnel. \\n\\nReplace the sample node with a connection to your corporate directory or a Google Sheet for an integrated approach. If you choose to go the google sheets route, create a column for `name` and a column for `email` and use the Google Sheets node to get the rows. \\n\\nThis ensures that every advisory reaches the appropriate individual, promoting a proactive security posture organization-wide.\\n\\nEnsure that the node you use outputs the json in this format:\\n\\n```\\n[\\n {\\n \\\"name\\\": \\\"Jay Gatsby\\\",\\n \\\"email\\\": \\\"gatsby@west-egg.com\\\"\\n },\\n {\\n \\\"name\\\": \\\"José Arcadio Buendía\\\",\\n \\\"email\\\": \\\"jab@macondo.co\\\"\\n },\\n {\\n \\\"name\\\": \\\"Max Sendak\\\",\\n \\\"email\\\": \\\"info@in-and-out-of-weeks.org\\\"\\n }\\n]\\n```\"},\"typeVersion\":1},{\"id\":\"4c6a7aac-8aa3-480e-9691-bfa5472d3d91\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2240,-113.74332300803701],\"parameters\":{\"width\":324.2540832882642,\"height\":639.8357317519218,\"content\":\"![gmail](https://i.imgur.com/f6f6my0.png)\\n## Email advisory information to your team\\nOnce advisories are filtered and prepared, this final node uses Gmail to disseminate the information to your team, ensuring that those who need to be aware of security updates are informed in a timely manner. \\n\\nThis step is pivotal in the communication chain, turning advisories into actionable insights for your team, thereby promoting a culture of responsiveness and awareness regarding network security.\\n\\nYou can replace this with your preferred email provider by substituting the node and expressions in the Gmail node. \"},\"typeVersion\":1},{\"id\":\"75aae5d6-bcaf-4d69-9adf-f71075b16318\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1180,-320],\"parameters\":{\"width\":552.9069767441861,\"height\":844.9721583936011,\"content\":\"![Jira](https://i.imgur.com/Ko72Qxa.png)\\n## Filter advisories based on Palo Alto Products used in your organization \\nThis node enhances specificity by filtering advisories based on the Palo Alto products utilized within your organization. \\n\\nBy customizing the filter nodes to match your environment, you create a streamlined process that directs pertinent advisories to a Jira issue (or any incident management system that uses an API) for further investigation, ensuring your incident management process is both efficient and tailored to your specific security landscape.\\n\\n**Want to add a new filter?** Duplicate one of the `filter nodes` below and connect it to the `true output` of the date filter node, decide whether you wish to add an incident management node, and then connect to your email directory node.\\n \\n**Want to create a ticket for your team to investigate if an advisory is found for your filtered product/keyword?** Simply add the node for your favorite incident management platform if it exists, and an http request if it doesn't to integrate with any REST api.\\n\"},\"typeVersion\":1},{\"id\":\"4c34c8aa-3876-4248-9c5e-cd362ffb6833\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[780,-176.24786257310654],\"parameters\":{\"width\":382.81395348837174,\"height\":700.2899123297333,\"content\":\"![n8n](https://i.imgur.com/lKnBNnH.png)\\n## Deduplicate Advisories\\n### Filter advisories based on date \\nTo maintain accuracy and avoid redundancy, this n8n node deduplicates advisories by date, ensuring that each security notice is unique and relevant. \\n\\nIt's programmed to sync with the scheduled trigger, preventing any overlap in data analysis. \\n\\nAdjustments can be made to alter the frequency and timing of the trigger, allowing for weekly or custom schedules, demonstrating n8n's versatile capability to adapt to your operational requirements.\\n\\nFor example if you preferred to change it to weekly, set the `Trigger Node` to run weekly, and adjust the expression in the `If` node below from `{{$today.minus({days: 1})}}` to `{{$today.minus({days: 7})}}`.\"},\"typeVersion\":1},{\"id\":\"518de294-2961-419b-b936-3519fc4bdcf8\",\"name\":\"Ignore, stale advisory\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1220,600],\"parameters\":{},\"typeVersion\":1},{\"id\":\"699ba4b3-ef02-4e7c-8894-c302566ac5e7\",\"name\":\"Run workflow every 24 hours at 1am\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[100,360],\"parameters\":{\"rule\":{\"interval\":[{\"triggerAtHour\":1}]}},\"typeVersion\":1.1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"e64a6ec2-b231-4cb7-9d36-8933c844d482\",\"connections\":{\"Extract info\":{\"main\":[[{\"node\":\"Check if posted in last 24 hours\",\"type\":\"main\",\"index\":0}]]},\"Get customers\":{\"main\":[[{\"node\":\"Email customers\",\"type\":\"main\",\"index\":0}]]},\"Traps advisory?\":{\"main\":[[{\"node\":\"Get customers\",\"type\":\"main\",\"index\":0}]]},\"Create Jira issue\":{\"main\":[[{\"node\":\"Get customers\",\"type\":\"main\",\"index\":0}]]},\"GlobalProtect advisory?\":{\"main\":[[{\"node\":\"Create Jira issue\",\"type\":\"main\",\"index\":0}]]},\"Check if posted in last 24 hours\":{\"main\":[[{\"node\":\"GlobalProtect advisory?\",\"type\":\"main\",\"index\":0},{\"node\":\"Traps advisory?\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Ignore, stale advisory\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Get Palo Alto security advisories\",\"type\":\"main\",\"index\":0}]]},\"Get Palo Alto security advisories\":{\"main\":[[{\"node\":\"Extract info\",\"type\":\"main\",\"index\":0}]]},\"Run workflow every 24 hours at 1am\":{\"main\":[[{\"node\":\"Get Palo Alto security advisories\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify User in Slack of Quarantined Email and Create Jira Ticket if Opened", "output": "{\"id\":\"LSH4x5nnNGQbNBkh\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Notify_user_in_Slack_of_quarantined_email_and_create_Jira_ticket_if_opened\",\"tags\":[{\"id\":\"5TDAHOQdlBnsFbrY\",\"name\":\"Completed\",\"createdAt\":\"2023-11-06T22:57:07.494Z\",\"updatedAt\":\"2023-11-06T22:57:07.494Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"f0bf5f9b-58c5-4dff-95cc-3af378fc49a3\",\"name\":\"has email been opened?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1280,1040],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ !!($json.read_at ?? false) }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"7acb2409-6b67-4500-993f-5beeaecec718\",\"name\":\"Receive Sublime Security Alert\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[840,1040],\"webhookId\":\"3ea0b887-9caa-477e-b6e4-1d3edf72d11e\",\"parameters\":{\"path\":\"3ea0b887-9caa-477e-b6e4-1d3edf72d11e\",\"options\":{},\"httpMethod\":\"POST\",\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"a9rnBXHOmqHidbGH\",\"name\":\"sublimesecurity.com - webhook calling n8n \"}},\"typeVersion\":1},{\"id\":\"ad876000-e3a4-4f3e-b917-629cc450a15c\",\"name\":\"Get message details in Sublime Security\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1040,1040],\"parameters\":{\"url\":\"=https://api.platform.sublimesecurity.com/v0/messages/{{ $json.body.data.messageId }}\",\"options\":{},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"Pc9hRVp3NXeK3XwV\",\"name\":\"sublimesecurity.com - API Key\"}},\"typeVersion\":4.1},{\"id\":\"2945cdef-f595-410d-9344-767e8cae3cd6\",\"name\":\"Jira Software\",\"type\":\"n8n-nodes-base.jira\",\"position\":[1680,900],\"parameters\":{\"project\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"},\"summary\":\"=Flagged email has been opened before quarantine | {{ $('Get message details in Sublime Security').item.json.subject }}\",\"issueType\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"},\"additionalFields\":{\"description\":\"=An email has been automatically flagged by Sublime Security and has been quarantined.\\nThe recipient has opened the email before the quarantine occurred.\\n\\n## **Flagged Rules**\\n|Name |Severity|Tags|ID|\\n|--|--|--|--|\\n{{ $json[\\\"table\\\"] }}\\n\\n## **Email information**\\n| | |\\n|--|--|\\n|Email ID|{{ $('Get message details in Sublime Security').item.json[\\\"id\\\"] }}|\\n|Time Created At|{{ $('Get message details in Sublime Security').item.json[\\\"created_at\\\"] }}|\\n|Receiving Mailbox Address|{{ $('Get message details in Sublime Security').item.json[\\\"mailbox\\\"][\\\"email\\\"] }}|\\n|Subject line|{{ $('Get message details in Sublime Security').item.json[\\\"subject\\\"] }}|\\n|Sender Email|{{ $('Get message details in Sublime Security').item.json[\\\"sender\\\"][\\\"email\\\"] }}|\\n|Sender Display Name|{{ $('Get message details in Sublime Security').item.json[\\\"sender\\\"][\\\"display_name\\\"] }}|\\n|Time Read At|{{ $('Get message details in Sublime Security').item.json[\\\"read_at\\\"] }}|\\n\\nTo view the message details and further information, please check the Sublime Security dashboard.\\n\\nAn email has been sent to {{ $('Get message details in Sublime Security').item.json[\\\"mailbox\\\"][\\\"email\\\"] }} notifying them that an incoming message has been quarantined.\"}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"OYvpDV2Q42eY6iyA\",\"name\":\"Alex Jira Cloud\"}},\"typeVersion\":1},{\"id\":\"9c55d492-0fdd-4edd-995c-b3c5fecd9840\",\"name\":\"lookup slack user by email\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1280,460],\"parameters\":{\"url\":\"https://slack.com/api/users.lookupByEmail\",\"options\":{},\"sendQuery\":true,\"authentication\":\"predefinedCredentialType\",\"queryParameters\":{\"parameters\":[{\"name\":\"email\",\"value\":\"={{ $json.mailbox.email }}\"}]},\"nodeCredentialType\":\"slackApi\"},\"credentials\":{\"slackApi\":{\"id\":\"350\",\"name\":\"n8n License Token\"},\"slackOAuth2Api\":{\"id\":\"346\",\"name\":\"n8n License Bot\"}},\"typeVersion\":4.1},{\"id\":\"f1bcb2c7-4ef4-4f9b-a68e-6620ab66b435\",\"name\":\"user found?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1480,460],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ !!($json.user.id ?? false) }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"dcca54b8-d09c-45bf-a789-7545103bb7c3\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[480,364.84681758846136],\"parameters\":{\"width\":718.6188455173532,\"height\":863.9601939404693,\"content\":\"![Sublime Security](https://i.imgur.com/DfXJLIw.png)\\n# Workflow Overview\\n\\nThis workflow is initiated by `Sublime Security` whenever an inbound email undergoes scanning and triggers an alert.\\n\\nIn the event that Sublime Security is set up to automatically quarantine the email, this workflow will make an effort to inform the recipient through Slack. To accomplish this, it will utilize the recipient's mailbox address to search for their corresponding Slack username.\\n\\nIf the flagged email has already been opened, this workflow will additionally create a Jira ticket to manage the incident.\\n\\n## **HTTP Request Node Requirements**\\n1. Create a rule in Sublime Security which has [auto-quarantine enabled](https://docs.sublimesecurity.com/docs/quarantine).\\n2. [Create a webhook](https://docs.sublimesecurity.com/docs/webhooks) in Sublime which will send an alert to the `Receive Sublime Security Alert` node whenever a selected rule is triggered.\\n\\n## **Credentials**\\n- Sublime Security: Find your API key for [Sublime Security](https://docs.sublimesecurity.com/reference/authentication#create-an-api-key) and save it as an n8n credential with Header Auth in the format `Authorization: Bearer YOUR-API-KEY`.\\n\\n- Slack: Provide credentials for a Slack app that has access to `users:read.email` and `im:write` scopes.\\n\"},\"typeVersion\":1},{\"id\":\"8255a3f7-fcda-4d93-97c3-4d223778014f\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1220,175.18665303995851],\"parameters\":{\"width\":714.4547337311393,\"height\":522.7074838611178,\"content\":\"![Slack](https://i.imgur.com/iKyMV0N.png)\\n## Try to find quarantined email user's slack username \\nWith the quarantined email’s details at hand, n8n tries to notify the user via Slack. The message explains the reason for the email’s absence, provides identifying details, and instructs on further action if the user recognizes the email as safe.\"},\"typeVersion\":1},{\"id\":\"c149a4b8-4f12-4018-a1dc-dfbed9e081eb\",\"name\":\"Found, notify user\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1700,400],\"parameters\":{\"text\":\"=Hello,\\nOur security team has detected a potentially malicious email sent to your inbox and have quarantined it undergoing investigation.\\n\\nFrom: {{ $('Get message details in Sublime Security').item.json[\\\"sender\\\"][\\\"display_name\\\"] }} | {{ $('Get message details in Sublime Security').item.json[\\\"sender\\\"][\\\"email\\\"] }}\\nSubject: {{ $('Get message details in Sublime Security').item.json[\\\"subject\\\"] }}\\n\\nIf you believe that the email is not malicious and was intended for you, please contact IT, referencing email ID `{{ $('Get message details in Sublime Security').item.json[\\\"id\\\"] }}`.\\n\\nThe email may be restored by IT if it is determined to be safe.\\n\\nThank you for helping keep the company secure!\",\"user\":{\"__rl\":true,\"mode\":\"id\",\"value\":\"={{ $json.user.id }}\"},\"select\":\"user\",\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"350\",\"name\":\"n8n License Token\"}},\"typeVersion\":2.1},{\"id\":\"04712fdf-0409-4f9d-bd0b-7e40af9ffade\",\"name\":\"Not Found, Do Nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1700,560],\"parameters\":{},\"typeVersion\":1},{\"id\":\"c9f8ede6-1886-4779-a4e8-3c32e12d6aae\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1220,710.6363009271314],\"parameters\":{\"width\":718.1630306649816,\"height\":516.9144812801944,\"content\":\"![Jira](https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Jira_%28Software%29_logo.svg/320px-Jira_%28Software%29_logo.svg.png)\\n## If user opened email before quarantine, create jira ticket\\nIf an email is opened prior to quarantine, n8n automatically creates a Jira ticket for further investigation. This ensures a swift response to potential threats that bypass the initial quarantine measures, highlighting n8n's critical role in incident response workflows.\"},\"typeVersion\":1},{\"id\":\"a75d35a2-eefa-490c-9a05-9474a1e093fb\",\"name\":\"No, do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,1080],\"parameters\":{},\"typeVersion\":1},{\"id\":\"8c44c4fb-ec26-4005-b17b-ac8a9ef79721\",\"name\":\"Yes, prep flaggedRules table\",\"type\":\"n8n-nodes-base.code\",\"position\":[1500,900],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"console.log($(\\\"Receive Sublime Security Alert\\\").item.json.body);\\n\\nconst table = $(\\\"Receive Sublime Security Alert\\\")\\n .item.json.body.data.flagged_rules.map(\\n (rule) => `|${rule.name}|${rule.severity}|${rule.tags.join(\\\",\\\")}|${rule.id}`\\n )\\n .join(\\\"\\\\n\\\");\\n\\nconsole.log(table);\\n\\nreturn {\\n table\\n}\\n\"},\"typeVersion\":2}],\"active\":false,\"pinData\":{\"Receive Sublime Security Alert\":[{\"json\":{\"body\":{\"data\":{\"messageId\":\"d61efe63-b350-4436-bccf-936a7e54503b\",\"flagged_rules\":[{\"id\":1,\"name\":\"rule 1\",\"tags\":[\"tag-1\",\"tag-2\"],\"severity\":\"high\"},{\"id\":2,\"name\":\"rule 2\",\"tags\":[\"tag-2\",\"tag-3\"],\"severity\":\"low\"}]}},\"query\":{},\"params\":{},\"headers\":{}}}],\"Get message details in Sublime Security\":[{\"json\":{\"id\":\"d61efe63-b350-4436-bccf-936a7e54503b\",\"sender\":{\"email\":\"a.sender@gmail.com\",\"display_name\":\"A. Sender\"},\"mailbox\":{\"id\":\"3e51603f-c2cb-4807-bc34-022994b0d149\",\"email\":\"john.doe@example.io\",\"external_id\":null},\"read_at\":\"2023-09-06T11:49:20.355807Z\",\"subject\":\"test subject\",\"created_at\":\"2023-09-06T11:49:20.355807Z\",\"recipients\":[{\"email\":\"john.doe@example.io\"}],\"replied_at\":null,\"external_id\":\"3\",\"canonical_id\":\"1173a16af634b58191cd11291aac39e06dfa418a0140522b4875385c544da511\",\"forwarded_at\":null,\"message_source_id\":\"0ba6712e-6d92-4df8-b6f3-198dcfac08d5\",\"forward_recipients\":[]}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"cfa69dd2-286b-46ae-bc6b-6b4086bc8a20\",\"connections\":{\"user found?\":{\"main\":[[{\"node\":\"Found, notify user\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Not Found, Do Nothing\",\"type\":\"main\",\"index\":0}]]},\"has email been opened?\":{\"main\":[[{\"node\":\"Yes, prep flaggedRules table\",\"type\":\"main\",\"index\":0}],[{\"node\":\"No, do nothing\",\"type\":\"main\",\"index\":0}]]},\"lookup slack user by email\":{\"main\":[[{\"node\":\"user found?\",\"type\":\"main\",\"index\":0}]]},\"Yes, prep flaggedRules table\":{\"main\":[[{\"node\":\"Jira Software\",\"type\":\"main\",\"index\":0}]]},\"Receive Sublime Security Alert\":{\"main\":[[{\"node\":\"Get message details in Sublime Security\",\"type\":\"main\",\"index\":0}]]},\"Get message details in Sublime Security\":{\"main\":[[{\"node\":\"has email been opened?\",\"type\":\"main\",\"index\":0},{\"node\":\"lookup slack user by email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive and analyze emails with rules in Sublime Security", "output": "{\"id\":\"84KL1bsi9OvbAapn\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Receive_and_analyze_emails_with_rules_in_Sublime_Security\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"b1ad1c9a-ba5d-46d6-9ce1-b3bb9346c766\",\"name\":\"Email Trigger (IMAP)\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[720,1120],\"parameters\":{\"format\":\"resolved\",\"options\":{}},\"credentials\":{\"imap\":{\"id\":\"BDCrQbPFgl8k3ArL\",\"name\":\"Matti Outlook email\"}},\"typeVersion\":2},{\"id\":\"e43b0257-0d83-4f7e-8824-3ca1d4cf6110\",\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1240,740],\"parameters\":{\"options\":{\"encoding\":\"base64\"},\"sourceKey\":\"attachment_0\",\"setAllData\":false},\"typeVersion\":1,\"alwaysOutputData\":true},{\"id\":\"97359abc-7ca9-4599-9112-4416618d0c36\",\"name\":\"IF email has attachment\",\"type\":\"n8n-nodes-base.if\",\"position\":[1020,900],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $binary.attachment_0 }}\",\"operation\":\"isNotEmpty\"},{\"value1\":\"={{ $binary.attachment_0.mimeType }}\",\"value2\":\"message/rfc822\"}]}},\"typeVersion\":1},{\"id\":\"046f87e0-8759-4952-85be-78bf36a70994\",\"name\":\"Split to matched and unmatched\",\"type\":\"n8n-nodes-base.code\",\"position\":[1760,740],\"parameters\":{\"jsCode\":\"// Loop over input items and add a new field\\n// called 'myNewField' to the JSON of each one\\nmatched = []\\nunmatched = [] \\n\\nfor (const item of $input.first().json.rule_results) {\\n if (item.matched) {\\n matched.push(item)\\n } else {\\n unmatched.push(item) \\n }\\n}\\n\\nreturn {\\n json: {\\n matched,\\n unmatched\\n }\\n}\"},\"typeVersion\":1},{\"id\":\"f88b852d-f2a4-4d78-aaef-40050c0efef8\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[720,920],\"parameters\":{},\"typeVersion\":1},{\"id\":\"ce7288d4-61ec-4222-a29e-8a72ed2ee32e\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2260,740],\"parameters\":{\"text\":\"={{ $json.message }}\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#test-matti-tomi\"},\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"180\",\"name\":\"Awesom-O\"}},\"typeVersion\":2.1},{\"id\":\"70c76c01-50ef-47a4-b552-bc6fea5079ed\",\"name\":\"Format the message\",\"type\":\"n8n-nodes-base.set\",\"position\":[2040,740],\"parameters\":{\"values\":{\"string\":[{\"name\":\"message\",\"value\":\"=No. of rules that matched {{ $json[\\\"matched\\\"].length }} / {{ $json[\\\"matched\\\"].length + $json[\\\"unmatched\\\"].length }}\\n\\nMatched rules:\\n{{ $json[\\\"matched\\\"].pluck(\\\"rule\\\").pluck(\\\"name\\\").join('\\\\n') }}\\n\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"52af4700-0dc5-4f5f-8664-97d2aacdab76\",\"name\":\"Notify about missing attachment\",\"type\":\"n8n-nodes-base.slack\",\"position\":[2260,920],\"parameters\":{\"text\":\"No attachment found in an email\\n\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#test-matti-tomi\"},\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"180\",\"name\":\"Awesom-O\"}},\"typeVersion\":2.1},{\"id\":\"19be16c9-3908-4a2d-87e4-f721c33dc124\",\"name\":\"Analyze email with Sublime Security\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1500,740],\"parameters\":{\"url\":\"https://api.platform.sublimesecurity.com/v0/messages/analyze\",\"method\":\"POST\",\"options\":{},\"jsonBody\":\"={\\n \\\"raw_message\\\": \\\"{{ $json.data }}\\\",\\n \\\"run_active_detection_rules\\\": true,\\n \\\"run_all_detection_rules\\\": false\\n}\",\"sendBody\":true,\"sendHeaders\":true,\"specifyBody\":\"json\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\",\"headerParameters\":{\"parameters\":[{\"name\":\"content-type\",\"value\":\"application/json\"}]}},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"buIfmuHDZZQ2MyYz\",\"name\":\"Sublime Security bearer token\"}},\"typeVersion\":3},{\"id\":\"a39d52d6-26e0-485e-8d32-984e26f71f9b\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[240,298.6458865911087],\"parameters\":{\"width\":618.0312276650722,\"height\":963.8594737915395,\"content\":\"![imap](https://i.imgur.com/lVqCPYb.png)\\n# Workflow Overview\\nLeverage n8n's IMAP node to `seamlessly ingest emails as .eml attachments`, streamlining your security protocols and response strategies. \\n\\nThis setup is crucial for organizations utilizing platforms like Outlook, which offers a specialized security feature that designates specific inboxes for phishing attempts. \\n\\nWhen a phishing email is flagged through Outlook's interface, the system is designed to convert it into an .eml file and direct it to a dedicated phishing inbox. This process not only centralizes your phishing threat management but also ensures that each potential threat is queued for immediate and thorough analysis. \\n\\nBy integrating with n8n, you can automate the capture of these emails, transforming user-reported incidents into actionable data without manual intervention, enhancing your cybersecurity response and preserving your workflow's integrity.\\n\\n## Ingest emails as attachments as .eml file. \\nSet your phishing email inbox here via your imap credentials. You can also replace this with any other node that retrieves emails as .eml attachments. \"},\"typeVersion\":1},{\"id\":\"3cb757ce-2083-44de-8508-89039c6bca9d\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1444,361],\"parameters\":{\"width\":503.7209302325584,\"height\":710.138909846923,\"content\":\"![Sublime Security](https://i.imgur.com/DfXJLIw.png)\\n## Analyze Attachment and format output\\nIf an attachment is detected, n8n facilitates its secure transfer to Sublime Security for detailed analysis. This automated process not only speeds up the threat detection mechanism but also formats the output for compatibility with other systems, such as Slack, ensuring a smooth and efficient workflow. \\n\\nThrough this automation, you're not just analyzing emails; you're fortifying your defense against cyber threats and enhancing operational efficiency with minimal user involvement.\"},\"typeVersion\":1},{\"id\":\"83756b95-a3a8-4145-9d10-fc7e3b2121f8\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1980,354.9999999999999],\"parameters\":{\"width\":476.0465116279074,\"height\":777.0757733319455,\"content\":\"![Slack](https://i.imgur.com/iKyMV0N.png)\\n## Prep output for Slack Report\\nn8n completes the cycle of threat analysis and communication by preparing and delivering comprehensive reports directly to your Slack channels. \\n\\nThis ensures that all stakeholders are immediately informed about potential threats, fostering a culture of transparency and prompt action. \\n\\nIn instances where no attachment is found, n8n proactively dispatches a notification to Slack, signaling your team to investigate further. \"},\"typeVersion\":1},{\"id\":\"a443e91b-6b0b-4fb8-b9d5-6f1d236da053\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[880,360.90897077923785],\"parameters\":{\"width\":541.1627906976748,\"height\":715.8304363872012,\"content\":\"![n8n](https://i.imgur.com/lKnBNnH.png)\\n## Check for attachments and send to sublime if any found \\nUpon receiving an email via the IMAP node, n8n executes a meticulous inspection to detect the presence of attachments. This is more than a mere check; it's an essential layer of your security posture to identify and handle potentially malicious content proactively. \\n\\nIf an attachment is found, the binary file is converted to JSON for further analysis. \"},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"Move Binary Data\":[{\"json\":{\"to\":{\"html\":\"mattiasn8n@outlook.com\",\"text\":\"mattiasn8n@outlook.com\",\"value\":[{\"name\":\"\",\"address\":\"mattiasn8n@outlook.com\"}]},\"data\":\"RGVsaXZlcmVkLVRvOiB0b21pdHVydGlhaW5lbkBnbWFpbC5jb20NClJlY2VpdmVkOiBieSAyMDAyOmExNzo5MDY6OTRjZTpiMDo5YTE6OWFiMzoyMTkyIHdpdGggU01UUCBpZCBkMTRjc3AxODYzNzMzZWp5Ow0KICAgICAgICBUdWUsIDUgU2VwIDIwMjMgMDY6MzI6MDQgLTA3MDAgKFBEVCkNClgtR29vZ2xlLVNtdHAtU291cmNlOiBBR0hUK0lHZU1DOTcwRHg3T2VyT25idnFtamVOSmR0ZXBPdXNjaWRtUHEvc1YzNzg3eDFaRHUvUUdtVEhFWHFqclNIbDJpNHRSQ3dJDQpYLVJlY2VpdmVkOiBieSAyMDAyOmExNzo5MGI6Zjg1OmIwOjI2MzoxNjFjOjllOWMgd2l0aCBTTVRQIGlkIGZ0NS0yMDAyMGExNzA5MGIwZjg1MDBiMDAyNjMxNjFjOWU5Y21yMTcwNzUyNzRwamIuMTIuMTY5MzkyMDcyMzYzMTsNCiAgICAgICAgVHVlLCAwNSBTZXAgMjAyMyAwNjozMjowMyAtMDcwMCAoUERUKQ0KQVJDLVNlYWw6IGk9MTsgYT1yc2Etc2hhMjU2OyB0PTE2OTM5MjA3MjM7IGN2PW5vbmU7DQogICAgICAgIGQ9Z29vZ2xlLmNvbTsgcz1hcmMtMjAxNjA4MTY7DQogICAgICAgIGI9UGdKNHFPeWRjdzBmN1VqakNjQ3lnUXBsNkxkNDJURmJoZTVsckM0bDVsak5SLzhMNCtRQzlYUWdKbVVJVGRBVWN0DQogICAgICAgICBJOHZqblB3eWcvd2tGV21xa2pzR2dodGZGMTc5TTY2bkNEWTJIeUgzWUF6M0Z5cy9pUDFlTWhvdDJEOUZaMmduZm5WeA0KICAgICAgICAgNFFobXRQTkErU2FjZ0pXYVE0TGFHQUhaamI3VXBxc1lxUTdndzJicmcxeWZKM2VTekdiK0tCcDRlYThTR2cyL0JmRkQNCiAgICAgICAgIFNGZmM3K1A1RTdrOE1uNE51UFFDd1BBUzB6MFVEMmdHU0dRV0FrNlY3RVhrQWx3cEF5RDdzbHFCanFPbkxKR05kU0JmDQogICAgICAgICBXSTNNSFlSRjNKYjhnTmRXN2RhdlhONUVYREN1VXR3RkVVMk50NVAyZnNVd1VleUlKY2xpODljQjU0QWxsM2hzU3VQTw0KICAgICAgICAgbE8xQT09DQpBUkMtTWVzc2FnZS1TaWduYXR1cmU6IGk9MTsgYT1yc2Etc2hhMjU2OyBjPXJlbGF4ZWQvcmVsYXhlZDsgZD1nb29nbGUuY29tOyBzPWFyYy0yMDE2MDgxNjsNCiAgICAgICAgaD1mZWVkYmFjay1pZDptaW1lLXZlcnNpb246c3ViamVjdDp0bzpmcm9tOmRhdGU6ZGtpbS1zaWduYXR1cmUNCiAgICAgICAgIDptZXNzYWdlLWlkOw0KICAgICAgICBiaD1zNWhrUmxaTVhKQmE3cjVwdVBzZXRxNm5tcW8zbDRaeFBUeFlDQmlOeUI0PTsNCiAgICAgICAgZmg9emNKNzl1S2hLQzdBZU9VM2VtMnE3SUZRemRwMmRsNmxndE1MRWE0ZDB1RT07DQogICAgICAgIGI9aHJ1VkFlbU5OcXFLb2lVTlFpKzJLdHpnTk52ZldDczNPTWtrbGhtcXJyZWlJbVBpZHptM3orZ3JDZ0F5ZmFhaTF2DQogICAgICAgICBDWlhHeG0yN1lKckJlRzl3dXF0dDBSVTIwby9oMTMxbVZXRFAwZ3BlMnVnY3FBR3hvRkVDMXQ0bXU5SXl0aC9aWENoLw0KICAgICAgICAgOWF5NTYyd05HSnY0KzJRWnBuQ1VVQ1BILzg3SG1VdkNVL3oxaURHb1RuajZvdzBKTXpZd0RzTytXdndsWUJlR2tuOTUNCiAgICAgICAgIHhDRnNHeEJpRFgzeGFtSVVIRFNEcnhRcmxpN0pETXNNK3RuVjlEUjRIT1BLa3QyekJwQmEzcXROQ09iSVJ5RzBKS3lzDQogICAgICAgICBmdU9LNnlsNFg5M1cyT2piTGk2cktTK2srVWZPeHVjcU5CckdoNjVKVno3eVZDZTkyRFdMMzdBY29rZHFEQnJYWTdZYg0KICAgICAgICAgVVhKdz09DQpBUkMtQXV0aGVudGljYXRpb24tUmVzdWx0czogaT0xOyBteC5nb29nbGUuY29tOw0KICAgICAgIGRraW09cGFzcyBoZWFkZXIuaT1AYWxpZXhwcmVzcy5jb20gaGVhZGVyLnM9czEwMjQgaGVhZGVyLmI9alRoeU1UbmE7DQogICAgICAgc3BmPXBhc3MgKGdvb2dsZS5jb206IGRvbWFpbiBvZiBhY2NvdW50QG5vdGljZS5hbGlleHByZXNzLmNvbSBkZXNpZ25hdGVzIDguMjE5LjMyLjUzIGFzIHBlcm1pdHRlZCBzZW5kZXIpIHNtdHAubWFpbGZyb209YWNjb3VudEBub3RpY2UuYWxpZXhwcmVzcy5jb207DQogICAgICAgZG1hcmM9cGFzcyAocD1RVUFSQU5USU5FIHNwPVFVQVJBTlRJTkUgZGlzPU5PTkUpIGhlYWRlci5mcm9tPWFsaWV4cHJlc3MuY29tDQpSZXR1cm4tUGF0aDogPGFjY291bnRAbm90aWNlLmFsaWV4cHJlc3MuY29tPg0KUmVjZWl2ZWQ6IGZyb20gb3V0MzItNTMuc2cuYi5kbS5hbGl5dW4uY29tIChvdXQzMi01My5zZy5iLmRtLmFsaXl1bi5jb20uIFs4LjIxOS4zMi41M10pDQogICAgICAgIGJ5IG14Lmdvb2dsZS5jb20gd2l0aCBFU01UUCBpZCBpMi0yMDAyMGExNzA5MGFkYzAyMDBiMDAyNGU0N2ZhZTQ2NnNpOTQyNTMwMnBqdi4xODAuMjAyMy4wOS4wNS4wNi4zMi4wMg0KICAgICAgICBmb3IgPHRvbWl0dXJ0aWFpbmVuQGdtYWlsLmNvbT47DQogICAgICAgIFR1ZSwgMDUgU2VwIDIwMjMgMDY6MzI6MDMgLTA3MDAgKFBEVCkNClJlY2VpdmVkLVNQRjogcGFzcyAoZ29vZ2xlLmNvbTogZG9tYWluIG9mIGFjY291bnRAbm90aWNlLmFsaWV4cHJlc3MuY29tIGRlc2lnbmF0ZXMgOC4yMTkuMzIuNTMgYXMgcGVybWl0dGVkIHNlbmRlcikgY2xpZW50LWlwPTguMjE5LjMyLjUzOw0KQXV0aGVudGljYXRpb24tUmVzdWx0czogbXguZ29vZ2xlLmNvbTsNCiAgICAgICBka2ltPXBhc3MgaGVhZGVyLmk9QGFsaWV4cHJlc3MuY29tIGhlYWRlci5zPXMxMDI0IGhlYWRlci5iPWpUaHlNVG5hOw0KICAgICAgIHNwZj1wYXNzIChnb29nbGUuY29tOiBkb21haW4gb2YgYWNjb3VudEBub3RpY2UuYWxpZXhwcmVzcy5jb20gZGVzaWduYXRlcyA4LjIxOS4zMi41MyBhcyBwZXJtaXR0ZWQgc2VuZGVyKSBzbXRwLm1haWxmcm9tPWFjY291bnRAbm90aWNlLmFsaWV4cHJlc3MuY29tOw0KICAgICAgIGRtYXJjPXBhc3MgKHA9UVVBUkFOVElORSBzcD1RVUFSQU5USU5FIGRpcz1OT05FKSBoZWFkZXIuZnJvbT1hbGlleHByZXNzLmNvbQ0KTWVzc2FnZS1JRDogPDY0ZjcyZGQzLjE3MGEwMjIwLmU4Mjk1LjY1YTVTTVRQSU5fQURERURfQlJPS0VOQG14Lmdvb2dsZS5jb20+DQpYLUdvb2dsZS1PcmlnaW5hbC1NZXNzYWdlLUlEOiBtYWlsbnVsbF9FTUFJTF9SRUdJU1RFUl9lJDdmOGM5YWIwYzU4MDRjOTY5MDYxNmM0Yzc4MTY4NDZhDQpYLUFsaURNLVJjcHRUbzogZEc5dGFYUjFjblJwWVdsdVpXNUFaMjFoYVd3dVkyOXQNCkRLSU0tU2lnbmF0dXJlOiB2PTE7IGE9cnNhLXNoYTI1NjsgYz1yZWxheGVkL3JlbGF4ZWQ7DQoJZD1hbGlleHByZXNzLmNvbTsgcz1zMTAyNDsNCgl0PTE2OTM5MjA3MjI7IGg9RGF0ZTpGcm9tOlRvOk1lc3NhZ2UtSUQ6U3ViamVjdDpNSU1FLVZlcnNpb246Q29udGVudC1UeXBlOw0KCWJoPXM1aGtSbFpNWEpCYTdyNXB1UHNldHE2bm1xbzNsNFp4UFR4WUNCaU55QjQ9Ow0KCWI9alRoeU1UbmEvSXhiNEVyajFTcVpQaW5iYjFURUdLWWdEdDJQTDk4QVIxNGtSMnpwdzEvRDlFNng3Wi9RR3VaZ21GOUJyUzRZVHc5eEgzSTkyUGg2OWMvWHR6aTQxUFNOT2NtMWhYNXFDSlNqQUdrR3dFUHJUOVdNd3NjUUxHak9wSmVIVWdPQTFTOGM3UWVuMTg0TmlHRGlpRnFGQ3EwSStjYlVZYTVkK09jPQ0KWC1FbnZJZDogNTc2NDYwODk4MzU1MDQzNTczDQpSZWNlaXZlZDogZnJvbSBhZS11dC1jcmFiLXMtZjZlZjI4MjUwZGNmZjY5OWNkMDE3MWM3MWRkNzM1NTAtcGRtaHIobWFpbGZyb206YWNjb3VudEBub3RpY2UuYWxpZXhwcmVzcy5jb20gZnA6U01UUERfLVUtLTA2Lktobm0pDQogICAgICAgICAgYnkgc210cC5hbGl5dW4taW5jLmNvbSgxMjcuMC4wLjEpOw0KICAgICAgICAgIFR1ZSwgMDUgU2VwIDIwMjMgMjE6MzI6MDIgKzA4MDANCkRhdGU6IFR1ZSwgNSBTZXAgMjAyMyAwNjozMjowMiAtMDcwMCAoUERUKQ0KRnJvbTogQWxpRXhwcmVzcyA8YWNjb3VudEBub3RpY2UuYWxpZXhwcmVzcy5jb20+DQpUbzogdG9taXR1cnRpYWluZW5AZ21haWwuY29tDQpTdWJqZWN0OiBZb3VyIEFsaUV4cHJlc3MgdmVyaWZpY2F0aW9uIGNvZGUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyANCglib3VuZGFyeT0iLS0tLT1fUGFydF8xNDExOTcyN18xNDI2MDAzNTIyLjE2OTM5MjA3MjIwNjAiDQpGZWVkYmFjay1JRDogZGVmYXVsdDphY2NvdW50QG5vdGljZS5hbGlleHByZXNzLmNvbTpTLW90aGVyczoxNTE5NzMNCk1JTUUtVmVyc2lvbjogMS4wDQoNCi0tLS0tLT1fUGFydF8xNDExOTcyN18xNDI2MDAzNTIyLjE2OTM5MjA3MjIwNjANCkNvbnRlbnQtVHlwZTogdGV4dC9odG1sO2NoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IHF1b3RlZC1wcmludGFibGUNCg0KPG1ldGEgaHR0cC1lcXVpdj0zRCJDb250ZW50LVR5cGUiIGNvbnRlbnQ9M0QidGV4dC9odG1sOyBjaGFyc2V0PTNEdXRmLTgiPjxkPQ0KaXYgc3R5bGU9M0QiZGlzcGxheTpub25lIj48aW1nIHN0eWxlPTNEImRpc3BsYXk6bm9uZSIgc3JjPTNEImh0dHA6Ly9hZS5tbXN0PQ0KYXQuY29tL2FlLmVkbS5lZG1fb3Blbj90cmFjZWxvZz0zRHJvd2FuLWFlX3VpYy1lbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fPQ0KVVMtMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2PQ0KOTA2MTZjNGM3ODE2ODQ2YSI+PC9kaXY+PGJyPjwhLS1lbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlIyR7aG91eWlKb2JJZH0tLT48IWRvPQ0KY3R5cGUgaHRtbD4NCjxodG1sIHhtbG5zPTNEImh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIHhtbG5zOnY9M0QidXJuOnNjaGVtYXMtbWljcm9zbz0NCmZ0LWNvbTp2bWwiIHhtbG5zOm89M0QidXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIj4NCiAgICA8aGVhZD4NCiAgICAgICAgPHRpdGxlPiBBbGlFeHByZXNzIDwvdGl0bGU+DQogICAgICAgIDwhLS1baWYgIW1zb10+PCEtLSAtLT4NCiAgICAgICAgPG1ldGEgaHR0cC1lcXVpdj0zRCJYLVVBLUNvbXBhdGlibGUiIGNvbnRlbnQ9M0QiSUU9M0RlZGdlIj4NCiAgICAgICAgPCEtLTwhW2VuZGlmXS0tPg0KICAgICAgID0yMA0KICAgICAgICA8bWV0YSBuYW1lPTNEInZpZXdwb3J0IiBjb250ZW50PTNEIndpZHRoPTNEZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjPQ0KYWxlPTNEMSI+DQogICAgICAgIDxzdHlsZSB0eXBlPTNEInRleHQvY3NzIj4NCiAgICAgICAgICAgICNvdXRsb29rIGEgew0KICAgICAgICAgICAgICAgIHBhZGRpbmc6IDA7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBib2R5IHsNCiAgICAgICAgICAgICAgICBtYXJnaW46IDA7DQogICAgICAgICAgICAgICAgcGFkZGluZzogMDsNCiAgICAgICAgICAgICAgICAtd2Via2l0LXRleHQtc2l6ZS1hZGp1c3Q6IDEwMCU7DQogICAgICAgICAgICAgICAgLW1zLXRleHQtc2l6ZS1hZGp1c3Q6IDEwMCU7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB0YWJsZSwNCiAgICAgICAgICAgIHRkIHsNCiAgICAgICAgICAgICAgICBib3JkZXItY29sbGFwc2U6IGNvbGxhcHNlOw0KICAgICAgICAgICAgICAgIG1zby10YWJsZS1sc3BhY2U6IDA7DQogICAgICAgICAgICAgICAgbXNvLXRhYmxlLXJzcGFjZTogMDsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGltZyB7DQogICAgICAgICAgICAgICAgYm9yZGVyOiAwOw0KICAgICAgICAgICAgICAgIGhlaWdodDogYXV0bzsNCiAgICAgICAgICAgICAgICBsaW5lLWhlaWdodDogMTAwJTsNCiAgICAgICAgICAgICAgICBvdXRsaW5lOiBub25lOw0KICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTsNCiAgICAgICAgICAgICAgICAtbXMtaW50ZXJwb2xhdGlvbi1tb2RlOiBiaWN1YmljOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgcCB7DQogICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7DQogICAgICAgICAgICAgICAgbWFyZ2luOiAxM3B4IDA7DQogICAgICAgICAgICB9DQogICAgICAgIDwvc3R5bGU+DQogICAgICAgIDwhLS1baWYgbXNvXT4gPHhtbD4gPG86T2ZmaWNlRG9jdW1lbnRTZXR0aW5ncz4gPG86QWxsb3dQTkcvPiA8bzpQaXg9DQplbHNQZXJJbmNoPjk2PC9vOlBpeGVsc1BlckluY2g+IDwvbzpPZmZpY2VEb2N1bWVudFNldHRpbmdzPiA8L3htbD4gPCFbZW5kaWY9DQpdLS0+DQogICAgICAgIDwhLS1baWYgbHRlIG1zbyAxMV0+IDxzdHlsZSB0eXBlPTNEInRleHQvY3NzIj4gLm1qLW91dGxvb2stZ3JvdXAtZmk9DQp4IHsgd2lkdGg6MTAwJSAhaW1wb3J0YW50OyB9IDwvc3R5bGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tW2lmICFtc29dPjwhLS0+DQogICAgICAgIDxsaW5rIGhyZWY9M0QiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3M/ZmFtaWx5PTNET3BlbitTYW5zOjM9DQowMCw0MDAsNTAwLDcwMCIgcmVsPTNEInN0eWxlc2hlZXQiIHR5cGU9M0QidGV4dC9jc3MiPg0KICAgICAgICA8c3R5bGUgdHlwZT0zRCJ0ZXh0L2NzcyI+DQogICAgICAgICAgICBAaW1wb3J0IHVybChodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9M0RPcGVuK1NhbnM9DQo6MzAwLDQwMCw1MDAsNzAwKTsNCiAgICAgICAgPC9zdHlsZT4NCiAgICAgICAgPCEtLTwhW2VuZGlmXS0tID4gPHN0eWxlIHR5cGU9M0QidGV4dC9jc3MiID4gQG1lZGlhIG9ubHkgc2NyZWVuIGFuZD0NCiAobWluLXdpZHRoOjQ4MHB4KSB7DQogICAgICAgICAgICAgICAgLm1qLWNvbHVtbi1wZXItMTAwIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAxMDAlOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAubWotY29sdW1uLXBlci0yNSB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiAyNSUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAyNSU7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1jb2x1bW4tcGVyLTc1IHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDc1JSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDc1JTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgLm1qLWNvbHVtbi1wZXItNDgtNCB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiA0OC40JSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDQ4LjQlOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAubWotY29sdW1uLXBlci01MCB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiA1MCUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiA1MCU7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICA8L3N0eWxlPg0KICAgICAgICA8c3R5bGUgdHlwZT0zRCJ0ZXh0L2NzcyI+DQogICAgICAgICAgICBAbWVkaWEgb25seSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6NDgwcHgpIHsNCiAgICAgICAgICAgICAgICB0YWJsZS5tai1mdWxsLXdpZHRoLW1vYmlsZSB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHRkLm1qLWZ1bGwtd2lkdGgtbW9iaWxlIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGF1dG8gIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBub2lucHV0Lm1qLW1lbnUtY2hlY2tib3ggew0KICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgbWF4LWhlaWdodDogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIHZpc2liaWxpdHk6IHZpc2libGUgIWltcG9ydGFudDsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDo0ODBweCkgew0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXX4ubWotaW5saW5lLWxpbmtzIHsNCiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAubWotbWVudS1jaGVja2JveFt0eXBlPTNEImNoZWNrYm94Il06Y2hlY2tlZH4ubWotaW5saW5lLWxpbj0NCmtzLA0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXX4ubWotbWVudS10cmlnZ2VyIHsNCiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2sgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiBub25lICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgICAgIG1heC1oZWlnaHQ6IG5vbmUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiBpbmhlcml0ICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXX4ubWotaW5saW5lLWxpbmtzID4gYSB7DQogICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXTpjaGVja2Vkfi5tai1tZW51LXRyaWdnPQ0KZXIgLm1qLW1lbnUtaWNvbi1jbG9zZSB7DQogICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXTpjaGVja2Vkfi5tai1tZW51LXRyaWdnPQ0KZXIgLm1qLW1lbnUtaWNvbi1vcGVuIHsNCiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgPC9zdHlsZT4NCiAgICAgICAgPHN0eWxlIHR5cGU9M0QidGV4dC9jc3MiPg0KICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoOjQ4MXB4KSB7DQogICAgICAgICAgICAgICAgLnByb2R1Y3RzLWxpc3QtdGFibGUgaW1nIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEyMHB4ICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAucHJvZHVjdHMtbGlzdC10YWJsZSAuaW1hZ2UtY29sdW1uIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDIwJSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGEgew0KICAgICAgICAgICAgICAgIGNvbG9yOiAjMDAwOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgLnNlcnZlci1pbWcgaW1nIHsNCiAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIC5zZXJ2ZXItYm94LW9uZSBhLA0KICAgICAgICAgICAgLnNlcnZlci1ib3gtdHdvIGEgew0KICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lOw0KICAgICAgICAgICAgICAgIGNvbG9yOiAjMkU5Q0MzOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgLnNlcnZlci1pbWcgaW1nIHsNCiAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIC5zZXJ2ZXItYm94LW9uZSBhLA0KICAgICAgICAgICAgLnNlcnZlci1ib3gtdHdvIGEgew0KICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lOw0KICAgICAgICAgICAgICAgIGNvbG9yOiAjMkU5Q0MzOw0KICAgICAgICAgICAgfQ0KICAgICAgICA8L3N0eWxlPg0KICAgIDwvaGVhZD4NCiAgICA8Ym9keSBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiNGRkZGRkY7Ij4NCiAgICAgICAgPGRpdiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbj0NCnMtc2VyaWY7IGJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7Ij4NCiAgICAgICAgICAgIDwhLS0gPUU2PUE4PUExPUU2PTlEPUJGIC0tPg0KICAgICAgICA8IS0tIEJvZHkgV3JhcHBlciAtLT4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDx0YWJsZSBhbGlnbj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0NCj0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiBjbGFzcz0zRCJib2R5LXdyYXBwZXItb3V0bG9vayIgc3R5bGU9M0Qid2lkdGg6NjAwcD0NCng7IiB3aWR0aD0zRCI2MDAiID4gPHRyPiA8dGQgc3R5bGU9M0QibGluZS1oZWlnaHQ6MHB4O2ZvbnQtc2l6ZTowcHg7bXNvLWxpbj0NCmUtaGVpZ2h0LXJ1bGU6ZXhhY3RseTsiPiA8IVtlbmRpZl0tLT4NCiAgICAgICAgPGRpdiBjbGFzcz0zRCJib2R5LXdyYXBwZXIiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldD0NCmljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjsgcGFkZGluZy1ib3R0b206IDIwcHg7IGJveC1zaGFkb3c6IDAgNHB4IDEwcD0NCnggI2RkZDsgYmFja2dyb3VuZDogI0YyRjJGMjsgYmFja2dyb3VuZC1jb2xvcjogI0YyRjJGMjsgbWFyZ2luOiAwcHggYXV0bzsgbT0NCmF4LXdpZHRoOiA2MDBweDsgbWFyZ2luLWJvdHRvbTogMTBweDsiPg0KICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjPQ0KaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kOiNGMkYyRjI7YmFja2dyb3VuZC1jb2xvPQ0KcjojRjJGMkYyO3dpZHRoOjEwMCU7Ij4NCiAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaD0NCm9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGRpcmVjdGlvbjogbHRyOyBmb250LXNpemU6IDBweDsgcGFkZGluZzogMTBweCAyMHB4Oz0NCiB0ZXh0LWFsaWduOiBjZW50ZXI7IiBhbGlnbj0zRCJjZW50ZXIiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dGFibGUgcm9sZT0zRCJwcmVzZW50YXRpb24iPQ0KIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIj4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLSBQcmUtSGVhZGVycyAtLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPHRyPiA8dGQgY2xhc3M9M0QicHJlLWhlYWRlcj0NCi1vdXRsb29rIiB3aWR0aD0zRCI2MDBweCIgPiA8dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbj0NCmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgY2xhc3M9M0QicHJlLWhlYWRlci1vdXRsb29rIiBzdHlsZT0zRCJ3aWR0aDo1NjBweD0NCjsiIHdpZHRoPTNEIjU2MCIgPiA8dHI+IDx0ZCBzdHlsZT0zRCJsaW5lLWhlaWdodDowcHg7Zm9udC1zaXplOjBweDttc28tbGluZT0NCi1oZWlnaHQtcnVsZTpleGFjdGx5OyI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QicHJlLWhlYWRlciIgc3R5bGU9M0QiZm9udC1mYW1pbHk6PQ0KIE9wZW4gU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyaWFsLCBzYW5zLXNlcmlmOyBoZWlnaHQ6IDFweDsgb3ZlcmZsb3c6IGhpPQ0KZGRlbjsgbWFyZ2luOiAwcHggYXV0bzsgbWF4LXdpZHRoOiA1NjBweDsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhPQ0KZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEIndpZHRoOjEwMCU7Ij4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiA9DQpTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGRpcmVjdGlvbjogbHRyOyBmb250LXNpemU6IDBweDs9DQogcGFkZGluZzogMHB4OyB0ZXh0LWFsaWduOiBjZW50ZXI7IiBhbGlnbj0zRCJjZW50ZXIiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDx0YWJsZSByPQ0Kb2xlPTNEInByZXNlbnRhdGlvbiIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiPiA8dHI+PQ0KIDx0ZCBjbGFzcz0zRCIiIHN0eWxlPTNEInZlcnRpY2FsLWFsaWduOnRvcDt3aWR0aDo1NjBweDsiID4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPTNEIm1qLWNvbHVtbi1wZXI9DQotMTAwIG1qLW91dGxvb2stZ3JvdXAtZml4IiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG89DQptYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMHB4OyB0ZXh0LWFsaWduOiBsZWZ0OyBkaXJlY3Rpb246IGx0cjsgZGk9DQpzcGxheTogaW5saW5lLWJsb2NrOyB2ZXJ0aWNhbC1hbGlnbjogdG9wOyB3aWR0aDogMTAwJTsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsPQ0KbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEInZlcnRpY2FsLWFsPQ0KaWduOnRvcDsiIHdpZHRoPTNEIjEwMCUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0QiY2U9DQpudGVyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY9DQo7IGZvbnQtc2l6ZTogMHB4OyBwYWRkaW5nOiAwOyB3b3JkLWJyZWFrOiBicmVhay13b3JkOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0NCj0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZT0NCjogMXB4OyBmb250LXdlaWdodDogNDAwOyBsaW5lLWhlaWdodDogMDsgdGV4dC1hbGlnbjogY2VudGVyOyBjb2xvcjogI0YyRjJGMj0NCjsiPjwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90ZD4gPC89DQp0cj4gPC90YWJsZT4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvdHI+IDwvdGFibGU+IDwvdGQ+IDw9DQovdHI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gaGVhZGVyIC0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dHI+IDx0ZCBjbGFzcz0zRCJoZWFkZXItb3V0PQ0KbG9vayIgd2lkdGg9M0QiNjAwcHgiID4gPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEPQ0KIjAiIGNlbGxzcGFjaW5nPTNEIjAiIGNsYXNzPTNEImhlYWRlci1vdXRsb29rIiBzdHlsZT0zRCJ3aWR0aDo1NjBweDsiIHdpZHRoPQ0KPTNEIjU2MCIgPiA8dHI+IDx0ZCBzdHlsZT0zRCJsaW5lLWhlaWdodDowcHg7Zm9udC1zaXplOjBweDttc28tbGluZS1oZWlnaHQtPQ0KcnVsZTpleGFjdGx5OyI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QiaGVhZGVyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlPQ0KbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGxpbmUtaGVpZ2h0OiAyMnB4OyBwYWRkaW5nOiAxPQ0KNXB4IDA7IG1hcmdpbjogMHB4IGF1dG87IG1heC13aWR0aDogNTYwcHg7Ij4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYT0NCmRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJ3aWR0aDoxMDAlOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0QiZm9udC1mYW1pbHk6IE9wZW4gPQ0KU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyaWFsLCBzYW5zLXNlcmlmOyBkaXJlY3Rpb246IGx0cjsgZm9udC1zaXplOiAwcHg7PQ0KIHBhZGRpbmc6IDBweDsgdGV4dC1hbGlnbjogY2VudGVyOyIgYWxpZ249M0QiY2VudGVyIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dGFibGUgcj0NCm9sZT0zRCJwcmVzZW50YXRpb24iIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIj4gPHRyPj0NCiA8IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gTE9HTyAtLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dGQgY2xhcz0NCnM9M0QiIiBzdHlsZT0zRCJ2ZXJ0aWNhbC1hbGlnbjptaWRkbGU7d2lkdGg6MTQwcHg7IiA+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0zRCJtai1jb2x1bW4tcGVyPQ0KLTI1IG1qLW91dGxvb2stZ3JvdXAtZml4IiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tPQ0KYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMHB4OyB0ZXh0LWFsaWduOiBsZWZ0OyBkaXJlY3Rpb246IGx0cjsgZGlzPQ0KcGxheTogaW5saW5lLWJsb2NrOyB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlOyB3aWR0aDogMTAwJTsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsPQ0KbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEInZlcnRpY2FsLWFsPQ0KaWduOm1pZGRsZTsiIHdpZHRoPTNEIjEwMCUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0QiY2U9DQpudGVyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY9DQo7IGZvbnQtc2l6ZTogMHB4OyBwYWRkaW5nOiAwOyB3b3JkLWJyZWFrOiBicmVhay13b3JkOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmQ9DQplcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0Q9DQoiYm9yZGVyLWNvbGxhcHNlOmNvbGxhcHNlO2JvcmRlci1zcGFjaW5nOjBweDsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI9DQo+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPHRkIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjs9DQogd2lkdGg6IDE0MHB4OyIgd2lkdGg9M0QiMTQwIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiAgICAgPGEgaHJlZj0zRCJodHRwczovL3d3dy5hbGlleHByZXNzLmNvbT9lZG1fY2xpY2tfbW9kdWxlPTNEaGVhZGVyJmFtcDt0cj0NCmFjZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbT0NCnA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YT0NCiZhbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsID0NCkhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjsgcGFkZGluZzogMCAxMHB4OyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogICAgICAgICA8aW1nIGFsdD0zRCJBbGlFeHByZXNzIiBoZWlnaHQ9M0QiYXV0byIgc3JjPTNEImh0dHBzOi8vYWUwMS5hbGljZG49DQouY29tL2tmL0hUQjFFODM0YUE1RTNLVmpTWkZDNzYydXpYWGF3LnBuZyIgc3R5bGU9M0QiYm9yZGVyOjA7ZGlzcGxheTpibG9jazs9DQpvdXRsaW5lOm5vbmU7dGV4dC1kZWNvcmF0aW9uOm5vbmU7aGVpZ2h0OmF1dG87d2lkdGg6MTAwJTtmb250LXNpemU6MTNweDsiIHc9DQppZHRoPTNEIjE0MCI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogICAgIDwvYT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiA8L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90PQ0Kcj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT0NCj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90ZD4gPCE9DQpbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tIE5hdmlnYXRpb24gQmFyIC0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDx0ZCBjbGFzPQ0Kcz0zRCJuYXZpZ2F0aW9uLWJhci1vdXRsb29rIiBzdHlsZT0zRCJ2ZXJ0aWNhbC1hbGlnbjptaWRkbGU7d2lkdGg6NDIwcHg7IiA+PQ0KIDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0zRCJtai1jb2x1bW4tcGVyPQ0KLTc1IG1qLW91dGxvb2stZ3JvdXAtZml4IG5hdmlnYXRpb24tYmFyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIPQ0KZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMHB4OyB0ZXh0LWFsaWduOiBsZWZ0OyBkaXJlPQ0KY3Rpb246IGx0cjsgZGlzcGxheTogaW5saW5lLWJsb2NrOyB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlOyB3aWR0aDogMTAwJTsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsPQ0KbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEInZlcnRpY2FsLWFsPQ0KaWduOm1pZGRsZTsiIHdpZHRoPTNEIjEwMCUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0Qicmk9DQpnaHQiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjs9DQogdGV4dC1hbGlnbjogcmlnaHQ7IGZvbnQtc2l6ZTogMHB4OyB3b3JkLWJyZWFrOiBicmVhay13b3JkOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0NCj0zRCJtai1pbmxpbmUtbGlua3MiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcj0NCmlhbCwgc2Fucy1zZXJpZjsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmPQ0KIG1zbyB8IElFXT4gPHRhYmxlIHJvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsPQ0KbHNwYWNpbmc9M0QiMCIgYWxpZ249M0QiY2VudGVyIj4gPHRyPiA8dGQgc3R5bGU9M0QicGFkZGluZzoxNXB4IDEwcHg7IiBjbGFzPQ0Kcz0zRCIiID4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhIGNsYXM9DQpzPTNEIm1qLWxpbmsiIGhyZWY9M0QiaHR0cHM6Ly90cmFkZS5hbGlleHByZXNzLmNvbS9vcmRlcl9saXN0Lmh0bT9lZG1fY2xpY2s9DQpfbW9kdWxlPTNEaGVhZGVyJmFtcDt0cmFjZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2Q9DQplXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM9DQo1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiIHN0eWxlPTNEImQ9DQppc3BsYXk6IGlubGluZS1ibG9jazsgY29sb3I6ICM4MDgwODA7IGZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGE9DQpob21hLCBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxM3B4OyBmb250LXdlaWdodDogYm9sZDsgbGluZS1oZWlnaHQ6IDI9DQoycHg7IHRleHQtZGVjb3JhdGlvbjogbm9uZTsgdGV4dC10cmFuc2Zvcm06IG5vbmU7IHBhZGRpbmc6IDAgMTBweDsiPjwvYT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZj0NCiBtc28gfCBJRV0+IDwvdGQ+IDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjE1cHggMTBweDsiIGNsYXNzPTNEIiIgPiA8IVtlbmRpZl0tLT0NCj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgY2xhcz0NCnM9M0QibWotbGluayIgaHJlZj0zRCJodHRwczovL3NlcnZpY2UuYWxpZXhwcmVzcy5jb20vcGFnZS9ob21lP3BhZ2VJZD0zRDE3Jj0NCmFtcDtsYW5ndWFnZT0zRGVuJmFtcDtlZG1fY2xpY2tfbW9kdWxlPTNEaGVhZGVyJmFtcDt0cmFjZWxvZz0zRHJvd2FuJmFtcDtybz0NCndhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPTNEbWFpbD0NCm51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbl9lZG1fb3RoZT0NCnIiIHRhcmdldD0zRCJfYmxhbmsiIHN0eWxlPTNEImRpc3BsYXk6IGlubGluZS1ibG9jazsgY29sb3I6ICM4MDgwODA7IGZvbnQtZj0NCmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxM3B4OyBmbz0NCm50LXdlaWdodDogYm9sZDsgbGluZS1oZWlnaHQ6IDIycHg7IHRleHQtZGVjb3JhdGlvbjogbm9uZTsgdGV4dC10cmFuc2Zvcm06ID0NCm5vbmU7IHBhZGRpbmc6IDAgMTBweDsiPiBIZWxwIENlbnRlciA8L2E+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWY9DQogbXNvIHwgSUVdPiA8L3RkPiA8dGQgc3R5bGU9M0QicGFkZGluZzoxNXB4IDEwcHg7IiBjbGFzcz0zRCIiID4gPCFbZW5kaWZdLS09DQo+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhIGNsYXM9DQpzPTNEIm1qLWxpbmsiIGhyZWY9M0QiaHR0cHM6Ly9zYWxlLmFsaWV4cHJlc3MuY29tL19fcGMvdjhZcjhmNjI5RC5odG0/ZWRtX2M9DQpsaWNrX21vZHVsZT0zRGhlYWRlciZhbXA7dHJhY2Vsb2c9M0Ryb3dhbiZhbXA7cm93YW5faWQxPTNEZW1haWxSZWdpc3RlckNoZWM9DQprY29kZV8xX2VuX1VTXzIwMjMtMDktMDUmYW1wO3Jvd2FuX21zZ19pZD0zRG1haWxudWxsX0VNQUlMX1JFR0lTVEVSX2UkN2Y4Yzk9DQphYjBjNTgwNGM5NjkwNjE2YzRjNzgxNjg0NmEmYW1wO2NrPTNEaW5fZWRtX290aGVyIiB0YXJnZXQ9M0QiX2JsYW5rIiBzdHlsZT0NCj0zRCJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IGNvbG9yOiAjODA4MDgwOyBmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpYz0NCmEsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTNweDsgZm9udC13ZWlnaHQ6IGJvbGQ7IGxpbmUtaGVpZz0NCmh0OiAyMnB4OyB0ZXh0LWRlY29yYXRpb246IG5vbmU7IHRleHQtdHJhbnNmb3JtOiBub25lOyBwYWRkaW5nOiAwIDEwcHg7Ij4gQj0NCnV5ZXIgUHJvdGVjdGlvbiA8L2E+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWY9DQogbXNvIHwgSUVdPiA8L3RkPiA8L3RyPjwvdGFibGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90ZD4gPC89DQp0cj4gPC90YWJsZT4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvdHI+IDwvdGFibGU+IDwvdGQ+IDw9DQovdHI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gbm90aWNlIC0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dHI+IDx0ZCBjbGFzcz0zRCJub3RpY2Utd3JhPQ0KcC1vdXRsb29rIG1hcmdpbi1ib3R0b20tb3V0bG9vayIgd2lkdGg9M0QiNjAwcHgiID4gPHRhYmxlIGFsaWduPTNEImNlbnRlciIgPQ0KYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIGNsYXNzPTNEIm5vdGljZS13cmFwLW91dGxvPQ0Kb2sgbWFyZ2luLWJvdHRvbS1vdXRsb29rIiBzdHlsZT0zRCJ3aWR0aDo1NjBweDsiIHdpZHRoPTNEIjU2MCIgPiA8dHI+IDx0ZCBzPQ0KdHlsZT0zRCJsaW5lLWhlaWdodDowcHg7Zm9udC1zaXplOjBweDttc28tbGluZS1oZWlnaHQtcnVsZTpleGFjdGx5OyI+IDwhW2VuPQ0KZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0Qibm90aWNlLXdyYXAgbWFyZ2luLWJvdHRvbSIgc3R5bGU9DQo9M0QiZm9udC1mYW1pbHk6IE9wZW4gU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyaWFsLCBzYW5zLXNlcmlmOyBtYXJnaW46IDA9DQpweCBhdXRvOyBtYXgtd2lkdGg6IDU2MHB4OyBtYXJnaW4tYm90dG9tOiAxNXB4OyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBhbGlnbj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGE9DQpkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0Qid2lkdGg6MTAwJTsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuID0NClNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjsgZGlyZWN0aW9uOiBsdHI7IGZvbnQtc2l6ZTogMHB4Oz0NCiBwYWRkaW5nOiAwcHg7IHRleHQtYWxpZ246IGNlbnRlcjsiIGFsaWduPTNEImNlbnRlciI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPHRhYmxlIHI9DQpvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCI+IDx0cj49DQogPHRkIGNsYXNzPTNEIiIgc3R5bGU9M0QidmVydGljYWwtYWxpZ246dG9wO3dpZHRoOjU2MHB4OyIgPiA8IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QibWotY29sdW1uLXBlcj0NCi0xMDAgbWotb3V0bG9vay1ncm91cC1maXgiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFobz0NCm1hLCBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAwcHg7IHRleHQtYWxpZ246IGxlZnQ7IGRpcmVjdGlvbjogbHRyOyBkaT0NCnNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiB0b3A7IHdpZHRoOiAxMDAlOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0zRCIwIiBjZWw9DQpscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgd2lkdGg9M0QiMTAwJSI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249DQo9M0QibGVmdCIgc3R5bGU9M0QiZm9udC1mYW1pbHk6IE9wZW4gU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyaWFsLCBzYW5zLXM9DQplcmlmOyBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmOyBib3JkZXItcmFkaXVzOiAxMHB4OyB2ZXJ0aWNhbC1hbGlnbjogdG9wOyA9DQpwYWRkaW5nOiAzMHB4IDI1cHg7Ij4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdD0NCnlsZT0zRCJmb250LWZhbWlseTpPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjtmb250LXNpej0NCmU6MTRweDtsaW5lLWhlaWdodDoyMHB4O3RleHQtYWxpZ246bGVmdDtjb2xvcjojNEY0RjRGOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGk9DQp2IGNsYXNzPTNEIndyYXAiIHN0eWxlPTNEImNvbG9yOiAjMzMzOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPGRpdiBjbGFzcz0zRCJ0aXRsZSIgc3R5bGU9M0QibWFyZ2luLWJvdHRvbTogMjRweDsgbGluZS1oZWlnaHQ6IDMwcHg7IGZvbnQ9DQotc2l6ZTogMzBweDsgZm9udC13ZWlnaHQ6IDcwMDsiPlVzZSB0aGlzIGNvZGUgdG8gdmVyaWZ5IHlvdXIgZW1haWw8L2Rpdj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiA8ZGl2IGNsYXNzPTNEImRlYXIiIHN0eWxlPTNEIm1hcmdpbi1ib3R0b206IDEycHg7Ij5IZWxsbyw8L2Rpdj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiA8ZGl2IGNsYXNzPTNEImNvbnRlbnQiIHN0eWxlPTNEIm1hcmdpbi1ib3R0b206IDEycHg7Ij5Zb3VyIGNvZGUgaXM6PC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPGRpdiBjbGFzcz0zRCJjb2RlIiBzdHlsZT0zRCJtYXJnaW4tYm90dG9tOiAxMnB4OyBmb250LXNpemU6IDIwcHg7IGZvbnQtd2U9DQppZ2h0OiA3MDA7IGNvbG9yOiAjRkY0NzQ3OyI+NzgyNDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0QiY29udGVudCIgc3R5bGU9M0QibWFyZ2luLWJvdHRvbTogMTJweDsiPlVzZSB0aGlzIHRvIHZlcmlmeSB5PQ0Kb3VyIGVtYWlsIGFkZHJlc3MgYW5kIGNvbXBsZXRlIHlvdXIgcmVnaXN0cmF0aW9uLjwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0QidGlwcyI+QWZ0ZXIgdmVyaWZpY2F0aW9uLCB5b3Ugd2lsbCBiZSBhYmxlIHRvIG1vZGlmeSB5b3VyIHBhPQ0Kc3N3b3JkLCBlbWFpbCBhZGRyZXNzIGFuZCBwaG9uZSBudW1iZXIuPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPGRpdiBjbGFzcz0zRCJ0aXBzIiBzdHlsZT0zRCJtYXJnaW4tYm90dG9tOiAxMnB4OyI+RGlkbid0IHJlcXVlc3QgdGhpcyB2ZXI9DQppZmljYXRpb24gY29kZT8gUGxlYXNlIHNlY3VyZSB5b3VyIGFjY291bnQgYnkgY2hhbmdpbmcgeW91ciBwYXNzd29yZC4gSW4gb3I9DQpkZXIgdG8gcHJvdGVjdCB5b3VyIGFjY291bnQgc2VjdXJpdHksIHBsZWFzZSBkbyBub3QgYWxsb3cgb3RoZXJzIHRvIGFjY2VzcyA9DQp5b3VyIGVtYWlsLjwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0Qia2luZCI+VGhhbmtzLDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0QiQWxpRXhwcmVzcyI+IEFsaUV4cHJlc3MgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Q9DQppdj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvPQ0KdHI+IDwvdGFibGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8L3RkPiA8L3RyPiA8L3RhYmxlPiA8L3RkPiA8PQ0KL3RyPiA8IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90YWJsZT4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICA8L3RkPg0KICAgICAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvdHI+IDwvdGFibGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tIGZvb3RlciBzdGFydCAtLT4NCiAgICAgICAgPCEtLSBGb290ZXIgV3JhcHBlciAtLT48ZGl2IGNsYXNzPTNEImZvb3Rlci13cmFwcGVyIiBzdHlsZT0zRCJtYXJnaT0NCm46IDBweCBhdXRvOyBtYXgtd2lkdGg6IDYwMHB4OyI+DQoNCiA8dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcj0NCm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IHdpZHRoOiAxMDAlOyIgd2lkdD0NCmg9M0QiMTAwJSIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgPHRib2R5Pg0KICAgICAgPHRyPg0KICAgICAgIDx0ZCBzdHlsZT0zRCJkaXJlY3Rpb246bHRyO2ZvbnQtc2l6ZTowcHg7cGFkZGluZzoyMHB4IDA7dGV4dC1hbGlnbjpjPQ0KZW50ZXI7Ij4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PHRhYmxlIHJvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2VsbHBhZD0NCmRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCI+PCFbZW5kaWZdLS0+DQogICAgICAgIDwhLS0gTG92ZSBBbGlFeHByZXNzIC0tPg0KICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48dHI+PHRkIGNsYXNzPTNEIiIgd2lkdGg9M0QiNjAwcHgiPjx0YWJsZSBhbGlnbj0NCj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiBjbGFzcz0zRCIiIHN0eT0NCmxlPTNEIndpZHRoOjYwMHB4OyIgd2lkdGg9M0QiNjAwIj48dHI+PHRkIHN0eWxlPTNEImxpbmUtaGVpZ2h0OjBweDtmb250LXNpej0NCmU6MHB4O21zby1saW5lLWhlaWdodC1ydWxlOmV4YWN0bHk7Ij48IVtlbmRpZl0tLT49MjANCiAgICAgICAgPGRpdiBzdHlsZT0zRCJtYXJnaW46MHB4IGF1dG87bWF4LXdpZHRoOjYwMHB4OyI+DQogICAgICAgICA8dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9DQo9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IHdpZHRoOiAxMDA9DQolOyIgd2lkdGg9M0QiMTAwJSIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJkaXJlY3Rpb246bHRyO2ZvbnQtc2l6ZTowcHg7cGFkZGluZzowcHg7dGV4dC1hbGlnbj0NCjpjZW50ZXI7Ij4NCiAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48dGFibGUgcm9sZT0zRCJwcmVzZW50YXRpb24iIGJvcmRlcj0zRCIwIiBjZT0NCmxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIj48dHI+PHRkIGNsYXNzPTNEIiIgc3R5bGU9M0QidmVydGljYWwtYWxpZz0NCm46dG9wO3dpZHRoOjYwMHB4OyI+PCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgPGRpdiBjbGFzcz0zRCJtai1jb2x1bW4tcGVyLTEwMCBtai1vdXRsb29rLWdyb3VwLWZpeCIgc3R5bGU9M0Q9DQoiZm9udC1zaXplOjBweDt0ZXh0LWFsaWduOmxlZnQ7ZGlyZWN0aW9uOmx0cjtkaXNwbGF5OmlubGluZS1ibG9jazt2ZXJ0aWNhbC09DQphbGlnbjp0b3A7d2lkdGg6MTAwJTsiPg0KICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIHJvbGU9DQo9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyB2ZXJ0aWNhbC1hbGlnbjogdG9wOyI9DQogd2lkdGg9M0QiMTAwJSIgdmFsaWduPTNEInRvcCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgIDx0ZCBhbGlnbj0zRCJjZW50ZXIiIHN0eWxlPTNEImZvbnQtc2l6ZTowcHg7cGFkZGluZzoxMHB4IDA9DQogMzBweCAwO3dvcmQtYnJlYWs6YnJlYWstd29yZDsiPg0KICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0zRCJmb250LWZhbWlseTpPcGVuU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyPQ0KaWFsLCBzYW5zLXNlcmlmO2ZvbnQtc2l6ZToxNHB4O2ZvbnQtd2VpZ2h0OjQwMDtsaW5lLWhlaWdodDoyNHB4O3RleHQtYWxpZ246PQ0KY2VudGVyO2NvbG9yOiM0RjRGNEY7Ij4NCiAgICAgICAgICAgICAgICAgICBTZW50IHdpdGggPUUyPTk5PUE1IGZyb20gQWxpRXhwcmVzcw0KICAgICAgICAgICAgICAgICAgPC9kaXY+PC90ZD4NCiAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgICAgICA8L2Rpdj4NCiAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPjwvdHI+PC90YWJsZT48IVtlbmRpZl0tLT48L3RkPg0KICAgICAgICAgICA8L3RyPg0KICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj49MjANCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PC90ZD48L3RyPjwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tIHNvY2lhbCB0aXRsZSAtLT4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PHRyPjx0ZCBjbGFzcz0zRCIiIHdpZHRoPTNEIjYwMHB4Ij48dGFibGUgYWxpZ249DQo9M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgY2xhc3M9M0QiIiBzdHk9DQpsZT0zRCJ3aWR0aDo2MDBweDsiIHdpZHRoPTNEIjYwMCI+PHRyPjx0ZCBzdHlsZT0zRCJsaW5lLWhlaWdodDowcHg7Zm9udC1zaXo9DQplOjBweDttc28tbGluZS1oZWlnaHQtcnVsZTpleGFjdGx5OyI+PCFbZW5kaWZdLS0+PTIwDQogICAgICAgIDxkaXYgc3R5bGU9M0QibWFyZ2luOjBweCBhdXRvO21heC13aWR0aDo2MDBweDsiPg0KICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPQ0KPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyB3aWR0aDogMTAwPQ0KJTsiIHdpZHRoPTNEIjEwMCUiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQgc3R5bGU9M0QiZGlyZWN0aW9uOmx0cjtmb250LXNpemU6MHB4O3BhZGRpbmc6MHB4O3RleHQtYWxpZ249DQo6Y2VudGVyOyI+DQogICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PHRhYmxlIHJvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2U9DQpsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCI+PHRyPjx0ZCBjbGFzcz0zRCIiIHN0eWxlPTNEInZlcnRpY2FsLWFsaWc9DQpuOnRvcDt3aWR0aDo2MDBweDsiPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QibWotY29sdW1uLXBlci0xMDAgbWotb3V0bG9vay1ncm91cC1maXgiIHN0eWxlPTNEPQ0KImZvbnQtc2l6ZTowcHg7dGV4dC1hbGlnbjpsZWZ0O2RpcmVjdGlvbjpsdHI7ZGlzcGxheTppbmxpbmUtYmxvY2s7dmVydGljYWwtPQ0KYWxpZ246dG9wO3dpZHRoOjEwMCU7Ij4NCiAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPQ0KPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0QiYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjsgdmVydGljYWwtYWxpZ246IHRvcDsiPQ0KIHdpZHRoPTNEIjEwMCUiIHZhbGlnbj0zRCJ0b3AiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0QiY2VudGVyIiBzdHlsZT0zRCJmb250LXNpemU6MHB4O3BhZGRpbmc6MTBweCAyPQ0KNXB4O3dvcmQtYnJlYWs6YnJlYWstd29yZDsiPg0KICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0zRCJmb250LWZhbWlseTpPcGVuU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyPQ0KaWFsLCBzYW5zLXNlcmlmO2ZvbnQtc2l6ZToxNHB4O2ZvbnQtd2VpZ2h0OmJvbGQ7bGluZS1oZWlnaHQ6MjRweDt0ZXh0LWFsaWduPQ0KOmNlbnRlcjtjb2xvcjojNEY0RjRGOyI+DQogICAgICAgICAgICAgICAgICAgQ09OTkVDVCBXSVRIOg0KICAgICAgICAgICAgICAgICAgPC9kaXY+PC90ZD4NCiAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgICAgICA8L2Rpdj4NCiAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPjwvdHI+PC90YWJsZT48IVtlbmRpZl0tLT48L3RkPg0KICAgICAgICAgICA8L3RyPg0KICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj49MjANCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PC90ZD48L3RyPjwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tIHNvY2lhbCBlbGVtZW50cyAtLT4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PHRyPjx0ZCBjbGFzcz0zRCIiIHdpZHRoPTNEIjYwMHB4Ij48dGFibGUgYWxpZ249DQo9M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgY2xhc3M9M0QiIiBzdHk9DQpsZT0zRCJ3aWR0aDo2MDBweDsiIHdpZHRoPTNEIjYwMCI+PHRyPjx0ZCBzdHlsZT0zRCJsaW5lLWhlaWdodDowcHg7Zm9udC1zaXo9DQplOjBweDttc28tbGluZS1oZWlnaHQtcnVsZTpleGFjdGx5OyI+PCFbZW5kaWZdLS0+PTIwDQogICAgICAgIDxkaXYgc3R5bGU9M0QibWFyZ2luOjBweCBhdXRvO21heC13aWR0aDo2MDBweDsiPg0KICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPQ0KPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyB3aWR0aDogMTAwPQ0KJTsiIHdpZHRoPTNEIjEwMCUiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQgc3R5bGU9M0QiZGlyZWN0aW9uOmx0cjtmb250LXNpemU6MHB4O3BhZGRpbmc6MHB4O3RleHQtYWxpZ249DQo6Y2VudGVyOyI+DQogICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PHRhYmxlIHJvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2U9DQpsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCI+PHRyPjx0ZCBjbGFzcz0zRCIiIHN0eWxlPTNEInZlcnRpY2FsLWFsaWc9DQpuOnRvcDt3aWR0aDo2MDBweDsiPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QibWotY29sdW1uLXBlci0xMDAgbWotb3V0bG9vay1ncm91cC1maXgiIHN0eWxlPTNEPQ0KImZvbnQtc2l6ZTowcHg7dGV4dC1hbGlnbjpsZWZ0O2RpcmVjdGlvbjpsdHI7ZGlzcGxheTppbmxpbmUtYmxvY2s7dmVydGljYWwtPQ0KYWxpZ246dG9wO3dpZHRoOjEwMCU7Ij4NCiAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPQ0KPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0QiYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjsgdmVydGljYWwtYWxpZ246IHRvcDsiPQ0KIHdpZHRoPTNEIjEwMCUiIHZhbGlnbj0zRCJ0b3AiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0QiY2VudGVyIiBzdHlsZT0zRCJmb250LXNpemU6MHB4O3BhZGRpbmc6MCAwIDIwPQ0KcHggMDt3b3JkLWJyZWFrOmJyZWFrLXdvcmQ7Ij49MjANCiAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPjx0YWJsZSBhbGlnbj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZT0NCmxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiI+PHRyPiAgICAgICAgICAgICAgID0NCiA8dGQ+PCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICA8dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2U9DQpsbHNwYWNpbmc9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGY9DQpsb2F0OiBub25lOyBkaXNwbGF5OiBpbmxpbmUtdGFibGU7IiBiZ2NvbG9yPTNEIiNGRkZGRkYiPg0KICAgICAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPTNEInBhZGRpbmc6MCAxNHB4OyI+DQogICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCI9DQowIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0QiYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjsgYm9yZGVyLXJhZGl1czo9DQogM3B4OyB3aWR0aDogMjBweDsiIHdpZHRoPTNEIjIwIiBiZ2NvbG9yPTNEIiNGRkZGRkYiPg0KICAgICAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPTNEImZvbnQtc2l6ZTowO2hlaWdodDoyMHB4O3ZlcnRpY2FsLWFsaWc9DQpuOm1pZGRsZTt3aWR0aDoyMHB4OyI+PGEgaHJlZj0zRCJodHRwczovL3d3dy5mYWNlYm9vay5jb20vYWxpZXhwcmVzcz90cmFjZWw9DQpvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm89DQp3YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA9DQo7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiPjxpbWcgaGVpZ2h0PTNEIjIwIiBzcmM9M0QiaHR0cHM6Ly9hZTA9DQoxLmFsaWNkbi5jb20va2YvSFRCMU0uSTNhRUNGM0tWalNaSm43NjJuSEZYYXEucG5nIiBzdHlsZT0zRCJib3JkZXItcmFkaXVzOjM9DQpweDtkaXNwbGF5OmJsb2NrOyIgd2lkdGg9M0QiMjAiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPjx0ZD48IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgIDx0YWJsZSBhbGlnbj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZT0NCmxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0QiYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjsgZj0NCmxvYXQ6IG5vbmU7IGRpc3BsYXk6IGlubGluZS10YWJsZTsiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0QicGFkZGluZzowIDE0cHg7Ij4NCiAgICAgICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIj0NCjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBib3JkZXItcmFkaXVzOj0NCiAzcHg7IHdpZHRoOiAyMHB4OyIgd2lkdGg9M0QiMjAiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0QiZm9udC1zaXplOjA7aGVpZ2h0OjIwcHg7dmVydGljYWwtYWxpZz0NCm46bWlkZGxlO3dpZHRoOjIwcHg7Ij48YSBocmVmPTNEImh0dHBzOi8vdHdpdHRlci5jb20vQWxpRXhwcmVzc19FTj90cmFjZWxvZz0NCj0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YT0NCm5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Yz0NCms9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiPjxpbWcgaGVpZ2h0PTNEIjIwIiBzcmM9M0QiaHR0cHM6Ly9hZTAxLj0NCmFsaWNkbi5jb20va2YvSFRCMW1GbzNheGlIM0tWalNaUGY3NjBCaVZYYXEucG5nIiBzdHlsZT0zRCJib3JkZXItcmFkaXVzOjNweD0NCjtkaXNwbGF5OmJsb2NrOyIgd2lkdGg9M0QiMjAiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPjx0ZD48IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgIDx0YWJsZSBhbGlnbj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZT0NCmxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0QiYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjsgZj0NCmxvYXQ6IG5vbmU7IGRpc3BsYXk6IGlubGluZS10YWJsZTsiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0QicGFkZGluZzowIDE0cHg7Ij4NCiAgICAgICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIj0NCjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBib3JkZXItcmFkaXVzOj0NCiAzcHg7IHdpZHRoOiAyNHB4OyIgd2lkdGg9M0QiMjQiIGJnY29sb3I9M0QiI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0QiZm9udC1zaXplOjA7aGVpZ2h0OjIwcHg7dmVydGljYWwtYWxpZz0NCm46bWlkZGxlO3dpZHRoOjIwcHg7Ij48YSBocmVmPTNEImh0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3VzZXIvQWxpRXhwcmVzc0NoYT0NCm5uZWw/dHJhY2Vsb2c9M0Ryb3dhbiZhbXA7cm93YW5faWQxPTNEZW1haWxSZWdpc3RlckNoZWNrY29kZV8xX2VuX1VTXzIwMjMtMD0NCjktMDUmYW1wO3Jvd2FuX21zZ19pZD0zRG1haWxudWxsX0VNQUlMX1JFR0lTVEVSX2UkN2Y4YzlhYjBjNTgwNGM5NjkwNjE2YzRjNz0NCjgxNjg0NmEmYW1wO2NrPTNEaW5fZWRtX290aGVyIiB0YXJnZXQ9M0QiX2JsYW5rIj48aW1nIGhlaWdodD0zRCIyMiIgc3JjPTNEIj0NCmh0dHBzOi8vYWUwMS5hbGljZG4uY29tL2tmL0hkY2VlMjRkMzM0OWE0MTNjYmI1NzcwMWEyYWZkYmY1OWMucG5nIiBzdHlsZT0zRD0NCiJib3JkZXItcmFkaXVzOjNweDtkaXNwbGF5OmJsb2NrOyIgd2lkdGg9M0QiMjQiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPg0KICAgICAgICAgICAgICAgICAgPHRkPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlPQ0KbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBmPQ0KbG9hdDogbm9uZTsgZGlzcGxheTogaW5saW5lLXRhYmxlOyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjAgMTRweDsiPg0KICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiPQ0KMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGJvcmRlci1yYWRpdXM6PQ0KIDNweDsgd2lkdGg6IDIwcHg7IiB3aWR0aD0zRCIyMCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LXNpemU6MDtoZWlnaHQ6MjBweDt2ZXJ0aWNhbC1hbGlnPQ0KbjptaWRkbGU7d2lkdGg6MjBweDsiPjxhIGhyZWY9M0QiaHR0cHM6Ly93d3cuaW5zdGFncmFtLmNvbS9hbGlleHByZXNzLz90cmFjPQ0KZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7PQ0Kcm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhPQ0KbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiPjxpbWcgaGVpZ2h0PTNEIjIwIiBzcmM9M0QiaHR0cHM6Ly9hPQ0KZTAxLmFsaWNkbi5jb20va2YvSFRCMW5ZazRhRUdGM0tWalNaRnY3NjJfblhYYWgucG5nIiBzdHlsZT0zRCJib3JkZXItcmFkaXVzPQ0KOjNweDtkaXNwbGF5OmJsb2NrOyIgd2lkdGg9M0QiMjAiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPg0KICAgICAgICAgICAgICAgICAgPHRkPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlPQ0KbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBmPQ0KbG9hdDogbm9uZTsgZGlzcGxheTogaW5saW5lLXRhYmxlOyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjAgMTRweDsiPg0KICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiPQ0KMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGJvcmRlci1yYWRpdXM6PQ0KIDNweDsgd2lkdGg6IDI0cHg7IiB3aWR0aD0zRCIyNCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LXNpemU6MDtoZWlnaHQ6MjBweDt2ZXJ0aWNhbC1hbGlnPQ0KbjptaWRkbGU7d2lkdGg6MjRweDsiPjxhIGhyZWY9M0QiaHR0cHM6Ly92ay5jb20vYWxpZXhwcmVzcz90cmFjZWxvZz0zRHJvd2FuPQ0KJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPQ0KPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbl9lPQ0KZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiPjxpbWcgaGVpZ2h0PTNEIjIwIiBzcmM9M0QiaHR0cHM6Ly9hZTAxLmFsaWNkbi5jPQ0Kb20va2YvSFRCMXlJSTVhQ1NEM0tWalNaRks3NjIxMFZYYWsucG5nIiBzdHlsZT0zRCJib3JkZXItcmFkaXVzOjNweDtkaXNwbGF5PQ0KOmJsb2NrOyIgd2lkdGg9M0QiMjQiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPg0KICAgICAgICAgICAgICAgICAgPHRkPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlPQ0KbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBmPQ0KbG9hdDogbm9uZTsgZGlzcGxheTogaW5saW5lLXRhYmxlOyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjAgMTRweDsiPg0KICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiPQ0KMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGJvcmRlci1yYWRpdXM6PQ0KIDNweDsgd2lkdGg6IDIwcHg7IiB3aWR0aD0zRCIyMCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LXNpemU6MDtoZWlnaHQ6MjBweDt2ZXJ0aWNhbC1hbGlnPQ0KbjptaWRkbGU7d2lkdGg6MjBweDsiPjxhIGhyZWY9M0QiaHR0cHM6Ly9tLm1lL0FsaUV4cHJlc3M/dHJhY2Vsb2c9M0Ryb3dhbiZhPQ0KbXA7cm93YW5faWQxPTNEZW1haWxSZWdpc3RlckNoZWNrY29kZV8xX2VuX1VTXzIwMjMtMDktMDUmYW1wO3Jvd2FuX21zZ19pZD0NCj0zRG1haWxudWxsX0VNQUlMX1JFR0lTVEVSX2UkN2Y4YzlhYjBjNTgwNGM5NjkwNjE2YzRjNzgxNjg0NmEmYW1wO2NrPTNEaW5fZT0NCmRtX290aGVyIiB0YXJnZXQ9M0QiX2JsYW5rIj48aW1nIGhlaWdodD0zRCIyMCIgc3JjPTNEImh0dHBzOi8vYWUwMS5hbGljZG4uYz0NCm9tL2tmL0gxMjliNzM5YWY3Mjk0NGYwOTZjNzViYjVmZWI4OTE2Y0wucG5nIiBzdHlsZT0zRCJib3JkZXItcmFkaXVzOjNweDtkaT0NCnNwbGF5OmJsb2NrOyIgd2lkdGg9M0QiMjAiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPg0KICAgICAgICAgICAgICAgICAgPHRkPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlPQ0KbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBmPQ0KbG9hdDogbm9uZTsgZGlzcGxheTogaW5saW5lLXRhYmxlOyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjAgMTRweDsiPg0KICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiPQ0KMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGJvcmRlci1yYWRpdXM6PQ0KIDNweDsgd2lkdGg6IDIwcHg7IiB3aWR0aD0zRCIyMCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LXNpemU6MDtoZWlnaHQ6MjBweDt2ZXJ0aWNhbC1hbGlnPQ0KbjptaWRkbGU7d2lkdGg6MjBweDsiPjxhIGhyZWY9M0QiaHR0cHM6Ly93YS5tZS84NjU3MTg2NTYzODM5P3RyYWNlbG9nPTNEcm93PQ0KYW4mYW1wO3Jvd2FuX2lkMT0zRGVtYWlsUmVnaXN0ZXJDaGVja2NvZGVfMV9lbl9VU18yMDIzLTA5LTA1JmFtcDtyb3dhbl9tc2dfPQ0KaWQ9M0RtYWlsbnVsbF9FTUFJTF9SRUdJU1RFUl9lJDdmOGM5YWIwYzU4MDRjOTY5MDYxNmM0Yzc4MTY4NDZhJmFtcDtjaz0zRGluPQ0KX2VkbV9vdGhlciIgdGFyZ2V0PTNEIl9ibGFuayI+PGltZyBoZWlnaHQ9M0QiMjAiIHNyYz0zRCJodHRwczovL2FlMDEuYWxpY2RuPQ0KLmNvbS9rZi9INmQ4OGRlOWZiODNiNGI1OTg5MGY3MzNiNzAwMWNmNzZOLnBuZyIgc3R5bGU9M0QiYm9yZGVyLXJhZGl1czozcHg7PQ0KZGlzcGxheTpibG9jazsiIHdpZHRoPTNEIjIwIj48L2E+PC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgPC90YWJsZT48L3RkPg0KICAgICAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PCFbZW5kaWZdLS0+IDwvdGQ+DQogICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PCFbZW5kaWZdLS0+PC90ZD4NCiAgICAgICAgICAgPC90cj4NCiAgICAgICAgICA8L3Rib2R5Pg0KICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgPC9kaXY+PTIwDQogICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPjwvdGQ+PC90cj48L3RhYmxlPjwvdGQ+PC90cj48IVtlbmRpZl0tLT4NCiAgICAgICAgPCEtLSBmb290ZXIgaW5mb3JtYXRpb24gLS0+DQogICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPjx0cj48dGQgY2xhc3M9M0QiZm9vdGVyLWluZm9ybWF0aW9uLW91dGxvb2siIHdpZHQ9DQpoPTNEIjYwMHB4Ij48dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWM9DQppbmc9M0QiMCIgY2xhc3M9M0QiZm9vdGVyLWluZm9ybWF0aW9uLW91dGxvb2siIHN0eWxlPTNEIndpZHRoOjYwMHB4OyIgd2lkdGg9DQo9M0QiNjAwIj48dHI+PHRkIHN0eWxlPTNEImxpbmUtaGVpZ2h0OjBweDtmb250LXNpemU6MHB4O21zby1saW5lLWhlaWdodC1ydWw9DQplOmV4YWN0bHk7Ij48IVtlbmRpZl0tLT49MjANCiAgICAgICAgPGRpdiBjbGFzcz0zRCJmb290ZXItaW5mb3JtYXRpb24iIHN0eWxlPTNEIm1hcmdpbjowcHggYXV0bzttYXgtd2lkdD0NCmg6NjAwcHg7Ij4NCiAgICAgICAgIDx0YWJsZSBhbGlnbj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0NCj0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0QiYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjsgd2lkdGg6IDEwMD0NCiU7IiB3aWR0aD0zRCIxMDAlIiBiZ2NvbG9yPTNEIiNGRkZGRkYiPg0KICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgPHRkIHN0eWxlPTNEImRpcmVjdGlvbjpsdHI7Zm9udC1zaXplOjBweDtwYWRkaW5nOjBweDt0ZXh0LWFsaWduPQ0KOmNlbnRlcjsiPg0KICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPjx0YWJsZSByb2xlPTNEInByZXNlbnRhdGlvbiIgYm9yZGVyPTNEIjAiIGNlPQ0KbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiPjx0cj48dGQgY2xhc3M9M0QiIiBzdHlsZT0zRCJ2ZXJ0aWNhbC1hbGlnPQ0Kbjp0b3A7d2lkdGg6NjAwcHg7Ij48IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICA8ZGl2IGNsYXNzPTNEIm1qLWNvbHVtbi1wZXItMTAwIG1qLW91dGxvb2stZ3JvdXAtZml4IiBzdHlsZT0zRD0NCiJmb250LXNpemU6MHB4O3RleHQtYWxpZ246bGVmdDtkaXJlY3Rpb246bHRyO2Rpc3BsYXk6aW5saW5lLWJsb2NrO3ZlcnRpY2FsLT0NCmFsaWduOnRvcDt3aWR0aDoxMDAlOyI+DQogICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0NCj0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IHZlcnRpY2FsLWFsaWduOiB0b3A7Ij0NCiB3aWR0aD0zRCIxMDAlIiB2YWxpZ249M0QidG9wIiBiZ2NvbG9yPTNEIiNGRkZGRkYiPg0KICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgPHRkIGFsaWduPTNEImNlbnRlciIgc3R5bGU9M0QiZm9udC1zaXplOjBweDtwYWRkaW5nOjEwcHggMj0NCjVweDt3b3JkLWJyZWFrOmJyZWFrLXdvcmQ7Ij4NCiAgICAgICAgICAgICAgICAgIDxkaXYgc3R5bGU9M0QiZm9udC1mYW1pbHk6T3BlblNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcj0NCmlhbCwgc2Fucy1zZXJpZjtmb250LXNpemU6MTJweDtmb250LXdlaWdodDo0MDA7bGluZS1oZWlnaHQ6MjBweDt0ZXh0LWFsaWduOj0NCmNlbnRlcjtjb2xvcjojNEY0RjRGOyI+DQogICAgICAgICAgICAgICAgICAgPGRpdj4NCiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj0zRCJodHRwczovL3d3dy5hbGlleHByZXNzLmNvbT8mYW1wO2VkbV9jbGlja19tbz0NCmR1bGU9M0Rmb290ZXImYW1wO3RyYWNlbG9nPTNEcm93YW4mYW1wO3Jvd2FuX2lkMT0zRGVtYWlsUmVnaXN0ZXJDaGVja2NvZGVfMT0NCl9lbl9VU18yMDIzLTA5LTA1JmFtcDtyb3dhbl9tc2dfaWQ9M0RtYWlsbnVsbF9FTUFJTF9SRUdJU1RFUl9lJDdmOGM5YWIwYzU4MD0NCjRjOTY5MDYxNmM0Yzc4MTY4NDZhJmFtcDtjaz0zRGluX2VkbV9vdGhlciIgdGFyZ2V0PTNEIl9ibGFuayIgc3R5bGU9M0QiY29sbz0NCnI6ICMzMzMzMzM7IGxpbmUtaGVpZ2h0OiAyMHB4OyB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTsiPkhvbWVwYWdlPC9hPiB8PQ0KPTIwDQogICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9M0QiaHR0cHM6Ly9sb2dpbi5hbGlleHByZXNzLmNvbS8/cmV0dXJuX3VybD0zRGg9DQp0dHAlM0ElMkYlMkZlc2Nyb3cuYWxpYmFiYS5jb20lMkZvcmRlciUyRmJ1c2luZXNzX29yZGVyX2J1eWVyX2xpc3QuaHRtJTNGY3Q9DQptZW51JTNEY3VycmVudF9vcmRlcnMmYW1wO2Zyb209M0RhbGlleHByZXNzJmFtcDsmYW1wO2VkbV9jbGlja19tb2R1bGU9M0Rmb289DQp0ZXImYW1wO3RyYWNlbG9nPTNEcm93YW4mYW1wO3Jvd2FuX2lkMT0zRGVtYWlsUmVnaXN0ZXJDaGVja2NvZGVfMV9lbl9VU18yMDI9DQozLTA5LTA1JmFtcDtyb3dhbl9tc2dfaWQ9M0RtYWlsbnVsbF9FTUFJTF9SRUdJU1RFUl9lJDdmOGM5YWIwYzU4MDRjOTY5MDYxNmM9DQo0Yzc4MTY4NDZhJmFtcDtjaz0zRGluX2VkbV9vdGhlciIgc3R5bGU9M0QiY29sb3I6ICMzMzMzMzM7IGxpbmUtaGVpZ2h0OiAyMHA9DQp4OyB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTsiPk15IEFsaUV4cHJlc3M8L2E+IHw9MjANCiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj0zRCJodHRwczovL3NlcnZpY2UuYWxpZXhwcmVzcy5jb20vcGFnZS9ob21lP3BhZz0NCmVJZD0zRDE3JmFtcDtsYW5ndWFnZT0zRGVuJmFtcDtlZG1fY2xpY2tfbW9kdWxlPTNEZm9vdGVyJmFtcDt0cmFjZWxvZz0zRHJvdz0NCmFuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnXz0NCmlkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbj0NCl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiIHN0eWxlPTNEImNvbG9yOiAjMzMzMzMzOyBsaW5lLWhlaWdodDogMjBweDsgdD0NCmV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU7Ij5IZWxwIENlbnRlcjwvYT4gfD0yMA0KICAgICAgICAgICAgICAgICAgICA8YSBocmVmPTNEImh0dHBzOi8vc2FsZS5hbGlleHByZXNzLmNvbS9fX3BjL3Y4WXI4ZjYyOUQuPQ0KaHRtPyZhbXA7ZWRtX2NsaWNrX21vZHVsZT0zRGZvb3RlciZhbXA7dHJhY2Vsb2c9M0Ryb3dhbiZhbXA7cm93YW5faWQxPTNEZW1hPQ0KaWxSZWdpc3RlckNoZWNrY29kZV8xX2VuX1VTXzIwMjMtMDktMDUmYW1wO3Jvd2FuX21zZ19pZD0zRG1haWxudWxsX0VNQUlMX1JFPQ0KR0lTVEVSX2UkN2Y4YzlhYjBjNTgwNGM5NjkwNjE2YzRjNzgxNjg0NmEmYW1wO2NrPTNEaW5fZWRtX290aGVyIiBzdHlsZT0zRCJjPQ0Kb2xvcjogIzMzMzMzMzsgbGluZS1oZWlnaHQ6IDIwcHg7IHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lOyI+QnV5ZXIgUHJvdGVjPQ0KdGlvbjwvYT4gfD0yMA0KICAgICAgICAgICAgICAgICAgICA8YSBocmVmPTNEImh0dHA6Ly91cy5teS5hbGliYWJhLmNvbS91c2VyL2NvbXBhbnkvZm9yZ2V0PQ0KX3Bhc3N3b3JkX2lucHV0X2VtYWlsLmh0bT8mYW1wO2VkbV9jbGlja19tb2R1bGU9M0Rmb290ZXImYW1wO3RyYWNlbG9nPTNEcm93PQ0KYW4mYW1wO3Jvd2FuX2lkMT0zRGVtYWlsUmVnaXN0ZXJDaGVja2NvZGVfMV9lbl9VU18yMDIzLTA5LTA1JmFtcDtyb3dhbl9tc2dfPQ0KaWQ9M0RtYWlsbnVsbF9FTUFJTF9SRUdJU1RFUl9lJDdmOGM5YWIwYzU4MDRjOTY5MDYxNmM0Yzc4MTY4NDZhJmFtcDtjaz0zRGluPQ0KX2VkbV9vdGhlciIgdGFyZ2V0PTNEIl9ibGFuayIgc3R5bGU9M0QiY29sb3I6ICMzMzMzMzM7IGxpbmUtaGVpZ2h0OiAyMHB4OyB0PQ0KZXh0LWRlY29yYXRpb246IHVuZGVybGluZTsiPkZvcmdvdCB5b3VyIHBhc3N3b3JkPzwvYT4NCiAgICAgICAgICAgICAgICAgICA8L2Rpdj4gVGhpcyBlbWFpbCB3YXMgc2VudCB0byA9MjANCiAgICAgICAgICAgICAgICAgICA8YnI+IFlvdSBhcmUgcmVjZWl2aW5nIHRoaXMgZW1haWwgYmVjYXVzZSB5b3UgYXJlIGEgcmVnaT0NCnN0ZXJlZCBtZW1iZXIgb2Y9MjANCiAgICAgICAgICAgICAgICAgICA8YSBocmVmPTNEImh0dHBzOi8vd3d3LmFsaWV4cHJlc3MuY29tPyZhbXA7ZWRtX2NsaWNrX21vZD0NCnVsZT0zRGZvb3RlciZhbXA7dHJhY2Vsb2c9M0Ryb3dhbiZhbXA7cm93YW5faWQxPTNEZW1haWxSZWdpc3RlckNoZWNrY29kZV8xXz0NCmVuX1VTXzIwMjMtMDktMDUmYW1wO3Jvd2FuX21zZ19pZD0zRG1haWxudWxsX0VNQUlMX1JFR0lTVEVSX2UkN2Y4YzlhYjBjNTgwND0NCmM5NjkwNjE2YzRjNzgxNjg0NmEmYW1wO2NrPTNEaW5fZWRtX290aGVyIiB0YXJnZXQ9M0QiX2JsYW5rIiBzdHlsZT0zRCJjb2xvcj0NCjogIzMzMzMzMzsgbGluZS1oZWlnaHQ6IDIwcHg7IHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lOyI+d3d3LkFsaUV4cHJlc3MuYz0NCm9tLjwvYT4NCiAgICAgICAgICAgICAgICAgICA8YnI+IElmIHlvdSBkb24ndCB3YW50IHRvIHJlY2VpdmUgbWFya2V0aW5nIGVtYWlscyBpbiB0aD0NCmUgZnV0dXJlLCBwbGVhc2U9MjANCiAgICAgICAgICAgICAgICAgICA8YSBocmVmPTNEIiIgdGFyZ2V0PTNEIl9ibGFuayIgc3R5bGU9M0QiY29sb3I6ICMzMzMzMzM7ID0NCmxpbmUtaGVpZ2h0OiAyMHB4OyB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTsiPjxicj4gdW5zdWJzY3JpYmUgPC9hPg0KICAgICAgICAgICAgICAgICAgIDxicj4gUmVhZCBvdXI9MjANCiAgICAgICAgICAgICAgICAgICA8YSBocmVmPTNEImh0dHBzOi8vc2VydmljZS5hbGlleHByZXNzLmNvbS9wYWdlL2tub3dsZWRnZT0NCj9wYWdlSWQ9M0QzNyZhbXA7Y2F0ZWdvcnk9M0QxMDAwMDIyMDI4JmFtcDtrbm93bGVkZ2U9M0QxMDYwMDE1MjE2JmFtcDtsYW5ndT0NCmFnZT0zRGVuJmFtcDtlZG1fY2xpY2tfbW9kdWxlPTNEZm9vdGVyJmFtcDt0cmFjZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9DQo9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU09DQpBSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHN0eWw9DQplPTNEImNvbG9yOiAjMzMzMzMzOyBsaW5lLWhlaWdodDogMjBweDsgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU7Ij5Qcml2YWM9DQp5IFBvbGljeTwvYT4gYW5kPTIwDQogICAgICAgICAgICAgICAgICAgPGEgaHJlZj0zRCJodHRwczovL3J1bGUuYWxpYmFiYS5jb20vcnVsZS9kZXRhaWwvMjA0MS5odG09DQo/JmFtcDtlZG1fY2xpY2tfbW9kdWxlPTNEZm9vdGVyJmFtcDt0cmFjZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFI9DQplZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVM9DQpURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmw9DQphbmsiIHN0eWxlPTNEImNvbG9yOiAjMzMzMzMzOyBsaW5lLWhlaWdodDogMjBweDsgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU9DQo7Ij5UZXJtcyBvZiBVc2U8L2E+IGlmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMuPTIwDQogICAgICAgICAgICAgICAgICAgPGJyPg0KICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9M0QiaHR0cHM6Ly9zZXJ2aWNlLmFsaWV4cHJlc3MuY29tL3BhZ2UvaG9tZT9wYWdlPQ0KSWQ9M0QxNyZhbXA7bGFuZ3VhZ2U9M0RlbiZhbXA7ZWRtX2NsaWNrX21vZHVsZT0zRGZvb3RlciZhbXA7dHJhY2Vsb2c9M0Ryb3dhPQ0KbiZhbXA7cm93YW5faWQxPTNEZW1haWxSZWdpc3RlckNoZWNrY29kZV8xX2VuX1VTXzIwMjMtMDktMDUmYW1wO3Jvd2FuX21zZ19pPQ0KZD0zRG1haWxudWxsX0VNQUlMX1JFR0lTVEVSX2UkN2Y4YzlhYjBjNTgwNGM5NjkwNjE2YzRjNzgxNjg0NmEmYW1wO2NrPTNEaW5fPQ0KZWRtX290aGVyIiB0YXJnZXQ9M0QiX2JsYW5rIiBzdHlsZT0zRCJjb2xvcjogIzMzMzMzMzsgbGluZS1oZWlnaHQ6IDIwcHg7IHRlPQ0KeHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lOyI+IEFsaUV4cHJlc3MgU2VydmljZSBDZW50ZXIgPC9hPg0KICAgICAgICAgICAgICAgICAgIDxicj4gQWxpYmFiYS5jb20gU2luZ2Fwb3JlIEVjb21tZXJjZSBQcml2YXRlIExpbWl0ZWQsPTIwDQogICAgICAgICAgICAgICAgICAgPGJyPiBjL28gMjYvRiBUb3dlciBPbmUsIFRpbWVzIFNxdWFyZSwgMSBNYXRoZXNvbiBTdHJlZXQ9DQosIENhdXNld2F5IEJheSwgSG9uZyBLb25nPTIwDQogICAgICAgICAgICAgICAgICAgPGJyPg0KICAgICAgICAgICAgICAgICAgPC9kaXY+PC90ZD4NCiAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgICAgICA8L2Rpdj4NCiAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPjwvdHI+PC90YWJsZT48IVtlbmRpZl0tLT48L3RkPg0KICAgICAgICAgICA8L3RyPg0KICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj49MjANCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PC90ZD48L3RyPjwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tIGZvb3RlciBsb2dvIC0tPg0KICAgICAgICA8IS0tIHRlbXBsYXRlVmVyc2lvbjogJHt0ZW1wbGF0ZVZlcnNpb259IC0tPg0KICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48dHI+PHRkIGNsYXNzPTNEIiIgd2lkdGg9M0QiNjAwcHgiPjx0YWJsZSBhbGlnbj0NCj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiBjbGFzcz0zRCIiIHN0eT0NCmxlPTNEIndpZHRoOjYwMHB4OyIgd2lkdGg9M0QiNjAwIj48dHI+PHRkIHN0eWxlPTNEImxpbmUtaGVpZ2h0OjBweDtmb250LXNpej0NCmU6MHB4O21zby1saW5lLWhlaWdodC1ydWxlOmV4YWN0bHk7Ij48IVtlbmRpZl0tLT49MjANCiAgICAgICAgPGRpdiBzdHlsZT0zRCJtYXJnaW46MHB4IGF1dG87bWF4LXdpZHRoOjYwMHB4OyI+DQogICAgICAgICA8dGFibGUgYWxpZ249M0QiY2VudGVyIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9DQo9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IHdpZHRoOiAxMDA9DQolOyIgd2lkdGg9M0QiMTAwJSIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJkaXJlY3Rpb246bHRyO2ZvbnQtc2l6ZTowcHg7cGFkZGluZzowcHg7dGV4dC1hbGlnbj0NCjpjZW50ZXI7Ij4NCiAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48dGFibGUgcm9sZT0zRCJwcmVzZW50YXRpb24iIGJvcmRlcj0zRCIwIiBjZT0NCmxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIj48dHI+PHRkIGNsYXNzPTNEIiIgc3R5bGU9M0QidmVydGljYWwtYWxpZz0NCm46dG9wO3dpZHRoOjYwMHB4OyI+PCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgPGRpdiBjbGFzcz0zRCJtai1jb2x1bW4tcGVyLTEwMCBtai1vdXRsb29rLWdyb3VwLWZpeCIgc3R5bGU9M0Q9DQoiZm9udC1zaXplOjBweDt0ZXh0LWFsaWduOmxlZnQ7ZGlyZWN0aW9uOmx0cjtkaXNwbGF5OmlubGluZS1ibG9jazt2ZXJ0aWNhbC09DQphbGlnbjp0b3A7d2lkdGg6MTAwJTsiPg0KICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIHJvbGU9DQo9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyB2ZXJ0aWNhbC1hbGlnbjogdG9wOyI9DQogd2lkdGg9M0QiMTAwJSIgdmFsaWduPTNEInRvcCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgIDx0ZCBhbGlnbj0zRCJjZW50ZXIiIHN0eWxlPTNEImZvbnQtc2l6ZTowcHg7cGFkZGluZzo0MHB4IDA9DQo7d29yZC1icmVhazpicmVhay13b3JkOyI+DQogICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIHI9DQpvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBib3JkZXItY29sbGFwc2U6IGM9DQpvbGxhcHNlOyBib3JkZXItc3BhY2luZzogMHB4OyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJ3aWR0aDo4MXB4OyI+PGEgaHJlZj0zRCJodHRwczovL3d3dy5hbGlleD0NCnByZXNzLmNvbT90cmFjZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMj0NCjAyMy0wOS0wNSZhbXA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MT0NCjZjNGM3ODE2ODQ2YSZhbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiPjxpbWcgYWx0PTNEIkFsaUV4cHJlcz0NCnMiIGhlaWdodD0zRCJhdXRvIiBzcmM9M0QiaHR0cHM6Ly9hZTAxLmFsaWNkbi5jb20va2YvSFRCMURzaDRiQkt3M0tWalNaVEU3Nj0NCjN1UnBYYXcucG5nIiBzdHlsZT0zRCJib3JkZXI6MDtkaXNwbGF5OmJsb2NrO291dGxpbmU6bm9uZTt0ZXh0LWRlY29yYXRpb246bj0NCm9uZTtoZWlnaHQ6YXV0bzt3aWR0aDoxMDAlO2ZvbnQtc2l6ZToxM3B4OyIgd2lkdGg9M0QiODEiPjwvYT48L3RkPg0KICAgICAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PCFbZW5kaWZdLS0+PC90ZD4NCiAgICAgICAgICAgPC90cj4NCiAgICAgICAgICA8L3Rib2R5Pg0KICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgPC9kaXY+PTIwDQogICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPjwvdGQ+PC90cj48L3RhYmxlPjwvdGQ+PC90cj48L3RhYmxlPjwhW2VuZGlmXS0tPjw9DQovdGQ+DQogICAgICA8L3RyPg0KICAgICA8L3Rib2R5Pg0KICAgIDwvdGFibGU+DQogICA8L2Rpdj49MjANCiAgIDxkaXYgY2xhc3M9M0QidHJhY2UtaW1hZ2UiIHN0eWxlPTNEImRpc3BsYXk6IG5vbmU7IGhlaWdodDogMXB4OyBtYXJnaW46ID0NCjBweCBhdXRvOyBtYXgtd2lkdGg6IDYwMHB4OyI+DQogICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjA9DQoiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJ3aWR0aDoxMDAlOyI+DQogICAgIDx0Ym9keT4NCiAgICAgIDx0cj4NCiAgICAgICA8dGQgc3R5bGU9M0QiZGlyZWN0aW9uOmx0cjtmb250LXNpemU6MHB4O3BhZGRpbmc6MHB4O3RleHQtYWxpZ246Y2VudD0NCmVyOyI+DQogICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPjx0YWJsZSByb2xlPTNEInByZXNlbnRhdGlvbiIgYm9yZGVyPTNEIjAiIGNlbGxwYWQ9DQpkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiPjx0cj48dGQgY2xhc3M9M0QiIiBzdHlsZT0zRCJ2ZXJ0aWNhbC1hbGlnbjp0b3A9DQo7d2lkdGg6NjAwcHg7Ij48IVtlbmRpZl0tLT4NCiAgICAgICAgPGRpdiBjbGFzcz0zRCJtai1jb2x1bW4tcGVyLTEwMCBtai1vdXRsb29rLWdyb3VwLWZpeCIgc3R5bGU9M0QiZm9udD0NCi1zaXplOjBweDt0ZXh0LWFsaWduOmxlZnQ7ZGlyZWN0aW9uOmx0cjtkaXNwbGF5OmlubGluZS1ibG9jazt2ZXJ0aWNhbC1hbGlnbj0NCjp0b3A7d2lkdGg6MTAwJTsiPg0KICAgICAgICAgPHRhYmxlIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByPQ0KZXNlbnRhdGlvbiIgd2lkdGg9M0QiMTAwJSI+DQogICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQgc3R5bGU9M0QidmVydGljYWwtYWxpZ246dG9wO3BhZGRpbmc6MDsiPg0KICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0NCj0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEIiIgd2lkdGg9M0QiMTAwJSI+DQogICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0QiY2VudGVyIiBzdHlsZT0zRCJmb250LXNpemU6MHB4O3BhZGRpbmc6MTBweCAyNT0NCnB4O3dvcmQtYnJlYWs6YnJlYWstd29yZDsiPg0KICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIHJvPQ0KbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJib3JkZXItY29sbGFwc2U6Y29sbGFwc2U7Ym9yZGVyLXNwYWNpbmc6MHB4OyI+DQogICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0Qid2lkdGg6MXB4OyI+PGltZyBoZWlnaHQ9M0QiMSIgc3JjPTNEImh0dHBzPQ0KOi8vbS5hbGlleHByZXNzLmNvbS9pbWcvMXgxLmdpZj8mYW1wO2VkbV9jbGlja19tb2R1bGU9M0Rmb290ZXIiIHN0eWxlPTNEImJvPQ0KcmRlcjowO2Rpc3BsYXk6YmxvY2s7b3V0bGluZTpub25lO3RleHQtZGVjb3JhdGlvbjpub25lO2hlaWdodDoxcHg7d2lkdGg6MTAwPQ0KJTtmb250LXNpemU6MTNweDsiIHdpZHRoPTNEIjEiPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgIDwvdGFibGU+PC90ZD4NCiAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgPC90YWJsZT48L3RkPg0KICAgICAgICAgICA8L3RyPg0KICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PCFbZW5kaWZdLS0+PC90ZD4NCiAgICAgIDwvdHI+DQogICAgIDwvdGJvZHk+DQogICAgPC90YWJsZT4NCiAgIDwvZGl2Pj0yMA0KICAgICAgICA8IS0tIGZvb3RlciBlbmQgLS0+DQogICAgPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+PQ0KDQotLS0tLS09X1BhcnRfMTQxMTk3MjdfMTQyNjAwMzUyMi4xNjkzOTIwNzIyMDYwLS0NCg==\",\"date\":\"2023-09-06T13:31:27.000Z\",\"from\":{\"html\":\"Tomi Turtiainen <tomi@n8n.io>\",\"text\":\"Tomi Turtiainen \",\"value\":[{\"name\":\"Tomi Turtiainen\",\"address\":\"tomi@n8n.io\"}]},\"html\":\"

    \\n\",\"text\":\"\\n\",\"headers\":{\"to\":\"To: mattiasn8n@outlook.com\",\"date\":\"Date: Wed, 6 Sep 2023 16:31:27 +0300\",\"from\":\"From: Tomi Turtiainen \",\"subject\":\"Subject: asdasd\",\"received\":\"Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-500bbe3ef0eso1173362e87.1\\r\\n for ; Wed, 06 Sep 2023 06:31:39 -0700 (PDT)\",\"x-sid-pra\":\"X-SID-PRA: TOMI@N8N.IO\",\"message-id\":\"Message-ID: \",\"x-received\":\"X-Received: by 2002:a05:6512:550:b0:4f8:6253:540 with SMTP id\\r\\n h16-20020a056512055000b004f862530540mr1032219lfl.19.1694007098992; Wed, 06\\r\\n Sep 2023 06:31:38 -0700 (PDT)\",\"return-path\":\"Return-Path: tomi@n8n.io\",\"x-sender-ip\":\"X-Sender-IP: 209.85.167.51\",\"content-type\":\"Content-Type: multipart/mixed; boundary=\\\"0000000000006226f60604b0c30d\\\"\",\"mime-version\":\"MIME-Version: 1.0\",\"received-spf\":\"Received-SPF: Pass (protection.outlook.com: domain of n8n.io designates\\r\\n 209.85.167.51 as permitted sender) receiver=protection.outlook.com;\\r\\n client-ip=209.85.167.51; helo=mail-lf1-f51.google.com; pr=C\",\"x-sid-result\":\"X-SID-Result: PASS\",\"dkim-signature\":\"DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\\r\\n d=n8n.io; s=google; t=1694007099; x=1694611899; darn=outlook.com;\\r\\n h=to:subject:message-id:date:from:mime-version:from:to:cc:subject\\r\\n :date:message-id:reply-to;\\r\\n bh=XX+u25qxwUiTQhDYEAKum6cFDiY8kAf9VQXtXT7IG4g=;\\r\\n b=DtryoPGLz346xBmbPGAOuNpUz90LjDCRHhDSlQ+FacVezcvnbNtne30NyD5zV1+Nmz\\r\\n xbQGR9Leg14yy8CyJ6BB5RdPnGCzyS0jx+xThP9vB/8r9Rfbg2y9R7HpfAHauxZq8WKw\\r\\n QbnMn4JwvjFizKABeadgIgrk5zxs78ZHK0IboMyNttPc9YVyho+Q7koLdkdMFnB0bGjH\\r\\n B2gud3+PixaUitsJhOGXx0TKpCG58CjFkpwf203YJhNN9k/kUejr8lhlu3K8tXlHnRdl\\r\\n uIQg7BwYTLtg2ZLaPXz0VQLUlbnLNbwHHFhXUvJ1D0edRZKk8yGn315NxX9CJ8ta5oKx\\r\\n tqww==\",\"x-message-info\":\"X-Message-Info:\\r\\n\\tqZelhIiYnPlubV6F6xIgQ5/Mzwaakpnur7bBCplzbP7vmOUxLfcYxrmfap05e717ue9YRnsWC+tgOVq+uN9uCokFEfs/cntY6SPU1rIDMJ2XiRHcXDxWXN2/2HOxMn+YqecYvkeX6IHFuhzmOJBtdhGgfjpDztKpJUUmqN9RcyzI0U+NHd0xDlBzopl+9fN9CkxAIgBkriAe9ipdjAiOuw==\",\"x-gm-message-state\":\"X-Gm-Message-State: AOJu0YzkHX9+H/UKNyzFozodiJ17OU4KzydEaaglLky7picVcfrQnODG\\r\\n\\tIoNVpwnJqtuVpDLl9i9cnYIZMFlT5AUv2OjrGh8I8twGmBWyHG5bixU=\",\"x-message-delivery\":\"X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtHRD0yO1NDTD0z\",\"x-google-smtp-source\":\"X-Google-Smtp-Source: AGHT+IHCPLcwqEBonKbCznfQtkP79eEZZH2uzDURqzvzU3BNgqCao9T/H/EfqSgjduesLZKMVH7RZ7jGLqOSzVCC0uU=\",\"x-microsoft-antispam\":\"X-Microsoft-Antispam: BCL:0;\",\"x-incomingheadercount\":\"X-IncomingHeaderCount: 13\",\"authentication-results\":\"Authentication-Results: spf=pass (sender IP is 209.85.167.51)\\r\\n smtp.mailfrom=n8n.io; dkim=pass (signature was verified)\\r\\n header.d=n8n.io;dmarc=pass action=none header.from=n8n.io;compauth=pass\\r\\n reason=100\",\"x-eopattributedmessage\":\"X-EOPAttributedMessage: 0\",\"x-ms-publictraffictype\":\"X-MS-PublicTrafficType: Email\",\"x-ms-userlastlogontime\":\"X-MS-UserLastLogonTime: 9/6/2023 1:30:02 PM\",\"x-google-dkim-signature\":\"X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\\r\\n d=1e100.net; s=20221208; t=1694007099; x=1694611899;\\r\\n h=to:subject:message-id:date:from:mime-version:x-gm-message-state\\r\\n :from:to:cc:subject:date:message-id:reply-to;\\r\\n bh=XX+u25qxwUiTQhDYEAKum6cFDiY8kAf9VQXtXT7IG4g=;\\r\\n b=gNJBR8hHMQgsPmy6aj/fUHgJA80VYzMkBa692pzhafJzxHcKSsoBG6Va8Z/vMmQHHf\\r\\n b+79DaJg9AoYuSbhqk17fB1dF/moQh/AyAbEOeTy+ntAlYCJDNOwXP6WV419d0Y1Stds\\r\\n Wvx+8Pd4LVhXGUcGRmk5hsnZ7AuPfYi8fbsU+Q/uVaLEp+SFAFgRVBvFpicxD/2AWpNF\\r\\n gi3j2RHnBEppPcXFJTmrtTHHmSHwDHIWeRa4d0rfv3JYYGLHVXeJ6OwNgtjF/ogP4Q8A\\r\\n avLGYbqt5rY5Z852upyxtVxkWY/H0gHKjfkGH4MQHtja8iFGJa970FZwE81sZ/GhilPF\\r\\n lzog==\",\"x-ms-exchange-eopdirect\":\"X-MS-Exchange-EOPDirect: true\",\"x-incomingtopheadermarker\":\"X-IncomingTopHeaderMarker:\\r\\n OriginalChecksum:57147F1F6C31873D4EA40450C6B4FCC2A019EE54FDEDA03E8B891047BB320969;UpperCasedChecksum:5F3A1E264AFC755FB3BB49D7A2D706C38ED7B1548108A3EBE6A43EF3E238AE53;SizeAsReceived:2325;Count:13\",\"x-ms-traffictypediagnostic\":\"X-MS-TrafficTypeDiagnostic:\\r\\n DS2PEPF00003444:EE_|CWLP265MB2113:EE_|LO0P265MB6663:EE_\",\"x-eoptenantattributedmessage\":\"X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0\",\"x-ms-exchange-crosstenant-id\":\"X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa\",\"x-ms-exchange-organization-pcl\":\"X-MS-Exchange-Organization-PCL: 2\",\"x-ms-exchange-organization-scl\":\"X-MS-Exchange-Organization-SCL: 1\",\"x-ms-exchange-crosstenant-authas\":\"X-MS-Exchange-CrossTenant-AuthAs: Anonymous\",\"x-microsoft-antispam-message-info\":\"X-Microsoft-Antispam-Message-Info:\\r\\n\\t=?utf-8?B?TEZ5UU1vOTVYR3dLdWtadnVWZndKTVY2TkhQU3JGckNOblNqOWd0eVRWTkIw?=\\r\\n =?utf-8?B?eXo1MTkveFBqL3hKb2o4cHRFUFZiTkpLWnpYaCtBbnZkbGhHU1lRZlEzZnJx?=\\r\\n =?utf-8?B?RUM3YXQ4UXV0dUZBcTVucnpJb2JVbEFBeWxscVlDekVacmNSa25qaFlJVElu?=\\r\\n =?utf-8?B?WmlBYWFOb1NzQkwrZWo2K0hrRzhQMDN0dFQ3Ly9jdVR0ZDlUclJtbXl0K1VI?=\\r\\n =?utf-8?B?Uzh0UGZZRDdUSnphaThuV2FOVS84SE5Xa2Q4S05WWFhTN1ptOEVPTGxmd04r?=\\r\\n =?utf-8?B?dllXeG90TitNak1yWUVJY28wVXQzNFMwVmZRdVZkV1VnUStkTWY1VWVvV1Rr?=\\r\\n =?utf-8?B?RVNnR3lpRUFHQ1VZeVRnTGl1b0ZwVzlUUXhITHA0SUNsSUd6VHk5RTZZOWs4?=\\r\\n =?utf-8?B?NGlhNGZPUzAzYllWMHJPVVRtWnV4ZFBmRTVXSUpxdVZVWCtsdEJhRHhWZnN0?=\\r\\n =?utf-8?B?SDZZYnUvSHIwV25aRWFNbTVyMUxaNzN4ZHpac1lwTmVwdDhMWTFFMXpwMHlC?=\\r\\n =?utf-8?B?VmxBQ1JtMTNyRkFYWUJmcjlkcmE0NkVTWDJ6eENyUjhyalgwSGdLeTd5VnFM?=\\r\\n =?utf-8?B?cWJOZzBmbEo4NWl6NHUvMVl5NmY5MzFXNThCV3R0eXFvOTJ6U2N4NVVUMmF2?=\\r\\n =?utf-8?B?bTFHdVJsZDlyTXNNRmxIdVBYdUt2RmpYZlZLY2RrL2VwdWgybVhnQ09vSllS?=\\r\\n =?utf-8?B?WUxYNnlzbHN6SmVEaGRjMWwrT3lDSG05NU5NK3pBUlVTYWt3MFFXQXRpMlB1?=\\r\\n =?utf-8?B?YzMzYjVBclIvd2xmWDJEWkNkcnI1enNoWlkyTFdVaWtCTGt0a1ZRRktUZVRz?=\\r\\n =?utf-8?B?T2oxYnk4SHRNNlg5b0NMZEVkL0doRW9oZkx6anh5L3ZoSUpGN0xlNDJXcks4?=\\r\\n =?utf-8?B?Yjg3Y2FheTRBNlp6b2xlbzZERm5iK0VZQUNmeEhQRXZUTzFIUWtidFVEMzU3?=\\r\\n =?utf-8?B?OHNBL2RzMWk5K1VyL2xXMXd6cU5LU2o3b2RmZmh3R2pHUlBVcjluSnRUWkVL?=\\r\\n =?utf-8?B?cU9KTUwySUxrVHZ5QTRKeWI3MGxEMDQ5RlpyVkRwM3JQRGFHVkNDVmhtVFlI?=\\r\\n =?utf-8?B?a1ZzMStzUkRGeXQrS2JTUktQeUZ0QXkwaitHUDB5UGFmSEVHaFVKUEc4QjZQ?=\\r\\n =?utf-8?B?Z3BvcHpWeW0wK3R3VnQ0bFZXcFVKY2lETTRIMS84RFdOZjlYYldDVEFXNHlE?=\\r\\n =?utf-8?B?RitORzUzK2ZzNGN6UmtNMXVNY1dlRStkR1ZNcXFueVVPbm9oNUxBcG5HWlU4?=\\r\\n =?utf-8?B?b0dmcmpYamZPQXpRNnRBeHRHZkhPMTdsWkdmVWhjUHZYL0tQdER0dEluRWEy?=\\r\\n =?utf-8?B?M0ZBaVZnVnNWUmJHb1pZM2xkRGZjV1dTMEJ5NXNCamc2b09XYmdPMjF2VmM1?=\\r\\n =?utf-8?B?Rm9yNWJmNGwzZ1lSL1ZCYXhlS3dUN1JyYys3a0dCNklZYmxyb2lXTW1OZFNG?=\\r\\n =?utf-8?B?b2UzaGFsSU5BbFltSnlZSlh3NjFlOGp4alA0SFVzWHkvVm1DRXdWRTVzZ21Q?=\\r\\n =?utf-8?B?eEpmb1dFaDJsV1g1VjN0SlFtbzRJZjkrdUV0bjhidzhyY0YzWnRDdnZ1YkFP?=\\r\\n =?utf-8?B?YWcvUT09?=\",\"x-ms-exchange-organization-authas\":\"X-MS-Exchange-Organization-AuthAs: Anonymous\",\"x-ms-exchange-crosstenant-authsource\":\"X-MS-Exchange-CrossTenant-AuthSource:\\r\\n DS2PEPF00003444.namprd04.prod.outlook.com\",\"x-microsoft-antispam-mailbox-delivery\":\"X-Microsoft-Antispam-Mailbox-Delivery:\\r\\n\\tucf:0;jmr:0;ex:0;auth:1;dest:I;ENG:(5062000305)(920221119095)(90000117)(920221120095)(90010023)(91010020)(91040095)(9050020)(9100341)(944500132)(2008001134)(2008120430)(4810010)(4910033)(9575002)(10195002)(9320005)(120001);\",\"x-ms-exchange-organization-authsource\":\"X-MS-Exchange-Organization-AuthSource:\\r\\n DS2PEPF00003444.namprd04.prod.outlook.com\",\"x-ms-exchange-processed-by-bccfoldering\":\"X-MS-Exchange-Processed-By-BccFoldering: 15.20.6745.026\",\"x-ms-exchange-transport-endtoendlatency\":\"X-MS-Exchange-Transport-EndToEndLatency: 00:00:02.5250613\",\"x-ms-office365-filtering-correlation-id\":\"X-MS-Office365-Filtering-Correlation-Id: 909e28ef-742f-4b3f-cac4-08dbaedd9a06\",\"x-ms-exchange-crosstenant-fromentityheader\":\"X-MS-Exchange-CrossTenant-FromEntityHeader: Internet\",\"x-ms-exchange-crosstenant-network-message-id\":\"X-MS-Exchange-CrossTenant-Network-Message-Id: 909e28ef-742f-4b3f-cac4-08dbaedd9a06\",\"x-ms-exchange-crosstenant-originalarrivaltime\":\"X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2023 13:31:39.8042\\r\\n (UTC)\",\"x-ms-exchange-organization-expirationinterval\":\"X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000\",\"x-ms-exchange-organization-network-message-id\":\"X-MS-Exchange-Organization-Network-Message-Id:\\r\\n 909e28ef-742f-4b3f-cac4-08dbaedd9a06\",\"x-ms-exchange-organization-expirationstarttime\":\"X-MS-Exchange-Organization-ExpirationStartTime: 06 Sep 2023 13:31:39.8198\\r\\n (UTC)\",\"x-ms-exchange-organization-messagedirectionality\":\"X-MS-Exchange-Organization-MessageDirectionality: Incoming\",\"x-ms-exchange-transport-crosstenantheadersstamped\":\"X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWLP265MB2113\",\"x-ms-exchange-crosstenant-rms-persistedconsumerorg\":\"X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:\\r\\n 00000000-0000-0000-0000-000000000000\",\"x-ms-exchange-organization-expirationintervalreason\":\"X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit\",\"x-ms-exchange-organization-expirationstarttimereason\":\"X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit\"},\"subject\":\"asdasd\",\"messageId\":\"\",\"textAsHtml\":\"

    \"},\"binary\":{},\"pairedItem\":{\"item\":0}}],\"Analyze email with Sublime Security\":[{\"json\":{\"rule_results\":[{\"rule\":{\"id\":\"58544c97-5d1b-4269-8465-5325ccfc05cf\",\"name\":\"Matti + Tomi\",\"source\":\"sender.email.domain.root_domain == \\\"aliexpress.com\\\"\",\"severity\":null},\"error\":null,\"matched\":true,\"success\":true,\"execution_time\":0.000038433,\"external_errors\":null},{\"rule\":{\"id\":\"75229a3d-ed82-47e0-a37b-ae1b562c08d5\",\"name\":\"Test rule\",\"source\":\"strings.ilike(subject.subject, \\\"*Sublime-Standard-Test-String*\\\")\\nor regex.icontains(body.html.raw, \\\".*Sublime-Standard-Test-String.*\\\")\\nor regex.icontains(body.plain.raw, \\\".*Sublime-Standard-Test-String.*\\\")\",\"severity\":null},\"error\":null,\"matched\":false,\"success\":true,\"execution_time\":0.002214803,\"external_errors\":null}]},\"pairedItem\":{\"item\":0}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"25aa0ca5-6e3c-44ed-98f9-37f62a78ed76\",\"connections\":{\"Move Binary Data\":{\"main\":[[{\"node\":\"Analyze email with Sublime Security\",\"type\":\"main\",\"index\":0}]]},\"Format the message\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Email Trigger (IMAP)\":{\"main\":[[{\"node\":\"IF email has attachment\",\"type\":\"main\",\"index\":0}]]},\"IF email has attachment\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Notify about missing attachment\",\"type\":\"main\",\"index\":0}]]},\"Split to matched and unmatched\":{\"main\":[[{\"node\":\"Format the message\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Analyze email with Sublime Security\":{\"main\":[[{\"node\":\"Split to matched and unmatched\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Weekly Shodan Query - Report Accidents", "output": "{\"id\":\"VoLT6Omw9KMQgPum\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Weekly_Shodan_Query___Report_Accidents__no_function_node_\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"54b2b2bd-9101-402c-b7cb-3d5e1070fcd2\",\"name\":\"Scan each IP\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[2123,202],\"parameters\":{\"url\":\"=https://api.shodan.io/shodan/host/{{ $json.ip }}\",\"options\":{},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpQueryAuth\"},\"credentials\":{\"httpQueryAuth\":{\"id\":\"LyUxI7J9gK1haB4h\",\"name\":\"Shodan API Key\"}},\"typeVersion\":4.1},{\"id\":\"f6b194a7-a38d-46b4-899f-a9cb71de247e\",\"name\":\"Get watched IPs & Ports\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1448.635348143835,200],\"parameters\":{\"url\":\"https://internal.users.n8n.cloud/webhook/mock-shodan-ips\",\"options\":{}},\"typeVersion\":4.1},{\"id\":\"a6754adf-610b-46f0-9019-7ea21ac22690\",\"name\":\"Split out services\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2323,202],\"parameters\":{\"options\":{},\"fieldToSplitOut\":\"data\"},\"typeVersion\":3},{\"id\":\"fa9dd77c-32e9-48c5-a1bf-8b95720aad43\",\"name\":\"Unexpected port?\",\"type\":\"n8n-nodes-base.filter\",\"position\":[2543,202],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $('For each IP').item.json.ports.includes($json.port) }}\"}]}},\"typeVersion\":1},{\"id\":\"addfeaf8-0c5d-4e4a-924e-53b3e28a23de\",\"name\":\"Set data to post for each port\",\"type\":\"n8n-nodes-base.set\",\"position\":[2763,202],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ip\",\"value\":\"={{ $('Get watched IPs & Ports').item.json.ip }}\"},{\"name\":\"hostnames\",\"value\":\"={{ $json.hostnames.join(', ') }}\"},{\"name\":\"port\",\"value\":\"={{ $json.port }}\"},{\"name\":\"description\",\"value\":\"={{ $json.description }}\"},{\"name\":\"data\",\"value\":\"={{ $json.data }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"aaef71c0-927c-4297-9fa1-331e7009bf7e\",\"name\":\"Convert to table\",\"type\":\"n8n-nodes-base.html\",\"position\":[2983,202],\"parameters\":{\"options\":{},\"operation\":\"convertToHtmlTable\"},\"typeVersion\":1},{\"id\":\"2f257556-cf1b-4a80-8f40-7989ea077f48\",\"name\":\"Convert to Markdown\",\"type\":\"n8n-nodes-base.markdown\",\"position\":[3203,202],\"parameters\":{\"html\":\"={{ $json.table }}\",\"options\":{},\"destinationKey\":\"markdown\"},\"typeVersion\":1},{\"id\":\"9fdd40ba-1ab4-43a2-9e9d-53af5fc32f9f\",\"name\":\"For each IP\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1740,200],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"01823f1f-9612-4e56-a8f2-62aa2a0d5d5e\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2722,-137.71236116790237],\"parameters\":{\"width\":607.8070576425011,\"height\":564.6974012965735,\"content\":\"![Shodan](https://i.imgur.com/tK0RXSK.png)\\n## Format port service data as a Markdown table\\nAfter identifying the open ports, the next step is to organize this information neatly. This node converts the data gathered from the previous steps into a `Markdown table format`. \\n\\nIt's crucial for readability and makes it easier to parse through the port and service information. This formatted data can then be seamlessly integrated into documentation or reports, ensuring that the information is accessible and understandable for further analysis or sharing with team members.\"},\"typeVersion\":1},{\"id\":\"7ef1232b-8386-4b47-8617-a65749357ede\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2083.3970861885364,-134.67908072298724],\"parameters\":{\"width\":606.297701841459,\"height\":562.5474916374191,\"content\":\"![Shodan](https://i.imgur.com/q4G3kQf.png)\\n## Query Shodan for unexpected open ports\\nThis stage of the workflow leverages `Shodan`, a search engine for internet-connected devices, to identify running services on each IP port.\\n\\nOnce the services and ports are returned, the `split out services` node extracts all the services to be filtered at once. \\n\\nIf an unexpected port is found, it allows the service to pass the service through the filter node.\"},\"typeVersion\":1},{\"id\":\"afd6651a-bcf1-4d66-ae1c-0f5616d3f29a\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[928,-465],\"parameters\":{\"width\":650.8045775723033,\"height\":890.9735108226744,\"content\":\"![Scheduled](https://i.imgur.com/PcOuvAL.png)\\n# Workflow Overview\\n\\nThe n8n workflow initiates with a node that fetches a list of IP addresses and their specified ports from a security system, which is essential for ongoing surveillance of network integrity. \\n\\nThe data is expected to be in JSON format, detailing each IP with an array of associated ports to be monitored. While the example provided showcases a basic API call, in practice, this should be replaced with a call to the organization's own security system. \\n\\n`It's important to note that error handling is not included in this example and should be implemented according to the specific data formatting and error response protocols of the user's system.` The expectation for successful execution is that the incoming data conforms to the predefined JSON structure.\\n\\n## Get list of IPs from your IPS or database\\n\\nThis section retrieves a current list of IP addresses and their associated ports that require monitoring from your Intrusion Prevention System (IPS). It is essential to maintain an updated list to monitor for any unauthorized changes or traffic. The expected format for each entry is a JSON object containing the IP address and an array of ports.\\n\\nOur sample api call below can be replaced with api access to your IPS. To ensure it works, this workflow expects data to be in the following format:\\n```\\n[\\n {\\n \\\"ip\\\": \\\"116.202.106.35\\\",\\n \\\"ports\\\": [\\n 5678,\\n 80\\n ]\\n },\\n {\\n \\\"ip\\\": \\\"188.114.96.9\\\",\\n \\\"ports\\\": [\\n 8080,\\n 80\\n ]\\n }\\n]\\n```\"},\"typeVersion\":1},{\"id\":\"14730a2f-42cc-4d96-b401-8a6a2c41aa27\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3362,-167.68304244703404],\"parameters\":{\"width\":438.8550109331452,\"height\":594.7981050471616,\"content\":\"![thehive](https://i.imgur.com/y2Yw1ZP.png)\\n## Post to TheHive\\nThe final step in the process involves posting the findings to TheHive - a scalable, open-source and free Security Incident Response Platform. \\n\\nIf the workflow has identified an unexpected open port, it creates an alert in TheHive. This integration ensures that any potential security issues are escalated appropriately, and the relevant teams can begin the incident response process immediately, leveraging TheHive's powerful case management capabilities.\"},\"typeVersion\":1},{\"id\":\"f8cd7e3f-b55e-400d-ba45-486d4c736a16\",\"name\":\"Every Monday\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[1228.635348143835,200],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"weeks\",\"triggerAtDay\":[1],\"triggerAtHour\":5}]}},\"typeVersion\":1.1},{\"id\":\"804ef38c-3ecb-41b2-ab38-ef8c231b7425\",\"name\":\"Create TheHive alert\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[3423,202],\"parameters\":{\"date\":\"={{$now}}\",\"tags\":\"={{ $('For each IP').last().json.ip }}\",\"type\":\"Unexpected open port\",\"title\":\"=Unexpected ports for {{ $('For each IP').last().json.ip }}\",\"source\":\"n8n\",\"sourceRef\":\"={{ $('For each IP').last().json.ip }}:{{$now.toUnixInteger()}}\",\"description\":\"=Unexpected open ports:\\n\\n{{ $json.markdown }}\",\"additionalFields\":{}},\"credentials\":{\"theHiveApi\":{\"id\":\"Qm1GXxzVWvg1FiHg\",\"name\":\"The Hive account (David)\"}},\"typeVersion\":1},{\"id\":\"5f09a27b-c6a4-4f74-a5ff-4c684e5e8917\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1620,-261.14340884889145],\"parameters\":{\"width\":432.3140705656865,\"height\":690.0398460499007,\"content\":\"![n8n](https://i.imgur.com/lKnBNnH.png)\\n## Iterate Through IP addresses\\nThe \\\"`Split In Batches`\\\" node is configured with a batch size of one, ensuring that the array of IP addresses received is processed one at a time. \\n\\nThis approach allows for a focused analysis of each detection, ensuring no detail is overlooked. \\n\\nFollowing this, the \\\"`Split out services`\\\" node further along dissects each service to extract and separately handle the array of behaviors associated with them. \\n\\nBy processing these elements one by one, we effectively manage the workflow's load, maintaining optimal performance and adherence to external APIs' rate limits, crucial for the seamless operation of our security protocols.\\n\\n\"},\"typeVersion\":1}],\"active\":false,\"pinData\":{\"Scan each IP\":[{\"json\":{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"city\":\"San Francisco\",\"data\":[{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"data\":\"HTTP/1.1 403 Forbidden\\r\\nDate: Sat, 02 Sep 2023 13:14:00 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nContent-Length: 5892\\r\\nConnection: close\\r\\nX-Frame-Options: SAMEORIGIN\\r\\nReferrer-Policy: same-origin\\r\\nCache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0\\r\\nExpires: Thu, 01 Jan 1970 00:00:01 GMT\\r\\nVary: Accept-Encoding\\r\\nServer: cloudflare\\r\\nCF-RAY: 80060379ef7009ef-LAS\\r\\n\\r\\n\",\"hash\":-135673925,\"http\":{\"waf\":\"Cloudflare (Cloudflare Inc.)\",\"host\":\"188.114.96.9\",\"html\":\"\\n\\n\\n\\n \\n\\nDirect IP access not allowed | Cloudflare\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n
    \\n
    Please enable cookies.
    \\n
    \\n
    \\n

    \\n Error\\n 1003\\n

    \\n Ray ID: 80060379ef7009ef •\\n 2023-09-02 13:14:00 UTC\\n

    Direct IP access not allowed

    \\n
    \\n\\n
    \\n
    \\n

    What happened?

    \\n

    You've requested an IP address that is part of the Cloudflare network. A valid Host header must be supplied to reach the desired website.

    \\n \\n
    \\n\\n \\n
    \\n

    What can I do?

    \\n

    If you are interested in learning more about Cloudflare, please visit our website.

    \\n
    \\n \\n
    \\n\\n
    \\n
    \\n Was this page helpful?\\n \\n \\n
    \\n
    \\n Thank you for your feedback!\\n
    \\n
    \\n\\n\\n \\n\\n\\n
    \\n
    \\n\\n \\n\\n\\n\\n\",\"title\":\"Direct IP access not allowed | Cloudflare\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":-1841956297,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":144737606,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{},\"port\":80,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"5447d0c1-4151-4f22-a542-17adadb88fd5\",\"ptr\":true,\"module\":\"http\",\"region\":\"na\",\"crawler\":\"49217c0cdcbcebaf23c2979ae16d4eba64180b1f\",\"options\":{}},\"domains\":[],\"product\":\"CloudFlare\",\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[],\"timestamp\":\"2023-09-02T13:14:00.635115\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"ssl\":{\"alpn\":[],\"cert\":{\"issued\":\"20230703000000Z\",\"issuer\":{\"C\":\"US\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"Cloudflare Inc ECC CA-3\"},\"pubkey\":{\"bits\":256,\"type\":\"dsa\"},\"serial\":2.0515453915550058e+37,\"expired\":false,\"expires\":\"20240702235959Z\",\"sig_alg\":\"ecdsa-with-SHA256\",\"subject\":{\"C\":\"US\",\"L\":\"San Francisco\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"sni.cloudflaressl.com\",\"ST\":\"California\"},\"version\":2,\"extensions\":[{\"data\":\"0\\\\x16\\\\x80\\\\x14\\\\xa5\\\\xce7\\\\xea\\\\xeb\\\\xb0u\\\\x0e\\\\x94g\\\\x88\\\\xb4E\\\\xfa\\\\xd9$\\\\x10\\\\x87\\\\x96\\\\x1f\",\"name\":\"authorityKeyIdentifier\"},{\"data\":\"\\\\x04\\\\x14nS\\\\x87\\\\x04\\\\' \\\\x03\\\\x07\\\\x1d\\\\tIp\\\\xf3\\\\x1f(\\\\xb0C*\\\\xc6\\\\x1d\",\"name\":\"subjectKeyIdentifier\"},{\"data\":\"0E\\\\x82\\\\x16*.cdnjs.cloudflare.com\\\\x82\\\\x14cdnjs.cloudflare.com\\\\x82\\\\x15sni.cloudflaressl.com\",\"name\":\"subjectAltName\"},{\"data\":\"\\\\x03\\\\x02\\\\x07\\\\x80\",\"name\":\"keyUsage\",\"critical\":true},{\"data\":\"0\\\\x14\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x01\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x02\",\"name\":\"extendedKeyUsage\"},{\"data\":\"0r07\\\\xa05\\\\xa03\\\\x861http://crl3.digicert.com/CloudflareIncECCCA-3.crl07\\\\xa05\\\\xa03\\\\x861http://crl4.digicert.com/CloudflareIncECCCA-3.crl\",\"name\":\"crlDistributionPoints\"},{\"data\":\"0503\\\\x06\\\\x06g\\\\x81\\\\x0c\\\\x01\\\\x02\\\\x020)0\\\\'\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x02\\\\x01\\\\x16\\\\x1bhttp://www.digicert.com/CPS\",\"name\":\"certificatePolicies\"},{\"data\":\"0h0$\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x01\\\\x86\\\\x18http://ocsp.digicert.com0@\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x02\\\\x864http://cacerts.digicert.com/CloudflareIncECCCA-3.crt\",\"name\":\"authorityInfoAccess\"},{\"data\":\"0\\\\x00\",\"name\":\"basicConstraints\",\"critical\":true},{\"data\":\"\\\\x04\\\\x82\\\\x01j\\\\x01h\\\\x00u\\\\x00v\\\\xff\\\\x88?\\\\n\\\\xb6\\\\xfb\\\\x95Q\\\\xc2a\\\\xcc\\\\xf5\\\\x87\\\\xba4\\\\xb4\\\\xa4\\\\xcd\\\\xbb)\\\\xdchB\\\\n\\\\x9f\\\\xe6gLZ:t\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8cog\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00F0D\\\\x02 \\\\x11\\\\xd8.\\\\xb2l\\\\xc9\\\\xc4\\\\xb3A\\\\xa7\\\\xbc\\\\x87!EP\\\\xe3{\\\\x01\\\\x86j\\\\x0cA\\\\x82V\\\\xc2\\\\x1b\\\\xa9M$\\\\x8c\\\\x84\\\\x02\\\\x02 k\\\\x8f\\\\xb7\\\\x10\\\\xae\\\\xa0#\\\\x97\\\\x8cY\\\\xb1\\\\x07k]e.M\\\\xb7\\\\xef\\\\x86L\\\\x98.\\\\xc6?\\\\xd4\\\\xf5`-TN\\\\x06\\\\x00v\\\\x00\\\\xda\\\\xb6\\\\xbfk?\\\\xb5\\\\xb6\\\"\\\\x9f\\\\x9b\\\\xc2\\\\xbb\\\\\\\\k\\\\xe8p\\\\x91ql\\\\xbbQ\\\\x84\\\\x854\\\\xbd\\\\xa4=0H\\\\xd7\\\\xfb\\\\xab\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\\\\\\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00G0E\\\\x02!\\\\x00\\\\xf5+\\\\x0b\\\\t\\\\xf7\\\\xe7\\\\x88\\\\x96\\\\x1c\\\\x1a\\\\xe5\\\\x83\\\\xb3\\\\xb6\\\\xc1z\\\\\\\\^\\\\xa0\\\\xa4\\\\xe5Sj\\\\xd3\\\\xc6\\\\xcb\\\\xe7\\\\xfbR\\\\rbY\\\\x02 \\\\x13\\\\xaf\\\\xac\\\\x90\\\\x82\\\\x85\\\\x9ex\\\\xe2r\\\\x13\\\\x12o\\\\xb2\\\\xb9\\\\x18\\\\xf2E/\\\\x9eA\\\\xd8C\\\"\\\\xfd\\\\x8b\\\\xed\\\\x04c`\\\\xc4\\\\xc1\\\\x00w\\\\x00;Swu>-\\\\xb9\\\\x80N\\\\x8b0[\\\\x06\\\\xfe@;g\\\\xd8O\\\\xc3\\\\xf4\\\\xc7\\\\xbd\\\\x00\\\\r-ro\\\\xe1\\\\xfa\\\\xd4\\\\x17\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\x95\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00H0F\\\\x02!\\\\x00\\\\x81\\\\xa0\\\\xc71ra\\\\xa8\\\\xb0\\\\x82\\\\xbf/\\\\x0e\\\\xaeL\\\\xfe\\\\xba\\\\x9b\\\\x80\\\\xea\\\\xd2S\\\\x80@;\\\\xe8\\\\x858\\\\x1f\\\\xed\\\\xd6\\\\xaa\\\\xc2\\\\x02!\\\\x00\\\\xe0\\\\xca\\\\x8aT\\\\x95\\\\xdf\\\\xb9\\\\xdc\\\\xf1\\\\nS~^\\\\xb1\\\\x02\\\"\\\\xc4\\\\xa5\\\\x95\\\\xa2\\\\x11\\\\xd4\\\\xf8J\\\\x00aAL\\r\\n403 Forbidden\\r\\n\\r\\n

    403 Forbidden

    \\r\\n
    cloudflare
    \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\",\"title\":\"403 Forbidden\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":1471629837,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":-2088197660,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{\"vulns\":[],\"heartbleed\":\"2023/08/26 19:21:54 188.114.96.9:443 - SAFE\\n\"},\"port\":443,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"69515b9b-4cbc-46a3-9d87-5b8f667a7c3a\",\"ptr\":true,\"module\":\"https\",\"region\":\"eu\",\"crawler\":\"f84746de6c89bcf60f34a5f0aee149448facfc91\",\"options\":{}},\"domains\":[\"cloudflare.com\",\"cloudflaressl.com\"],\"product\":\"CloudFlare\",\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[\"cdnjs.cloudflare.com\",\"sni.cloudflaressl.com\"],\"timestamp\":\"2023-08-26T19:21:35.776635\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"data\":\"HTTP/1.1 400 Bad Request\\r\\nServer: cloudflare\\r\\nDate: Thu, 17 Aug 2023 17:36:50 GMT\\r\\nContent-Type: text/html\\r\\nContent-Length: 655\\r\\nConnection: close\\r\\nCF-RAY: -\\r\\n\\r\\n\",\"hash\":1752897737,\"http\":{\"waf\":\"Cloudflare (Cloudflare Inc.)\",\"host\":\"188.114.96.9\",\"html\":\"\\r\\n400 The plain HTTP request was sent to HTTPS port\\r\\n\\r\\n

    400 Bad Request

    \\r\\n
    The plain HTTP request was sent to HTTPS port
    \\r\\n
    cloudflare
    \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\",\"title\":\"400 The plain HTTP request was sent to HTTPS port\",\"robots\":null,\"server\":\"cloudflare\",\"status\":400,\"sitemap\":null,\"location\":\"/\",\"html_hash\":141477257,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":96733798,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{},\"port\":2053,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"996f5c99-c660-4619-9c1d-7b6f26fc96f3\",\"module\":\"auto\",\"region\":\"na\",\"crawler\":\"8f9776facb65747441d1d26b112981f75def6d58\",\"options\":{}},\"domains\":[],\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[],\"timestamp\":\"2023-08-17T17:36:50.070056\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"data\":\"HTTP/1.1 403 Forbidden\\r\\nDate: Sat, 02 Sep 2023 17:29:11 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nContent-Length: 5893\\r\\nConnection: close\\r\\nX-Frame-Options: SAMEORIGIN\\r\\nReferrer-Policy: same-origin\\r\\nCache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0\\r\\nExpires: Thu, 01 Jan 1970 00:00:01 GMT\\r\\nVary: Accept-Encoding\\r\\nServer: cloudflare\\r\\nCF-RAY: 800779496dff4636-DFW\\r\\n\\r\\n\",\"hash\":756359919,\"http\":{\"waf\":\"Cloudflare (Cloudflare Inc.)\",\"host\":\"188.114.96.9\",\"html\":\"\\n\\n\\n\\n \\n\\nDirect IP access not allowed | Cloudflare\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n
    \\n
    Please enable cookies.
    \\n
    \\n
    \\n

    \\n Error\\n 1003\\n

    \\n Ray ID: 800779496dff4636 •\\n 2023-09-02 17:29:11 UTC\\n

    Direct IP access not allowed

    \\n
    \\n\\n
    \\n
    \\n

    What happened?

    \\n

    You've requested an IP address that is part of the Cloudflare network. A valid Host header must be supplied to reach the desired website.

    \\n \\n
    \\n\\n \\n
    \\n

    What can I do?

    \\n

    If you are interested in learning more about Cloudflare, please visit our website.

    \\n
    \\n \\n
    \\n\\n
    \\n
    \\n Was this page helpful?\\n \\n \\n
    \\n
    \\n Thank you for your feedback!\\n
    \\n
    \\n\\n\\n \\n\\n\\n
    \\n
    \\n\\n \\n\\n\\n\\n\",\"title\":\"Direct IP access not allowed | Cloudflare\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":1101197795,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":144737606,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{},\"port\":2082,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"34ae2e64-e3fd-4f17-9f24-6b74bdd63c2e\",\"module\":\"http-simple-new\",\"region\":\"na\",\"crawler\":\"85a2598833c03b2cff4b6d747001845f87a89147\",\"options\":{}},\"domains\":[],\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[],\"timestamp\":\"2023-09-02T17:29:11.928111\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"ssl\":{\"alpn\":[],\"cert\":{\"issued\":\"20230703000000Z\",\"issuer\":{\"C\":\"US\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"Cloudflare Inc ECC CA-3\"},\"pubkey\":{\"bits\":256,\"type\":\"dsa\"},\"serial\":2.0515453915550058e+37,\"expired\":false,\"expires\":\"20240702235959Z\",\"sig_alg\":\"ecdsa-with-SHA256\",\"subject\":{\"C\":\"US\",\"L\":\"San Francisco\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"sni.cloudflaressl.com\",\"ST\":\"California\"},\"version\":2,\"extensions\":[{\"data\":\"0\\\\x16\\\\x80\\\\x14\\\\xa5\\\\xce7\\\\xea\\\\xeb\\\\xb0u\\\\x0e\\\\x94g\\\\x88\\\\xb4E\\\\xfa\\\\xd9$\\\\x10\\\\x87\\\\x96\\\\x1f\",\"name\":\"authorityKeyIdentifier\"},{\"data\":\"\\\\x04\\\\x14nS\\\\x87\\\\x04\\\\' \\\\x03\\\\x07\\\\x1d\\\\tIp\\\\xf3\\\\x1f(\\\\xb0C*\\\\xc6\\\\x1d\",\"name\":\"subjectKeyIdentifier\"},{\"data\":\"0E\\\\x82\\\\x16*.cdnjs.cloudflare.com\\\\x82\\\\x14cdnjs.cloudflare.com\\\\x82\\\\x15sni.cloudflaressl.com\",\"name\":\"subjectAltName\"},{\"data\":\"\\\\x03\\\\x02\\\\x07\\\\x80\",\"name\":\"keyUsage\",\"critical\":true},{\"data\":\"0\\\\x14\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x01\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x02\",\"name\":\"extendedKeyUsage\"},{\"data\":\"0r07\\\\xa05\\\\xa03\\\\x861http://crl3.digicert.com/CloudflareIncECCCA-3.crl07\\\\xa05\\\\xa03\\\\x861http://crl4.digicert.com/CloudflareIncECCCA-3.crl\",\"name\":\"crlDistributionPoints\"},{\"data\":\"0503\\\\x06\\\\x06g\\\\x81\\\\x0c\\\\x01\\\\x02\\\\x020)0\\\\'\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x02\\\\x01\\\\x16\\\\x1bhttp://www.digicert.com/CPS\",\"name\":\"certificatePolicies\"},{\"data\":\"0h0$\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x01\\\\x86\\\\x18http://ocsp.digicert.com0@\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x02\\\\x864http://cacerts.digicert.com/CloudflareIncECCCA-3.crt\",\"name\":\"authorityInfoAccess\"},{\"data\":\"0\\\\x00\",\"name\":\"basicConstraints\",\"critical\":true},{\"data\":\"\\\\x04\\\\x82\\\\x01j\\\\x01h\\\\x00u\\\\x00v\\\\xff\\\\x88?\\\\n\\\\xb6\\\\xfb\\\\x95Q\\\\xc2a\\\\xcc\\\\xf5\\\\x87\\\\xba4\\\\xb4\\\\xa4\\\\xcd\\\\xbb)\\\\xdchB\\\\n\\\\x9f\\\\xe6gLZ:t\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8cog\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00F0D\\\\x02 \\\\x11\\\\xd8.\\\\xb2l\\\\xc9\\\\xc4\\\\xb3A\\\\xa7\\\\xbc\\\\x87!EP\\\\xe3{\\\\x01\\\\x86j\\\\x0cA\\\\x82V\\\\xc2\\\\x1b\\\\xa9M$\\\\x8c\\\\x84\\\\x02\\\\x02 k\\\\x8f\\\\xb7\\\\x10\\\\xae\\\\xa0#\\\\x97\\\\x8cY\\\\xb1\\\\x07k]e.M\\\\xb7\\\\xef\\\\x86L\\\\x98.\\\\xc6?\\\\xd4\\\\xf5`-TN\\\\x06\\\\x00v\\\\x00\\\\xda\\\\xb6\\\\xbfk?\\\\xb5\\\\xb6\\\"\\\\x9f\\\\x9b\\\\xc2\\\\xbb\\\\\\\\k\\\\xe8p\\\\x91ql\\\\xbbQ\\\\x84\\\\x854\\\\xbd\\\\xa4=0H\\\\xd7\\\\xfb\\\\xab\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\\\\\\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00G0E\\\\x02!\\\\x00\\\\xf5+\\\\x0b\\\\t\\\\xf7\\\\xe7\\\\x88\\\\x96\\\\x1c\\\\x1a\\\\xe5\\\\x83\\\\xb3\\\\xb6\\\\xc1z\\\\\\\\^\\\\xa0\\\\xa4\\\\xe5Sj\\\\xd3\\\\xc6\\\\xcb\\\\xe7\\\\xfbR\\\\rbY\\\\x02 \\\\x13\\\\xaf\\\\xac\\\\x90\\\\x82\\\\x85\\\\x9ex\\\\xe2r\\\\x13\\\\x12o\\\\xb2\\\\xb9\\\\x18\\\\xf2E/\\\\x9eA\\\\xd8C\\\"\\\\xfd\\\\x8b\\\\xed\\\\x04c`\\\\xc4\\\\xc1\\\\x00w\\\\x00;Swu>-\\\\xb9\\\\x80N\\\\x8b0[\\\\x06\\\\xfe@;g\\\\xd8O\\\\xc3\\\\xf4\\\\xc7\\\\xbd\\\\x00\\\\r-ro\\\\xe1\\\\xfa\\\\xd4\\\\x17\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\x95\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00H0F\\\\x02!\\\\x00\\\\x81\\\\xa0\\\\xc71ra\\\\xa8\\\\xb0\\\\x82\\\\xbf/\\\\x0e\\\\xaeL\\\\xfe\\\\xba\\\\x9b\\\\x80\\\\xea\\\\xd2S\\\\x80@;\\\\xe8\\\\x858\\\\x1f\\\\xed\\\\xd6\\\\xaa\\\\xc2\\\\x02!\\\\x00\\\\xe0\\\\xca\\\\x8aT\\\\x95\\\\xdf\\\\xb9\\\\xdc\\\\xf1\\\\nS~^\\\\xb1\\\\x02\\\"\\\\xc4\\\\xa5\\\\x95\\\\xa2\\\\x11\\\\xd4\\\\xf8J\\\\x00aAL\\r\\n403 Forbidden\\r\\n\\r\\n

    403 Forbidden

    \\r\\n
    cloudflare
    \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\",\"title\":\"403 Forbidden\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":1471629837,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":-2088197660,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{\"vulns\":[],\"heartbleed\":\"2023/09/03 13:42:45 188.114.96.9:2083 - SAFE\\n\"},\"port\":2083,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"a1305870-6744-4676-b869-2fc85a928da7\",\"ptr\":true,\"module\":\"https-simple-new\",\"region\":\"\",\"crawler\":\"91597136eb9b132d7cc954511e0d9cbe7ce2e377\",\"options\":{}},\"domains\":[\"cloudflare.com\",\"cloudflaressl.com\"],\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[\"cdnjs.cloudflare.com\",\"sni.cloudflaressl.com\"],\"timestamp\":\"2023-09-03T13:42:38.190340\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"data\":\"HTTP/1.1 403 Forbidden\\r\\nDate: Tue, 05 Sep 2023 23:03:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nContent-Length: 5892\\r\\nConnection: close\\r\\nX-Frame-Options: SAMEORIGIN\\r\\nReferrer-Policy: same-origin\\r\\nCache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0\\r\\nExpires: Thu, 01 Jan 1970 00:00:01 GMT\\r\\nVary: Accept-Encoding\\r\\nServer: cloudflare\\r\\nCF-RAY: 80221ae499c509ed-LAS\\r\\n\\r\\n\",\"hash\":-1311473370,\"http\":{\"waf\":\"Cloudflare (Cloudflare Inc.)\",\"host\":\"188.114.96.9\",\"html\":\"\\n\\n\\n\\n \\n\\nDirect IP access not allowed | Cloudflare\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n
    \\n
    Please enable cookies.
    \\n
    \\n
    \\n

    \\n Error\\n 1003\\n

    \\n Ray ID: 80221ae499c509ed •\\n 2023-09-05 23:03:21 UTC\\n

    Direct IP access not allowed

    \\n
    \\n\\n
    \\n
    \\n

    What happened?

    \\n

    You've requested an IP address that is part of the Cloudflare network. A valid Host header must be supplied to reach the desired website.

    \\n \\n
    \\n\\n \\n
    \\n

    What can I do?

    \\n

    If you are interested in learning more about Cloudflare, please visit our website.

    \\n
    \\n \\n
    \\n\\n
    \\n
    \\n Was this page helpful?\\n \\n \\n
    \\n
    \\n Thank you for your feedback!\\n
    \\n
    \\n\\n\\n \\n\\n\\n
    \\n
    \\n\\n \\n\\n\\n\\n\",\"title\":\"Direct IP access not allowed | Cloudflare\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":296273452,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":144737606,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{},\"port\":2086,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"a82291f6-c50e-4486-847d-f8be8391c465\",\"ptr\":true,\"module\":\"http-simple-new\",\"region\":\"na\",\"crawler\":\"49217c0cdcbcebaf23c2979ae16d4eba64180b1f\",\"options\":{}},\"domains\":[],\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[],\"timestamp\":\"2023-09-05T23:03:21.067084\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"ssl\":{\"alpn\":[],\"cert\":{\"issued\":\"20230703000000Z\",\"issuer\":{\"C\":\"US\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"Cloudflare Inc ECC CA-3\"},\"pubkey\":{\"bits\":256,\"type\":\"dsa\"},\"serial\":2.0515453915550058e+37,\"expired\":false,\"expires\":\"20240702235959Z\",\"sig_alg\":\"ecdsa-with-SHA256\",\"subject\":{\"C\":\"US\",\"L\":\"San Francisco\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"sni.cloudflaressl.com\",\"ST\":\"California\"},\"version\":2,\"extensions\":[{\"data\":\"0\\\\x16\\\\x80\\\\x14\\\\xa5\\\\xce7\\\\xea\\\\xeb\\\\xb0u\\\\x0e\\\\x94g\\\\x88\\\\xb4E\\\\xfa\\\\xd9$\\\\x10\\\\x87\\\\x96\\\\x1f\",\"name\":\"authorityKeyIdentifier\"},{\"data\":\"\\\\x04\\\\x14nS\\\\x87\\\\x04\\\\' \\\\x03\\\\x07\\\\x1d\\\\tIp\\\\xf3\\\\x1f(\\\\xb0C*\\\\xc6\\\\x1d\",\"name\":\"subjectKeyIdentifier\"},{\"data\":\"0E\\\\x82\\\\x16*.cdnjs.cloudflare.com\\\\x82\\\\x14cdnjs.cloudflare.com\\\\x82\\\\x15sni.cloudflaressl.com\",\"name\":\"subjectAltName\"},{\"data\":\"\\\\x03\\\\x02\\\\x07\\\\x80\",\"name\":\"keyUsage\",\"critical\":true},{\"data\":\"0\\\\x14\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x01\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x02\",\"name\":\"extendedKeyUsage\"},{\"data\":\"0r07\\\\xa05\\\\xa03\\\\x861http://crl3.digicert.com/CloudflareIncECCCA-3.crl07\\\\xa05\\\\xa03\\\\x861http://crl4.digicert.com/CloudflareIncECCCA-3.crl\",\"name\":\"crlDistributionPoints\"},{\"data\":\"0503\\\\x06\\\\x06g\\\\x81\\\\x0c\\\\x01\\\\x02\\\\x020)0\\\\'\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x02\\\\x01\\\\x16\\\\x1bhttp://www.digicert.com/CPS\",\"name\":\"certificatePolicies\"},{\"data\":\"0h0$\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x01\\\\x86\\\\x18http://ocsp.digicert.com0@\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x02\\\\x864http://cacerts.digicert.com/CloudflareIncECCCA-3.crt\",\"name\":\"authorityInfoAccess\"},{\"data\":\"0\\\\x00\",\"name\":\"basicConstraints\",\"critical\":true},{\"data\":\"\\\\x04\\\\x82\\\\x01j\\\\x01h\\\\x00u\\\\x00v\\\\xff\\\\x88?\\\\n\\\\xb6\\\\xfb\\\\x95Q\\\\xc2a\\\\xcc\\\\xf5\\\\x87\\\\xba4\\\\xb4\\\\xa4\\\\xcd\\\\xbb)\\\\xdchB\\\\n\\\\x9f\\\\xe6gLZ:t\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8cog\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00F0D\\\\x02 \\\\x11\\\\xd8.\\\\xb2l\\\\xc9\\\\xc4\\\\xb3A\\\\xa7\\\\xbc\\\\x87!EP\\\\xe3{\\\\x01\\\\x86j\\\\x0cA\\\\x82V\\\\xc2\\\\x1b\\\\xa9M$\\\\x8c\\\\x84\\\\x02\\\\x02 k\\\\x8f\\\\xb7\\\\x10\\\\xae\\\\xa0#\\\\x97\\\\x8cY\\\\xb1\\\\x07k]e.M\\\\xb7\\\\xef\\\\x86L\\\\x98.\\\\xc6?\\\\xd4\\\\xf5`-TN\\\\x06\\\\x00v\\\\x00\\\\xda\\\\xb6\\\\xbfk?\\\\xb5\\\\xb6\\\"\\\\x9f\\\\x9b\\\\xc2\\\\xbb\\\\\\\\k\\\\xe8p\\\\x91ql\\\\xbbQ\\\\x84\\\\x854\\\\xbd\\\\xa4=0H\\\\xd7\\\\xfb\\\\xab\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\\\\\\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00G0E\\\\x02!\\\\x00\\\\xf5+\\\\x0b\\\\t\\\\xf7\\\\xe7\\\\x88\\\\x96\\\\x1c\\\\x1a\\\\xe5\\\\x83\\\\xb3\\\\xb6\\\\xc1z\\\\\\\\^\\\\xa0\\\\xa4\\\\xe5Sj\\\\xd3\\\\xc6\\\\xcb\\\\xe7\\\\xfbR\\\\rbY\\\\x02 \\\\x13\\\\xaf\\\\xac\\\\x90\\\\x82\\\\x85\\\\x9ex\\\\xe2r\\\\x13\\\\x12o\\\\xb2\\\\xb9\\\\x18\\\\xf2E/\\\\x9eA\\\\xd8C\\\"\\\\xfd\\\\x8b\\\\xed\\\\x04c`\\\\xc4\\\\xc1\\\\x00w\\\\x00;Swu>-\\\\xb9\\\\x80N\\\\x8b0[\\\\x06\\\\xfe@;g\\\\xd8O\\\\xc3\\\\xf4\\\\xc7\\\\xbd\\\\x00\\\\r-ro\\\\xe1\\\\xfa\\\\xd4\\\\x17\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\x95\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00H0F\\\\x02!\\\\x00\\\\x81\\\\xa0\\\\xc71ra\\\\xa8\\\\xb0\\\\x82\\\\xbf/\\\\x0e\\\\xaeL\\\\xfe\\\\xba\\\\x9b\\\\x80\\\\xea\\\\xd2S\\\\x80@;\\\\xe8\\\\x858\\\\x1f\\\\xed\\\\xd6\\\\xaa\\\\xc2\\\\x02!\\\\x00\\\\xe0\\\\xca\\\\x8aT\\\\x95\\\\xdf\\\\xb9\\\\xdc\\\\xf1\\\\nS~^\\\\xb1\\\\x02\\\"\\\\xc4\\\\xa5\\\\x95\\\\xa2\\\\x11\\\\xd4\\\\xf8J\\\\x00aAL\\r\\n403 Forbidden\\r\\n\\r\\n

    403 Forbidden

    \\r\\n
    cloudflare
    \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\",\"title\":\"403 Forbidden\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":1471629837,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":-2088197660,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{\"vulns\":[],\"heartbleed\":\"2023/09/03 04:37:19 188.114.96.9:2087 - SAFE\\n\"},\"port\":2087,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"f9fdaf1b-ec27-45bf-a5e2-a761a44a3398\",\"ptr\":true,\"module\":\"https-simple-new\",\"region\":\"eu\",\"crawler\":\"42f86247b760542c0192b61c60405edc5db01d55\",\"options\":{}},\"domains\":[\"cloudflare.com\",\"cloudflaressl.com\"],\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[\"cdnjs.cloudflare.com\",\"sni.cloudflaressl.com\"],\"timestamp\":\"2023-09-03T04:37:15.337068\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"ssl\":{\"alpn\":[],\"cert\":{\"issued\":\"20230703000000Z\",\"issuer\":{\"C\":\"US\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"Cloudflare Inc ECC CA-3\"},\"pubkey\":{\"bits\":256,\"type\":\"dsa\"},\"serial\":2.0515453915550058e+37,\"expired\":false,\"expires\":\"20240702235959Z\",\"sig_alg\":\"ecdsa-with-SHA256\",\"subject\":{\"C\":\"US\",\"L\":\"San Francisco\",\"O\":\"Cloudflare, Inc.\",\"CN\":\"sni.cloudflaressl.com\",\"ST\":\"California\"},\"version\":2,\"extensions\":[{\"data\":\"0\\\\x16\\\\x80\\\\x14\\\\xa5\\\\xce7\\\\xea\\\\xeb\\\\xb0u\\\\x0e\\\\x94g\\\\x88\\\\xb4E\\\\xfa\\\\xd9$\\\\x10\\\\x87\\\\x96\\\\x1f\",\"name\":\"authorityKeyIdentifier\"},{\"data\":\"\\\\x04\\\\x14nS\\\\x87\\\\x04\\\\' \\\\x03\\\\x07\\\\x1d\\\\tIp\\\\xf3\\\\x1f(\\\\xb0C*\\\\xc6\\\\x1d\",\"name\":\"subjectKeyIdentifier\"},{\"data\":\"0E\\\\x82\\\\x16*.cdnjs.cloudflare.com\\\\x82\\\\x14cdnjs.cloudflare.com\\\\x82\\\\x15sni.cloudflaressl.com\",\"name\":\"subjectAltName\"},{\"data\":\"\\\\x03\\\\x02\\\\x07\\\\x80\",\"name\":\"keyUsage\",\"critical\":true},{\"data\":\"0\\\\x14\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x01\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x03\\\\x02\",\"name\":\"extendedKeyUsage\"},{\"data\":\"0r07\\\\xa05\\\\xa03\\\\x861http://crl3.digicert.com/CloudflareIncECCCA-3.crl07\\\\xa05\\\\xa03\\\\x861http://crl4.digicert.com/CloudflareIncECCCA-3.crl\",\"name\":\"crlDistributionPoints\"},{\"data\":\"0503\\\\x06\\\\x06g\\\\x81\\\\x0c\\\\x01\\\\x02\\\\x020)0\\\\'\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x07\\\\x02\\\\x01\\\\x16\\\\x1bhttp://www.digicert.com/CPS\",\"name\":\"certificatePolicies\"},{\"data\":\"0h0$\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x01\\\\x86\\\\x18http://ocsp.digicert.com0@\\\\x06\\\\x08+\\\\x06\\\\x01\\\\x05\\\\x05\\\\x070\\\\x02\\\\x864http://cacerts.digicert.com/CloudflareIncECCCA-3.crt\",\"name\":\"authorityInfoAccess\"},{\"data\":\"0\\\\x00\",\"name\":\"basicConstraints\",\"critical\":true},{\"data\":\"\\\\x04\\\\x82\\\\x01j\\\\x01h\\\\x00u\\\\x00v\\\\xff\\\\x88?\\\\n\\\\xb6\\\\xfb\\\\x95Q\\\\xc2a\\\\xcc\\\\xf5\\\\x87\\\\xba4\\\\xb4\\\\xa4\\\\xcd\\\\xbb)\\\\xdchB\\\\n\\\\x9f\\\\xe6gLZ:t\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8cog\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00F0D\\\\x02 \\\\x11\\\\xd8.\\\\xb2l\\\\xc9\\\\xc4\\\\xb3A\\\\xa7\\\\xbc\\\\x87!EP\\\\xe3{\\\\x01\\\\x86j\\\\x0cA\\\\x82V\\\\xc2\\\\x1b\\\\xa9M$\\\\x8c\\\\x84\\\\x02\\\\x02 k\\\\x8f\\\\xb7\\\\x10\\\\xae\\\\xa0#\\\\x97\\\\x8cY\\\\xb1\\\\x07k]e.M\\\\xb7\\\\xef\\\\x86L\\\\x98.\\\\xc6?\\\\xd4\\\\xf5`-TN\\\\x06\\\\x00v\\\\x00\\\\xda\\\\xb6\\\\xbfk?\\\\xb5\\\\xb6\\\"\\\\x9f\\\\x9b\\\\xc2\\\\xbb\\\\\\\\k\\\\xe8p\\\\x91ql\\\\xbbQ\\\\x84\\\\x854\\\\xbd\\\\xa4=0H\\\\xd7\\\\xfb\\\\xab\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\\\\\\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00G0E\\\\x02!\\\\x00\\\\xf5+\\\\x0b\\\\t\\\\xf7\\\\xe7\\\\x88\\\\x96\\\\x1c\\\\x1a\\\\xe5\\\\x83\\\\xb3\\\\xb6\\\\xc1z\\\\\\\\^\\\\xa0\\\\xa4\\\\xe5Sj\\\\xd3\\\\xc6\\\\xcb\\\\xe7\\\\xfbR\\\\rbY\\\\x02 \\\\x13\\\\xaf\\\\xac\\\\x90\\\\x82\\\\x85\\\\x9ex\\\\xe2r\\\\x13\\\\x12o\\\\xb2\\\\xb9\\\\x18\\\\xf2E/\\\\x9eA\\\\xd8C\\\"\\\\xfd\\\\x8b\\\\xed\\\\x04c`\\\\xc4\\\\xc1\\\\x00w\\\\x00;Swu>-\\\\xb9\\\\x80N\\\\x8b0[\\\\x06\\\\xfe@;g\\\\xd8O\\\\xc3\\\\xf4\\\\xc7\\\\xbd\\\\x00\\\\r-ro\\\\xe1\\\\xfa\\\\xd4\\\\x17\\\\x00\\\\x00\\\\x01\\\\x89\\\\x19\\\\x8co\\\\x95\\\\x00\\\\x00\\\\x04\\\\x03\\\\x00H0F\\\\x02!\\\\x00\\\\x81\\\\xa0\\\\xc71ra\\\\xa8\\\\xb0\\\\x82\\\\xbf/\\\\x0e\\\\xaeL\\\\xfe\\\\xba\\\\x9b\\\\x80\\\\xea\\\\xd2S\\\\x80@;\\\\xe8\\\\x858\\\\x1f\\\\xed\\\\xd6\\\\xaa\\\\xc2\\\\x02!\\\\x00\\\\xe0\\\\xca\\\\x8aT\\\\x95\\\\xdf\\\\xb9\\\\xdc\\\\xf1\\\\nS~^\\\\xb1\\\\x02\\\"\\\\xc4\\\\xa5\\\\x95\\\\xa2\\\\x11\\\\xd4\\\\xf8J\\\\x00aAL\\r\\n403 Forbidden\\r\\n\\r\\n

    403 Forbidden

    \\r\\n
    cloudflare
    \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\",\"title\":\"403 Forbidden\",\"robots\":null,\"server\":\"cloudflare\",\"status\":403,\"sitemap\":null,\"location\":\"/\",\"html_hash\":1471629837,\"redirects\":[],\"components\":{},\"robots_hash\":null,\"securitytxt\":null,\"headers_hash\":-2088197660,\"sitemap_hash\":null,\"securitytxt_hash\":null},\"opts\":{\"vulns\":[],\"heartbleed\":\"2023/08/12 06:20:53 188.114.96.9:8443 - SAFE\\n\"},\"port\":8443,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"a20e3bda-719d-4586-a603-68af98b6bb67\",\"ptr\":true,\"module\":\"https\",\"region\":\"\",\"crawler\":\"91597136eb9b132d7cc954511e0d9cbe7ce2e377\",\"options\":{}},\"domains\":[\"cloudflare.com\",\"cloudflaressl.com\"],\"product\":\"CloudFlare\",\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[\"cdnjs.cloudflare.com\",\"sni.cloudflaressl.com\"],\"timestamp\":\"2023-08-12T06:20:47.191508\",\"transport\":\"tcp\"},{\"ip\":3161612297,\"os\":null,\"asn\":\"AS13335\",\"isp\":\"Cloudflare, Inc.\",\"org\":\"CloudFlare, Inc.\",\"data\":\"HTTP/1.1 403 Forbidden\\r\\nDate: Thu, 31 Aug 2023 13:42:31 GMT\\r\\nContent-Type: text/plain; charset=UTF-8\\r\\nContent-Length: 16\\r\\nConnection: close\\r\\nX-Frame-Options: SAMEORIGIN\\r\\nReferrer-Policy: same-origin\\r\\nCache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0\\r\\nExpires: Thu, 01 Jan 1970 00:00:01 GMT\\r\\nServer: cloudflare\\r\\nCF-RAY: 7ff5b27d5f77316b-DFW\\r\\n\\r\\nerror code: 1003\",\"hash\":-699700262,\"opts\":{},\"port\":8880,\"tags\":[\"cdn\"],\"ip_str\":\"188.114.96.9\",\"_shodan\":{\"id\":\"b7a737bc-0e7f-427a-af61-243dba3f0889\",\"module\":\"https-simple-new\",\"region\":\"na\",\"crawler\":\"85a2598833c03b2cff4b6d747001845f87a89147\",\"options\":{}},\"domains\":[],\"location\":{\"city\":\"San Francisco\",\"latitude\":37.7621,\"area_code\":null,\"longitude\":-122.3971,\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"hostnames\":[],\"timestamp\":\"2023-08-31T13:42:31.262345\",\"transport\":\"tcp\"}],\"tags\":[\"cdn\"],\"ports\":[8880,2082,2083,2053,2086,2087,80,8443,443],\"ip_str\":\"188.114.96.9\",\"domains\":[\"cloudflaressl.com\",\"cloudflare.com\"],\"latitude\":37.7621,\"area_code\":null,\"hostnames\":[\"cdnjs.cloudflare.com\",\"sni.cloudflaressl.com\"],\"longitude\":-122.3971,\"last_update\":\"2023-09-05T23:03:21.067084\",\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\"},\"pairedItem\":{\"item\":0}}],\"Get watched IPs & Ports\":[{\"json\":{\"ip\":\"116.202.106.35\",\"ports\":[5678,80]},\"pairedItem\":{\"item\":0}},{\"json\":{\"ip\":\"188.114.96.9\",\"ports\":[8080,80]},\"pairedItem\":{\"item\":0}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"28b191c5-e23c-42db-9815-6770a2b72260\",\"connections\":{\"For each IP\":{\"main\":[[{\"node\":\"Scan each IP\",\"type\":\"main\",\"index\":0}]]},\"Every Monday\":{\"main\":[[{\"node\":\"Get watched IPs & Ports\",\"type\":\"main\",\"index\":0}]]},\"Scan each IP\":{\"main\":[[{\"node\":\"Split out services\",\"type\":\"main\",\"index\":0}]]},\"Convert to table\":{\"main\":[[{\"node\":\"Convert to Markdown\",\"type\":\"main\",\"index\":0}]]},\"Unexpected port?\":{\"main\":[[{\"node\":\"Set data to post for each port\",\"type\":\"main\",\"index\":0}]]},\"Split out services\":{\"main\":[[{\"node\":\"Unexpected port?\",\"type\":\"main\",\"index\":0}]]},\"Convert to Markdown\":{\"main\":[[{\"node\":\"Create TheHive alert\",\"type\":\"main\",\"index\":0}]]},\"Create TheHive alert\":{\"main\":[[{\"node\":\"For each IP\",\"type\":\"main\",\"index\":0}]]},\"Get watched IPs & Ports\":{\"main\":[[{\"node\":\"For each IP\",\"type\":\"main\",\"index\":0}]]},\"Set data to post for each port\":{\"main\":[[{\"node\":\"Convert to table\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Personalize marketing emails using customer data and AI", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"9681490a-68f1-4c6a-86ea-bf2331c3125d\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-600,1040],\"parameters\":{},\"typeVersion\":1},{\"id\":\"f665f0c6-7694-456f-b877-5f8d69b9f503\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-680,920],\"parameters\":{\"width\":715.3278290432247,\"height\":315.32782904322477,\"content\":\"## Get and prepare Dummy Data\"},\"typeVersion\":1},{\"id\":\"79a9ece6-daa5-4cc0-bfb8-5cf8c9e81296\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[340,480],\"parameters\":{\"width\":520.9323109877616,\"height\":577.5426854600692,\"content\":\"## Let GPT do the heavy work\\n\\nFor the prompt we follow the one-shot'ish principle. Also I've decided to **_NOT_** give the AI the personal data. Keeps it simpler regarding data privacy.\\n\\nThe AI-Chain will generate a **Headline** and the **Text** for the Email and even **decides** if we should send the user a **Coupon**.\"},\"typeVersion\":1},{\"id\":\"51e1bc15-0b9e-4d53-9b99-0ec8ed5e00f8\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2240,620],\"parameters\":{\"width\":358,\"height\":324,\"content\":\"## HTML Email-Template without Coupon\"},\"typeVersion\":1},{\"id\":\"ee29375a-77fe-4d13-a453-c8b62f0884a7\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1100,880],\"parameters\":{\"width\":447,\"height\":465,\"content\":\"## Make sure we have what we need\\nWe do not want to sent empty messages to our customers\"},\"typeVersion\":1},{\"id\":\"37e09224-3649-43e0-a40f-f8177aa93cda\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2240,1140],\"parameters\":{\"width\":369.917435648372,\"height\":330.56011245057107,\"content\":\"## HTML Email-Template with Coupon\"},\"typeVersion\":1},{\"id\":\"5147fe48-606d-4dad-9977-2713f40fc8e6\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1880,1140],\"parameters\":{\"width\":319.84249777513367,\"height\":330.6656654860422,\"content\":\"## Mocked: Fake a Coupon Code\\nFor a real life scenario add the automated coupon generation here\"},\"typeVersion\":1},{\"id\":\"6a3ee9b0-540e-4242-a6ac-535e2b23ea3a\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-680,300],\"parameters\":{\"width\":534.1315466553021,\"height\":566.556517486655,\"content\":\"# Documentation\\n\\nThis Workflow is for the n8n AI / Langchain Competition.\\n\\nIt solves the Problem: Personalizing marketing emails based on customer purchase history.\\n\\nI've found it a bit ambiguous and decided to go the \\\"Convert unhappy customers with a Coupon\\\"-Route.\\n\\nSo this workflow utilizes the new LangChain Node for generating personalized E-Mail campaigns and decide if the user might need a coupon to be satisfied. Classic Rebound stuff. \\n\\nThere is also a Node \\\"Some Options...\\\" which can be adjusted to quickly change the direction this Campaign should go.\\n\\nAdditionally we use n8n to generate the HTML Mails by two different Templates. One with simple text and another for that Coupon handling.\\n\\n![Image](https://let-the-work-flow.com/logo-64.png)\\nEnjoy the Workflow! ❤️ \\nhttps://let-the-work-flow.com\\n\"},\"typeVersion\":1},{\"id\":\"01cf3e60-c280-46c1-9971-ccf63a28ab9a\",\"name\":\"Sticky Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3040,760],\"parameters\":{\"width\":326.9476248855971,\"height\":414.15459581943776,\"content\":\"## Send the Email to the Customer\\n\\nAlthough it's cool that n8n allows sending emails via SMPT I would recommend to stick to your newsletter tool for that to keep track of opt-outs and stuff.\"},\"typeVersion\":1},{\"id\":\"6c458bf6-ea7b-43b5-bc65-d9ae68542a8c\",\"name\":\"Extract from File\",\"type\":\"n8n-nodes-base.extractFromFile\",\"position\":[-160,1040],\"parameters\":{\"options\":{},\"operation\":\"xls\"},\"typeVersion\":1},{\"id\":\"780dd707-4493-4679-9064-acc3c59011f8\",\"name\":\"Some Options for the Campaign\",\"type\":\"n8n-nodes-base.set\",\"position\":[140,1040],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"8ef766db-4ad1-43c7-b621-8ea3ed0a44b2\",\"name\":\"Campaign Target\",\"type\":\"string\",\"value\":\"Engage the Customer\"},{\"id\":\"9f9ce88a-a24a-4a27-8b25-25ee85e730d6\",\"name\":\"Flavour\",\"type\":\"string\",\"value\":\"be friendly and witty but also cool and direct. Critique is valuable and embrace the feedback.\"}]},\"includeOtherFields\":true},\"typeVersion\":3.4},{\"id\":\"3b152bdc-acb8-4f37-8b91-1ab02c0e9532\",\"name\":\"Information Extractor\",\"type\":\"@n8n/n8n-nodes-langchain.informationExtractor\",\"position\":[480,700],\"parameters\":{\"text\":\"=Item Purchased: {{ $json['Item Purchased'] }} \\nFeedback: {{ $json.Feedback }}\\nShould we send a coupon to make the customer happy? Yes/No\",\"options\":{\"systemPromptTemplate\":\"=Determine the sentiment of the given product feedback. Then generate a Headline and Text without salutation or any greeting for a personalized Email Campagin after a User gave a product review. If the user seems not happy, tell them that you have a Coupon for them. The User finds the Coupon Code below this E-mail. \\nThe target of the campagin: {{ $json['Campaign Target'] }}.\\nRemember: {{ $json['Flavour'] }}. Avoid any greeting.\\n\"},\"schemaType\":\"manual\",\"inputSchema\":\"{\\n \\\"type\\\": \\\"object\\\",\\n \\\"required\\\": [\\\"Headline\\\",\\\"Body\\\",\\\"SendCoupon\\\"],\\n \\\"properties\\\": {\\n \\\"Headline\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"Body\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"SendCoupon\\\": {\\n \\\"type\\\": \\\"boolean\\\"\\n }\\n }\\n}\"},\"typeVersion\":1},{\"id\":\"f597a54e-27e9-46e8-b9d5-46dd54406803\",\"name\":\"OpenAI Chat Model1\",\"type\":\"@n8n/n8n-nodes-langchain.lmChatOpenAi\",\"position\":[480,880],\"parameters\":{\"model\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gpt-4o-mini\"},\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"8gccIjcuf3gvaoEr\",\"name\":\"OpenAi account\"}},\"typeVersion\":1.2},{\"id\":\"716e4281-cf18-4cc7-b5ed-4de0308bf9aa\",\"name\":\"AI did fail us1\",\"type\":\"n8n-nodes-base.stopAndError\",\"position\":[1380,1180],\"parameters\":{\"errorMessage\":\"Unexpected Langchain Output\"},\"typeVersion\":1},{\"id\":\"1dc51ad5-e605-4cad-9a5b-3b20eabd9797\",\"name\":\"Fake coupon\",\"type\":\"n8n-nodes-base.set\",\"position\":[1980,1280],\"parameters\":{\"options\":{},\"assignments\":{\"assignments\":[{\"id\":\"73989d0e-667f-4227-ab41-4eb1e8c1c10e\",\"name\":\"Coupon\",\"type\":\"string\",\"value\":\"F4k3ItT1llY0uM4k3It\"},{\"id\":\"4d86d8c8-1be3-40b0-b4fd-09f9ffc24386\",\"name\":\"Coupon Value\",\"type\":\"string\",\"value\":\"20% of any purchase\"},{\"id\":\"f73b8a70-5bf6-45c2-8061-d10f95b199a8\",\"name\":\"Coupon Terms\",\"type\":\"string\",\"value\":\"=Valid until {{ $today.plus({days: 14}).format(\\\"d. MMM. y\\\") }} | minimum purchase amount: 20$ \"}]},\"includeOtherFields\":true},\"typeVersion\":3.4},{\"id\":\"dfa6b376-dd66-40f1-8626-0f3f04e4c4bd\",\"name\":\"Download dummy data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-380,1040],\"parameters\":{\"url\":\"https://let-the-work-flow.com/dummy/n8n-contest-merch.xlsx\",\"options\":{}},\"typeVersion\":4.2},{\"id\":\"a95ce7c4-c592-40c7-9dfa-db0e37d5b71f\",\"name\":\"AI Output + Prev Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[940,1040],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combineBy\":\"combineByPosition\"},\"typeVersion\":3},{\"id\":\"bb0474a1-425c-4a02-a13e-385272091189\",\"name\":\"Is the result valid?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1160,1040],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"version\":2,\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"9b4ced26-dd86-4ae4-8f69-6177ec42c827\",\"operator\":{\"type\":\"string\",\"operation\":\"notEmpty\",\"singleValue\":true},\"leftValue\":\"Headline\",\"rightValue\":\"\"},{\"id\":\"7723102c-43d2-48df-82f6-5bb45ddf615c\",\"operator\":{\"type\":\"string\",\"operation\":\"notEmpty\",\"singleValue\":true},\"leftValue\":\"Body\",\"rightValue\":\"\"}]}},\"typeVersion\":2.2},{\"id\":\"b39e0b98-6824-4265-94a0-fe12154f2ad4\",\"name\":\"Coupon them or not to Coupon them\",\"type\":\"n8n-nodes-base.if\",\"position\":[1620,1040],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"version\":2,\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"967f37a1-a600-46a2-82cf-f340dd3c7a96\",\"operator\":{\"type\":\"boolean\",\"operation\":\"true\",\"singleValue\":true},\"leftValue\":\"={{ $json.SendCoupon }}\",\"rightValue\":\"\"}]}},\"typeVersion\":2.2},{\"id\":\"13c4426f-f522-4127-b899-7e6397e18182\",\"name\":\"Html Template for our Email\",\"type\":\"n8n-nodes-base.html\",\"position\":[2360,740],\"parameters\":{\"html\":\"\\n\\n\\n \\n {{ $json['Headline'] }}\\n\\n\\n
    \\n \\n

    Hey {{ $json['Custome Name'] ? $json['Custome Name']+', ' : '!' }}

    \\n

    {{ $json['Body'] }}

    \\n \\n
    \\n

    \\n Definitely not a real company Lmt.
    \\n Also not a real street 123
    \\n Unreal Town\\n

    \\n
    \\n
    \\n \\n \\n\\n\\n\\n\"},\"typeVersion\":1.2},{\"id\":\"71e36c09-6e24-4eb2-9b1a-4fb3bb4b4536\",\"name\":\"The composed E-Mail + Prev Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2740,860],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combineBy\":\"combineByPosition\"},\"typeVersion\":3},{\"id\":\"a2b6ec8e-1bcf-4216-b9b6-476c0d82f706\",\"name\":\"Html Template for our Email with a Coupon\",\"type\":\"n8n-nodes-base.html\",\"position\":[2360,1280],\"parameters\":{\"html\":\"\\n\\n\\n \\n {{ $json.output['Headline'] }}\\n\\n\\n
    \\n \\n

    Hey {{ $json['Custome Name'] ? $json['Custome Name']+', ' : '!' }}

    \\n

    {{ $json.output['Body'] }}

    \\n \\n
    \\n

    Here's a Coupon for you!
    \\n {{ $json['Coupon Value'] }}

    \\n

    {{ $json['Coupon'] }}

    \\n

    {{ $json['Coupon Terms'] }}

    \\n
    \\n
    \\n

    \\n Definitely not a real company Lmt.
    \\n Also not a real street 123
    \\n Unreal Town\\n

    \\n
    \\n
    \\n \\n \\n\\n\\n\\n\"},\"typeVersion\":1.2},{\"id\":\"2d5dd858-cf61-4136-b405-e6ad4a372725\",\"name\":\"The composed E-Mail with Coupon + Prev Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2740,1040],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combineBy\":\"combineByPosition\"},\"typeVersion\":3},{\"id\":\"5b1606b4-903a-4e90-8cf6-01fd92006195\",\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[3140,960],\"webhookId\":\"a155d7b3-39b1-4a96-adc5-4f8e984506ec\",\"parameters\":{\"html\":\"={{ $json.html }}\",\"options\":{},\"subject\":\"={{ $json.output.Headline }}\",\"toEmail\":\"={{ $json.Email }}\",\"fromEmail\":\"n8n@myemail.com\"},\"credentials\":{\"smtp\":{\"id\":\"EagS3depRLAKo3Sw\",\"name\":\"Greenmail SMTP account (bob@example.com)\"}},\"typeVersion\":2.1}],\"pinData\":{},\"connections\":{\"Fake coupon\":{\"main\":[[{\"node\":\"Html Template for our Email with a Coupon\",\"type\":\"main\",\"index\":0}]]},\"Extract from File\":{\"main\":[[{\"node\":\"Some Options for the Campaign\",\"type\":\"main\",\"index\":0}]]},\"OpenAI Chat Model1\":{\"ai_languageModel\":[[{\"node\":\"Information Extractor\",\"type\":\"ai_languageModel\",\"index\":0}]]},\"Download dummy data\":{\"main\":[[{\"node\":\"Extract from File\",\"type\":\"main\",\"index\":0}]]},\"Is the result valid?\":{\"main\":[[{\"node\":\"Coupon them or not to Coupon them\",\"type\":\"main\",\"index\":0}],[{\"node\":\"AI did fail us1\",\"type\":\"main\",\"index\":0}]]},\"AI Output + Prev Data\":{\"main\":[[{\"node\":\"Is the result valid?\",\"type\":\"main\",\"index\":0}]]},\"Information Extractor\":{\"main\":[[{\"node\":\"AI Output + Prev Data\",\"type\":\"main\",\"index\":0}]]},\"Html Template for our Email\":{\"main\":[[{\"node\":\"The composed E-Mail + Prev Data\",\"type\":\"main\",\"index\":0}]]},\"Some Options for the Campaign\":{\"main\":[[{\"node\":\"Information Extractor\",\"type\":\"main\",\"index\":0},{\"node\":\"AI Output + Prev Data\",\"type\":\"main\",\"index\":1}]]},\"The composed E-Mail + Prev Data\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Download dummy data\",\"type\":\"main\",\"index\":0}]]},\"Coupon them or not to Coupon them\":{\"main\":[[{\"node\":\"Html Template for our Email\",\"type\":\"main\",\"index\":0},{\"node\":\"The composed E-Mail + Prev Data\",\"type\":\"main\",\"index\":1}],[{\"node\":\"Fake coupon\",\"type\":\"main\",\"index\":0},{\"node\":\"The composed E-Mail with Coupon + Prev Data\",\"type\":\"main\",\"index\":0}]]},\"Html Template for our Email with a Coupon\":{\"main\":[[{\"node\":\"The composed E-Mail with Coupon + Prev Data\",\"type\":\"main\",\"index\":1}]]},\"The composed E-Mail with Coupon + Prev Data\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Artificial Intelligence Reddit n8n assistance detector", "output": "{\"meta\":{\"instanceId\":\"3c58c896c9089c8fb4d7f2b069bf3119193f239a1f538829758e2f4d6b5f5b24\"},\"nodes\":[{\"id\":\"d0ad226e-2d85-4e06-b6fa-8b2cc8fc90b5\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[700,320],\"parameters\":{},\"typeVersion\":1},{\"id\":\"39121541-d712-41f6-9377-6272cee44e0b\",\"name\":\"Get posts from r/n8n\",\"type\":\"n8n-nodes-base.reddit\",\"position\":[900,320],\"parameters\":{\"filters\":{},\"operation\":\"getAll\",\"subreddit\":\"n8n\"},\"credentials\":{\"redditOAuth2Api\":{\"id\":\"26\",\"name\":\"Reddit account\"}},\"typeVersion\":1},{\"id\":\"c4a09dbc-7c94-4613-9f5b-fe0791e4eb48\",\"name\":\"Asking for help/assistance?\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1300,320],\"parameters\":{\"prompt\":{\"messages\":[{\"content\":\"=I am going to send you a social media comment about software called n8n. Can you tell me if the author is asking for help in using n8n?\\nThis is the post: \\n\\\"{{ $json.selftext || $json.title }}\\\"\\nYour answer should be just 'yes' or 'no'.\"}]},\"options\":{},\"resource\":\"chat\"},\"credentials\":{\"openAiApi\":{\"id\":\"18\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"dabd7210-7202-4573-95ad-68b553190618\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[1500,320],\"parameters\":{\"jsCode\":\"return $('Get only recent posts with < 3 comments').all().filter((itm) => {\\n const index = $('Get only recent posts with < 3 comments').all().indexOf(itm);\\n const result = $input.all()[index].json.message.content;\\n \\n return result.toLowerCase().startsWith('yes');\\n});\"},\"typeVersion\":1},{\"id\":\"632955e8-0974-463a-a901-399703b6afab\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1720,320],\"parameters\":{\"text\":\"=🆘 Reddit user *{{ $json.author_fullname }}* just asked for help:\\n> {{ $json.title }}\\n```\\n{{ $json.selftext || '-- Empty message --' }}\\n```\\n\\n\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"C054U2YJ3CN\",\"cachedResultName\":\"slack-message-test\"},\"otherOptions\":{\"mrkdwn\":true},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":{\"id\":\"21\",\"name\":\"Slack account\"}},\"typeVersion\":2},{\"id\":\"c9b8e0a9-d5cb-4102-b56a-dfbfa86089e5\",\"name\":\"Get only recent posts with < 3 comments\",\"type\":\"n8n-nodes-base.code\",\"position\":[1100,320],\"parameters\":{\"jsCode\":\"return $input.all().filter((itm) => {\\n return itm.json.created > $now.minus({ days: 105 }).toSeconds() \\n && itm.json.num_comments <= 3;\\n});\"},\"typeVersion\":1}],\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Get posts from r/n8n\":{\"main\":[[{\"node\":\"Get only recent posts with < 3 comments\",\"type\":\"main\",\"index\":0}]]},\"Asking for help/assistance?\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Get posts from r/n8n\",\"type\":\"main\",\"index\":0}]]},\"Get only recent posts with < 3 comments\":{\"main\":[[{\"node\":\"Asking for help/assistance?\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Use an open-source LLM (via HuggingFace)", "output": "{\"meta\":{\"instanceId\":\"408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9\",\"templateCredsSetupCompleted\":true},\"nodes\":[{\"id\":\"27e5f0c0-ba88-4c28-b3be-99c973be15cb\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-480,-140],\"parameters\":{\"width\":1083,\"height\":357,\"content\":\"## This is an example of basic LLM Chain connected to an open-source model\\n### The Chain is connected to the Mistral-7B-Instruct-v0.1 model, but you can change this\\n\\nPlease note the initial prompt that guides the model:\\n```\\nYou are a helpful assistant.\\nPlease reply politely to the users.\\nUse emojis and a text.\\nQ: {{ $json.input }}\\nA: \\n```\\n\\nThis way the model \\\"knows\\\" that it needs to answer the question right after the `A: `.\\n\\nSince Hugging Face node is this is an inference mode, it does not support LangChain Agents at the moment. Please use [Ollama Chat Model](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatollama/) node for that\"},\"typeVersion\":1},{\"id\":\"4756d5a8-7027-4942-b214-a5ff8310869a\",\"name\":\"When chat message received\",\"type\":\"@n8n/n8n-nodes-langchain.chatTrigger\",\"position\":[-200,280],\"webhookId\":\"bf2e38b8-566a-4aeb-8efe-28240f4a6991\",\"parameters\":{\"options\":{}},\"typeVersion\":1.1},{\"id\":\"20a36351-8579-4ac6-9746-526b072aeaa6\",\"name\":\"Basic LLM Chain\",\"type\":\"@n8n/n8n-nodes-langchain.chainLlm\",\"position\":[20,280],\"parameters\":{\"messages\":{\"messageValues\":[{\"message\":\"=You are a helpful assistant. Please reply politely to the users. Use emojis and a text.\"}]}},\"typeVersion\":1.5},{\"id\":\"9b88e307-3ad5-4167-8c5f-e5827f7444ac\",\"name\":\"Hugging Face Inference Model\",\"type\":\"@n8n/n8n-nodes-langchain.lmOpenHuggingFaceInference\",\"position\":[120,440],\"parameters\":{\"model\":\"mistralai/Mistral-7B-Instruct-v0.1\",\"options\":{\"maxTokens\":512,\"temperature\":0.8,\"frequencyPenalty\":2}},\"credentials\":{\"huggingFaceApi\":{\"id\":\"ARQ5mOhvBxi283Qk\",\"name\":\"HuggingFaceApi account\"}},\"typeVersion\":1}],\"pinData\":{},\"connections\":{\"When chat message received\":{\"main\":[[{\"node\":\"Basic LLM Chain\",\"type\":\"main\",\"index\":0}]]},\"Hugging Face Inference Model\":{\"ai_languageModel\":[[{\"node\":\"Basic LLM Chain\",\"type\":\"ai_languageModel\",\"index\":0}]]}}}" }, { "input": "This is the best workflow ever created by the best creator ever", "output": "{\"meta\":{\"instanceId\":\"cb484ba7b742928a2048bf8829668bed5b5ad9787579adea888f05980292a4a7\"},\"nodes\":[{\"id\":\"fde392e0-aa3e-4546-b288-cdd67c2b8502\",\"name\":\"Start\",\"type\":\"n8n-nodes-base.start\",\"position\":[880,180],\"parameters\":{},\"typeVersion\":1},{\"id\":\"dddd14f9-adce-4164-be47-be111eac315c\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[1080,180],\"webhookId\":\"43c693df-8630-487d-aea9-e13d78afbfc4\",\"parameters\":{\"path\":\"43c693df-8630-487d-aea9-e13d78afbfc4\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"8ecfd855-1a2e-401b-910f-e30353b146de\",\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"disabled\":true,\"position\":[1960,400],\"parameters\":{\"channelId\":\"6hreryrg5fgj3ntsjyug4xnaga\",\"attachments\":[{\"text\":\"=Workflow created by \\\"{{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\\\"\",\"title\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"workflow\\\"][\\\"name\\\"]}}\",\"title_link\":\"=https://n8n.io/workflows/{{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"workflow\\\"][\\\"id\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{},\"typeVersion\":1},{\"id\":\"0c2ddbab-9995-4ae3-a717-daa12fa1e8c3\",\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1280,180],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"jan\",\"value2\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\"},{\"value1\":\"jon-n8n\",\"value2\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\"},{\"value1\":\"harshil1712\",\"value2\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\"},{\"value1\":\"tephlon\",\"value2\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\"},{\"value1\":\"mutedjam\",\"value2\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\"},{\"value1\":\"deborah\",\"value2\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"b6dabf4e-2ae3-4296-ba61-c774bed07e7a\",\"name\":\"Set update vars\",\"type\":\"n8n-nodes-base.set\",\"position\":[1720,160],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"workflow\\\"][\\\"id\\\"]}}\"}],\"boolean\":[{\"name\":\"hidden\"}]},\"options\":{}},\"typeVersion\":1},{\"id\":\"633f901c-acba-48d0-a62a-5b086768765f\",\"name\":\"Unhide staff workflows\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[1960,160],\"parameters\":{\"table\":\"workflows\",\"columns\":\"hidden\",\"operation\":\"update\",\"updateKey\":\"id:int\",\"additionalFields\":{}},\"credentials\":{},\"typeVersion\":1},{\"id\":\"b8ebdeec-695d-496b-93ce-865416ee770b\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1740,360],\"parameters\":{\"channel\":\"updates-workflow-templates\",\"attachments\":[{\"text\":\"=Workflow created by \\\"{{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"user\\\"][\\\"username\\\"]}}\\\"\",\"title\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"workflow\\\"][\\\"name\\\"]}}\",\"title_link\":\"=https://n8n.io/workflows/{{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"workflow\\\"][\\\"id\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"114\",\"name\":\"n8n Slack\"}},\"typeVersion\":1},{\"id\":\"5499308b-c3fa-49c3-8bf4-ec1c46154917\",\"name\":\"Linear\",\"type\":\"n8n-nodes-base.linear\",\"position\":[1740,560],\"parameters\":{\"title\":\"=[test] Review '{{ $json.body.workflow.name.substring(0, 40) }}{{ $json.body.workflow.name.length > 40 ? '...' : '' }}' by {{ $json.body.user.username }}\",\"teamId\":\"485f69d8-fab4-4c23-aa22-df3b26bd8ab5\",\"additionalFields\":{\"stateId\":\"c2f689f1-07cd-4a55-b317-3a45234f0dfc\",\"description\":\"=New WF Template submitted by {{ $json.body.user.username }} via Template Creator portal on {{ DateTime.local() }}\\n\\nLink to strapi: https://api.n8n.io/n8n-secret-admin/content-manager/collectionType/api::workflow.workflow/{{ $json.body.workflow.id }}\\n\\n— \\nCreator's email (for contacting): {{ $json.body.user.email }}\"}},\"credentials\":{\"linearApi\":{\"id\":\"mTq2GO448t0D0hj1\",\"name\":\"Milorad's API Key\"}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set update vars\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0},{\"node\":\"Linear\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Set update vars\":{\"main\":[[{\"node\":\"Unhide staff workflows\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Just milorad demoing", "output": "{\"meta\":{\"instanceId\":\"4a31be0d29cfa6246ba62b359030d712af57b98c5dfe6a7ee8beee0a46c5b5a4\"},\"nodes\":[{\"id\":\"71da51d2-9942-4339-80b5-8a804fc8f4dc\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[780,620],\"parameters\":{},\"typeVersion\":1},{\"id\":\"8f0a401a-96b7-436c-85a9-d2c36e797cac\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[1140,620],\"parameters\":{\"jsCode\":\"// Loop over input items and add a new field called 'myNewField' to the JSON of each one\\nfor (const item of $input.all()) {\\n item.json.myNewField = 12;\\n}\\n\\nreturn $input.all();\"},\"typeVersion\":2}],\"connections\":{\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "[test] do something wf", "output": "{\"meta\":{\"instanceId\":\"eb942d81d935d90f3b53c7cbded84f6c85f825a54dca99f29347708d8c639f6b\"},\"nodes\":[{\"id\":\"ee7c4e25-6018-4e9c-9b97-4d77c3eef75b\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[600,340],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Capture an email and add it as a new row in Google Spreadsheets.", "output": "{\"nodes\":[{\"id\":\"9c991fe0-452b-408b-8e0b-c107155537ee\",\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[840,240],\"parameters\":{\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"\"}},\"credentials\":{},\"typeVersion\":4.1},{\"id\":\"bb22e2e6-6764-439c-9923-3ebb6f77efcc\",\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmailTrigger\",\"position\":[600,240],\"parameters\":{\"filters\":{},\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"credentials\":{},\"typeVersion\":1}],\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "RSS Telegram bot", "output": "{\"id\":\"3\",\"name\":\"rss-telegram\",\"nodes\":[{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[480,220],\"parameters\":{\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[610,220],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\n// Access its data\\nconst oldlink = staticData.oldlink;\\n\\nitems[0].json.oldlink = oldlink || \\\"\\\";\\n\\n// Update its data\\nstaticData.oldlink = items[0].json.link;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[180,290],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"是否重复\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"判断链接是否相同\",\"position\":[750,220],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Function\\\"].data[\\\"oldlink\\\"]}}\",\"value2\":\"={{$node[\\\"Function\\\"].data[\\\"link\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"写入图片的属性\",\"type\":\"n8n-nodes-base.function\",\"position\":[910,220],\"parameters\":{\"functionCode\":\"function imgList(items) {\\n let imgReg = /|\\\\/>)/gi //匹配图片中的img标签\\n let srcReg = /src=[\\\\'\\\\\\\"]?([^\\\\'\\\\\\\"]*)[\\\\'\\\\\\\"]?/i // 匹配图片中的src\\n let str = items[0].json.content\\n let arr = str.match(imgReg) //筛选出所有的img\\n let srcArr = []\\n if(arr !== null){\\n for (let i = 0; i < arr.length; i++) {\\n let src = arr[i].match(srcReg)\\n // 获取图片地址\\n srcArr.push(src[1])\\n }\\n items[0].json.arrlength = arr.length;\\n items[0].json.imgList = srcArr;\\n } else {\\n items[0].json.arrlength = 0;\\n }\\n \\n }\\nimgList(items)\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"图片数量判断\",\"type\":\"n8n-nodes-base.if\",\"position\":[1060,220],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].data[\\\"arrlength\\\"]}}\",\"value2\":1,\"operation\":\"equal\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"一张图片\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1270,80],\"parameters\":{\"file\":\"={{$node[\\\"图片数量判断\\\"].data[\\\"imgList\\\"][0]}}\",\"chatId\":\"-1001314058276\",\"operation\":\"sendPhoto\",\"additionalFields\":{\"caption\":\"={{$node[\\\"图片数量判断\\\"].data[\\\"contentSnippet\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"lataimei\"},\"typeVersion\":1},{\"name\":\"其他状况\",\"type\":\"n8n-nodes-base.telegram\",\"notes\":\"无图片\",\"position\":[1270,230],\"parameters\":{\"text\":\"={{$node[\\\"图片数量判断\\\"].data[\\\"contentSnippet\\\"]}} {{$node[\\\"图片数量判断\\\"].data[\\\"link\\\"]}}\",\"chatId\":\"-1001314058276\",\"additionalFields\":{\"parse_mode\":\"HTML\",\"disable_web_page_preview\":true}},\"credentials\":{\"telegramApi\":\"lataimei\"},\"typeVersion\":1},{\"name\":\"NaN\",\"type\":\"n8n-nodes-base.function\",\"position\":[910,370],\"parameters\":{\"functionCode\":\"function imgList(items) {\\n let imgReg = /|\\\\/>)/gi //匹配图片中的img标签\\n let srcReg = /src=[\\\\'\\\\\\\"]?([^\\\\'\\\\\\\"]*)[\\\\'\\\\\\\"]?/i // 匹配图片中的src\\n let str = items[0].json.content\\n let arr = str.match(imgReg) //筛选出所有的img\\n let srcArr = []\\n if(arr !== null){\\n for (let i = 0; i < arr.length; i++) {\\n let src = arr[i].match(srcReg)\\n // 获取图片地址\\n srcArr.push(src[1])\\n }\\n items[0].json.arrlength = arr.length;\\n items[0].json.imgList = srcArr;\\n } else {\\n items[0].json.arrlength = 0;\\n }\\n \\n }\\nimgList(items)\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[480,370],\"parameters\":{\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Function1\",\"type\":\"n8n-nodes-base.function\",\"position\":[610,370],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\n\\n// Access its data\\nconst tsaioldlink = staticData.tsaioldlink;\\n\\nitems[0].json.tsaioldlink = tsaioldlink || \\\"\\\";\\n\\n// Update its data\\nstaticData.tsaioldlink = items[0].json.link;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[750,370],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Function1\\\"].data[\\\"tsaioldlink\\\"]}}\",\"value2\":\"={{$node[\\\"Function1\\\"].data[\\\"link\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[1060,370],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":1,\"value2\":\"=0\",\"operation\":\"equal\"}]}},\"typeVersion\":1},{\"name\":\"send\",\"type\":\"n8n-nodes-base.telegram\",\"notes\":\"无图片\",\"position\":[1270,380],\"parameters\":{\"file\":\"={{$node[\\\"IF1\\\"].data[\\\"imgList\\\"][0]}}\",\"chatId\":\"-1001499587010\",\"operation\":\"sendPhoto\",\"additionalFields\":{\"caption\":\"={{$node[\\\"IF1\\\"].data[\\\"contentSnippet\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"lataimei\"},\"typeVersion\":1},{\"name\":\"instagram rss\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[360,370],\"parameters\":{\"url\":\"=https://rsshub985.herokuapp.com/instagram/user/tsai_ingwen/\"},\"typeVersion\":1},{\"name\":\"weibo rss\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[360,220],\"parameters\":{\"url\":\"=https://rsshub985.herokuapp.com/weibo/user/5721376081\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1270,530],\"parameters\":{\"file\":\"={{$node[\\\"IF1\\\"].data[\\\"imgList\\\"][0]}}\",\"chatId\":\"-1001499587010\",\"operation\":\"sendPhoto\",\"additionalFields\":{\"caption\":\"={{$node[\\\"IF1\\\"].data[\\\"contentSnippet\\\"]}} {{$node[\\\"IF1\\\"].data[\\\"link\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"lataimei\"},\"typeVersion\":1},{\"name\":\"test\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[180,130],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[],[{\"node\":\"NaN\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"send\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"NaN\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"test\":{\"main\":[[{\"node\":\"instagram rss\",\"type\":\"main\",\"index\":0},{\"node\":\"weibo rss\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"weibo rss\",\"type\":\"main\",\"index\":0},{\"node\":\"instagram rss\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"是否重复\",\"type\":\"main\",\"index\":0}]]},\"Function1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"weibo rss\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"是否重复\":{\"main\":[[],[{\"node\":\"写入图片的属性\",\"type\":\"main\",\"index\":0}]]},\"instagram rss\":{\"main\":[[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"Function1\",\"type\":\"main\",\"index\":0}]]},\"图片数量判断\":{\"main\":[[{\"node\":\"一张图片\",\"type\":\"main\",\"index\":0}],[{\"node\":\"其他状况\",\"type\":\"main\",\"index\":0}]]},\"写入图片的属性\":{\"main\":[[{\"node\":\"图片数量判断\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Save Telegram Messages in ClickHouse", "output": "{\"id\":\"UskDI08E4ZYLvI4Z\",\"meta\":{\"instanceId\":\"48e98d95aab2af437c32c405e45972f4530dc31ea677ecacdd27272a056e4d7b\"},\"name\":\"Guardar Mensajes\",\"tags\":[],\"nodes\":[{\"id\":\"1de19405-fe9c-458e-8d84-34769cbb2444\",\"name\":\"GuardarDatos\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1200,220],\"parameters\":{\"url\":\"={{ $json.CH_URL }}\",\"body\":\"=INSERT INTO tgresumes.mensajes (Usuario, Nombre, Mensaje, Fecha, ID_Mensaje, ID_Tema, Nombre_Tema, MensajeLink, Grupo) VALUES ('{{ $json[\\\"Usuario\\\"] }}', '{{ $json[\\\"Nombre\\\"]}}', '{{$json[\\\"Mensaje\\\"]}}', '{{ $json[\\\"Fecha\\\"]}}', '{{ $json[\\\"ID_Mensaje\\\"]}}', '{{$json[\\\"ID_Tema\\\"] }}', '{{ $json[\\\"Nombre_Tema\\\"] }}', '{{ $json[\\\"MensajeLink\\\"]}}/{{ $json[\\\"ID_Tema\\\"] }}/{{ $json[\\\"ID_Mensaje\\\"] }}', '{{ $json[\\\"Grupo\\\"] }}');\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"contentType\":\"raw\",\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpBasicAuth\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"YHZB26HlAbQBR1oy\",\"name\":\"ClickHouse\"}},\"typeVersion\":4.1},{\"id\":\"1cbfaca8-1f7e-4b8a-9807-69aa6da0fe3d\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[380,100],\"parameters\":{\"width\":1382.9905999014677,\"height\":642.6245608565628,\"content\":\"## Flujo de Trabajo para Guardar Mensajes de Telegram en ClickHouse\\n\\nEste flujo de trabajo está diseñado para capturar y almacenar mensajes de Telegram en una base de datos ClickHouse, proporcionando una solución eficiente para el análisis de datos de chat. Sigue estos pasos para configurarlo:\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n1. **Configuración del Nodo 'Registrar Mensajes'**:\\n - Asegúrate de que tu bot de Telegram esté configurado como administrador en los grupos que deseas monitorear. Esto es crucial para que el bot pueda acceder a los mensajes.\\n - Desactiva los permisos de privacidad del bot. Esto le permitirá leer todos los mensajes del grupo, lo cual es necesario para registrarlos adecuadamente.\\n\\n2. **Ajustes en el Nodo 'Configuración'**:\\n - Aquí, necesitas configurar la conexión con tu instancia de ClickHouse.\\n - Edita los detalles en `CH_URL` con la URL de tu servidor ClickHouse. Asegúrate de que la URL sea correcta y accesible desde donde se ejecuta n8n.\\n\\n3. **Configuración del Nodo 'Guardar Datos'**:\\n - En este nodo, vas a establecer las credenciales para acceder a ClickHouse.\\n - Ingresa el usuario (`CH_User`) y la contraseña (`CH_Password`) de tu instancia de ClickHouse. Estos detalles son esenciales para que n8n pueda almacenar los datos recogidos en la base de datos.\\n\\nSiguiendo estos pasos, podrás establecer un flujo de trabajo efectivo para recopilar y almacenar mensajes de Telegram en ClickHouse, facilitando el análisis y la gestión de los datos de chat.\\n\"},\"typeVersion\":1},{\"id\":\"6b3f9c98-4d9a-4d71-a19f-68f09cfb8553\",\"name\":\"Configuración\",\"type\":\"n8n-nodes-base.set\",\"position\":[1000,220],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"CH_URL\",\"stringValue\":\"http://161.97.168.238:8123\"},{\"name\":\"Usuario\",\"stringValue\":\"=@{{$json[\\\"message\\\"] && $json[\\\"message\\\"][\\\"from\\\"] && $json[\\\"message\\\"][\\\"from\\\"][\\\"username\\\"] ? $json[\\\"message\\\"][\\\"from\\\"][\\\"username\\\"] : ($json[\\\"edited_message\\\"] && $json[\\\"edited_message\\\"][\\\"from\\\"] && $json[\\\"edited_message\\\"][\\\"from\\\"][\\\"username\\\"] ? $json[\\\"edited_message\\\"][\\\"from\\\"][\\\"username\\\"] : \\\"\\\")}}\"},{\"name\":\"Nombre\",\"stringValue\":\"={{$json[\\\"message\\\"] && $json[\\\"message\\\"][\\\"from\\\"] && $json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"] ? $json[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"] : ($json[\\\"edited_message\\\"] && $json[\\\"edited_message\\\"][\\\"from\\\"] && $json[\\\"edited_message\\\"][\\\"from\\\"][\\\"first_name\\\"] ? $json[\\\"edited_message\\\"][\\\"from\\\"][\\\"first_name\\\"] : \\\"\\\")}}\"},{\"name\":\"Mensaje\",\"stringValue\":\"={{$json[\\\"message\\\"] && $json[\\\"message\\\"][\\\"text\\\"] ? $json[\\\"message\\\"][\\\"text\\\"] : ($json[\\\"edited_message\\\"] && $json[\\\"edited_message\\\"][\\\"text\\\"] ? $json[\\\"edited_message\\\"][\\\"text\\\"] : \\\"\\\")}}\"},{\"name\":\"Fecha\",\"stringValue\":\"={{$now.toFormat('y-M-d HH:mm:ss')}}\"},{\"name\":\"ID_Mensaje\",\"stringValue\":\"={{$json[\\\"message\\\"] && $json[\\\"message\\\"][\\\"message_id\\\"] ? $json[\\\"message\\\"][\\\"message_id\\\"] : ($json[\\\"edited_message\\\"] && $json[\\\"edited_message\\\"][\\\"message_id\\\"] ? $json[\\\"edited_message\\\"][\\\"message_id\\\"] : \\\"\\\")}}\"},{\"name\":\"ID_Tema\",\"stringValue\":\"={{$json[\\\"message\\\"] && $json[\\\"message\\\"][\\\"message_thread_id\\\"] ? $json[\\\"message\\\"][\\\"message_thread_id\\\"] : ($json[\\\"edited_message\\\"] && $json[\\\"edited_message\\\"][\\\"message_thread_id\\\"] ? $json[\\\"edited_message\\\"][\\\"message_thread_id\\\"] : 1)}}\"},{\"name\":\"Subtopic\",\"stringValue\":\"={{$json[\\\"message\\\"] && $json[\\\"message\\\"][\\\"is_topic_message\\\"] ? $json[\\\"message\\\"][\\\"is_topic_message\\\"] : ($json[\\\"edited_message\\\"] && $json[\\\"edited_message\\\"][\\\"is_topic_message\\\"] ? $json[\\\"edited_message\\\"][\\\"is_topic_message\\\"] : \\\"false\\\")}}\"},{\"name\":\"Nombre_Tema\",\"stringValue\":\"={{ $json[\\\"message\\\"]?.[\\\"reply_to_message\\\"]?.[\\\"forum_topic_created\\\"]?.[\\\"name\\\"] || \\\"General\\\" }}\"},{\"name\":\"MensajeLink\",\"stringValue\":\"=https://t.me/c/{{ ($json.message.chat.id * -1) - 1000000000000}}\"},{\"name\":\"Grupo\",\"stringValue\":\"={{ $json.message.chat.id }}\"}]},\"include\":\"none\",\"options\":{}},\"typeVersion\":3.2},{\"id\":\"5cda66f4-ab09-4352-8c21-9535c1d2b5b6\",\"name\":\"Registrar Mensajes\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[760,220],\"webhookId\":\"d0d18193-d046-47b9-8ae9-29e5b013cc7f\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"fKFjxVRPWloDc0BR\",\"name\":\"Greeg\"}},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"567f7b8f-c00a-4835-96c9-7231eb65370b\",\"connections\":{\"Configuración\":{\"main\":[[{\"node\":\"GuardarDatos\",\"type\":\"main\",\"index\":0}]]},\"Registrar Mensajes\":{\"main\":[[{\"node\":\"Configuración\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Analyze Email Headers for IPs and Spoofing", "output": "{\"id\":\"3tJcVzt2OqeyjfnH\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Analyze_email_headers_for_IPs_and_spoofing__3\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"a2dca82d-f2b4-41f7-942a-2713a5ae012e\",\"name\":\"Receive Headers\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-320,740],\"webhookId\":\"1bde44ab-1360-48b3-9b2f-260a82629bfa\",\"parameters\":{\"path\":\"90e9e395-1d40-4575-b2a0-fbf52c534167\",\"options\":{},\"httpMethod\":\"POST\",\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"8cb2e9f4-6954-4812-a443-47cc83e7db0a\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2900,420],\"parameters\":{\"width\":528.410729274179,\"height\":545.969373616973,\"content\":\"## Output\\nReturns output like:\\n```\\n[\\n {\\n \\\"ipAnalysis\\\": [\\n {\\n \\\"IP\\\": \\\"104.245.209.248\\\",\\n \\\"fraud_score\\\": 87,\\n \\\"recent_abuse\\\": true,\\n \\\"Organization\\\": \\\"Deft Hosting\\\",\\n \\\"tor\\\": false,\\n \\\"ISP\\\": \\\"Server Central Network\\\",\\n \\\"recent_spam_activity\\\": \\\"Identified spam in the past 24-48 hours\\\",\\n \\\"ip_sender_reputation\\\": \\\"Bad\\\"\\n },\\n {\\n \\\"IP\\\": \\\"09.06.05.41\\\",\\n \\\"recent_spam_activity\\\": \\\"unknown\\\",\\n \\\"ip_sender_reputation\\\": \\\"unknown\\\"\\n }\\n ]\\n },\\n {\\n \\\"spf\\\": \\\"pass\\\",\\n \\\"dkim\\\": \\\"pass\\\",\\n \\\"dmarc\\\": \\\"pass\\\"\\n }\\n]\\n```\"},\"typeVersion\":1},{\"id\":\"2464403b-5cb9-4090-b923-912bb8af673a\",\"name\":\"Fraud Score\",\"type\":\"n8n-nodes-base.code\",\"position\":[1340,560],\"parameters\":{\"mode\":\"runOnceForEachItem\",\"jsCode\":\"let recentSpamActivity = \\\"undefined\\\";\\nlet ipSenderReputation = \\\"undefined\\\";\\n\\ntry {\\n if ($('IP Quality Score')) {\\n const fraudScore = $('IP Quality Score').item.json.fraud_score;\\n\\n recentSpamActivity = \\\"Not associated with recent spam activity\\\";\\n \\n if( fraudScore >= 85 ) {\\n recentSpamActivity = \\\"Identified spam in the past 24-48 hours\\\";\\n } else if( fraudScore >= 75 ) {\\n recentSpamActivity = \\\"Identified spam in the past month\\\";\\n }\\n\\n if(!fraudScore) recentSpamActivity = \\\"unknown\\\";\\n \\n ipSenderReputation = \\\"unknown\\\";\\n \\n if( fraudScore >= 85 ) {\\n ipSenderReputation = \\\"Bad\\\";\\n } else if( fraudScore >= 75 ) {\\n ipSenderReputation = \\\"Poor\\\"; \\n } else if( fraudScore >= 50 ) {\\n ipSenderReputation = \\\"Suspicious\\\"; \\n } else if( fraudScore >= 11 ) {\\n ipSenderReputation = \\\"OK\\\"; \\n } else if( fraudScore <= 10 ) {\\n ipSenderReputation = \\\"Good\\\"; \\n }\\n }\\n} catch (error) {\\n return {\\n \\\"recent_spam_activity\\\": recentSpamActivity,\\n \\\"ip_sender_reputation\\\": ipSenderReputation\\n };\\n}\\n\\nreturn {\\n \\\"recent_spam_activity\\\": recentSpamActivity,\\n \\\"ip_sender_reputation\\\": ipSenderReputation\\n};\"},\"typeVersion\":2},{\"id\":\"70e3e88a-001a-40fc-a771-ace7696f54eb\",\"name\":\"Respond to Webhook\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[2680,760],\"parameters\":{\"options\":{\"responseCode\":200},\"respondWith\":\"text\",\"responseBody\":\"={{ $json.result }}\"},\"typeVersion\":1},{\"id\":\"4e16523d-a7e1-44d1-840a-3df3a44bd034\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,-39.5],\"parameters\":{\"width\":628.6931617686989,\"height\":834.0576186324413,\"content\":\"![ipqualityscore](https://i.imgur.com/CQRV2uV.png)\\n## IP Reputation and Email Security Analysis\\nThis critical part of the workflow specializes in fortifying email security by extracting IP addresses from received headers. With a refined process, it analyzes the extracted IPs against the IP Quality Score API, assessing potential risks and preventing fraudulent activities.\\n\\nThe `Extract IPs from \\\"received\\\"` node initiates the process by isolating IP addresses from email headers, demonstrating n8n's capacity to dissect and parse complex data. The `Split Out IPs` node then prepares these IPs for individual scrutiny, showcasing the flexibility of n8n to handle data at granular levels. Finally, the `IP Quality Score` node queries an external API to evaluate each IP, reinforcing the security parameters by providing detailed risk assessments.\\n\\n### Authentication - Free Tier Available (5000 credits/month)\\n\\nIP Quality Score uses the API key as part of the website URL. Since n8n does not currently allow for exposing credentials in the URL, you will need to hardcode your API key in the fake expression snippet in the `IP Quality Score` node.\\n\\nThe API key can be found by [visiting their documentation here](https://www.ipqualityscore.com/documentation/proxy-detection-api/overview), logging in, and then scrolling down to the Private Key. \"},\"typeVersion\":1},{\"id\":\"2e8ead40-a97a-4c7e-953c-33546b83eaf6\",\"name\":\"Explode Email Header\",\"type\":\"n8n-nodes-base.code\",\"position\":[80,740],\"parameters\":{\"jsCode\":\"// Takes the Header string and splits it into various items for analysis.\\nlet returnArray = [];\\n\\nfor (const item of $input.all()) {\\n const headerStr = item.json.header;\\n const headerLines = headerStr.split('\\\\n');\\n const headerObj = {};\\n\\n let currentKey = null;\\n let currentValue = '';\\n\\n headerLines.forEach((line) => {\\n const match = line.match(/^([\\\\w-]+):\\\\s*(.*)/);\\n\\n if (match) {\\n if (currentKey) {\\n if (!headerObj[currentKey]) headerObj[currentKey] = [];\\n headerObj[currentKey].push({ [`${currentKey}`]: currentValue });\\n }\\n\\n currentKey = match[1].toLowerCase();\\n currentValue = match[2];\\n } else {\\n currentValue += ' ' + line.trim();\\n }\\n });\\n\\n if (currentKey) {\\n if (!headerObj[currentKey]) headerObj[currentKey] = [];\\n headerObj[currentKey].push({ [`${currentKey}Item`]: currentValue });\\n }\\n returnArray.push({\\\"header\\\":headerObj});\\n}\\n\\nreturn returnArray;\"},\"typeVersion\":2},{\"id\":\"1118176d-a315-439d-a3b6-fe4d40c900c6\",\"name\":\"Split Out IPs\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[740,560],\"parameters\":{\"options\":{\"destinationFieldName\":\"ip\"},\"fieldToSplitOut\":\"ips\"},\"typeVersion\":3},{\"id\":\"ef118900-11a6-418a-b1b3-159933d62cbf\",\"name\":\"Extract IPs from \\\"received\\\"\",\"type\":\"n8n-nodes-base.code\",\"position\":[540,560],\"parameters\":{\"jsCode\":\"let ips = []\\n\\nfor (const item of $input.all()) {\\n const header = JSON.stringify(item.json.header.received);\\n console.log(header)\\n const ipRegex = /\\\\b\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\b/g;\\n const ipAddresses = header.match(ipRegex) || [];\\n ips.push(...ipAddresses);\\n}\\n\\nreturn [\\n {\\n ips: ips\\n }\\n];\"},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"ffefc1e2-214c-47d7-a7a3-104fefdccda1\",\"name\":\"IP Quality Score\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[920,560],\"parameters\":{\"url\":\"=https://ipqualityscore.com/api/json/ip/{{ Replace me with your API key, it can be found inside the api documentation, leave json.ip alone }}/{{ $json.ip }}?strictness=1&allow_public_access_points=true&lighter_penalties=true\",\"options\":{}},\"typeVersion\":4.1},{\"id\":\"2f1c5b30-950c-4e0d-81a6-bf4c2c64f968\",\"name\":\"IP-API\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1140,560],\"parameters\":{\"url\":\"=http://ip-api.com/json/{{ $('Split Out IPs').item.json.ip }}\",\"method\":\"POST\",\"options\":{}},\"typeVersion\":4.1},{\"id\":\"c9cae845-63e8-475a-bc08-ba0552712394\",\"name\":\"Collect interesting data\",\"type\":\"n8n-nodes-base.set\",\"position\":[1520,560],\"parameters\":{\"values\":{\"string\":[{\"name\":\"IP\",\"value\":\"={{ $('Split Out IPs').item.json.ip }}\"},{\"name\":\"fraud_score\",\"value\":\"={{ $('IP Quality Score').item.json.fraud_score }}\"},{\"name\":\"recent_abuse\",\"value\":\"={{ $('IP Quality Score').item.json.recent_abuse }}\"},{\"name\":\"Organization\",\"value\":\"={{ $('IP Quality Score').item.json.organization }}\"},{\"name\":\"tor\",\"value\":\"={{ $('IP Quality Score').item.json.tor }}\"},{\"name\":\"ISP\",\"value\":\"={{ $('IP-API').item.json.isp }}\"},{\"name\":\"recent_spam_activity\",\"value\":\"={{ $json.recent_spam_activity }}\"},{\"name\":\"ip_sender_reputation\",\"value\":\"={{ $json.ip_sender_reputation }}\"}]},\"options\":{\"dotNotation\":true},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"01b33cc9-b7b3-44e6-b683-b753e6daa2dc\",\"name\":\"SPF/DKIM/DMARC from \\\"authentication-results\\\"\",\"type\":\"n8n-nodes-base.code\",\"position\":[520,1160],\"parameters\":{\"jsCode\":\"let mailAuth = [];\\n\\nfor (const item of $input.all()) {\\n // SPF\\n let spf = \\\"unknown\\\";\\n if( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"spf=pass\\\") ) {\\n spf = \\\"pass\\\";\\n } else if ( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"spf=fail\\\") ) {\\n spf = \\\"fail\\\"; \\n } else if ( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"spf=neutral\\\") ) {\\n spf = \\\"neutral\\\";\\n }\\n\\n // DKIM\\n let dkim = \\\"unknown\\\";\\n if( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"dkim=pass\\\") ) {\\n dkim = \\\"pass\\\";\\n } else if ( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"dkim=fail\\\") ) {\\n dkim = \\\"fail\\\"; \\n } else if ( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"dkim=temperror\\\") ) {\\n dkim = \\\"error\\\";\\n }\\n\\n // DMARC\\n let dmarc = \\\"unknown\\\";\\n if( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"dmarc=pass\\\") ) {\\n dmarc = \\\"pass\\\";\\n } else if ( JSON.stringify(item.json.header[\\\"authentication-results\\\"]).includes(\\\"dmarc=fail\\\") ) {\\n dmarc = \\\"fail\\\"; \\n }\\n \\n mailAuth.push({\\n \\\"spf\\\": spf,\\n \\\"dkim\\\": dkim,\\n \\\"dmarc\\\": dmarc\\n });\\n}\\n\\nreturn mailAuth;\"},\"typeVersion\":2},{\"id\":\"33923ec2-10db-4799-9b5e-a369cdd74640\",\"name\":\"SPF from \\\"received-spf\\\"\",\"type\":\"n8n-nodes-base.code\",\"position\":[500,1858],\"parameters\":{\"jsCode\":\"let spfArray = [];\\n\\nfor (const item of $('Authentication Results Present?').all()) {\\n const spfList = item.json.header[\\\"received-spf\\\"];\\n\\n if (!spfList || spfList.length == 0) {\\n spfArray.push(\\\"not-found\\\");\\n } else {\\n for (const spfItem of spfList) {\\n if (spfItem[\\\"received-spf\\\"].toLowerCase().includes(\\\"fail\\\")) {\\n spfArray.push(\\\"fail\\\");\\n } else if (spfItem[\\\"received-spf\\\"].toLowerCase().includes(\\\"pass\\\")) {\\n spfArray.push(\\\"pass\\\");\\n } else {\\n spfArray.push(\\\"found\\\");\\n }\\n }\\n }\\n}\\nreturn [{spf:spfArray.join(\\\",\\\")}];\\n\"},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"9cec1f09-3887-46ec-aa25-b03a0ab34190\",\"name\":\"DKIM from \\\"dkim-signature\\\"\",\"type\":\"n8n-nodes-base.code\",\"position\":[760,1858],\"parameters\":{\"jsCode\":\"let dkimArray = [];\\n\\nfor (const item of $('Authentication Results Present?').all()) {\\n const dkimList = item.json.header[\\\"dkim-signature\\\"];\\n\\n if (!dkimList || dkimList.length == 0) { dkimArray.push(\\\"not-found\\\") } else {\\n dkimArray.push(\\\"found\\\");\\n return dkimArray;\\n }\\n\\n}\\nreturn [{dkim:dkimArray.join(\\\",\\\")}];\\n\"},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"0f856808-c044-4547-bc81-5e6d1208d9ad\",\"name\":\"DMARC from \\\"received-dmarc\\\"\",\"type\":\"n8n-nodes-base.code\",\"position\":[1020,1858],\"parameters\":{\"jsCode\":\"let dmarcArray = [];\\n\\nfor (const item of $('Authentication Results Present?').all()) {\\n const dmarcList = item.json.header[\\\"received-dmarc\\\"];\\n\\n if (!dmarcList || dmarcList.length == 0) {\\n dmarcArray.push(\\\"not-found\\\");\\n } else {\\n for (const dmarcItem of dmarcList) {\\n if (dmarcItem[\\\"received-dmarc\\\"].toLowerCase().includes(\\\"fail\\\")) {\\n dmarcArray.push(\\\"fail\\\");\\n } else if (dmarcItem[\\\"received-dmarc\\\"].toLowerCase().includes(\\\"pass\\\")) {\\n dmarcArray.push(\\\"pass\\\");\\n } else {\\n dmarcArray.push(\\\"found\\\");\\n }\\n }\\n }\\n}\\nreturn [{dmarc:dmarcArray.join(\\\",\\\")}];\"},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"0780dc59-8a4c-4355-9cdc-35b2505043a6\",\"name\":\"DKIM\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1260,2718],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"spf=pass\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"spf=fail\",\"operation\":\"contains\"},{\"output\":2,\"value2\":\"spf=neutral\",\"operation\":\"contains\"}]},\"value1\":\"={{ $('Authentication Results Present?').item.json.header['authentication-results'] }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"b0be02f9-ae6c-460e-9e1c-0be8f878f81b\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-359.7001600000003,-46.60400000000038],\"parameters\":{\"width\":811.1951544353835,\"height\":1042.0833160085729,\"content\":\"![webhook](https://i.imgur.com/D6SP9P0.png)\\n## Workflow Overview\\nThis n8n workflow is adept at dissecting email headers to assess security risks. It employs a webhook to receive data, then diverges into two thorough investigative paths based on specific header contents. For emails with `received` headers, it extracts IP details and consults the IP Quality Score API for comprehensive risk assessments, including potential fraud or abuse and geolocation insights via the IP-API.\\n\\nConversely, when `authentication-results` headers are present, it meticulously evaluates SPF, DKIM, and DMARC verifications, categorizing each email based on the authentication checks.\\n\\nFinally, the workflow converges the data from both paths to provide a cohesive analysis, which is then relayed back through the webhook, furnishing a detailed report on IP reputation and email authentication status.\\n\\n`Please note that the workflow is not yet complete, but should still work without the DKIM analysis.`\\n\\n## Triggered Via Webhook\\nThe workflow is triggered on-demand by incoming webhook queries or can be used inside of the `Execute Workflow` node by replacing the `webhook trigger` with an `Execute Workflow Trigger` and the `respond to webhook` node with a `Set node` set to only keep the set node data. This allows you to use it as part of a larger workflow, in which this portion handles the header analysis. Simply add the Example input looks like:\\n\\n```\\n[\\n {\\n \\\"headers\\\": {\\n \\\"host\\\": \\\"internal.users.n8n.cloud\\\"\\n },\\n \\\"params\\\": {},\\n \\\"query\\\": {},\\n \\\"body\\\": \\\"Delivered-To: g.andreini@gmail.com\\\\nReceived: by 2002:a05:7412:be08:b0:df:2c3c:4cc with SMTP id la8csp2349351rdb;\\\\n Tue, 5 Sep 2023 15:06:08 -0700 (PDT)\\\\nX-Google-Smtp-Source: AGHT+IEHz2WAE5kssnJSpwJyhbuq3ZjNQTqZfo6OFeCd5w2EKOdnF3nICb1zIL4Y1tahQpr5xY6+\\\\nX-Received: by 2002:a17:907:78c3:b0:9a1:f2d3:ade9 with SMTP id kv3-20020a17090778c300b009a1f2d3ade9mr802685ejc.42.1693951567785;\\\\n Tue, 05 Sep 2023 15:06:07 -0700 (PDT)\\\\nARC-Seal: i=1; a=rsa-sha256; t=1693951567; cv=none;\\\\n d=google.com; s=arc-20160816;\\\\n b=zsD04giTt/gbOxX6IW6/ETi7zkiuLYPaM6nYtckkcCfhqz5H7qvNN1NkDrlbnsXEr2\\\\n 3jVLDlhAZCXVg4qGNEWTjfzLwn5eQoUdW7iy//8XZU3Xy2xtORLBKKWs+Pjzx2sBP9KS\\\\n zsy0Tg+rlAqi/aOH8+D+ANC0dCibsPau92zLS6GIvil700hvAJ7KB9fw0s/Ntx4z8VGv\\\\n 0P+BodOQDO9kdHtuMkgu/waF86Xe0ImcxtvMHQ/mNjbTSRDTa0d04+X7ILVf4q0B5gFg\\\\n tnykE51GIS8Ey8ElAd4z/it1E/ffMJ7QAgiDSO0tZRc2NnM0QQ1oYrO9IL0cNuW1P33Q\\\\n PfNA==\\\\nARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;\\\\n h=mime-version:date:subject:to:from:reply-to:message-id;\\\\n bh=f9tT4LpRqlQSioyOCLufJC57T1y2rwgsPezOJPbokDM=;\\\\n fh=syfPZFOxHm03Bg8T666hpPsY3BFS1EZPTr8jKyQ7bFk=;\\\\n b=fsZErxdmb95VXJpAyI8Pff38Ifu47WaONvSwpYaSstYbRoKDZSS3SH247NHt/+uyq+\\\\n 7UUF37XenbcZif1p3iOa96JxcYBtLLp3cI9pe8NRQjJtceXQk70PVcCGNXORiAxoCGT+\\\\n iCMzUoFjTAfhK729rSldyFJ+I+WU3k+W/CjL1+geJkU5fEmg+eBEo8hDifqW3Iv73auq\\\\n uDnxkLZ55yX9W2ARwv/204qqqxYHKfdXDIWGDyeXE10NHLTr/GAR8DWVx6qD8b4U0Zc3\\\\n MC+SZxGsIcSCr5ouXIovuQBYcdmqDgDxAaN9VTfYdnXobblN6bo3OcC0rqiiyVJnV3ZA\\\\n BYoQ==\\\\nARC-Authentication-Results: i=1; mx.google.com;\\\\n spf=fail (google.com: domain of eljyzxd@molkase.de does not designate 89.31.72.29 as permitted sender) smtp.mailfrom=eljyzxd@molkase.de\\\\nReturn-Path: \\\\nReceived: from mail19.interhost.it (mail19.interhost.it. [89.31.72.29])\\\\n by mx.google.com with ESMTPS id k15-20020a170906578f00b00992aaed9f81si7955121ejq.356.2023.09.05.15.06.07\\\\n for \\\\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\\\\n Tue, 05 Sep 2023 15:06:07 -0700 (PDT)\\\\nReceived-SPF: fail (google.com: domain of eljyzxd@molkase.de does not designate 89.31.72.29 as permitted sender) client-ip=89.31.72.29;\\\\nAuthentication-Results: mx.google.com;\\\\n spf=fail (google.com: domain of eljyzxd@molkase.de does not designate 89.31.72.29 as permitted sender) smtp.mailfrom=eljyzxd@molkase.de\\\\nReceived: from mailfront2.interhost.it (mailfront2.interhost.it [89.31.72.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail19.interhost.it (Postfix) with ESMTPS id 7BA73561D21 for ; Wed,\\\\n 6 Sep 2023 00:06:06 +0200 (CEST)\\\\nReceived: from mailfront2.interhost.it (localhost [127.0.0.1]) by mailfront2.interhost.it (Postfix) with ESMTP id 5AEE1835B2 for ; Wed,\\\\n 6 Sep 2023 00:06:06 +0200 (CEST)\\\\nReceived-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.173.139.164; helo=mail.molkase.de; envelope-from=eljyzxd@molkase.de; receiver=\\\\nReceived: from mail.molkase.de (mail.molkase.de [62.173.139.164]) by mailfront2.interhost.it (Postfix) with ESMTP id A8BC3835B5 for ; Wed,\\\\n 6 Sep 2023 00:06:05 +0200 (CEST)\\\\nReceived: from molkase.de (mail.molkase.de [62.173.139.164]) by mail.molkase.de (Postfix) with ESMTPA id A561D80FB872; Tue,\\\\n 5 Sep 2023 23:08:50 +0300 (EEST)\\\\nMessage-ID: <15404342A12424728J51235153O87748181D@ideljyzxd>\\\\nReply-To: Legal Casino \\\\nFrom: Legal Casino \\\\nTo: \\\\nSubject: Bonus for all European residents\\\\nDate: Tue, 05 Sep 2023 23:08:55 +0300\\\\nMIME-Version: 1.0\\\\nContent-Type: multipart/related; type=\\\\\\\"multipart/alternative\\\\\\\"; boundary=\\\\\\\"----=_NextPart_000_0018_01D9E04D.79971B70\\\\\\\"\\\\nX-Virus-Scanned: ClamAV using ClamSMTP\\\"\\n }\\n]\\n```\"},\"typeVersion\":1},{\"id\":\"3c8fe0f3-0b65-4366-9c1e-a2a7bcc35ed5\",\"name\":\"Extract Email Header from webhook\",\"type\":\"n8n-nodes-base.set\",\"position\":[-99,740],\"parameters\":{\"values\":{\"string\":[{\"name\":\"header\",\"value\":\"={{ $json.body }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"4eef6457-27cf-442f-bccf-75663170401b\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1100,20],\"parameters\":{\"width\":610.1426815377504,\"height\":772.7590323462559,\"content\":\"![ipapi](https://i.imgur.com/OMhn14b.png)\\n## IP Reputation and Fraud Analysis\\nThis workflow section performs an in-depth reputation assessment of each IP address. The `IP-API` node retrieves geolocation data, while the `Fraud Score` node evaluates the risk associated with the IP, flagging any potential spam or abuse activities.\\n\\n### Consolidation of Findings\\nKey data points such as fraud scores and ISP information are synthesized by the `Collect interesting data` node, providing a clear profile of each IP for informed decision-making.\\n\\n### Authentication - Free Tier Available (45 requests/min)\\nThis endpoint is limited to `45 requests per minute from an IP address`.\\n\\nIf you go over the limit your requests will be throttled `(HTTP 429)` until your rate limit window is reset. If you constantly go over the limit your IP address will be banned for 1 hour.\\n\\nNo authentication needed, [Click here to view documentation.](https://ip-api.com/docs)\"},\"typeVersion\":1},{\"id\":\"764de66e-8e40-44d1-8c09-fb099753d800\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1720,141.75],\"parameters\":{\"width\":1153.9919748350057,\"height\":818.3738794326835,\"content\":\"![n8n](https://i.imgur.com/lKnBNnH.png)\\n## Analyze and Respond to Email Header Analysis\\nThe concluding segment of the `Analyze Email Headers For IPs and Spoofing` workflow integrates sophisticated data processing to analyze and respond to the collected email header information. This part of the workflow is crucial as it synthesizes the data gathered from email headers and prepares it for actionable insights.\\n\\n- `Data Aggregation and Merging:` The nodes `Merge1` and Item `Lists2` are pivotal for aggregating the data from previous steps. These nodes effectively concatenate various items and compile the IP analysis data. This operation is essential for creating a comprehensive view of the email headers, focusing particularly on IPs and potential spoofing indicators.\\n\\n- `Further Merging and Response Preparation:` Another merge operation is performed by `Merge3`, which prepares the data for the final output. Following this, Item Lists3 further concatenates items to form a single, coherent result. This step ensures that all the relevant information is accurately compiled and ready for the final response.\\n\\n- `Final Response to Webhook:` The Respond to Webhook node serves as the endpoint of this workflow. It is configured to respond with the analyzed data, encapsulated in a text format. The response is set to return a 200 HTTP status code, signaling a successful operation. This node exemplifies n8n's capability in not just processing and analyzing data, but also in seamlessly communicating results back to a designated receiver, be it a webhook or any other endpoint.\\n\\n\\nBy the end of this workflow, you have a structured and detailed analysis of email headers, specifically tailored to identify IPs and potential spoofing threats. This underscores n8n's effectiveness as a cybersecurity tool, providing not just data processing capabilities but also actionable insights crucial for maintaining email security.\"},\"typeVersion\":1},{\"id\":\"2fa3c912-f478-48a1-9b2e-5e3f51c6a363\",\"name\":\"Sticky Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,800],\"parameters\":{\"width\":630.5819800503231,\"height\":535.80387776221,\"content\":\"![nodejs](https://i.imgur.com/OqjRFGZ.png)\\n## Authentication Analysis\\n\\nThis section assesses the presence and validity of SPF, DKIM, and DMARC records within email headers to confirm authentication. `SPF/DKIM/DMARC from \\\"authentication-results\\\"` node evaluates the authentication results, ensuring that emails meet the set security standards for sender verification. \\n\\nThe n8n code nodes use either a version of `Javascript` called `node.js` or a version of `Python` called `Pyodide`. In this case we are using Javascript.\"},\"typeVersion\":1},{\"id\":\"5297e5a0-f2d1-4ee3-b931-9b1abe75b2cc\",\"name\":\"Sticky Note10\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,2038],\"parameters\":{\"width\":983.9576126829675,\"height\":1039.0141642262715,\"content\":\"![n8n](https://i.imgur.com/yz109RJ.png)\\n## SPF and DKIM Authentication Routing\\nThis group of nodes orchestrates the authentication status routing for SPF and DKIM records found in email headers.\\n\\nSPF Validation Decision-Making\\nThe `SPF` switch node evaluates the SPF results from the email header, directing the flow to different paths based on whether SPF passes, fails, or is neutral. The `\\\"Set1,\\\" \\\"Set2,\\\" and \\\"Set4\\\"` nodes then assign the respective SPF authentication statuses, marking emails for further processing based on their security verification.\\n\\nDKIM Evaluation Handling\\nAlthough not explicitly processing DKIM, the `\\\"DKIM\\\" switch node` is likely misnamed and should be adjusted to reflect its role correctly. It seems to be set up for similar routing logic as the SPF node, which suggests it should handle DKIM results. If it's indeed for DKIM, ensure it's checking for `\\\"dkim=pass/fail/neutral\\\"` within the authentication results.\\n\\nUnknown SPF Status Assignment\\nFinally, the `\\\"Set5\\\"` node appears to handle cases where SPF results are not found or are indeterminate, setting the status to `\\\"unknown.\\\"`\"},\"typeVersion\":1},{\"id\":\"f6c06bc5-048c-433e-9bfa-f155ca6735e4\",\"name\":\"Received Headers Present?\",\"type\":\"n8n-nodes-base.if\",\"position\":[300,660],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.header.received.length }}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"id\":\"a92ef09c-0cc6-469c-98ff-8c6172615a4b\",\"name\":\"Authentication Results Present?\",\"type\":\"n8n-nodes-base.if\",\"position\":[300,820],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.header[\\\"authentication-results\\\"].length }}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"id\":\"aef7f739-dfef-40b1-b01f-29adad4a9bda\",\"name\":\"Aggregate Authentication Data\",\"type\":\"n8n-nodes-base.set\",\"position\":[1280,1858],\"parameters\":{\"values\":{\"string\":[{\"name\":\"spf\",\"value\":\"={{ $('SPF from \\\"received-spf\\\"').all() }}\"},{\"name\":\"dkim\",\"value\":\"={{ $('DKIM from \\\"dkim-signature\\\"').all() }}\"},{\"name\":\"dmarc\",\"value\":\"={{ $('DMARC from \\\"received-dmarc\\\"').all() }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"5d7ce661-3bdf-45e5-a1e2-335602e62b5d\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,1349.3807407407407],\"parameters\":{\"width\":984.4210239195738,\"height\":672.6925241611406,\"content\":\"![nodejs](https://i.imgur.com/OqjRFGZ.png)\\n## Email Authentication Assessment\\nThis set of nodes is dedicated to evaluating the authentication of email headers, specifically focusing on SPF, DKIM, and DMARC validations.\\n\\n### SPF, DKIM, and DMARC Extraction\\nStarting with `SPF from 'received-spf',` this node analyzes the email's SPF records for compliance. Following this, `DKIM from 'dkim-signature'` examines the DKIM signatures to verify their presence and status. Next, `DMARC from 'received-dmarc'` checks DMARC records for alignment with expected security practices.\\n\\n### Data Aggregation\\nOnce the assessments are complete, `Aggregate Authentication Data` compiles the findings into a cohesive dataset, providing clear indicators of each email's authentication status.\\n\\n### Key Focus\\nThese nodes are essential in filtering out potentially harmful emails by verifying their authenticity, a key step in protecting against phishing and spoofing attempts.\\n\"},\"typeVersion\":1},{\"id\":\"88888a82-815b-423a-85d3-8c86756d10cd\",\"name\":\"IP Data Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1800,660],\"parameters\":{},\"typeVersion\":2.1},{\"id\":\"b7add244-9759-450f-8b01-6ec4555a5971\",\"name\":\"Merge Security Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[2171,760],\"parameters\":{},\"typeVersion\":2.1},{\"id\":\"ef679cda-9420-44fd-90cc-23be1b166e2c\",\"name\":\"Join IP Analysis into one JSON object\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[1960,660],\"parameters\":{\"options\":{},\"aggregate\":\"aggregateAllItemData\",\"operation\":\"concatenateItems\",\"destinationFieldName\":\"ipAnalysis\"},\"typeVersion\":3},{\"id\":\"1e5ae57b-948c-40c8-8248-fcbda80264e2\",\"name\":\"Join results into one JSON object\",\"type\":\"n8n-nodes-base.itemLists\",\"position\":[2391,760],\"parameters\":{\"options\":{},\"aggregate\":\"aggregateAllItemData\",\"operation\":\"concatenateItems\",\"destinationFieldName\":\"result\"},\"typeVersion\":3},{\"id\":\"7fef7675-1350-4886-b184-f907dacf08b1\",\"name\":\"SPF Authentication Checker\",\"type\":\"n8n-nodes-base.switch\",\"position\":[500,2718],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"spf=pass\",\"operation\":\"contains\"},{\"output\":1,\"value2\":\"spf=fail\",\"operation\":\"contains\"},{\"output\":2,\"value2\":\"spf=neutral\",\"operation\":\"contains\"}]},\"value1\":\"={{ JSON.stringify($json.header[\\\"authentication-results\\\"]) }}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1},{\"id\":\"410ccb8c-a551-45a3-a487-b0ce15a56882\",\"name\":\"Set SPF Pass Status\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,2518],\"parameters\":{\"values\":{\"string\":[{\"name\":\"spf\",\"value\":\"pass\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"127c0c91-162c-4cbb-b692-eb0675a55c42\",\"name\":\"Set SPF Fail Status\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,2658],\"parameters\":{\"values\":{\"string\":[{\"name\":\"spf\",\"value\":\"fail\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"7a15ae91-012f-4fc8-9075-7f855b15d979\",\"name\":\"Set SPF Neutral Status\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,2798],\"parameters\":{\"values\":{\"string\":[{\"name\":\"spf\",\"value\":\"neutral\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"2ac1e5ce-83a4-4205-9774-76506f06108e\",\"name\":\"Set SPF UnknownStatus\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,2938],\"parameters\":{\"values\":{\"string\":[{\"name\":\"spf\",\"value\":\"unknown\"}]},\"options\":{}},\"typeVersion\":2}],\"active\":false,\"pinData\":{\"Receive Headers\":[{\"json\":{\"body\":\"Delivered-To: g.andreini@gmail.com\\nReceived: by 2002:a05:7412:be08:b0:df:2c3c:4cc with SMTP id la8csp2349351rdb;\\n Tue, 5 Sep 2023 15:06:08 -0700 (PDT)\\nX-Google-Smtp-Source: AGHT+IEHz2WAE5kssnJSpwJyhbuq3ZjNQTqZfo6OFeCd5w2EKOdnF3nICb1zIL4Y1tahQpr5xY6+\\nX-Received: by 2002:a17:907:78c3:b0:9a1:f2d3:ade9 with SMTP id kv3-20020a17090778c300b009a1f2d3ade9mr802685ejc.42.1693951567785;\\n Tue, 05 Sep 2023 15:06:07 -0700 (PDT)\\nARC-Seal: i=1; a=rsa-sha256; t=1693951567; cv=none;\\n d=google.com; s=arc-20160816;\\n b=zsD04giTt/gbOxX6IW6/ETi7zkiuLYPaM6nYtckkcCfhqz5H7qvNN1NkDrlbnsXEr2\\n 3jVLDlhAZCXVg4qGNEWTjfzLwn5eQoUdW7iy//8XZU3Xy2xtORLBKKWs+Pjzx2sBP9KS\\n zsy0Tg+rlAqi/aOH8+D+ANC0dCibsPau92zLS6GIvil700hvAJ7KB9fw0s/Ntx4z8VGv\\n 0P+BodOQDO9kdHtuMkgu/waF86Xe0ImcxtvMHQ/mNjbTSRDTa0d04+X7ILVf4q0B5gFg\\n tnykE51GIS8Ey8ElAd4z/it1E/ffMJ7QAgiDSO0tZRc2NnM0QQ1oYrO9IL0cNuW1P33Q\\n PfNA==\\nARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;\\n h=mime-version:date:subject:to:from:reply-to:message-id;\\n bh=f9tT4LpRqlQSioyOCLufJC57T1y2rwgsPezOJPbokDM=;\\n fh=syfPZFOxHm03Bg8T666hpPsY3BFS1EZPTr8jKyQ7bFk=;\\n b=fsZErxdmb95VXJpAyI8Pff38Ifu47WaONvSwpYaSstYbRoKDZSS3SH247NHt/+uyq+\\n 7UUF37XenbcZif1p3iOa96JxcYBtLLp3cI9pe8NRQjJtceXQk70PVcCGNXORiAxoCGT+\\n iCMzUoFjTAfhK729rSldyFJ+I+WU3k+W/CjL1+geJkU5fEmg+eBEo8hDifqW3Iv73auq\\n uDnxkLZ55yX9W2ARwv/204qqqxYHKfdXDIWGDyeXE10NHLTr/GAR8DWVx6qD8b4U0Zc3\\n MC+SZxGsIcSCr5ouXIovuQBYcdmqDgDxAaN9VTfYdnXobblN6bo3OcC0rqiiyVJnV3ZA\\n BYoQ==\\nARC-Authentication-Results: i=1; mx.google.com;\\n spf=fail (google.com: domain of eljyzxd@molkase.de does not designate 89.31.72.29 as permitted sender) smtp.mailfrom=eljyzxd@molkase.de\\nReturn-Path: \\nReceived: from mail19.interhost.it (mail19.interhost.it. [89.31.72.29])\\n by mx.google.com with ESMTPS id k15-20020a170906578f00b00992aaed9f81si7955121ejq.356.2023.09.05.15.06.07\\n for \\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\\n Tue, 05 Sep 2023 15:06:07 -0700 (PDT)\\nReceived-SPF: fail (google.com: domain of eljyzxd@molkase.de does not designate 89.31.72.29 as permitted sender) client-ip=89.31.72.29;\\nAuthentication-Results: mx.google.com;\\n spf=fail (google.com: domain of eljyzxd@molkase.de does not designate 89.31.72.29 as permitted sender) smtp.mailfrom=eljyzxd@molkase.de\\nReceived: from mailfront2.interhost.it (mailfront2.interhost.it [89.31.72.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail19.interhost.it (Postfix) with ESMTPS id 7BA73561D21 for ; Wed,\\n 6 Sep 2023 00:06:06 +0200 (CEST)\\nReceived: from mailfront2.interhost.it (localhost [127.0.0.1]) by mailfront2.interhost.it (Postfix) with ESMTP id 5AEE1835B2 for ; Wed,\\n 6 Sep 2023 00:06:06 +0200 (CEST)\\nReceived-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.173.139.164; helo=mail.molkase.de; envelope-from=eljyzxd@molkase.de; receiver=\\nReceived: from mail.molkase.de (mail.molkase.de [62.173.139.164]) by mailfront2.interhost.it (Postfix) with ESMTP id A8BC3835B5 for ; Wed,\\n 6 Sep 2023 00:06:05 +0200 (CEST)\\nReceived: from molkase.de (mail.molkase.de [62.173.139.164]) by mail.molkase.de (Postfix) with ESMTPA id A561D80FB872; Tue,\\n 5 Sep 2023 23:08:50 +0300 (EEST)\\nMessage-ID: <15404342A12424728J51235153O87748181D@ideljyzxd>\\nReply-To: Legal Casino \\nFrom: Legal Casino \\nTo: \\nSubject: Bonus for all European residents\\nDate: Tue, 05 Sep 2023 23:08:55 +0300\\nMIME-Version: 1.0\\nContent-Type: multipart/related; type=\\\"multipart/alternative\\\"; boundary=\\\"----=_NextPart_000_0018_01D9E04D.79971B70\\\"\\nX-Virus-Scanned: ClamAV using ClamSMTP\",\"query\":{},\"params\":{},\"headers\":{\"host\":\"internal.users.n8n.cloud\",\"accept\":\"*/*\",\"x-real-ip\":\"10.255.0.2\",\"user-agent\":\"PostmanRuntime/7.32.3\",\"content-type\":\"text/plain\",\"authorization\":\"1234567890\",\"postman-token\":\"8701ef86-2136-4c79-941a-bc8ed79bcc9e\",\"content-length\":\"3900\",\"accept-encoding\":\"gzip, deflate, br\",\"x-forwarded-for\":\"10.255.0.2\",\"x-forwarded-host\":\"internal.users.n8n.cloud\",\"x-forwarded-port\":\"443\",\"x-forwarded-proto\":\"https\",\"x-forwarded-server\":\"e591fa1c2d01\"}},\"pairedItem\":{\"item\":0}}]},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"6e01f4f9-d42b-4168-91a1-0bfe850c43ea\",\"connections\":{\"IP-API\":{\"main\":[[{\"node\":\"Fraud Score\",\"type\":\"main\",\"index\":0}]]},\"Fraud Score\":{\"main\":[[{\"node\":\"Collect interesting data\",\"type\":\"main\",\"index\":0}]]},\"IP Data Merge\":{\"main\":[[{\"node\":\"Join IP Analysis into one JSON object\",\"type\":\"main\",\"index\":0}]]},\"Split Out IPs\":{\"main\":[[{\"node\":\"IP Quality Score\",\"type\":\"main\",\"index\":0}]]},\"Receive Headers\":{\"main\":[[{\"node\":\"Extract Email Header from webhook\",\"type\":\"main\",\"index\":0}]]},\"IP Quality Score\":{\"main\":[[{\"node\":\"IP-API\",\"type\":\"main\",\"index\":0}]]},\"Merge Security Data\":{\"main\":[[{\"node\":\"Join results into one JSON object\",\"type\":\"main\",\"index\":0}]]},\"Set SPF Fail Status\":{\"main\":[[{\"node\":\"DKIM\",\"type\":\"main\",\"index\":0}]]},\"Set SPF Pass Status\":{\"main\":[[{\"node\":\"DKIM\",\"type\":\"main\",\"index\":0}]]},\"Explode Email Header\":{\"main\":[[{\"node\":\"Received Headers Present?\",\"type\":\"main\",\"index\":0},{\"node\":\"Authentication Results Present?\",\"type\":\"main\",\"index\":0}]]},\"Set SPF UnknownStatus\":{\"main\":[[{\"node\":\"DKIM\",\"type\":\"main\",\"index\":0}]]},\"Set SPF Neutral Status\":{\"main\":[[{\"node\":\"DKIM\",\"type\":\"main\",\"index\":0}]]},\"SPF from \\\"received-spf\\\"\":{\"main\":[[{\"node\":\"DKIM from \\\"dkim-signature\\\"\",\"type\":\"main\",\"index\":0}]]},\"Collect interesting data\":{\"main\":[[{\"node\":\"IP Data Merge\",\"type\":\"main\",\"index\":0}]]},\"Received Headers Present?\":{\"main\":[[{\"node\":\"Extract IPs from \\\"received\\\"\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IP Data Merge\",\"type\":\"main\",\"index\":1}]]},\"DKIM from \\\"dkim-signature\\\"\":{\"main\":[[{\"node\":\"DMARC from \\\"received-dmarc\\\"\",\"type\":\"main\",\"index\":0}]]},\"SPF Authentication Checker\":{\"main\":[[{\"node\":\"Set SPF Pass Status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set SPF Fail Status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set SPF Neutral Status\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set SPF UnknownStatus\",\"type\":\"main\",\"index\":0}]]},\"DMARC from \\\"received-dmarc\\\"\":{\"main\":[[{\"node\":\"Aggregate Authentication Data\",\"type\":\"main\",\"index\":0}]]},\"Extract IPs from \\\"received\\\"\":{\"main\":[[{\"node\":\"Split Out IPs\",\"type\":\"main\",\"index\":0}]]},\"Aggregate Authentication Data\":{\"main\":[[{\"node\":\"Merge Security Data\",\"type\":\"main\",\"index\":1}]]},\"Authentication Results Present?\":{\"main\":[[{\"node\":\"SPF/DKIM/DMARC from \\\"authentication-results\\\"\",\"type\":\"main\",\"index\":0},{\"node\":\"SPF Authentication Checker\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SPF from \\\"received-spf\\\"\",\"type\":\"main\",\"index\":0}]]},\"Extract Email Header from webhook\":{\"main\":[[{\"node\":\"Explode Email Header\",\"type\":\"main\",\"index\":0}]]},\"Join results into one JSON object\":{\"main\":[[{\"node\":\"Respond to Webhook\",\"type\":\"main\",\"index\":0}]]},\"Join IP Analysis into one JSON object\":{\"main\":[[{\"node\":\"Merge Security Data\",\"type\":\"main\",\"index\":0}]]},\"SPF/DKIM/DMARC from \\\"authentication-results\\\"\":{\"main\":[[{\"node\":\"Merge Security Data\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Phishing Analysis - URLScan.io and VirusTotal", "output": "{\"id\":\"8EmNhftXznAGV3dR\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Phishing_analysis__URLScan_io_and_Virustotal_\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"}],\"nodes\":[{\"id\":\"f170068a-4540-4fbd-bd17-00a6367989d1\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-1760,560],\"parameters\":{},\"typeVersion\":1},{\"id\":\"5a1e0490-6971-4490-a806-46da5e226365\",\"name\":\"sends slack message\",\"type\":\"n8n-nodes-base.slack\",\"position\":[-360,1280],\"parameters\":{\"text\":\"=*Email Analysis*\\n\\nSubject: {{ $('Microsoft Outlook').item.json[\\\"subject\\\"] }}\\nFrom: {{ $('Microsoft Outlook').item.json[\\\"sender\\\"][\\\"emailAddress\\\"][\\\"address\\\"] }}\\nDate: {{ $('Microsoft Outlook').item.json[\\\"sentDateTime\\\"] }}\\n\\nReport:\\n\\n*URLScan Report URL:* {{ $('urlscan.io').item.json.result ? $('urlscan.io').item.json.result : \\\"N/A\\\" }}\\n*Virustotal report:* https://www.virustotal.com/gui/url/{{ $json[\\\"data\\\"][\\\"id\\\"].split(\\\"-\\\")[1] }}\\n*Virustotal Verdict:* {{ $json.data.attributes.stats.malicious + $json.data.attributes.stats.suspicious }} / {{ Object.keys($json.data.attributes.results).length }}\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"test-giulio-public\"},\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"252\",\"name\":\"Slack Bot Token | Giulio [✅ Share ok]\"}},\"typeVersion\":2},{\"id\":\"65e70f8a-7514-455e-97bf-b11514b4eec2\",\"name\":\"Split In Batches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[-1020,480],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":2},{\"id\":\"35084825-f3b2-4a01-b953-712c099a6451\",\"name\":\"Mark as read\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[-1300,560],\"parameters\":{\"messageId\":\"={{ $json.id }}\",\"operation\":\"update\",\"updateFields\":{\"isRead\":true}},\"credentials\":{\"microsoftOutlookOAuth2Api\":{\"id\":\"Zeu3LbjDbkwiCUik\",\"name\":\"Microsoft Outlook | Giulio [✅ Share ok]\"}},\"typeVersion\":1},{\"id\":\"62098c94-5735-4eed-a712-3f9887e0400f\",\"name\":\"VirusTotal: Scan URL\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-220,700],\"parameters\":{\"url\":\"https://www.virustotal.com/api/v3/urls\",\"method\":\"POST\",\"options\":{},\"sendQuery\":true,\"authentication\":\"predefinedCredentialType\",\"queryParameters\":{\"parameters\":[{\"name\":\"url\",\"value\":\"={{ $json.domain }}\"}]},\"nodeCredentialType\":\"virusTotalApi\"},\"credentials\":{\"virusTotalApi\":{\"id\":\"hVTFFXxLV4oWPOb0\",\"name\":\"Virus Total | Giulio [✅ Share ok]\"}},\"typeVersion\":4.1},{\"id\":\"55b7ce97-3609-4a16-b998-8bec77cffb59\",\"name\":\"VirusTotal: Get report\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[200,700],\"parameters\":{\"url\":\"=https://www.virustotal.com/api/v3/analyses/{{ $json.data.id }}\",\"options\":{},\"sendQuery\":true,\"authentication\":\"predefinedCredentialType\",\"queryParameters\":{\"parameters\":[{\"name\":\"resource\",\"value\":\"https://developers.virustotal.com/v2.0/reference/url-report\"}]},\"nodeCredentialType\":\"virusTotalApi\"},\"credentials\":{\"virusTotalApi\":{\"id\":\"hVTFFXxLV4oWPOb0\",\"name\":\"Virus Total | Giulio [✅ Share ok]\"}},\"typeVersion\":4.1},{\"id\":\"7bf3c7a0-94f9-410b-b0fe-e0d15d0ba895\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[-1760,380],\"parameters\":{\"rule\":{\"interval\":[{}]}},\"typeVersion\":1.1},{\"id\":\"741f3221-bb73-4004-801e-e9c3030740f8\",\"name\":\"Find indicators of compromise\",\"type\":\"n8n-nodes-base.code\",\"position\":[-780,440],\"parameters\":{\"language\":\"python\",\"pythonCode\":\"try:\\n from ioc_finder import find_iocs\\nexcept ImportError:\\n import micropip\\n await micropip.install(\\\"ioc-finder\\\")\\n from ioc_finder import find_iocs\\n\\ntext = _input.first().json['body']['content']\\nprint(text)\\n\\niocs = find_iocs(text)\\n\\nreturn [{\\\"json\\\": { \\\"domain\\\": item }} for item in iocs[\\\"urls\\\"]]\"},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"bf8ba285-e824-4104-82e0-fa2dba80f301\",\"name\":\"URLScan: Get report\",\"type\":\"n8n-nodes-base.urlScanIo\",\"position\":[640,60],\"parameters\":{\"scanId\":\"={{ $json.scanId }}\",\"operation\":\"get\"},\"credentials\":{\"urlScanIoApi\":{\"id\":\"eva7ViJyyrpmJDe3\",\"name\":\"urlscan.io | Giulio [✅ Share ok]\"}},\"typeVersion\":1},{\"id\":\"eb3b06e8-ffe3-4472-a70c-08fb2555e0fb\",\"name\":\"URLScan: Scan URL\",\"type\":\"n8n-nodes-base.urlScanIo\",\"position\":[-100,120],\"parameters\":{\"url\":\"={{ $json.domain }}\",\"additionalFields\":{}},\"credentials\":{\"urlScanIoApi\":{\"id\":\"eva7ViJyyrpmJDe3\",\"name\":\"urlscan.io | Giulio [✅ Share ok]\"}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"34157694-635a-481b-b7d2-dcd4628b26fe\",\"name\":\"Has URL?\",\"type\":\"n8n-nodes-base.if\",\"position\":[-520,440],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.domain }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"33cad369-0598-433e-90f8-0e7333ec5e92\",\"name\":\"No error?\",\"type\":\"n8n-nodes-base.if\",\"position\":[240,120],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.error }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"cba20d52-a56c-4ac0-99f2-d9b54adb342e\",\"name\":\"Not empty?\",\"type\":\"n8n-nodes-base.filter\",\"position\":[-640,1280],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.data }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"449c31e3-e098-43ec-a31b-1e383c6add57\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-2051.228008430503,-251.94391274976795],\"parameters\":{\"width\":474.5187061049208,\"height\":1008.8561536646063,\"content\":\"![Scheduled](https://i.imgur.com/PcOuvAL.png)\\n## Workflow Overview\\n\\nThis n8n workflow is engineered to enhance cybersecurity measures by analyzing potential phishing URLs using URLScan.io and VirusTotal. \\n\\nIt is designed to automatically process and evaluate URLs from incoming messages for malicious content.\\n\\nThis workflow is tuned specifically for `Outlook`, but you can replace outlook with your mail provider of choice. \\n\\nThe workflow can be initiated manually or scheduled to run automatically, ensuring consistent checks against phishing threats. By integrating with leading cybersecurity tools, it provides a comprehensive analysis, strengthening your organization's defense against phishing attacks.\\n\\n## Execution Schedule\\n\\nIt can be triggered at will by clicking \\\"Execute Workflow\\\" or set to run on a schedule. To align with your operational needs, customize the `Schedule Trigger` to your preferred frequency, ensuring continuous monitoring for phishing attempts.\"},\"typeVersion\":1},{\"id\":\"a8921212-aec4-422d-9f04-f402d7591475\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1560,107],\"parameters\":{\"width\":397.3953488372091,\"height\":647.1076277970203,\"content\":\"![Outlook](https://i.imgur.com/R3Bhd8I.png)\\n## Email Processing for Phishing Analysis\\nThis segment of the workflow interfaces with Microsoft Outlook to retrieve and process `all messages marked as unread`. This section can be replaced with any mail provider.\\n\\nOnce an email is fetched, the `Get all unread messages` node captures the details, while the `Mark as read` node updates the message's status. \\n\\nThis ensures that each email is only processed once, maintaining a clean and organized inbox, and preventing reprocessing of the same messages.\"},\"typeVersion\":1},{\"id\":\"fbad734e-4502-4d1b-8890-b05c486a1f70\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1140,15.062288067451163],\"parameters\":{\"width\":859.9418604651164,\"height\":836.8098049558043,\"content\":\"![python](https://i.imgur.com/S2TZ3u6.png)\\n## Indicator of Compromise Detection Loop\\nThis workflow section leverages n8n's `Split In Batches` node, a powerful feature for iterative processing. It is set to dissect the batch of emails one by one, allowing for individual examination of each message's content for potential threats.\\n\\nWith the `Find indicators of compromise` node, the workflow employs Python code to parse the email content and extract URLs, which are common indicators of compromise (IoCs) in phishing attempts. By utilizing the ioc-finder library, it systematically scans for and isolates these IoCs from the email body.\\n\\nThe `Has URL?` node then checks if the email contains any urls. If no URLs are found, then the loop moves on to the next email, as there is nothing to scan. If it does find one, it allows the email to flow to the next sections. \\n\\nThe splitting of batches is key to the workflow's efficiency, enabling the loop to handle vast quantities of emails methodically. This step is crucial in pinpointing and extracting suspicious elements from each email, highlighting the workflow's meticulous approach to security analysis.\"},\"typeVersion\":1},{\"id\":\"8603fe5b-ad6b-4980-a28b-01531c6629f3\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-260,-313.5039999999999],\"parameters\":{\"width\":1099.116279069767,\"height\":618.8295813953489,\"content\":\"![urlscan](https://i.imgur.com/RjaMt6c.png)\\n## URL Scanning and Verification\\nThis portion of the workflow engages with URLScan.io, a tool for scanning and analyzing websites for potential security threats.\\n\\nThe `URLScan: Scan URL` node begins the process by submitting the URL extracted from the email content. It's configured to continue even if an error occurs, which allows us to then do an error check in the `No error?` node instead. \\n\\nThis is because if the `URLScan: Scan URL` node fails, the whole workflow will grind to a stop. This is not good because in theory, we maybe processing another email after this one, and we need to ensure the workflow moves on to the next email. \\n\\nFollowing the submission, the `Wait 1 Minute` node pauses the workflow, giving URLScan.io adequate time to perform the scan and generate a report. This wait ensures that the subsequent retrieval of the report reflects the most recent and comprehensive analysis.\"},\"typeVersion\":1},{\"id\":\"33299274-9f02-4ea0-af60-5dee53db2c34\",\"name\":\"Wait 1 Minute\",\"type\":\"n8n-nodes-base.wait\",\"position\":[480,60],\"webhookId\":\"469a8b5e-8b5a-4360-bc9d-3b253cc0ae24\",\"parameters\":{\"unit\":\"seconds\",\"amount\":60},\"typeVersion\":1},{\"id\":\"757ad81d-ae24-4b26-98ba-a571670be2a3\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-260,318.64011851851865],\"parameters\":{\"width\":1435.7278194659766,\"height\":540.6919228251508,\"content\":\"\"},\"typeVersion\":1},{\"id\":\"8e2cbf69-6c9e-4a98-ba5e-29b93eb2742f\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-680,880],\"parameters\":{\"width\":1213.8313506082789,\"height\":575.5779026440933,\"content\":\"![Slack](https://i.imgur.com/iKyMV0N.png)\\n## Final Reporting on Phishing Analysis\\nIn the concluding phase of the workflow, we consolidate the analysis into actionable intelligence and report through Slack.\\n\\nThe `Not empty?` node filters the data, ensuring that only URLs with a completed analysis proceed to the reporting stage. This step is crucial to avoid alerting on incomplete data, which could lead to misinformed decisions.\\n\\nThe `sends slack message` node is the final touchpoint of the workflow, where it compiles a detailed report and posts it on Slack. The message includes the `subject, sender, and date` of the analyzed email, along with the URLScan and VirusTotal reports. It provides a concise verdict by tallying the number of malicious and suspicious flags against the total checks performed, offering a clear indication of the potential threat level.\\n\\nThis Slack notification serves as a prompt for the cybersecurity team to take appropriate action, completing the workflow's aim of providing streamlined, accurate, and timely phishing threat analysis.\"},\"typeVersion\":1},{\"id\":\"a2a0dc81-b1f0-4d7b-b818-71bae58512a9\",\"name\":\"Get all unread messages\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[-1520,560],\"parameters\":{\"operation\":\"getAll\",\"additionalFields\":{\"filter\":\"isRead eq false\"}},\"credentials\":{\"microsoftOutlookOAuth2Api\":{\"id\":\"Zeu3LbjDbkwiCUik\",\"name\":\"Microsoft Outlook | Giulio [✅ Share ok]\"}},\"typeVersion\":1},{\"id\":\"a5793014-9575-4e05-b467-f295a09f0945\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-260,320],\"parameters\":{\"width\":615.527819465977,\"height\":540.6919228251508,\"content\":\"![VirusTotal](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b7/VirusTotal_logo.svg/320px-VirusTotal_logo.svg.png)\\n## Phishing URL Analysis with VirusTotal\\nThis segment of the workflow deploys VirusTotal's capabilities to scrutinize URLs for signs of phishing.\\n\\nThe `VirusTotal: Scan URL` node initiates the process by sending the URL to VirusTotal for analysis. Once the scan is triggered, the workflow moves on to the `VirusTotal: Get report` node, which retrieves the detailed analysis report after a certain interval, ensuring that the data received includes all findings from the scan.\\n\\nFinally, the `Merge Reports` node combines the results from both URLScan.io and VirusTotal, aligning the data side by side for a comprehensive view. This merging by position is vital as it correlates the analysis from different sources, providing a layered security assessment of the URL in question.\"},\"typeVersion\":1},{\"id\":\"c8d5c248-77ba-4a7f-ab21-19ff8d60ed55\",\"name\":\"Merge Reports\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1040,680],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"mergeByPosition\"},\"typeVersion\":2.1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"02ba918c-5fee-4d3e-824f-1160881716b6\",\"connections\":{\"Has URL?\":{\"main\":[[{\"node\":\"URLScan: Scan URL\",\"type\":\"main\",\"index\":0},{\"node\":\"VirusTotal: Scan URL\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"No error?\":{\"main\":[[{\"node\":\"Merge Reports\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Wait 1 Minute\",\"type\":\"main\",\"index\":0}]]},\"Not empty?\":{\"main\":[[{\"node\":\"sends slack message\",\"type\":\"main\",\"index\":0}]]},\"Mark as read\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Merge Reports\":{\"main\":[[{\"node\":\"Split In Batches\",\"type\":\"main\",\"index\":0}]]},\"Wait 1 Minute\":{\"main\":[[{\"node\":\"URLScan: Get report\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Get all unread messages\",\"type\":\"main\",\"index\":0}]]},\"Split In Batches\":{\"main\":[[{\"node\":\"Find indicators of compromise\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Not empty?\",\"type\":\"main\",\"index\":0}]]},\"URLScan: Scan URL\":{\"main\":[[{\"node\":\"No error?\",\"type\":\"main\",\"index\":0}]]},\"URLScan: Get report\":{\"main\":[[{\"node\":\"Merge Reports\",\"type\":\"main\",\"index\":0}]]},\"VirusTotal: Scan URL\":{\"main\":[[{\"node\":\"VirusTotal: Get report\",\"type\":\"main\",\"index\":0}]]},\"VirusTotal: Get report\":{\"main\":[[{\"node\":\"Merge Reports\",\"type\":\"main\",\"index\":1}]]},\"Get all unread messages\":{\"main\":[[{\"node\":\"Mark as read\",\"type\":\"main\",\"index\":0}]]},\"Find indicators of compromise\":{\"main\":[[{\"node\":\"Has URL?\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Get all unread messages\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Suspicious Login Detection", "output": "{\"id\":\"xQHiKDTkezDY5lFu\",\"meta\":{\"instanceId\":\"03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8\"},\"name\":\"Suspicious_login_detection\",\"tags\":[{\"id\":\"GCHVocImoXoEVnzP\",\"name\":\"🛠️ In progress\",\"createdAt\":\"2023-10-31T02:17:21.618Z\",\"updatedAt\":\"2023-10-31T02:17:21.618Z\"},{\"id\":\"QPJKatvLSxxtrE8U\",\"name\":\"Secops\",\"createdAt\":\"2023-10-31T02:15:11.396Z\",\"updatedAt\":\"2023-10-31T02:15:11.396Z\"},{\"id\":\"hF4M6DtfFqOn2HK2\",\"name\":\"createdBy:Milorad\",\"createdAt\":\"2023-10-31T02:20:20.366Z\",\"updatedAt\":\"2023-10-31T02:20:20.366Z\"}],\"nodes\":[{\"id\":\"a95e464a-7451-4737-9db8-993a6568595b\",\"name\":\"Extract relevant data\",\"type\":\"n8n-nodes-base.set\",\"position\":[-260,700],\"parameters\":{\"values\":{\"string\":[{\"name\":\"ip\",\"value\":\"={{ $json.body.context.ip }}\"},{\"name\":\"userAgent\",\"value\":\"={{ $json.body.context.userAgent }}\"},{\"name\":\"timestamp\",\"value\":\"={{ $json.body.originalTimestamp }}\"},{\"name\":\"url\",\"value\":\"={{ $json.body.context.page.url }}\"},{\"name\":\"userId\",\"value\":\"={{ $json.body.userId }}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"d7dea680-14f3-4ffd-bfaf-f928b69d801d\",\"name\":\"New /login event\",\"type\":\"n8n-nodes-base.webhook\",\"disabled\":true,\"position\":[-740,700],\"webhookId\":\"705ca4c4-0a38-4ef8-9de9-abc8b3686dc6\",\"parameters\":{\"path\":\"705ca4c4-0a38-4ef8-9de9-abc8b3686dc6\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"bd75aad9-2d24-4083-823d-bc789fb7ef07\",\"name\":\"Unknown threat?\",\"type\":\"n8n-nodes-base.if\",\"position\":[720,1240],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.noise }}\"},{\"value1\":\"={{ $json.riot }}\"}]}},\"typeVersion\":1},{\"id\":\"d0845980-3b8c-4659-95a1-82e925867f28\",\"name\":\"Get last 10 logins from the same user\",\"type\":\"n8n-nodes-base.postgres\",\"disabled\":true,\"position\":[960,1220],\"parameters\":{\"query\":\"SELECT * FROM staging_n8n_cloud_frontend.user_signed_in WHERE user_id='{{ $('Extract relevant data').item.json.userId }}' ORDER BY received_at DESC LIMIT 10;\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"postgres\":{\"id\":\"aP9LLonHicGm2A7j\",\"name\":\"n8n product data\"}},\"typeVersion\":2.2},{\"id\":\"90e859b2-aa64-48e7-a8fe-696e3b7216f1\",\"name\":\"Query IP API1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1240,1340],\"parameters\":{\"url\":\"=http://ip-api.com/json/{{ $json.context_ip }}\",\"options\":{}},\"typeVersion\":4.1},{\"id\":\"3a944973-132a-4272-97e3-42528eb4c0fc\",\"name\":\"New location?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1440,1340],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.city }}\",\"value2\":\"={{ $('Merge').item.json.city }}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"id\":\"fb4d5d07-58ae-4b17-a389-29e7fbe2caa2\",\"name\":\"Parse User Agent\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1260,1640],\"parameters\":{\"url\":\"https://api.userparser.com/1.1/detect\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpQueryAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"ua\",\"value\":\"={{ $json.context_user_agent }}\"}]}},\"credentials\":{\"httpQueryAuth\":{\"id\":\"33f1NrH1bLdXCGyw\",\"name\":\"n8n Userparser API Key\"}},\"typeVersion\":4.1},{\"id\":\"56442924-914c-461d-b4d7-f08192e1b53b\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[295,1502],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"multiplex\"},\"typeVersion\":2.1},{\"id\":\"2b36f782-029d-41de-8823-6c083f3c305a\",\"name\":\"New Device/Browser?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1460,1640],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.browser.name }}\",\"value2\":\"={{ $('Complete login info').first().json.browser.name }}\",\"operation\":\"notEqual\"},{\"value1\":\"={{ $json.operatingSystem.name }}\",\"value2\":\"={{ $('Complete login info').first().json.operatingSystem.name }}\",\"operation\":\"notEqual\"},{\"value1\":\"={{ $json.device.type }}\",\"value2\":\"={{ $('Complete login info').first().json.device.type }}\",\"operation\":\"notEqual\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"id\":\"612c3704-6ea1-4978-ae84-17326f459c25\",\"name\":\"Complete login info\",\"type\":\"n8n-nodes-base.merge\",\"position\":[540,1240],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"multiplex\"},\"typeVersion\":2.1},{\"id\":\"9c097c31-a86d-45fe-92c7-14a58eae87b4\",\"name\":\"Query user by ID\",\"type\":\"n8n-nodes-base.postgres\",\"disabled\":true,\"position\":[2020,1340],\"parameters\":{\"query\":\"SELECT * FROM staging_n8n_cloud_frontend.users WHERE id='{{ $('Extract relevant data').item.json.userId }}'\",\"options\":{},\"operation\":\"executeQuery\"},\"credentials\":{\"postgres\":{\"id\":\"aP9LLonHicGm2A7j\",\"name\":\"n8n product data\"}},\"typeVersion\":2.2},{\"id\":\"cd6fb55b-b8f6-4778-a62a-34be42e2660d\",\"name\":\"New Location\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1660,1280],\"parameters\":{},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"7070a43a-d588-4bbb-b8d0-50e8eff171df\",\"name\":\"New Device/Browser\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1674,1625],\"parameters\":{},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"dca6d5ed-d92f-49a6-9910-c9194e696e70\",\"name\":\"User has email?\",\"type\":\"n8n-nodes-base.if\",\"position\":[2360,1360],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.email }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1},{\"id\":\"14cd3d37-5c00-4750-8ad2-f78fce66019c\",\"name\":\"HTML\",\"type\":\"n8n-nodes-base.html\",\"position\":[2580,1313],\"parameters\":{\"html\":\"

    \\n Hello {{ $json.first_name || $json.username }},\\n

    \\n

    \\n We've detected a recent login to your n8n account from a new device or location. Here are the details:\\n

    \\n

    \\n

      \\n
    • Username: {{ $json.username }}
    • \\n
    • Date & Time: {{ $('Extract relevant data').item.json.timestamp }}
    • \\n
    • Location: {{ $('Complete login info').item.json.city }}, {{ $('Complete login info').item.json.country }}
    • \\n
    • Device: {{ $('Complete login info').item.json.operatingSystem.name }} ({{ $('Complete login info').item.json.device.type }})
    • \\n
    \\n

    \\n

    \\n If this was you, you can disregard this email. We just wanted to make sure it was you who logged in from a new device or location.\\n

    \\n If this wasn't you, we recommend resetting your password right away.\\n

    \\n\\n\"},\"typeVersion\":1},{\"id\":\"e99f7779-9b84-4f8c-80a0-b34c3c9df5b4\",\"name\":\"Inform user\",\"type\":\"n8n-nodes-base.gmail\",\"disabled\":true,\"position\":[2740,1313],\"parameters\":{\"sendTo\":\"={{ $('User has email?').item.json.email }}\",\"message\":\"={{ $json.html }}\",\"options\":{},\"subject\":\"Important: Usual Login Attempt Detected\"},\"credentials\":{\"gmailOAuth2\":{\"id\":\"162\",\"name\":\"Gmail - milorad@n8n.io\"}},\"typeVersion\":2},{\"id\":\"b280b287-7b20-4dcb-9c0a-a3e5c3a60771\",\"name\":\"noise?\",\"type\":\"n8n-nodes-base.if\",\"position\":[340,220],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.noise }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"5be949da-f04a-44f9-9cf0-5e221f9d27e8\",\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"disabled\":true,\"position\":[1560,500],\"parameters\":{\"text\":\"=Suspicious login attempt detected:\\n - Priority: {{ $json.priority }}\\n - User: {{ $('Extract relevant data').item.json[\\\"userId\\\"] }}\\n - IP: {{ $('Extract relevant data').item.json[\\\"ip\\\"] }}\\n - Timestamp: {{ $('Extract relevant data').item.json[\\\"timestamp\\\"] }}\\n - User Agent: {{ $('Extract relevant data').item.json[\\\"userAgent\\\"] }}\\nGreyNoise report: https://viz.greynoise.io/ip/{{ $('Extract relevant data').item.json[\\\"ip\\\"] }}\",\"select\":\"channel\",\"channelId\":{\"__rl\":true,\"mode\":\"name\",\"value\":\"#slack-message-test\"},\"otherOptions\":{}},\"credentials\":{\"slackApi\":{\"id\":\"114\",\"name\":\"n8n Slack\"}},\"typeVersion\":2},{\"id\":\"241e492c-fb9a-4b93-bd76-4167cb67f212\",\"name\":\"Check trust level\",\"type\":\"n8n-nodes-base.switch\",\"position\":[780,360],\"parameters\":{\"rules\":{\"rules\":[{\"output\":3,\"value2\":1,\"operation\":\"equal\"},{\"output\":2,\"value2\":2,\"operation\":\"equal\"}]},\"value1\":\"={{ $json.trust_level }}\",\"fallbackOutput\":1},\"typeVersion\":1},{\"id\":\"f99741d0-161e-49c6-8e41-d61b080e977d\",\"name\":\"Check classification\",\"type\":\"n8n-nodes-base.switch\",\"position\":[780,200],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"malicious\"},{\"output\":2,\"value2\":\"benign\"},{\"output\":1,\"value2\":\"unknown\"}]},\"value1\":\"={{ $json.classification }}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"id\":\"594857f6-713f-496e-8257-b74acf5d1282\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[0.10300782209924364,-502.1236093865191],\"parameters\":{\"width\":1443.8164871528645,\"height\":1185.151137495839,\"content\":\"![greynoise](https://i.imgur.com/4vSwTkY.png)\\n## 🚦 Advanced Threat Prioritization with GreyNoise Data\\n\\nIn this section of the workflow, the integration of GreyNoise data, particularly in the `GreyNoise` node, plays a pivotal role in refining the threat prioritization process. This node's interaction with GreyNoise ensures that each alert is given an appropriate level of attention, based on the nature of the IP address involved.\\n\\n- **GreyNoise Analysis for Inbound Threats:** When the `GreyNoise` node identifies an IP address, it queries GreyNoise, considering both NOISE and RIOT datasets ([More here](https://docs.greynoise.io/docs/riot-data)). The response from this node guides the subsequent steps:\\n - **High Priority for Unknown IPs:** The `Check trust level` and `Check classification` nodes act here. If GreyNoise has no data on the IP (noise:false, riot:false), the priority is set high in the `🔴 Priority: HIGH` node. This indicates a potential targeted attack, requiring immediate analyst review.\\n - **Low to Medium Priority for Common Business Services:** IPs identified as part of common business services (riot:true), depending on their trust level and operation status, are assigned low to medium priority by the `🟡 Priority: MEDIUM` and `🟢 Priority: LOW` nodes. This reflects a lower risk of malicious activity.\\n- **Classification-Based Prioritization:** The workflow also considers the GreyNoise classification of the IP (malicious, benign, unknown) in the `Check classification` node:\\n - **Malicious IPs:** Medium-high priority, suggesting opportunistic but potentially harmful activity, set in the `🔴 Priority: HIGH` node.\\n - **Benign IPs:** Low priority, as these are usually harmless scans by known actors, designated in the `🟢 Priority: LOW` node.\\n - **Unknown IPs:** Low-medium priority, indicating possibly innocuous but unverified activity, managed by the `🟡 Priority: MEDIUM` node.\\n- **Additional Context for Outbound Threats:** For outbound connections, the workflow prioritizes alerts based on whether the IP is a known service provider or a known device scanning the internet, as interpreted by the `GreyNoise` node. High priority is assigned to outbound connections to scanning devices in the `🔴 Priority: HIGH` node, indicating potentially unwanted behavior.\\n\\n\\nThis approach, leveraging GreyNoise's advanced data analytics, showcases n8n's capability to deliver sophisticated cybersecurity solutions. By integrating this intelligent prioritization mechanism, the workflow ensures that your security team focuses on the most pressing threats first, enhancing overall security posture.\\n\\n### Authentication - No Free Tier Available\\n\\nTo set your API key for GreyNoise, open the `GreyNoise` node, and add a new authentication credential. Choose `Generic Credential Type` then `Header Auth`. Lastly, under `Credential for Header Auth` set the name to `key` and value to your `api key`.\"},\"typeVersion\":1},{\"id\":\"ee90c638-882d-4a2e-8164-adaf4ec386be\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1450.4432083435722,-139],\"parameters\":{\"width\":560.0194854548777,\"height\":818.6128004838087,\"content\":\"![Slack](https://i.imgur.com/iKyMV0N.png)\\n## 📢 Slack Notification for Alert Dissemination\\n\\nThe `Slack` node plays a crucial role in alert communication. It ensures that once a threat is identified and prioritized, the relevant information is quickly disseminated to your security team via Slack.\\n\\n- **Timely Alert Notifications:** The `Slack` node is configured to send detailed alerts to a specified Slack channel. These alerts include critical information such as the priority level, user ID, IP address, timestamp, and user agent of the suspicious login attempt. It ensures that your team is promptly informed about potential threats, allowing for quick action to mitigate risks.\\n- **Integration of Data from Previous Nodes:** This node adeptly utilizes data extracted and processed by earlier nodes like `Extract relevant data`. It enriches the Slack message with this detailed information, providing a comprehensive overview of the threat.\\n- **Direct Link to GreyNoise Analysis:** Additionally, the Slack message includes a direct link to the GreyNoise visualization for the IP in question. This link, crafted using data from the `Extract relevant data` node, allows team members to quickly access in-depth information about the IP, facilitating a faster and more informed response.\\n\\n\\nThis approach demonstrates n8n's ability to integrate seamlessly with communication tools like Slack, ensuring that cybersecurity teams are always informed and ready to respond to threats efficiently.\"},\"typeVersion\":1},{\"id\":\"b617da5f-f7e0-4c6d-8080-c1d4b2e2ed53\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[477,690],\"parameters\":{\"width\":696.8700988949365,\"height\":894.3487921624444,\"content\":\"![postgre](https://i.imgur.com/OEqO3MQ.png)\\n## 🔄 Synthesizing Data for Comprehensive Analysis\\nThe `Complete login info` node serves as a crucial juncture, integrating data from multiple sources for a detailed analysis of each login attempt.\\n\\n- **Combining Multiple Data Streams:** The `Complete login info` node merges information from the `GreyNoise`, `IP API`, and `UserParser` nodes. This process creates a comprehensive dataset by combining threat intelligence from GreyNoise, geolocation details from IP-API, and user agent information from UserParser.\\n- **Enhanced Context for Security Analysis:** By amalgamating data from these varied sources, the workflow gains a multi-faceted view of each login attempt. This enriched context is essential for identifying potential security threats with higher precision.\\n- **Efficient Workflow Structure:** The integration of these diverse data points exemplifies n8n's efficiency in managing complex workflows. By funneling various streams of information into a single node, the workflow ensures that all relevant data is considered in unison during the analysis phase.\\n- **Informing Subsequent Workflow Steps:** The dataset prepared by the `Complete login info` node lays the groundwork for further steps in the workflow. It provides the necessary context for nodes that follow, such as the `Unknown threat?` and `Get last 10 logins from the same user` nodes, to make informed decisions based on a holistic view of the login event.\"},\"typeVersion\":1},{\"id\":\"1e106297-b7db-4b2d-b08c-a35880782c8c\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1185,691],\"parameters\":{\"width\":663.6738255654103,\"height\":892.4220900613532,\"content\":\"![ipapi](https://i.imgur.com/OMhn14b.png)\\n## 📍 Assessing Login Location Anomalies\\n\\nThe nodes following `Get last 10 logins from the same user` are dedicated to analyzing login location patterns to identify any anomalies.\\n\\n- **Fetching Historical Login Data:** The `Get last 10 logins from the same user` node queries a Postgres database to retrieve the last 10 login records for a user. This data forms the baseline for identifying unusual login locations.\\n\\n- **Comparing Current and Historical Geolocation Data:** The `Query IP API1` node fetches the geolocation data for the current login attempt. This data is then compared with historical login locations in the `New location?` node.\\n\\n- **Identifying Location Anomalies:** The `New location?` node checks if the city from the current login is different from the cities in the user's login history. This comparison is crucial to detect any unusual login patterns, such as logins from new, potentially suspicious locations.\\n\\n- **Routing Based on Location Consistency:** Depending on whether the current login location matches historical patterns, the workflow branches to either the `New Location` or `Known Location` nodes. The `New Location` node triggers when a login from a new city is detected, indicating a potential security risk. Conversely, the `Known Location` node is activated when the login location is consistent with historical data, suggesting a regular login pattern.\"},\"typeVersion\":1},{\"id\":\"3e091a54-2fdc-491c-a168-0fb4fb704fd8\",\"name\":\"Sticky Note9\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2310.5877845770297,691.4637444823477],\"parameters\":{\"width\":629.1148167417672,\"height\":841.097003209987,\"content\":\"![gmail](https://i.imgur.com/f6f6my0.png)\\n## 📧 Notifying Users About Unusual Login Attempts\\n\\nIn the final section of the \\\"Suspicious Login Detection\\\" workflow, the nodes `User has email?`, `HTML`, and `Inform user` work together to notify users about unusual login attempts, enhancing the security and responsiveness of the system.\\n\\n- **Verifying Email Availability:** After fetching user details with `Query user by ID`, the `User has email?` node checks if the user has an email address on record. This verification is crucial to ensure that the notification process proceeds only for users with valid email addresses.\\n\\n- **Crafting the Notification Message:** The `HTML` node is responsible for creating the email content. It generates a well-formatted HTML message informing the user of a recent login from a new device or location. The message includes details like username, timestamp, location, and device information, providing the user with specific insights into the login activity.\\n\\n- **Sending the Email Alert:** Finally, the `Inform user` node sends out the email notification. This node uses Gmail to dispatch the message crafted by the `HTML` node to the user's email address obtained in the previous steps.\\n\\n- **Enhancing User Awareness and Security:** By notifying users of unusual login activities, the workflow not only enhances security but also empowers users to take immediate action if the login was not authorized. This could include steps like changing their password or contacting the security team.\"},\"typeVersion\":1},{\"id\":\"f9c6f726-ce2f-448b-a392-b86e0507ce13\",\"name\":\"Sticky Note10\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1858,691.3527917931716],\"parameters\":{\"width\":442.82773054232473,\"height\":839.4355618292594,\"content\":\"![postgre](https://i.imgur.com/OEqO3MQ.png)\\n## 🧩 Querying User Details for Enhanced Context\\n\\nThe `Query user by ID` node plays a key role in gathering additional user-specific information to provide enhanced context for the security analysis.\\n\\n- **User Information Retrieval:** The `Query user by ID` node interacts with a Postgres database to fetch detailed information about the user whose ID is associated with the current login attempt. This information is crucial for understanding the user's profile and access patterns.\\n\\n- **Integrating with Location and Device Analysis:** This node is triggered following alerts from either the `New Location` or `New Device/Browser` nodes. These alerts indicate that the current login attempt is potentially suspicious due to a new location or device/browser being used.\\n\\n- **Enriching Security Insight:** By querying detailed user data, the workflow gains a deeper understanding of the user's normal access patterns and profiles. This information can be instrumental in differentiating between legitimate user behavior and potential unauthorized access.\"},\"typeVersion\":1},{\"id\":\"6fd1a35c-5abc-4655-b5b5-836b49129d24\",\"name\":\"riot?\",\"type\":\"n8n-nodes-base.if\",\"position\":[520,380],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $('GreyNoise').item.json.riot }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"123fa821-4eb0-42b9-99c9-a0157f7ffac8\",\"name\":\"🔴 Priority: HIGH\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,220],\"parameters\":{\"values\":{\"string\":[{\"name\":\"priority\",\"value\":\"🔴 High\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":2},{\"id\":\"459d0152-8184-4031-8f70-6c100f2bc6c3\",\"name\":\"🟡 Priority: MEDIUM\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"priority\",\"value\":\"🟡 Medium\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"58427db9-8ef7-4916-8564-727bd587401d\",\"name\":\"🟢 Priority: LOW\",\"type\":\"n8n-nodes-base.set\",\"position\":[1180,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"priority\",\"value\":\"🟢 Low\"}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"fd1e93a2-267e-4d5e-9724-6a4bb46b94b2\",\"name\":\"GreyNoise\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[280,440],\"parameters\":{\"url\":\"=https://api.greynoise.io/v3/community/{{ $json.ip }}\",\"options\":{\"response\":{\"response\":{\"neverError\":true}}},\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpHeaderAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"wwwfQfxzoBK7NH2a\",\"name\":\"n8n greynoise api key\"}},\"typeVersion\":4.1},{\"id\":\"032b9558-a19b-4790-8593-8949ab2606d4\",\"name\":\"IP API\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[40,1280],\"parameters\":{\"url\":\"=http://ip-api.com/json/{{ $json.ip }}\",\"options\":{}},\"typeVersion\":4.1},{\"id\":\"6cff0db9-27c3-4c4b-9af0-e8a8d55ad107\",\"name\":\"UserParser\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[80,1522],\"parameters\":{\"url\":\"https://api.userparser.com/1.1/detect\",\"options\":{},\"sendQuery\":true,\"authentication\":\"genericCredentialType\",\"genericAuthType\":\"httpQueryAuth\",\"queryParameters\":{\"parameters\":[{\"name\":\"ua\",\"value\":\"={{ $json.userAgent }}\"}]}},\"credentials\":{\"httpQueryAuth\":{\"id\":\"33f1NrH1bLdXCGyw\",\"name\":\"n8n Userparser API Key\"}},\"typeVersion\":4.1},{\"id\":\"65c7a039-5257-495d-86c2-18a44627ebe1\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-740,880],\"parameters\":{},\"typeVersion\":1},{\"id\":\"a038a10a-baaf-4649-9d38-4fa661dfc4ce\",\"name\":\"Example event\",\"type\":\"n8n-nodes-base.code\",\"position\":[-480,880],\"parameters\":{\"jsCode\":\"return {\\n json:\\n {\\n \\\"headers\\\": {\\n \\\"host\\\": \\\"internal.users.n8n.cloud\\\",\\n \\\"user-agent\\\": \\\"PostmanRuntime/7.32.3\\\",\\n \\\"content-length\\\": \\\"857\\\",\\n \\\"accept\\\": \\\"*/*\\\",\\n \\\"accept-encoding\\\": \\\"gzip, deflate, br\\\",\\n \\\"content-type\\\": \\\"application/json\\\",\\n \\\"postman-token\\\": \\\"e10e747f-0668-4238-9a3d-148b2c8591da\\\",\\n \\\"x-forwarded-for\\\": \\\"10.255.0.2\\\",\\n \\\"x-forwarded-host\\\": \\\"internal.users.n8n.cloud\\\",\\n \\\"x-forwarded-port\\\": \\\"443\\\",\\n \\\"x-forwarded-proto\\\": \\\"https\\\",\\n \\\"x-forwarded-server\\\": \\\"e591fa1c2d01\\\",\\n \\\"x-real-ip\\\": \\\"10.255.0.2\\\"\\n },\\n \\\"params\\\": {},\\n \\\"query\\\": {},\\n \\\"body\\\": {\\n \\\"anonymousId\\\": \\\"b4191c58-7d64-4c93-8bb4-479c3c95d283\\\",\\n \\\"context\\\": {\\n \\\"ip\\\": \\\"2.204.248.108\\\",\\n \\\"library\\\": {\\n \\\"name\\\": \\\"analytics.js\\\",\\n \\\"version\\\": \\\"next-1.53.0\\\"\\n },\\n \\\"locale\\\": \\\"en-US\\\",\\n \\\"page\\\": {\\n \\\"path\\\": \\\"/login\\\",\\n \\\"referrer\\\": \\\"https://github.com/\\\",\\n \\\"search\\\": \\\"\\\",\\n \\\"title\\\": \\\"n8n.cloud\\\",\\n \\\"url\\\": \\\"https://stage-app.n8n.cloud/login\\\"\\n },\\n \\\"userAgent\\\": \\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0\\\"\\n },\\n \\\"event\\\": \\\"User signed in\\\",\\n \\\"integrations\\\": {},\\n \\\"messageId\\\": \\\"ajs-next-a14f5b6e9860c7318a27f1ac05b3182d\\\",\\n \\\"originalTimestamp\\\": \\\"2023-06-28T11:26:46.302Z\\\",\\n \\\"properties\\\": {},\\n \\\"receivedAt\\\": \\\"2023-06-28T11:26:46.550Z\\\",\\n \\\"sentAt\\\": \\\"2023-06-28T11:26:46.313Z\\\",\\n \\\"timestamp\\\": \\\"2023-06-28T11:26:46.539Z\\\",\\n \\\"type\\\": \\\"track\\\",\\n \\\"userId\\\": \\\"staging-2055\\\"\\n }\\n }\\n}\"},\"typeVersion\":2},{\"id\":\"700a08d8-09ce-486c-bcfb-07d15f268d08\",\"name\":\"Sticky Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-803,-83],\"parameters\":{\"width\":794.5711626683587,\"height\":1175.5321499586535,\"content\":\"![webhook](https://i.imgur.com/D6SP9P0.png)\\n## Workflow Overview\\n\\nExperience enhanced cybersecurity with the `Suspicious Login Detection` workflow in n8n, your go-to solution for real-time monitoring and rapid response to suspicious login activities. This workflow is versatile, with both manual and automated webhook triggers to suit your testing and operational needs.\\n\\nThis [this GreyNoise guide](https://docs.greynoise.io/docs/applying-greynoise-data-to-your-analysis) was used to design the architecture of this workflow and can serve as a guide for making your own version of this workflow.\\n\\nKey features include:\\n\\n- Data Extraction: Seamlessly extracts crucial data like IP addresses and user IDs from login events.\\n- Triple-Threat Analysis: Splits into three paths for thorough scrutiny, using `GreyNoise` for IP trust assessment, `IP-API` for geolocation insights, and `UserParser` for user agent details.\\n- Prioritized Alerts: Assigns alert priorities and swiftly notifies via `Slack`, ensuring immediate attention to high-risk activities.\\n- In-depth Investigation: Cross-references login history for anomalies and flags potential threats, keeping your security team a step ahead.\\n\\n\\nEasy to set up and adaptable, this n8n workflow is a powerhouse tool for safeguarding your digital environment. \\n\\n## ▶️Initial Trigger: Detecting Suspicious Logins\\n\\nThe initial trigger of this workflow is the detection of new login events. This is achieved through a combination of a webhook (`New /login event` node), set to trigger upon a new /login event, and a manual trigger (`When clicking \\\"Execute Workflow\\\"` node) for testing purposes. The webhook is configured to receive data from login events, capturing vital information such as IP addresses and user details.\\n\\nThis setup is crucial for real-time monitoring of login activities. As soon as a login event occurs, the workflow springs into action, extracting and processing the relevant data using the `Extract relevant data` node. \"},\"typeVersion\":1},{\"id\":\"ff6bbb3c-1c14-4e94-bfae-58e8cbb098c4\",\"name\":\"Sticky Note11\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[0.113308604309168,690],\"parameters\":{\"width\":469.4801859287644,\"height\":736.6018800373852,\"content\":\"![ipapi](https://i.imgur.com/OMhn14b.png)\\n## 🌐 IP Geolocation with IP-API\\nThe `IP API` node in the \\\"Suspicious Login Detection\\\" workflow adds crucial geolocation context to login events. It queries IP-API for geographical data on the IP address extracted earlier.\\n\\n- **Geographical Insight:** This node provides geographical details like country, region, and city, helping to identify unusual login locations that might signal a security risk.\\n- **Enhanced Security Analysis:** The geographical data aids in assessing the legitimacy of login attempts, adding a valuable layer to the security analysis.\\n\\n### Authentication - Free Tier Available (45 requests/min)\\nThis endpoint is limited to `45 requests per minute from an IP address`.\\n\\nIf you go over the limit your requests will be throttled `(HTTP 429)` until your rate limit window is reset. If you constantly go over the limit your IP address will be banned for 1 hour.\\n\\nNo authentication needed, [Click here to view documentation.](https://ip-api.com/docs)\"},\"typeVersion\":1},{\"id\":\"57adbcf5-f927-4bdb-b863-bcff97be0ace\",\"name\":\"Sticky Note12\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[0,1435],\"parameters\":{\"width\":470.4372486447854,\"height\":1044.866146557656,\"content\":\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n![userparser](https://i.imgur.com/IxvDyZB.png)\\n## 🔄 Merging Geolocation and User Agent Data\\n\\nIn the \\\"Suspicious Login Detection\\\" workflow, the `Merge` node plays a pivotal role in synthesizing information from the `IP API` and `UserParser` nodes.\\n\\n- **Data Integration:** The `Merge` node combines data from two key sources: geolocation details from the `IP API` node and user agent information from the `UserParser` node. This integration offers a comprehensive view of each login event.\\n\\n- **Comprehensive Analysis:** By merging geolocation and user agent data, the workflow gains a fuller understanding of the context behind each login attempt, crucial for accurately assessing security risks.\\n\\n- **Efficient Workflow Design:** The use of the `Merge` node demonstrates n8n's efficient handling of diverse data streams, ensuring that all relevant information is brought together for a cohesive analysis.\\n\\n\\n### Authentication - Free Tier Available (10000 calls / month)\\nThis endpoint is limited to `500 calls / day`.\\n\\nTo set your API key for UserParser, open the `UserParser HTTP Request` node, and add a new authentication credential. Choose `Generic Credential Type` then `Query Auth`. Lastly, under `Credential for Query Auth` set the name to `api_key` and value to your `api key`.\\n\\n[Click here to view documentation.](https://www.userparser.com/docs/user-agent-and-geoip-lookup-api-v1.1)\"},\"typeVersion\":1},{\"id\":\"44830be0-428a-492e-97f7-66289fac6231\",\"name\":\"Sticky Note13\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1184,1590],\"parameters\":{\"width\":659.8254746666762,\"height\":845.1421530016269,\"content\":\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n![userparser](https://i.imgur.com/IxvDyZB.png)\\n## 📱 Identifying Device and Browser Anomalies\\nthe `Parse User Agent` and `New Device/Browser?` nodes focus on detecting anomalies in device and browser usage for login events.\\n\\n- **Parsing User Agent Data:** The `Parse User Agent` node uses the UserParser API to analyze the user agent string from the current login attempt. This node extracts detailed information about the browser, operating system, and device type used for the login, offering crucial insights into the login environment.\\n\\n- **Comparing with Historical Data:** After parsing the user agent data, the workflow proceeds to the `New Device/Browser?` node. This node compares the current login's device and browser details against the user's historical data (retrieved by the `Get last 10 logins from the same user` node) to check for any discrepancies.\\n\\n- **Detecting New Device or Browser Use:** The `New Device/Browser?` node checks if there's a change in the browser name, operating system, or device type. A change might indicate that the current login is being attempted from a new device or browser, which could be a sign of unauthorized access.\\n\\n- **Routing Based on Device and Browser Consistency:** The workflow bifurcates based on this analysis. If a new device or browser is detected, the flow moves to the `New Device/Browser` node, suggesting potential security risks. Conversely, if the device and browser match historical patterns, the `Old Device/Browser` node is activated, indicating a routine login.\"},\"typeVersion\":1},{\"id\":\"e0bcc621-ff1f-47ca-a63a-f1af5c521c9a\",\"name\":\"Known, Do Nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[960,1440],\"parameters\":{},\"typeVersion\":1},{\"id\":\"92c08a63-6961-40f6-993e-052a311f4bb6\",\"name\":\"Known Location\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1660,1420],\"parameters\":{},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"bb1621e0-8297-4e6c-bcdf-eae683a4b830\",\"name\":\"Old Device/Browser\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1674,1765],\"parameters\":{},\"executeOnce\":true,\"typeVersion\":1},{\"id\":\"9c987dd1-8d27-4067-9956-712eae4a228c\",\"name\":\"Not Riot\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[780,520],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"cd2fd77a-2903-44b8-826a-6797efb5f871\",\"connections\":{\"HTML\":{\"main\":[[{\"node\":\"Inform user\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Complete login info\",\"type\":\"main\",\"index\":1}]]},\"riot?\":{\"main\":[[{\"node\":\"Check trust level\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Not Riot\",\"type\":\"main\",\"index\":0}]]},\"IP API\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"noise?\":{\"main\":[[{\"node\":\"Check classification\",\"type\":\"main\",\"index\":0}],[{\"node\":\"riot?\",\"type\":\"main\",\"index\":0}]]},\"GreyNoise\":{\"main\":[[{\"node\":\"Complete login info\",\"type\":\"main\",\"index\":0},{\"node\":\"noise?\",\"type\":\"main\",\"index\":0}]]},\"UserParser\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"New Location\":{\"main\":[[{\"node\":\"Query user by ID\",\"type\":\"main\",\"index\":0}]]},\"Example event\":{\"main\":[[{\"node\":\"Extract relevant data\",\"type\":\"main\",\"index\":0}]]},\"New location?\":{\"main\":[[{\"node\":\"New Location\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Known Location\",\"type\":\"main\",\"index\":0}]]},\"Query IP API1\":{\"main\":[[{\"node\":\"New location?\",\"type\":\"main\",\"index\":0}]]},\"Unknown threat?\":{\"main\":[[{\"node\":\"Get last 10 logins from the same user\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Known, Do Nothing\",\"type\":\"main\",\"index\":0}]]},\"User has email?\":{\"main\":[[{\"node\":\"HTML\",\"type\":\"main\",\"index\":0}]]},\"New /login event\":{\"main\":[[{\"node\":\"Extract relevant data\",\"type\":\"main\",\"index\":0}]]},\"Parse User Agent\":{\"main\":[[{\"node\":\"New Device/Browser?\",\"type\":\"main\",\"index\":0}]]},\"Query user by ID\":{\"main\":[[{\"node\":\"User has email?\",\"type\":\"main\",\"index\":0}]]},\"Check trust level\":{\"main\":[[],[{\"node\":\"🔴 Priority: HIGH\",\"type\":\"main\",\"index\":0}],[{\"node\":\"🟡 Priority: MEDIUM\",\"type\":\"main\",\"index\":0}],[{\"node\":\"🟢 Priority: LOW\",\"type\":\"main\",\"index\":0}]]},\"New Device/Browser\":{\"main\":[[{\"node\":\"Query user by ID\",\"type\":\"main\",\"index\":0}]]},\"🟢 Priority: LOW\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Complete login info\":{\"main\":[[{\"node\":\"Unknown threat?\",\"type\":\"main\",\"index\":0}]]},\"New Device/Browser?\":{\"main\":[[{\"node\":\"New Device/Browser\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Old Device/Browser\",\"type\":\"main\",\"index\":0}]]},\"🔴 Priority: HIGH\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Check classification\":{\"main\":[[{\"node\":\"🔴 Priority: HIGH\",\"type\":\"main\",\"index\":0}],[{\"node\":\"🟡 Priority: MEDIUM\",\"type\":\"main\",\"index\":0}],[{\"node\":\"🟢 Priority: LOW\",\"type\":\"main\",\"index\":0}]]},\"Extract relevant data\":{\"main\":[[{\"node\":\"GreyNoise\",\"type\":\"main\",\"index\":0},{\"node\":\"UserParser\",\"type\":\"main\",\"index\":0},{\"node\":\"IP API\",\"type\":\"main\",\"index\":0}]]},\"🟡 Priority: MEDIUM\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Example event\",\"type\":\"main\",\"index\":0}]]},\"Get last 10 logins from the same user\":{\"main\":[[{\"node\":\"Query IP API1\",\"type\":\"main\",\"index\":0},{\"node\":\"Parse User Agent\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Move a nextcloud folder file by file", "output": "{\"meta\":{\"instanceId\":\"9ca813d4011eeb6a3cfcfbfac1efbb98641b1341a64a5cad70c430777ffd407e\"},\"nodes\":[{\"id\":\"38cd304e-e260-4bbd-ace1-57b5fd0e6344\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-1300,360],\"parameters\":{},\"typeVersion\":1},{\"id\":\"087994ba-3b40-4337-b17a-e2ab4aa39963\",\"name\":\"Whether type is file\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,780],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $json.type }}\",\"value2\":\"file\"}]}},\"typeVersion\":1},{\"id\":\"ab2ec609-2c7a-4976-9ce0-57f6961578e1\",\"name\":\"Set new path for subfolder\",\"type\":\"n8n-nodes-base.set\",\"position\":[1240,900],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"from\",\"stringValue\":\"={{ decodeURIComponent($json.path) }}\"},{\"name\":\"to\",\"stringValue\":\"={{ decodeURIComponent($('Set folder-paths for from and to').item.json.to + '/' + $json.path.split('/').filter(Boolean).pop() + '/') }}\"}]},\"include\":\"none\",\"options\":{}},\"typeVersion\":3.2},{\"id\":\"98099141-0e7f-49f0-bfc9-67eef67b13aa\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[540,474.3406813627256],\"parameters\":{\"width\":1861.9238476953906,\"height\":665.3466933867735,\"content\":\"## Get all files of subfolders\\nIn this segment of the workflow, all files located within subfolders are collected. This includes the exploration of subfolders within subfolders, ensuring the identification of every file throughout the entire folder structure. Additionally, a corresponding folder is created in the destination structure for each identified subfolder.\"},\"typeVersion\":1},{\"id\":\"8284d632-f0a0-437e-9f75-6995c72400c2\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[2440,478.85370741482984],\"parameters\":{\"width\":695.2464929859717,\"height\":660.1721006751914,\"content\":\"## Enrich the files\\nIn this phase of the workflow, all identified files are processed and enriched with the correct path within the destination structure.\"},\"typeVersion\":1},{\"id\":\"f8b151e4-f9c9-474c-94f3-1c0d340d8e36\",\"name\":\"Set new path for file\",\"type\":\"n8n-nodes-base.code\",\"position\":[2900,860],\"parameters\":{\"jsCode\":\"for (const item of $input.all()) {\\n const toPath = $('Set folder-paths for from and to').item.json.to;\\n const fromPath = $('Set folder-paths for from and to').item.json.from;\\n\\n // Remove leading and trailing slashes\\n path = fromPath.replace(/^\\\\/|\\\\/$/g, '');\\n // Split the path into an array of folders\\n const folders = path.split('/');\\n // Remove empty strings (resulting from leading, trailing, or consecutive slashes)\\n const nonEmptyFoldersCount = folders.filter(folder => folder !== '').length;\\n\\n newFilePathArray = item.json.path.replace(/^\\\\/|\\\\/$/g, '').split('/');\\n \\n item.json.newPath = toPath.replace(/^\\\\/|\\\\/$/g, '') + '/' + newFilePathArray.slice(nonEmptyFoldersCount).join(\\\"/\\\")\\n}\\n\\nreturn $input.all();\"},\"typeVersion\":2},{\"id\":\"638426c9-c736-4ba9-91a2-383049f15ee5\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3180,480],\"parameters\":{\"width\":695.2464929859717,\"height\":658.7966837968969,\"content\":\"## Move files \\nIn this stage of the workflow, the files are moved into the destination structure.\\n\\nIf the batch size remains at 1 in the Loop Over node, each file will be moved sequentially. If the batch size is increased, multiple files will be moved simultaneously.\"},\"typeVersion\":1},{\"id\":\"96d83360-21ed-49f1-b273-47ee609f52fa\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[3920,480],\"parameters\":{\"width\":695.2464929859717,\"height\":658.7966837968969,\"content\":\"## (Optional) Delete *from*-folder\\n\"},\"typeVersion\":1},{\"id\":\"cd5dbcf2-378e-4102-9db2-0627c829e2f2\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-380,480],\"parameters\":{\"width\":871.7450543093198,\"height\":665.3466933867735,\"content\":\"## Get the files and subfolders to move\\nIn this segment of the workflow, all files and subfolders to be relocated are gathered. Additionally, the destination folder is created if it does not already exist.\"},\"typeVersion\":1},{\"id\":\"91894912-7f54-447b-947b-4040fc92f094\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1340,60],\"parameters\":{\"width\":723.2756594453772,\"height\":463.596247600301,\"content\":\"## Manual Start\\nTo manually initiate the workflow, the Set Paths node requires the specification of the folder path to be moved and the destination folder path. Subfolders can be indicated using '/'.\\n\\nEnsure that the other workflow triggers are deactivated before initiating the workflow.\"},\"typeVersion\":1},{\"id\":\"c1e7754f-6efa-4967-9b8d-6c1bcdb55355\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"disabled\":true,\"position\":[-1320,880],\"webhookId\":\"285b2cba-587b-4131-82a8-cdd35a8d49e1\",\"parameters\":{\"path\":\"285b2cba-587b-4131-82a8-cdd35a8d49e1\",\"options\":{},\"httpMethod\":\"POST\",\"responseData\":\"noData\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"id\":\"cb3e0c28-afa4-4847-b95e-5c7523f18df6\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1340,580],\"parameters\":{\"width\":723.2756594453772,\"height\":500.9028666051119,\"content\":\"## Webhook trigger\\nYou can also automate the workflow by configuring a webhook to trigger it. It is crucial that each request contains a JSON body with at least the two attributes 'from-path' and 'to-path' set. Here is an example:\\n\\n```\\n{\\n \\\"from\\\": \\\"Folder/to/move\\\",\\n \\\"to\\\": \\\"New-Folder\\\"\\n}\\n```\\n\\nThe workflow will respond with an error, if the request is not valid.\\n\\nEnsure that the other workflow triggers are deactivated before initiating the workflow.\"},\"typeVersion\":1},{\"id\":\"3c85f4a4-28b3-4315-b689-033e4af3f888\",\"name\":\"Sticky Note7\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-1340,1140],\"parameters\":{\"width\":723.2756594453772,\"height\":498.6039613328509,\"content\":\"## Trigger by other workflow\\nIt is also possible to initiate this workflow from within another workflow. It is important to ensure that at least the 'from-path' and 'to-path' are passed as parameters when starting this workflow.\\n\\nThe workflow will respond with an error, if the request is not valid.\\n\\nEnsure that the other workflow triggers are deactivated before initiating the workflow.\"},\"typeVersion\":1},{\"id\":\"88e63d18-7c68-4d4f-bfe6-5780115d3ed0\",\"name\":\"Execute Workflow Trigger\",\"type\":\"n8n-nodes-base.executeWorkflowTrigger\",\"disabled\":true,\"position\":[-1320,1440],\"parameters\":{},\"typeVersion\":1},{\"id\":\"82d7182e-3aca-4407-8faa-3704429974dc\",\"name\":\"Set folder-paths for from and to\",\"type\":\"n8n-nodes-base.set\",\"position\":[-280,880],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"from\",\"stringValue\":\"={{ $json.from }}\"},{\"name\":\"to\",\"stringValue\":\"={{ $json.to }}\"}]},\"options\":{}},\"typeVersion\":3.2},{\"id\":\"e9edad54-d5f2-481e-b5be-b43a15b74233\",\"name\":\"Create to folder if necessary\",\"type\":\"n8n-nodes-base.nextCloud\",\"onError\":\"continueRegularOutput\",\"position\":[-40,880],\"parameters\":{\"path\":\"={{ $json.to }}\",\"resource\":\"folder\"},\"credentials\":{\"nextCloudApi\":{\"id\":\"kd8dB6PqsIKQhB6O\",\"name\":\"NextCloud account\"}},\"typeVersion\":1},{\"id\":\"4283f069-ea26-499d-928c-5f0f3898cdc4\",\"name\":\"Get all folders/files in from-folder\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[240,880],\"parameters\":{\"path\":\"={{ $('Set folder-paths for from and to').item.json.from }}\",\"resource\":\"folder\",\"operation\":\"list\"},\"credentials\":{\"nextCloudApi\":{\"id\":\"kd8dB6PqsIKQhB6O\",\"name\":\"NextCloud account\"}},\"typeVersion\":1},{\"id\":\"06c77d03-d79b-4435-9f7f-eef919b7b6af\",\"name\":\"Loop over files and folders\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[660,880],\"parameters\":{\"options\":{}},\"typeVersion\":3},{\"id\":\"56cc28ea-d934-4d9c-9e28-968c2e1fa4da\",\"name\":\"Consolidate all files and folders found\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2000,760],\"parameters\":{},\"typeVersion\":1},{\"id\":\"57883a8f-7989-4706-808a-595376ebaf47\",\"name\":\"Create subfolder in to-folder\",\"type\":\"n8n-nodes-base.nextCloud\",\"onError\":\"continueRegularOutput\",\"position\":[1440,900],\"parameters\":{\"path\":\"={{$('Set new path for subfolder').item.json.to }}\",\"resource\":\"folder\"},\"credentials\":{\"nextCloudApi\":{\"id\":\"kd8dB6PqsIKQhB6O\",\"name\":\"NextCloud account\"}},\"typeVersion\":1},{\"id\":\"0a173b88-53c5-44b1-ae04-f68b343025ce\",\"name\":\"Get all folders/files in found subfolder\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[1680,900],\"parameters\":{\"path\":\"={{$('Set new path for subfolder').item.json.from }}\",\"resource\":\"folder\",\"operation\":\"list\"},\"credentials\":{\"nextCloudApi\":{\"id\":\"kd8dB6PqsIKQhB6O\",\"name\":\"NextCloud account\"}},\"typeVersion\":1},{\"id\":\"3c17b67c-e815-4e27-9b63-19346cb8b966\",\"name\":\"Whether there is are more files or subfolders found\",\"type\":\"n8n-nodes-base.if\",\"position\":[2200,880],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Loop over files and folders\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"94c4e926-eb92-4b10-8d35-2b3483cc4819\",\"name\":\"Consolidate all found files\",\"type\":\"n8n-nodes-base.code\",\"position\":[2580,860],\"parameters\":{\"jsCode\":\"let results = [],\\n i = 0;\\n\\ndo {\\n try {\\n results = results.concat($(\\\"Consolidate all files and folders found\\\").all(0, i));\\n } catch (error) {\\n return results;\\n }\\n i++;\\n} while (true);\"},\"typeVersion\":2},{\"id\":\"b40e30ff-793c-46e6-b5a0-5498ee27a3c9\",\"name\":\"Loop Over all files\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[3300,860],\"parameters\":{\"options\":{}},\"typeVersion\":3},{\"id\":\"034c66f7-c184-438d-96de-1d20f8f7adc5\",\"name\":\"Move file to destination\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[3660,940],\"parameters\":{\"path\":\"={{ decodeURIComponent($json.path) }}\",\"toPath\":\"={{ decodeURIComponent($json.newPath) }}\",\"operation\":\"move\"},\"credentials\":{\"nextCloudApi\":{\"id\":\"kd8dB6PqsIKQhB6O\",\"name\":\"NextCloud account\"}},\"typeVersion\":1},{\"id\":\"34c8521f-cb17-479f-842b-38cbb5970403\",\"name\":\"Delete from-folder\",\"type\":\"n8n-nodes-base.nextCloud\",\"onError\":\"continueRegularOutput\",\"position\":[4200,840],\"parameters\":{\"path\":\"={{ $('Set folder-paths for from and to').item.json.from }}\",\"resource\":\"folder\",\"operation\":\"delete\"},\"credentials\":{\"nextCloudApi\":{\"id\":\"kd8dB6PqsIKQhB6O\",\"name\":\"NextCloud account\"}},\"typeVersion\":1},{\"id\":\"eeda26a3-f5e6-4e6d-aeca-ebe2dbc2cb9e\",\"name\":\"Set paths\",\"type\":\"n8n-nodes-base.set\",\"position\":[-780,360],\"parameters\":{\"fields\":{\"values\":[{\"name\":\"from\",\"stringValue\":\"Old-Folder\"},{\"name\":\"to\",\"stringValue\":\"Destination\"}]},\"options\":{}},\"typeVersion\":3.2},{\"id\":\"ba2e352a-4911-470b-a3bb-f63e3470e228\",\"name\":\"Whether the request is valid\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1100,880],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.hasOwnProperty('body') && $json.body.hasOwnProperty('to') && $json.body.hasOwnProperty('from')}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"ed4ddbf1-becf-4944-abd4-0b4cdf6d3b85\",\"name\":\"Stop and Error: request not valid\",\"type\":\"n8n-nodes-base.stopAndError\",\"position\":[-760,920],\"parameters\":{\"errorMessage\":\"The Request is not valid!\"},\"typeVersion\":1},{\"id\":\"2b5d67ac-983b-486d-99f1-e05995383878\",\"name\":\"Whether the request is valid1\",\"type\":\"n8n-nodes-base.if\",\"position\":[-1120,1440],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.hasOwnProperty('to') && $json.hasOwnProperty('from')}}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"b57309cf-2a69-4879-a7d4-5499f8278e3b\",\"name\":\"Stop and Error: request not valid1\",\"type\":\"n8n-nodes-base.stopAndError\",\"position\":[-760,1480],\"parameters\":{\"errorMessage\":\"The Request is not valid!\"},\"typeVersion\":1},{\"id\":\"f109308f-0b48-4395-9f2d-c8b4e8d936d2\",\"name\":\"Sticky Note8\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-2440,60],\"parameters\":{\"width\":770.5015081009478,\"height\":1247.9320267653952,\"content\":\"# Template Description\\n\\n\\n## Description:\\nThis template facilitates the transfer of a folder, along with all its files and subfolders, within a Nextcloud instance. The Nextcloud user must have access to both the source and destination folders. While Nextcloud allows folder movement, complications may arise when dealing with external storage that has rate limits. This workflow ensures the individual transfer of each file to avoid exceeding rate limits, particularly useful for setups involving external storage with rate limitations.\\n\\n## How it works:\\n\\n- Identify all files and subfolders within the specified source folder.\\n- Recursive search within subfolders for additional files.\\n- Replicate the folder structure in the target folder.\\n- Individually move each identified file to the corresponding location in the target folder.\\n\\n## Set up steps:\\n\\n- Set Nextcloud credentials for all Nextcloud nodes involved in the process.\\n-Edit the trigger settings. Detailed instructions can be found within the respective trigger configuration.\\n- Initiate the workflow to commence the folder transfer process.\\n\\n\\n## Help\\nIf you need assistance with applying this template, feel free to reach out to me. You can find additional information about me and my services here. => https://nicokowalczyk.de/links\\n\\nI have also produced a video where I explain the workflow and provide an example. You can find this video over here. https://youtu.be/K1kmG_Q_jRk\\n\\nCheers.\\nNico Kowalczyk\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Whether the request is valid\",\"type\":\"main\",\"index\":0}]]},\"Set paths\":{\"main\":[[{\"node\":\"Set folder-paths for from and to\",\"type\":\"main\",\"index\":0}]]},\"Loop Over all files\":{\"main\":[[{\"node\":\"Delete from-folder\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Move file to destination\",\"type\":\"main\",\"index\":0}]]},\"Whether type is file\":{\"main\":[[{\"node\":\"Consolidate all files and folders found\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set new path for subfolder\",\"type\":\"main\",\"index\":0}]]},\"Set new path for file\":{\"main\":[[{\"node\":\"Loop Over all files\",\"type\":\"main\",\"index\":0}]]},\"Execute Workflow Trigger\":{\"main\":[[{\"node\":\"Whether the request is valid1\",\"type\":\"main\",\"index\":0}]]},\"Move file to destination\":{\"main\":[[{\"node\":\"Loop Over all files\",\"type\":\"main\",\"index\":0}]]},\"Set new path for subfolder\":{\"main\":[[{\"node\":\"Create subfolder in to-folder\",\"type\":\"main\",\"index\":0}]]},\"Consolidate all found files\":{\"main\":[[{\"node\":\"Set new path for file\",\"type\":\"main\",\"index\":0}]]},\"Loop over files and folders\":{\"main\":[null,[{\"node\":\"Whether type is file\",\"type\":\"main\",\"index\":0}]]},\"Whether the request is valid\":{\"main\":[[{\"node\":\"Set folder-paths for from and to\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop and Error: request not valid\",\"type\":\"main\",\"index\":0}]]},\"Create subfolder in to-folder\":{\"main\":[[{\"node\":\"Get all folders/files in found subfolder\",\"type\":\"main\",\"index\":0}]]},\"Create to folder if necessary\":{\"main\":[[{\"node\":\"Get all folders/files in from-folder\",\"type\":\"main\",\"index\":0}]]},\"Whether the request is valid1\":{\"main\":[[{\"node\":\"Set folder-paths for from and to\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Stop and Error: request not valid1\",\"type\":\"main\",\"index\":0}]]},\"Set folder-paths for from and to\":{\"main\":[[{\"node\":\"Create to folder if necessary\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Set paths\",\"type\":\"main\",\"index\":0}]]},\"Get all folders/files in from-folder\":{\"main\":[[{\"node\":\"Loop over files and folders\",\"type\":\"main\",\"index\":0}]]},\"Consolidate all files and folders found\":{\"main\":[[{\"node\":\"Whether there is are more files or subfolders found\",\"type\":\"main\",\"index\":0}]]},\"Get all folders/files in found subfolder\":{\"main\":[[{\"node\":\"Consolidate all files and folders found\",\"type\":\"main\",\"index\":0}]]},\"Whether there is are more files or subfolders found\":{\"main\":[[{\"node\":\"Consolidate all found files\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Loop over files and folders\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Upload an image to IPFS to get a CID (Web3)", "output": "{\"meta\":{\"instanceId\":\"82a17fa4a0b8e81bf77e5ab999d980f392150f2a9541fde626dc5f74857b1f54\"},\"nodes\":[{\"id\":\"8e290ac2-fad9-4b70-a9fb-a4e5ad73a237\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[480,269],\"parameters\":{\"width\":509,\"height\":427,\"content\":\"## Upload an image from an URL to IPFS (via nft.storage) and get a CID for that image.\\n- Useful for storing NFT assets in a decentralised manner\\n- can also be used with other files\"},\"typeVersion\":1},{\"id\":\"d0c74fbc-0ee2-4b30-bdfa-a017d05439fe\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[600,500],\"parameters\":{},\"typeVersion\":1},{\"id\":\"339f65bd-115c-4cd9-84e7-afe869f9a3b7\",\"name\":\"Download image from URL\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1200,500],\"parameters\":{\"url\":\"=URL OF YOUR IMAGE YOU WANT TO MINT\",\"options\":{}},\"typeVersion\":4.1},{\"id\":\"888d6e2d-a8a4-4f8a-a1bd-d4665371b23b\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1140,420],\"parameters\":{\"height\":281,\"content\":\"- Put here the location of the image \"},\"typeVersion\":1},{\"id\":\"20f45fba-4397-4147-94ba-feadb0b9c8ae\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1520,420],\"parameters\":{\"width\":237,\"height\":281,\"content\":\"- Do not forget to add your credentials (api key via NFT.storage)\"},\"typeVersion\":1},{\"id\":\"1569fe2c-8709-4e81-ae4e-48c2d51fc9fa\",\"name\":\"Upload image to IPFS\",\"type\":\"n8n-nodes-base.httpRequest\",\"maxTries\":5,\"position\":[1600,500],\"parameters\":{\"url\":\"https://api.nft.storage/upload/\",\"options\":{\"bodyContentType\":\"raw\"},\"requestMethod\":\"POST\",\"authentication\":\"genericCredentialType\",\"jsonParameters\":true,\"sendBinaryData\":true,\"genericAuthType\":\"httpHeaderAuth\"},\"credentials\":{\"httpHeaderAuth\":{\"id\":\"iE3jYGF7IbtSlZBw\",\"name\":\"your NFT.storage api key\"}},\"retryOnFail\":true,\"typeVersion\":2,\"waitBetweenTries\":5000}],\"connections\":{\"Download image from URL\":{\"main\":[[{\"node\":\"Upload image to IPFS\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Download image from URL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "AI Customer feedback sentiment analysis", "output": "{\"meta\":{\"instanceId\":\"82a17fa4a0b8e81bf77e5ab999d980f392150f2a9541fde626dc5f74857b1f54\"},\"nodes\":[{\"id\":\"4ea39a4f-d8c1-438f-9738-bfbb906a3d7a\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1200,1020],\"parameters\":{\"width\":253,\"height\":342,\"content\":\"## Send customer feedback to OpenAI for sentiment analysis\"},\"typeVersion\":1},{\"id\":\"6962ea41-7d15-4932-919f-21ac94fa1269\",\"name\":\"Sticky Note3\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1960,1180],\"parameters\":{\"width\":253,\"height\":342,\"content\":\"## Add new feedback to google sheets\"},\"typeVersion\":1},{\"id\":\"4c8a8984-2d8e-4139-866b-6f3536aced07\",\"name\":\"Sticky Note4\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[800,1600],\"parameters\":{\"width\":1407,\"height\":254,\"content\":\"## Instructions\\n1. Connect Google sheets\\n2. Connect your OpenAi account (api key + org Id)\\n3. Create a customer feedback form, use an existing one or use the one below as example. \\nAll set!\\n\\n\\n- Here is the example google sheet being used in this workflow: https://docs.google.com/spreadsheets/d/1omWdRbiT6z6GNZ6JClu9gEsRhPQ6J0EJ2yXyFH9Zng4/edit?usp=sharing. You can download it to your account.\"},\"typeVersion\":1},{\"id\":\"d43a9574-626d-4817-87ba-d99bdd6f41dc\",\"name\":\"Sticky Note5\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[800,1160],\"parameters\":{\"width\":253,\"height\":342,\"content\":\"## Feedback form is submitted\"},\"typeVersion\":1},{\"id\":\"76dab2dc-935f-416e-91aa-5a1b7017ec1b\",\"name\":\"Sticky Note6\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1600,1180],\"parameters\":{\"width\":253,\"height\":342,\"content\":\"## Merge form data and OpenAI result\"},\"typeVersion\":1},{\"id\":\"9772eac1-8df2-4305-9b2c-265d3c5a9a4a\",\"name\":\"Add customer feedback to Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[2020,1320],\"parameters\":{\"columns\":{\"value\":{\"Category\":\"={{ $json['What is your feedback about?'] }}\",\"Sentiment\":\"={{ $json.text }}\",\"Timestamp\":\"={{ $json.submittedAt }}\",\"Entered by\":\"=Form\",\"Customer Name\":\"={{ $json.Name }}\",\"Customer contact\":\"={{ $json['How do we get in touch with you?'] }}\",\"Customer Feedback\":\"={{ $json['Your feedback'] }}\"},\"schema\":[{\"id\":\"Timestamp\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Timestamp\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Category\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Category\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Customer Feedback\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Customer Feedback\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Customer Name\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Customer Name\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Customer contact\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Customer contact\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Entered by\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Entered by\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Urgent?\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Urgent?\",\"defaultMatch\":false,\"canBeUsedToMatch\":true},{\"id\":\"Sentiment\",\"type\":\"string\",\"display\":true,\"required\":false,\"displayName\":\"Sentiment\",\"defaultMatch\":false,\"canBeUsedToMatch\":true}],\"mappingMode\":\"defineBelow\",\"matchingColumns\":[]},\"options\":{},\"operation\":\"append\",\"sheetName\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"gid=0\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1omWdRbiT6z6GNZ6JClu9gEsRhPQ6J0EJ2yXyFH9Zng4/edit#gid=0\",\"cachedResultName\":\"Sheet1\"},\"documentId\":{\"__rl\":true,\"mode\":\"list\",\"value\":\"1omWdRbiT6z6GNZ6JClu9gEsRhPQ6J0EJ2yXyFH9Zng4\",\"cachedResultUrl\":\"https://docs.google.com/spreadsheets/d/1omWdRbiT6z6GNZ6JClu9gEsRhPQ6J0EJ2yXyFH9Zng4/edit?usp=drivesdk\",\"cachedResultName\":\"CustomerFeedback\"}},\"credentials\":{\"googleSheetsOAuth2Api\":{\"id\":\"3\",\"name\":\"Google Sheets account\"}},\"typeVersion\":4.1},{\"id\":\"12084971-c81b-4a0e-814e-120867562642\",\"name\":\"Merge sentiment with form content\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1680,1320],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"combinationMode\":\"multiplex\"},\"typeVersion\":2.1},{\"id\":\"235edf5b-7724-4712-8dc5-d8327a0620b8\",\"name\":\"Classify feedback with OpenAI\",\"type\":\"n8n-nodes-base.openAi\",\"position\":[1280,1180],\"parameters\":{\"prompt\":\"=Classify the sentiment in the following customer feedback: {{ $json['Your feedback'] }}\",\"options\":{}},\"credentials\":{\"openAiApi\":{\"id\":\"s2iucY0IctjYNbrb\",\"name\":\"OpenAi account\"}},\"typeVersion\":1},{\"id\":\"af4b22aa-0925-40b1-a9ac-298f9745a98e\",\"name\":\"Submit form with customer feedback\",\"type\":\"n8n-nodes-base.formTrigger\",\"position\":[860,1340],\"webhookId\":\"e7bf682e-48e8-40de-9815-cd180cdd1480\",\"parameters\":{\"options\":{\"formSubmittedText\":\"Your response has been recorded\"},\"formTitle\":\"Customer Feedback\",\"formFields\":{\"values\":[{\"fieldLabel\":\"Name\",\"requiredField\":true},{\"fieldType\":\"dropdown\",\"fieldLabel\":\"What is your feedback about?\",\"fieldOptions\":{\"values\":[{\"option\":\"Product\"},{\"option\":\"Service\"},{\"option\":\"Other\"}]},\"requiredField\":true},{\"fieldType\":\"textarea\",\"fieldLabel\":\"Your feedback\",\"requiredField\":true},{\"fieldLabel\":\"How do we get in touch with you?\"}]},\"formDescription\":\"Please give feedback about our company orproducts.\"},\"typeVersion\":1}],\"connections\":{\"Classify feedback with OpenAI\":{\"main\":[[{\"node\":\"Merge sentiment with form content\",\"type\":\"main\",\"index\":0}]]},\"Merge sentiment with form content\":{\"main\":[[{\"node\":\"Add customer feedback to Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Submit form with customer feedback\":{\"main\":[[{\"node\":\"Classify feedback with OpenAI\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge sentiment with form content\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Authenticate a user in a workflow with openid connect", "output": "{\"id\":\"zeyTmqqmXaQIFWzV\",\"meta\":{\"instanceId\":\"11f0bca80fdd47e21bd156f4266eada6e64a6bc4c37f34dc8ae14ccf768e9285\"},\"name\":\"OIDC client workflow\",\"tags\":[],\"nodes\":[{\"id\":\"da0c6b83-9c8c-431b-beaa-66b5343b21c5\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[80,680],\"webhookId\":\"891ad1cd-6a50-4a88-8789-95680c78f14c\",\"parameters\":{\"path\":\"891ad1cd-6a50-4a88-8789-95680c78f14c\",\"options\":{},\"responseMode\":\"responseNode\"},\"typeVersion\":1},{\"id\":\"5c9d4f59-7980-4bee-8df6-cf9ca3eccde1\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[520,680],\"parameters\":{\"jsCode\":\"let myCookies = {};\\nlet cookies = [];\\n\\ncookies = $input.item.json.headers.cookie.split(';')\\nfor (item of cookies ) {\\n myCookies[item.split('=')[0].trim()]=item.split('=')[1].trim();\\n}\\n\\nreturn myCookies;\"},\"typeVersion\":2,\"continueOnFail\":true},{\"id\":\"7867d061-c0e3-4359-90ac-a4536c948db2\",\"name\":\"user info\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1220,760],\"parameters\":{\"url\":\"={{ $('Set variables : auth, token, userinfo, client id, scope').item.json.userinfo_endpoint }}\",\"options\":{},\"sendHeaders\":true,\"headerParameters\":{\"parameters\":[{\"name\":\"Authorization\",\"value\":\"=Bearer {{ $json['access_token'] }}\"}]}},\"typeVersion\":4.1,\"continueOnFail\":true},{\"id\":\"df0e9896-0670-49cc-b7c6-140c234036b4\",\"name\":\"send back login page\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1900,980],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"={{ $json.html }}\"},\"typeVersion\":1},{\"id\":\"81f03c86-91fe-4960-b4c4-295252c7e8fc\",\"name\":\"IF token is present\",\"type\":\"n8n-nodes-base.if\",\"position\":[940,820],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json['access_token'] }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"5e2f87bd-9c1f-4e87-82df-1b3b3e98cbdb\",\"name\":\"Welcome page\",\"type\":\"n8n-nodes-base.html\",\"position\":[1720,660],\"parameters\":{\"html\":\"\\n\\n\\n\\n \\n My HTML document\\n\\n\\n
    \\n

    Welcome {{$('user info').item.json.email }}

    \\n
    \\n\\n\\n\\n\\n\"},\"typeVersion\":1},{\"id\":\"c1448e12-4292-402b-bf9d-0ab555bbc734\",\"name\":\"send back welcome page\",\"type\":\"n8n-nodes-base.respondToWebhook\",\"position\":[1920,660],\"parameters\":{\"options\":{},\"respondWith\":\"text\",\"responseBody\":\"={{ $json.html }}\"},\"typeVersion\":1},{\"id\":\"8e64ab13-4f23-4c85-a625-c456910a9472\",\"name\":\"IF user info ok\",\"type\":\"n8n-nodes-base.if\",\"position\":[1400,760],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.email }}\",\"operation\":\"isNotEmpty\"}]}},\"typeVersion\":1,\"continueOnFail\":true},{\"id\":\"a96b170f-fbd8-4061-9619-bf9877e85495\",\"name\":\"login form\",\"type\":\"n8n-nodes-base.html\",\"position\":[1700,980],\"parameters\":{\"html\":\"\\n\\n\\n \\n \\n Login\\n \\n \\n \\n
    \\n \\n \\n\"},\"typeVersion\":1},{\"id\":\"12395c64-1c9d-4801-8229-57d982e4243f\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[120,460],\"parameters\":{\"width\":510,\"height\":207,\"content\":\"In this set, you have to retrieve from your identity provider : \\n- auth url\\n- token url\\n- userinfo url\\n- the client id you created for this flow\\n- scopes to use, at least \\\"openid\\\" scope\\nif you do not want to use PKCE, you have to fill : \\n- client_secret\\n- redirect_uri (which is the webhook uri)\"},\"typeVersion\":1},{\"id\":\"25e934b5-fcd6-49e1-bb33-955b5f3f34ca\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[1640,480],\"parameters\":{\"content\":\"At this point the user is authenticated, you have access to his profile from the user info result and you continue doing things\"},\"typeVersion\":1},{\"id\":\"9dab372a-3505-4be6-93bd-9e99fc71612c\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[460,980],\"parameters\":{\"width\":776,\"height\":336,\"content\":\"## Quick setup with Keycloak\\n1. Open your Keycloak\\n2. Go to `Realm settings` and opn `OpenID Endpoint Configuration`\\n3. This will opene a new tab. Copy out the `authorization_endpoint`, `token_endpoint` and the `userinfo_endpoint` and add it to the `Set variables` node\\n4. Go go `Clients` and click `Create client`. In there pick a name of choice.\\n5. Go to the next step, `Capability config`, disable `Client authentication`. Only `Standard flow` should be checked.\\n6. Go to the next step `Login settings`. In there copy the Webhook URL of this workflow into the `Valid redirect URIs` field\\n7. Enter the clientID to the `Set variables` node\\n\\nNow you can activate the workflow and visit the webhook URL to test. You can find a more detailed setup guid in the description.\\n\"},\"typeVersion\":1},{\"id\":\"6e3afc62-52a9-402a-bde9-e8798d0fd4f6\",\"name\":\"Set variables : auth, token, userinfo, client id, scope\",\"type\":\"n8n-nodes-base.set\",\"position\":[320,680],\"parameters\":{\"values\":{\"string\":[{\"name\":\"auth_endpoint\",\"value\":\"Your value here\"},{\"name\":\"token_endpoint\",\"value\":\"Your value here\"},{\"name\":\"userinfo_endpoint\",\"value\":\"Your value here\"},{\"name\":\"client_id\",\"value\":\"name of your client\"},{\"name\":\"scope\",\"value\":\"openid\"},{\"name\":\"redirect_uri\",\"value\":\"webhook uri\"},{\"name\":\"client_secret\",\"value\":\"secret of your client\"}],\"boolean\":[{\"name\":\"PKCE\",\"value\":true}]},\"options\":{}},\"typeVersion\":2},{\"id\":\"2d54c64a-ae45-480f-923f-63d6cb3fcdfc\",\"name\":\"IF we have code in URI and not in PKCE mode\",\"type\":\"n8n-nodes-base.if\",\"position\":[700,680],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{ $('Webhook').item.json.query.code }}\",\"operation\":\"isNotEmpty\"}],\"boolean\":[{\"value1\":\"={{ $('Set variables : auth, token, userinfo, client id, scope').item.json.PKCE }}\"}]}},\"typeVersion\":1},{\"id\":\"99c8fa5d-3173-4371-9742-6014eca6e7fe\",\"name\":\"get access_token from /token endpoint with code\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[940,640],\"parameters\":{\"url\":\"={{ $('Set variables : auth, token, userinfo, client id, scope').item.json.token_endpoint }}\",\"method\":\"POST\",\"options\":{},\"sendBody\":true,\"contentType\":\"form-urlencoded\",\"bodyParameters\":{\"parameters\":[{\"name\":\"grant_type\",\"value\":\"authorization_code\"},{\"name\":\"client_id\",\"value\":\"={{ $('Set variables : auth, token, userinfo, client id, scope').item.json.client_id }}\"},{\"name\":\"client_secret\",\"value\":\"={{ $('Set variables : auth, token, userinfo, client id, scope').item.json.client_secret }}\"},{\"name\":\"code\",\"value\":\"={{ $('Webhook').item.json.query.code }}\"},{\"name\":\"redirect_uri\",\"value\":\"={{ $('Set variables : auth, token, userinfo, client id, scope').item.json.redirect_uri }}\"}]}},\"typeVersion\":4.1}],\"active\":true,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"d91ac207-6f83-42cd-9c9f-326b8c53c160\",\"connections\":{\"Code\":{\"main\":[[{\"node\":\"IF we have code in URI and not in PKCE mode\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Set variables : auth, token, userinfo, client id, scope\",\"type\":\"main\",\"index\":0}]]},\"user info\":{\"main\":[[{\"node\":\"IF user info ok\",\"type\":\"main\",\"index\":0}]]},\"login form\":{\"main\":[[{\"node\":\"send back login page\",\"type\":\"main\",\"index\":0}]]},\"Welcome page\":{\"main\":[[{\"node\":\"send back welcome page\",\"type\":\"main\",\"index\":0}]]},\"IF user info ok\":{\"main\":[[{\"node\":\"Welcome page\",\"type\":\"main\",\"index\":0}],[{\"node\":\"login form\",\"type\":\"main\",\"index\":0}]]},\"IF token is present\":{\"main\":[[{\"node\":\"user info\",\"type\":\"main\",\"index\":0}],[{\"node\":\"login form\",\"type\":\"main\",\"index\":0}]]},\"IF we have code in URI and not in PKCE mode\":{\"main\":[[{\"node\":\"get access_token from /token endpoint with code\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF token is present\",\"type\":\"main\",\"index\":0}]]},\"get access_token from /token endpoint with code\":{\"main\":[[{\"node\":\"user info\",\"type\":\"main\",\"index\":0}]]},\"Set variables : auth, token, userinfo, client id, scope\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "WordPress-to-Pipedrive Integration: Automating Contact & Lead Management", "output": "{\"id\":\"KwfGSgwPQrcD92Gg\",\"meta\":{\"instanceId\":\"10a5c562c9a735159d1eb02179d8395916de079abee02b87ec2c2b97f278000a\"},\"name\":\"WordPress-to-Pipedrive Integration: Automating Contact & Lead Management\",\"tags\":[{\"id\":\"vlXJOdNziJAjaypM\",\"name\":\"Templates\",\"createdAt\":\"2023-11-29T10:41:32.132Z\",\"updatedAt\":\"2023-11-29T10:41:32.132Z\"}],\"nodes\":[{\"id\":\"51bde0f3-2300-4a85-89d3-cf7d7b43c94d\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-120,0],\"parameters\":{\"width\":611,\"height\":1168.7934508816131,\"content\":\"### Webhook Setup for Contact Form 7 in WordPress\\n* Install Contact Form 7: Begin by installing the Contact Form 7 plugin in your WordPress site. This plugin allows for easy creation and management of contact forms. You can download and install it from the WordPress plugin directory here: [Contact Form 7 Plugin](https://example.com/).\\n* Use CF7 Webhook Extension: To enable webhook functionality in CF7, utilize the CF7 Webhook extension. This extension allows you to send form data to a specified URL, which is crucial for integrating with your workflow. You can find more information and download it here: [CF7 Webhook Extension](https://example.com/).\\n\\n### Configuring the Webhook with Contact Form 7 in WordPress\\n* Obtain n8n Webhook URL: First, retrieve your n8n webhook URL. This is the specific address where the data from your WordPress contact form will be sent.\\n* Update Contact Form 7 with Custom Form Code: In your WordPress dashboard, go to the Contact Form 7 plugin. Create a new form or edit an existing one, and insert the following code to create a custom contact form:
\\n\\n\\n \\n \\n[submit \\\"Senden\\\"] 


\\n\\nThis code will generate a form with fields for Name, Email Address, and Company.\\n* Insert n8n Webhook URL in the Webhook Field: In the settings of your CF7 form, locate the webhook field. Here, paste the n8n webhook URL that you obtained in step 1. This step is crucial to ensure that the data from your form is sent to your n8n workflow.\\n* Save and Test Your Form: After configuring the webhook URL, save your form. It's recommended to test the form to ensure that data is correctly being transmitted to your n8n webhook.\\n\\n### Retrieving API Key in Pipedrive\\n* Login to Pipedrive: Sign in to your Pipedrive account.\\n* Access Settings: Navigate to your personal settings. This is usually accessible via your profile icon in the top right corner of the Pipedrive interface.\\n* Find API Key: Look for the section labeled “API” or “API Key”. In this section, your personal API key will be displayed. This key is unique to your account and allows applications like n8n to access your Pipedrive data.\\n* Copy the API Key: Copy the displayed API key.\\n\\n### Setting Up Pipedrive Credentials in n8n\\n* Add Credentials: Click on the option in the node to add or select new credentials. Choose “Pipedrive API” as the type of credentials.\\n* Enter the API Key: Paste the API key you copied from Pipedrive into the appropriate field.\\n* Save the Credentials: Save the credentials (name it). Your n8n workflow can now communicate with Pipedrive.\\n\\n![Source example](https://kapio.eu/kapio_logo.jpeg)\\nYou need help: Then write to us at hallo@kapio.eu\\nWebsite: www.kapio.eu\"},\"typeVersion\":1},{\"id\":\"ba7c4fdd-5502-408b-ba04-484f3d3b6240\",\"name\":\"Create Lead\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[2020,400],\"parameters\":{\"title\":\"=Website request: {{ $('Webhook').item.json.body.company }}\",\"resource\":\"lead\",\"person_id\":\"={{ $json.person_id }}\",\"associateWith\":\"person\",\"additionalFields\":{\"label_ids\":[\"2a875ff0-eb41-11ed-80d0-59a724a2c908\"]}},\"credentials\":{\"pipedriveApi\":{\"id\":\"20\",\"name\":\"Pipedrive kapio\"}},\"typeVersion\":1},{\"id\":\"0a211c74-0ea2-4385-a19f-5d35603ca64f\",\"name\":\"Search Person in Pipedrive\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[900,420],\"parameters\":{\"url\":\"=https://api.pipedrive.com/v1/itemSearch?term={{ $json.body['your-email'] }}&field_key=email&exact_match=true&item_types=person\",\"options\":{},\"authentication\":\"predefinedCredentialType\",\"nodeCredentialType\":\"pipedriveApi\"},\"credentials\":{\"pipedriveApi\":{\"id\":\"20\",\"name\":\"Pipedrive kapio\"}},\"typeVersion\":4.1},{\"id\":\"79fd1b5d-874f-4ffd-ab3c-1969fb71e7c2\",\"name\":\"Check if person is in Pipedrive and output the ID\",\"type\":\"n8n-nodes-base.code\",\"position\":[1120,420],\"parameters\":{\"jsCode\":\"const inputItems = $input.all();\\n\\n// Check if there are items and that the items array is not empty\\nconst hasItems = inputItems.length > 0 && inputItems[0]?.json?.data?.items.length > 0;\\n\\n// Retrieve the ID of the first item if available\\nconst firstItemId = hasItems ? inputItems[0].json.data.items[0].item.id : null;\\n\\nreturn { hasItems, firstItemId };\\n\"},\"typeVersion\":2,\"alwaysOutputData\":true},{\"id\":\"9664b373-11f8-4dbb-adcf-5db14498f03d\",\"name\":\"IF Person exists in Pipedrive\",\"type\":\"n8n-nodes-base.if\",\"position\":[1320,420],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{ $json.hasItems }}\",\"value2\":true}]}},\"typeVersion\":1},{\"id\":\"d98569ea-9879-4e65-b310-82f199abe436\",\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[1540,520],\"parameters\":{\"name\":\"={{ $('Webhook').item.json.body[\\\"your-name\\\"] }}\",\"resource\":\"person\",\"additionalFields\":{\"email\":[\"={{ $('Webhook').item.json.body[\\\"your-email\\\"] }}\"]}},\"credentials\":{\"pipedriveApi\":{\"id\":\"20\",\"name\":\"Pipedrive kapio\"}},\"typeVersion\":1},{\"id\":\"1afebef2-cb8c-4ef7-bb37-820b9d20f8fd\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[720,420],\"webhookId\":\"d296fe58-4ba1-4089-ac91-88cd07a40571\",\"parameters\":{\"path\":\"d296fe58-4ba1-4089-ac91-88cd07a40571\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"id\":\"67813ff5-2017-4850-b9b9-2267f1bc60e6\",\"name\":\"New Person ID\",\"type\":\"n8n-nodes-base.code\",\"position\":[1820,400],\"parameters\":{\"jsCode\":\"// Check whether the value from the previous node is available\\nlet personId;\\n\\n// Check whether the value of 'IF Person exists in Pipedrive' node is present\\nif ($('IF Person exists in Pipedrive').item.json.firstItemId) {\\n personId = $('IF Person exists in Pipedrive').item.json.firstItemId;\\n} \\n// If the above value is not available, check whether a value of '$('Pipedrive').item.json.id' is available\\nelse if ($('Pipedrive').item.json.id) {\\n personId = $('Pipedrive').item.json.id;\\n}\\n\\n// If a value was found for personId, it is output as a new variable\\nif (personId) {\\n return { person_id: personId };\\n} else {\\n return { error: 'Keine Person-ID gefunden' };\\n}\\n\"},\"typeVersion\":2},{\"id\":\"bd5b9b7d-0450-4739-9956-51aa8339d181\",\"name\":\"Create Note\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[2180,400],\"parameters\":{\"content\":\"=Website-Request:
    \\nName: {{ $('Webhook').item.json.body[\\\"your-name\\\"] }}
    \\nE-Mail: {{ $('Webhook').item.json.body[\\\"your-email\\\"] }}
    \\nCompany: {{ $('Webhook').item.json.body.company }}\",\"resource\":\"note\",\"additionalFields\":{\"lead_id\":\"={{ $json.id }}\",\"person_id\":\"={{ $('New Person ID').item.json.person_id }}\"}},\"credentials\":{\"pipedriveApi\":{\"id\":\"20\",\"name\":\"Pipedrive kapio\"}},\"typeVersion\":1},{\"id\":\"b864919c-1438-4705-8822-0752c88f3a76\",\"name\":\"Create Activity\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[2340,400],\"parameters\":{\"type\":\"task\",\"subject\":\"Contacting new website lead\",\"resource\":\"activity\",\"additionalFields\":{\"person_id\":\"={{ $('New Person ID').item.json.person_id }}\",\"customProperties\":{\"property\":[{\"name\":\"lead_id\",\"value\":\"={{ $('Create Lead').item.json.id }}\"}]}}},\"credentials\":{\"pipedriveApi\":{\"id\":\"20\",\"name\":\"Pipedrive kapio\"}},\"typeVersion\":1}],\"active\":true,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"1392a3ca-f07b-4acf-8ff5-3e692445696d\",\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Search Person in Pipedrive\",\"type\":\"main\",\"index\":0}]]},\"Pipedrive\":{\"main\":[[{\"node\":\"New Person ID\",\"type\":\"main\",\"index\":0}]]},\"Create Lead\":{\"main\":[[{\"node\":\"Create Note\",\"type\":\"main\",\"index\":0}]]},\"Create Note\":{\"main\":[[{\"node\":\"Create Activity\",\"type\":\"main\",\"index\":0}]]},\"New Person ID\":{\"main\":[[{\"node\":\"Create Lead\",\"type\":\"main\",\"index\":0}]]},\"Search Person in Pipedrive\":{\"main\":[[{\"node\":\"Check if person is in Pipedrive and output the ID\",\"type\":\"main\",\"index\":0}]]},\"IF Person exists in Pipedrive\":{\"main\":[[{\"node\":\"New Person ID\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0}]]},\"Check if person is in Pipedrive and output the ID\":{\"main\":[[{\"node\":\"IF Person exists in Pipedrive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "(De)activate n8n workflows using Telegram commands", "output": "{\"meta\":{\"instanceId\":\"82a17fa4a0b8e81bf77e5ab999d980f392150f2a9541fde626dc5f74857b1f54\"},\"nodes\":[{\"id\":\"814ab819-7a0d-4647-a8e2-56d90616b4b2\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[962,306],\"parameters\":{\"width\":307,\"height\":1003.1537835638735,\"content\":\"### Switch depending on content\\n0 = if command contains the word \\\"marketing\\\"\\n1 = if command contains the word \\\"sales\\\"\"},\"typeVersion\":1},{\"id\":\"0c263242-1369-4cd5-83b7-4e2e8ffe99bb\",\"name\":\"Keep only messages from a specific chat id\",\"type\":\"n8n-nodes-base.filter\",\"position\":[480,520],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{ $json.message.chat.id }}\",\"value2\":null,\"operation\":\"equal\"}]}},\"typeVersion\":1},{\"id\":\"8dd8b974-bfdc-4a80-bb94-3d5994872f70\",\"name\":\"Sticky Note1\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[660,311],\"parameters\":{\"height\":382,\"content\":\"### Switch depending on command\\n0 = /stop\\n1 = /start\"},\"typeVersion\":1},{\"id\":\"fd76d706-01df-453d-b8ad-d3ad1b379fb4\",\"name\":\"Deactivate the marketing workflow\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[1380,480],\"parameters\":{\"operation\":\"deactivate\",\"workflowId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\"}},\"credentials\":{\"n8nApi\":{\"id\":\"hHsMs7R7sstUSWGD\",\"name\":\"n8n account\"}},\"typeVersion\":1},{\"id\":\"b2c976ca-e78f-4b0a-8337-45c66939d30c\",\"name\":\"Deactivate the sales workflow\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[1380,680],\"parameters\":{\"operation\":\"deactivate\",\"workflowId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\"}},\"credentials\":{\"n8nApi\":{\"id\":\"hHsMs7R7sstUSWGD\",\"name\":\"n8n account\"}},\"typeVersion\":1},{\"id\":\"8187bb9d-685b-4955-b7e0-3375a9461bc8\",\"name\":\"Activate the marketing workflow\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[1380,940],\"parameters\":{\"operation\":\"activate\",\"workflowId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\".*/workflow/([0-9a-zA-Z]{1,})\"}},\"credentials\":{\"n8nApi\":{\"id\":\"hHsMs7R7sstUSWGD\",\"name\":\"n8n account\"}},\"typeVersion\":1},{\"id\":\"87d219be-77d0-4e29-9137-d55bdfae4aa7\",\"name\":\"Switch depending on content (activate)\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1040,960],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"usdc\",\"operation\":\"contains\",\"outputKey\":\"0\"},{\"value2\":\"hsuite\",\"operation\":\"contains\",\"outputKey\":\"1\"}]},\"value1\":\"={{ $json.message.text }}\",\"dataType\":\"string\"},\"typeVersion\":2},{\"id\":\"fa5f346d-5ad2-4ef3-b715-e45ffb7dfd29\",\"name\":\"Sticky Note2\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[60,740],\"parameters\":{\"width\":846,\"height\":575.2554922701386,\"content\":\"# Telegram N8N workflow (de)activator\\n\\n## What does it do?\\nThis workflow helps you to quickly activate or deactivate a workflow through Telegram. Sometimes we are not able to access a PC to resolve an issue if something goes wrong with a workflow. If you, like me, use Telegram to send yourself error reports, you can quickly react in case of urgency. Just by sending '/stop' combined with the name you use for a workflow, you can deactivate a workflow, or reactivate it with '/start'. For example '/stop marketing'.\\n\\nWalkthrough: https://watch.screencastify.com/v/uWQ88gZKj57WTGOOqSW2 (6min)\\n\\n## Instructions\\n1. Create a Telegram API key through botfather (https://t.me/botfather). Add it to the telegram credentials.\\n2. For the N8N nodes, go to settings in your n8n instance. Then 'n8n API' and 'create an API key'. \\n3. To ensure that only we can send commands to the bot, we need the chat ID of our DM with our newly created bot. Open the the Telegram trigger and click on 'listen to events'.\\n4. Go to Telegram and send a direct message to the bot, this will trigger the Telegram node.\\n5. Go to the filter node and fill in the chat id you want to filter for with the data you got from the test event in the Telegram node.\\n6. In the first Switch node you can find the commands, in this case it is '/start' and '/stop'. When you send a message to your bot starting with either of those, it will go to the next switch nodes.\\n7. Next it will check what other word it contains. As an example I have used the words 'marketing' and 'sales', both corresponding to a marketing and sales workflow. \\n8. The last nodes will either activate or deactivate a workflow.\"},\"typeVersion\":1},{\"id\":\"d16753af-c1d7-4b60-89da-82432a0b06c1\",\"name\":\"Receive commands from Telegram\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[260,520],\"webhookId\":\"5fe48950-9a59-4b47-b568-6d2f4c624288\",\"parameters\":{\"updates\":[\"message\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":{\"id\":\"Wn8jg2h69jw2f9Pu\",\"name\":\"Telegram account 2\"}},\"typeVersion\":1},{\"id\":\"83a5dc1b-00c9-46b2-9941-78f42d2e06e5\",\"name\":\"Activate the sales workflow\",\"type\":\"n8n-nodes-base.n8n\",\"position\":[1380,1160],\"parameters\":{\"operation\":\"activate\",\"workflowId\":{\"__rl\":true,\"mode\":\"url\",\"value\":\"\",\"__regex\":\".*/workflow/([0-9a-zA-Z]{1,})\"}},\"credentials\":{\"n8nApi\":{\"id\":\"hHsMs7R7sstUSWGD\",\"name\":\"n8n account\"}},\"typeVersion\":1},{\"id\":\"2bf6ebf2-f94e-4359-bea8-a041bf669644\",\"name\":\"Switch depending on command\",\"type\":\"n8n-nodes-base.switch\",\"position\":[720,520],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"/stop\",\"operation\":\"startsWith\",\"outputKey\":\"0\"},{\"value2\":\"/start\",\"operation\":\"startsWith\",\"outputKey\":\"1\"}]},\"value1\":\"={{ $json.message.text }}\",\"dataType\":\"string\"},\"typeVersion\":2},{\"id\":\"a6888317-39b5-4b3d-97a8-c9bf0e90eddb\",\"name\":\"Switch depending on content (deactivate)\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1040,500],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"marketing\",\"operation\":\"contains\",\"outputKey\":\"0\"},{\"value2\":\"sales\",\"operation\":\"contains\",\"outputKey\":\"1\"}]},\"value1\":\"={{ $json.message.text }}\",\"dataType\":\"string\"},\"typeVersion\":2}],\"connections\":{\"Switch depending on command\":{\"main\":[[{\"node\":\"Switch depending on content (deactivate)\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Switch depending on content (activate)\",\"type\":\"main\",\"index\":0}]]},\"Receive commands from Telegram\":{\"main\":[[{\"node\":\"Keep only messages from a specific chat id\",\"type\":\"main\",\"index\":0}]]},\"Switch depending on content (activate)\":{\"main\":[[{\"node\":\"Activate the marketing workflow\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Activate the sales workflow\",\"type\":\"main\",\"index\":0}]]},\"Switch depending on content (deactivate)\":{\"main\":[[{\"node\":\"Deactivate the marketing workflow\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Deactivate the sales workflow\",\"type\":\"main\",\"index\":0}]]},\"Keep only messages from a specific chat id\":{\"main\":[[{\"node\":\"Switch depending on command\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transfer data from Postgres to Excel", "output": "{\"nodes\":[{\"name\":\"Run Query\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[450,450],\"parameters\":{\"query\":\"SELECT name, ean FROM product\",\"operation\":\"executeQuery\"},\"credentials\":{\"postgres\":\"postgres\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[600,450],\"parameters\":{\"operation\":\"toFile\"},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[750,450],\"parameters\":{\"fileName\":\"spreadsheet.xls\"},\"typeVersion\":1}],\"connections\":{\"Run Query\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n Nodemation basic - transforming json (3/3)", "output": "{\"id\":\"6\",\"name\":\"greetingsworkflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"disabled\":true,\"position\":[-80,160],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[490,450],\"parameters\":{\"path\":\"greetingswebhook\",\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1080,450],\"parameters\":{\"url\":\"https://webhook.site/68956578-d611-4e84-829f-0682b4ab03ac\",\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"orderdata\",\"value\":\"={{$node[\\\"FunctionItem\\\"].data[\\\"orderdata\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[890,450],\"parameters\":{\"functionCode\":\"item.orderdata.onlineorder = 1;\\nif (Array.isArray(item.orderdata.articlelist.position)) {\\n item.orderdata.articlelist.position.forEach(function(position) {\\n position.isElectronic = 1;\\n })\\n} else {\\n item.orderdata.articlelist.position.isElectronic = 1;\\n}\\nreturn item;\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"orderdata\",\"value\":\"={{$node[\\\"Webhook\\\"].data[\\\"body\\\"][\\\"data\\\"]}}\"}]},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[]]}}}" }, { "input": "ricardo TESTING is is a very ling display name, with a very long display name", "output": "{\"nodes\":[\"123\"],\"connections\":[]}" }, { "input": "API queries data from GraphQL", "output": "{\"nodes\":[{\"name\":\"GraphQL\",\"type\":\"n8n-nodes-base.graphql\",\"position\":[800,300],\"parameters\":{\"query\":\"=query {\\n country(code: \\\"{{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"code\\\"].toUpperCase()}}\\\") {\\n name\\n phone\\n emoji\\n } \\n}\",\"endpoint\":\"https://countries.trevorblades.com/\",\"requestMethod\":\"GET\",\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1000,300],\"parameters\":{\"functionCode\":\"items[0].json = JSON.parse(items[0].json.data).data.country;\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1200,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"data\",\"value\":\"=The country code of {{$node[\\\"Function\\\"].data[\\\"name\\\"]}} {{$node[\\\"Function\\\"].data[\\\"emoji\\\"]}} is {{$node[\\\"Function\\\"].data[\\\"phone\\\"]}}\"}],\"boolean\":[]},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[600,300],\"parameters\":{\"path\":\"webhook\",\"options\":{},\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"GraphQL\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"GraphQL\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send trending \"Show HN\" to email", "output": "{\"nodes\":[{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,500],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"HTML Extract Data\\\"].data[\\\"title\\\"]}}\",\"value2\":\"Show HN:\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1450,400],\"parameters\":{\"text\":\"={{$node[\\\"Function\\\"].data[\\\"emailText\\\"]}}\",\"options\":{},\"subject\":\"Trending Show HN\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":13}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1250,400],\"parameters\":{\"functionCode\":\"let emailText = 'Currently trending \\\"Show HN\\\":\\\\n\\\\n';\\n\\nfor (let item of items) {\\n emailText += `${item.json.rank} ${item.json.title}\\\\n${item.json.url}\\\\n\\\\n`;\\n}\\n\\nreturn [{json: {emailText}}]\\n\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,500],\"parameters\":{\"url\":\"https://news.ycombinator.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"HTML Extract Items\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[650,500],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"item\",\"cssSelector\":\"tr.athing\",\"returnArray\":true,\"returnValue\":\"html\"}]}},\"typeVersion\":1},{\"name\":\"HTML Extract Data\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[850,500],\"parameters\":{\"options\":{},\"dataPropertyName\":\"item\",\"extractionValues\":{\"values\":[{\"key\":\"title\",\"cssSelector\":\"a\"},{\"key\":\"url\",\"attribute\":\"href\",\"cssSelector\":\"a.storylink\",\"returnValue\":\"attribute\"},{\"key\":\"rank\",\"cssSelector\":\".rank\"}]}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract Items\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract Data\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract Items\":{\"main\":[[{\"node\":\"HTML Extract Data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive Google Sheet data via REST API", "output": "{\"nodes\":[{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[700,300],\"parameters\":{\"range\":\"Problems!A:D\",\"options\":{},\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[500,300],\"parameters\":{\"path\":\"webhook\",\"options\":{},\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Telegram sticker bot", "output": "{\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[450,300],\"parameters\":{\"updates\":[\"message\"]},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"Return Sticker\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[850,200],\"parameters\":{\"text\":\"=Hi {{$node[\\\"Look for Sticker\\\"].data[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}!\\nThe ID of the sticker is: {{$node[\\\"Look for Sticker\\\"].data[\\\"message\\\"][\\\"sticker\\\"][\\\"file_id\\\"]}}\\nIt is part of the sticker-set: {{$node[\\\"Look for Sticker\\\"].data[\\\"message\\\"][\\\"sticker\\\"][\\\"set_name\\\"]}}\",\"chatId\":\"={{$node[\\\"Look for Sticker\\\"].data[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"Return no Sticker found\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[850,400],\"parameters\":{\"text\":\"=Hi {{$node[\\\"Look for Sticker\\\"].data[\\\"message\\\"][\\\"from\\\"][\\\"first_name\\\"]}}!\\nYour message did not contain any sticker.\",\"chatId\":\"={{$node[\\\"Look for Sticker\\\"].data[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"n8nTestBot\"},\"typeVersion\":1},{\"name\":\"Look for Sticker\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,300],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{!!$node[\\\"Telegram Trigger\\\"].data[\\\"message\\\"][\\\"sticker\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1}],\"connections\":{\"Look for Sticker\":{\"main\":[[{\"node\":\"Return Sticker\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Return no Sticker found\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Look for Sticker\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Typeform results to Google Sheet, Slack and email", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,300],\"parameters\":{\"formId\":\"UXuY0A\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Sheets\\\"].data[\\\"Severity\\\"]}}\",\"value2\":7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"Problems!A:D\",\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,400],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"subject\":\"User Reported Problem\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"smtp\":\"\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1050,200],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"channel\":\"problems\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Write HTTP query string on image", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[700,350],\"parameters\":{\"path\":\"test\",\"responseData\":\"firstEntryBinary\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Edit Image\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[1100,350],\"parameters\":{\"text\":\"=They found the killer it was {{$node[\\\"Webhook\\\"].data[\\\"query\\\"][\\\"name\\\"]}}!\",\"fontSize\":\"=25\",\"operation\":\"text\",\"positionX\":150,\"positionY\":180,\"lineLength\":18},\"typeVersion\":1},{\"name\":\"Read File URL\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[900,350],\"parameters\":{\"url\":\"https://www.needpix.com/file_download.php?url=//storage.needpix.com/thumbs/newspaper-412809_1280.jpg\",\"responseFormat\":\"file\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Read File URL\",\"type\":\"main\",\"index\":0}]]},\"Read File URL\":{\"main\":[[{\"node\":\"Edit Image\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Typeform to Kizeoforms to Letterxpress (Letter/Parcel) Service", "output": "{\"id\":\"23\",\"name\":\"Typeform to Letterexpress\",\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Token\",\"position\":[390,130],\"parameters\":{\"url\":\"https://www.kizeoforms.com/rest/v3/login\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"user\"},{\"name\":\"password\"},{\"name\":\"company\"}]}},\"typeVersion\":1},{\"name\":\"POST Form Inhalt\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[570,130],\"parameters\":{\"url\":\"https://www.kizeoforms.com/rest/v3/forms/622167/push\",\"options\":{},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n \\\"recipient_user_id\\\": ,\\n \\\"fields\\\": {\\n \\\"name\\\": {\\n \\\"value\\\": \\\"{{$node[\\\"Typeform Trigger\\\"].json[\\\"Ihr Name\\\"]}}\\\"\\n },\\n \\\"vorname\\\": {\\n \\\"value\\\": \\\"{{$node[\\\"Typeform Trigger\\\"].json[\\\"Ihr Vorname\\\"]}}\\\"\\n },\\n\\\"strasse\\\": {\\n\\\"value\\\": \\\"{{$node[\\\"Typeform Trigger\\\"].json[\\\"Straße\\\"]}}\\\"\\n},\\n\\\"plz\\\": {\\n\\\"value\\\": \\\"{{$node[\\\"Typeform Trigger\\\"].json[\\\"PLZ\\\"]}}\\\"\\n},\\n\\\"ort\\\": {\\n\\\"value\\\": \\\"{{$node[\\\"Typeform Trigger\\\"].json[\\\"Ort\\\"]}}\\\"\\n},\\n\\\"datum\\\": {\\n\\\"value\\\": \\\"24/03/2020\\\"\\n}\\n}\\n}\",\"headerParametersJson\":\"={\\\"Authorization\\\":\\\"{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"token\\\"]}}\\\"}\"},\"typeVersion\":1},{\"name\":\"GET PDF\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[750,130],\"parameters\":{\"url\":\"=https://www.kizeoforms.com/rest/v3/forms//data/{{$node[\\\"POST Form Inhalt\\\"].json[\\\"data\\\"][\\\"data_id\\\"]}}/exports//pdf\",\"options\":{},\"responseFormat\":\"file\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"token\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[1150,130],\"parameters\":{\"value\":\"={{$node[\\\"Function\\\"].json[\\\"data\\\"]}}\",\"dataPropertyName\":\"datachecksum\"},\"typeVersion\":1},{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[190,130],\"parameters\":{\"formId\":\"kuKnkM\"},\"credentials\":{\"typeformApi\":\"Typeform\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[920,130],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n data: items[0].binary.data.data,\\n }\\n }\\n]\"},\"typeVersion\":1},{\"name\":\"LETTEREXPRESS SET Job\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1340,130],\"parameters\":{\"url\":\"https://sandbox.letterxpress.de/v1/setJob\",\"options\":{\"bodyContentType\":\"raw\",\"bodyContentCustomMimeType\":\"application/json\"},\"requestMethod\":\"POST\",\"jsonParameters\":true,\"responseFormat\":\"string\",\"bodyParametersJson\":\"={\\\"auth\\\": {\\n\\\"username\\\":\\\"\\\",\\n\\\"apikey\\\":\\\"\\\"\\n}\\n,\\n\\\"letter\\\":{ \\n\\\"base64_file\\\": \\\"{{$node[\\\"Function\\\"].json[\\\"data\\\"]}}\\\",\\n\\\"base64_checksum\\\": \\\"{{$node[\\\"Crypto\\\"].json[\\\"datachecksum\\\"]}}\\\",\\n\\\"address\\\": \\\"\\\",\\\"dispatchdate\\\": \\\"25.03.2020\\\",\\n\\\"specification\\\":{ \\\"color\\\":\\\"1\\\", \\\"mode\\\":\\\"simplex\\\",\\\"ship\\\":\\\"national\\\"}\\n}}\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Function1\",\"type\":\"n8n-nodes-base.function\",\"position\":[380,420],\"parameters\":{\"functionCode\":\"items[0].json.myVariable = new Date();\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[530,420],\"parameters\":{\"value\":\"={{$node[\\\"Function1\\\"].json[\\\"myVariable\\\"]}}\",\"custom\":true,\"options\":{},\"toFormat\":\"DD.MM.YYYY\",\"dataPropertyName\":\"datumfeld\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Crypto\":{\"main\":[[{\"node\":\"LETTEREXPRESS SET Job\",\"type\":\"main\",\"index\":0}]]},\"GET PDF\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]},\"Function1\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"POST Form Inhalt\",\"type\":\"main\",\"index\":0}]]},\"POST Form Inhalt\":{\"main\":[[{\"node\":\"GET PDF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily affirmations to Telegram", "output": "{\"id\":\"2\",\"name\":\"Daily Text Affirmations\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[350,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[760,380],\"parameters\":{\"url\":\"https://affirmations.dev\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1140,380],\"parameters\":{\"text\":\"=Hey Daniel, here's your daily affirmation...\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"affirmation\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram Token\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get Weather Forecast via Telegram", "output": "{\"id\":\"2\",\"name\":\"Telegram Weather Workflow\",\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[270,220],\"parameters\":{\"updates\":[\"message\"]},\"credentials\":{\"telegramApi\":\"Telegram\"},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[480,220],\"parameters\":{\"cityName\":\"berlin,de\"},\"credentials\":{\"openWeatherMapApi\":\"OpenWeatherMap\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[670,220],\"parameters\":{\"text\":\"=Right now, we have {{$node[\\\"OpenWeatherMap\\\"].json[\\\"weather\\\"][0][\\\"description\\\"]}}. The temperature is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C but it really feels like {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}°C 🙂\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get cocktail suggestions to Mattermost", "output": "{\"id\":\"5\",\"name\":\"Friday Evening Cocktail\",\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[470,450],\"parameters\":{\"url\":\" https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[690,450],\"parameters\":{\"message\":\"=Cocktail of the week is: {{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strDrink\\\"]}}\\n{{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strInstructions\\\"]}} Serve in {{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strGlass\\\"]}}.\",\"channelId\":\"d1iyd4h3sjyw5bph3mrebw186c\",\"attachments\":[{\"image_url\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strDrinkThumb\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[230,450],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":18,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Europe/Berlin\"},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Start\":{\"main\":[[]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Webhooks with Mattermost", "output": "{\"id\":\"13\",\"name\":\"Mattermost Webhook\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[340,200],\"parameters\":{\"path\":\"webhook\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[570,200],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[770,200],\"parameters\":{\"message\":\"=Why not try {{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strDrink\\\"]}}?\\n{{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strInstructions\\\"]}} Serve in {{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strGlass\\\"]}}.\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[{\"image_url\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strDrinkThumb\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage custom incident response in PagerDuty and Jira", "output": "{\"nodes\":[{\"name\":\"Ack\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[-160,1440],\"webhookId\":\"d3025d6c-5956-439e-9c9a-db3ef524a24f\",\"parameters\":{\"path\":\"/ack\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Resolve\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[120,1880],\"webhookId\":\"92d7ddfa-20f9-49bc-976e-4f6c76c0b3b4\",\"parameters\":{\"path\":\"/resolve\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[60,1040],\"webhookId\":\"9888d896-dd23-4e97-9d16-c12055b64133\",\"parameters\":{\"path\":\"9888d896-dd23-4e97-9d16-c12055b64133\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Jira1\",\"type\":\"n8n-nodes-base.jira\",\"position\":[680,1040],\"parameters\":{\"project\":\"10016\",\"summary\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"data\\\"][\\\"title\\\"]}}\",\"issueType\":\"10007\",\"additionalFields\":{\"assignee\":\"qwertz12345\"}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"64\",\"name\":\"Jira SW Cloud account\"}},\"typeVersion\":1},{\"name\":\"Jira2\",\"type\":\"n8n-nodes-base.jira\",\"position\":[540,1880],\"parameters\":{\"issueKey\":\"={{$node[\\\"Resolve\\\"].json[\\\"body\\\"][\\\"context\\\"][\\\"jira_key\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"statusId\":\"31\"}},\"credentials\":{\"jiraSoftwareCloudApi\":{\"id\":\"64\",\"name\":\"Jira SW Cloud account\"}},\"typeVersion\":1},{\"name\":\"PagerDuty1\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[60,1440],\"parameters\":{\"email\":\"address@mail.com\",\"resource\":\"incident\",\"operation\":\"update\",\"incidentId\":\"={{$json[\\\"body\\\"][\\\"context\\\"][\\\"pagerduty_incident\\\"]}}\",\"updateFields\":{\"status\":\"acknowledged\"},\"authentication\":\"apiToken\",\"conferenceBridgeUi\":{}},\"credentials\":{\"pagerDutyApi\":{\"id\":\"65\",\"name\":\"PagerDuty account\"}},\"typeVersion\":1},{\"name\":\"PagerDuty2\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[340,1880],\"parameters\":{\"email\":\"address@mail.com\",\"resource\":\"incident\",\"operation\":\"update\",\"incidentId\":\"={{$json[\\\"body\\\"][\\\"context\\\"][\\\"pagerduty_incident\\\"]}}\",\"updateFields\":{\"status\":\"resolved\"},\"authentication\":\"apiToken\",\"conferenceBridgeUi\":{}},\"credentials\":{\"pagerDutyApi\":{\"id\":\"65\",\"name\":\"PagerDuty account\"}},\"typeVersion\":1},{\"name\":\"Mattermost5\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[300,1440],\"parameters\":{\"message\":\"💪🏼 Incident status has been changed to Acknowledged on PagerDuty.\",\"channelId\":\"={{$node[\\\"Ack\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Mattermost6\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[760,1760],\"parameters\":{\"message\":\"💪 This issue got closed in PagerDuty and Jira.\",\"channelId\":\"={{$node[\\\"Resolve\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Mattermost4\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[900,1180],\"parameters\":{\"message\":\"=⚠️ {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"messages\\\"][0][\\\"log_entries\\\"][0][\\\"incident\\\"][\\\"summary\\\"]}}\\nPagerDuty incident: {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"messages\\\"][0][\\\"log_entries\\\"][0][\\\"incident\\\"][\\\"html_url\\\"]}}\\nJira issue: https://n8n.atlassian.net/browse/{{$json[\\\"key\\\"]}}\",\"channelId\":\"={{$node[\\\"Mattermost1\\\"].json[\\\"id\\\"]}}\",\"attachments\":[{\"actions\":{\"item\":[{\"name\":\"Acknowledge\",\"type\":\"button\",\"options\":{},\"data_source\":\"custom\",\"integration\":{\"item\":{\"url\":\"https://username.app.n8n.cloud/webhook/ack\",\"context\":{\"property\":[{\"name\":\"pagerduty_incident\",\"value\":\"={{ $node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"data\\\"][\\\"id\\\"] }}\"}]}}}},{\"name\":\"Resolve\",\"type\":\"button\",\"options\":{},\"data_source\":\"custom\",\"integration\":{\"item\":{\"url\":\"https://username.app.n8n.cloud/webhook/resolve\",\"context\":{\"property\":[{\"name\":\"jira_key\",\"value\":\"={{$json[\\\"key\\\"]}}\"},{\"name\":\"pagerduty_incident\",\"value\":\"={{ $node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"data\\\"][\\\"id\\\"] }}\"}]}}}}]}}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Mattermost3\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[900,940],\"parameters\":{\"message\":\"=🚨 New incident: \\nAuxiliary Channel -> https://mattermost.internal.n8n.io/test/channels/{{$node[\\\"Mattermost1\\\"].json[\\\"name\\\"]}}\\nPagerDuty Incident -> {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"event\\\"][\\\"data\\\"][\\\"html_url\\\"]}}\\nJira Issue -> https://n8n.atlassian.net/browse/{{$json[\\\"key\\\"]}}\",\"channelId\":\"qwertz12345\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Mattermost2\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[480,1040],\"parameters\":{\"userId\":\"qwertz12345\",\"resource\":\"channel\",\"channelId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"addUser\"},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Mattermost1\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[280,1040],\"parameters\":{\"teamId\":\"qwertz12345\",\"channel\":\"={{$json[\\\"body\\\"][\\\"event\\\"][\\\"data\\\"][\\\"incident_key\\\"]}}\",\"resource\":\"channel\",\"displayName\":\"={{$json[\\\"body\\\"][\\\"event\\\"][\\\"data\\\"][\\\"title\\\"]}}\"},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1},{\"name\":\"Mattermost7\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[760,1980],\"parameters\":{\"message\":\"=🎉 The incident ({{$node[\\\"PagerDuty2\\\"].json[\\\"summary\\\"]}}) was resolved by the lovely folks in the on-call team!\",\"channelId\":\"qwertz12345\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":{\"id\":\"61\",\"name\":\"Mattermost account\"}},\"typeVersion\":1}],\"connections\":{\"Ack\":{\"main\":[[{\"node\":\"PagerDuty1\",\"type\":\"main\",\"index\":0}]]},\"Jira1\":{\"main\":[[{\"node\":\"Mattermost3\",\"type\":\"main\",\"index\":0},{\"node\":\"Mattermost4\",\"type\":\"main\",\"index\":0}]]},\"Jira2\":{\"main\":[[{\"node\":\"Mattermost6\",\"type\":\"main\",\"index\":0},{\"node\":\"Mattermost7\",\"type\":\"main\",\"index\":0}]]},\"Resolve\":{\"main\":[[{\"node\":\"PagerDuty2\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Mattermost1\",\"type\":\"main\",\"index\":0}]]},\"PagerDuty1\":{\"main\":[[{\"node\":\"Mattermost5\",\"type\":\"main\",\"index\":0}]]},\"PagerDuty2\":{\"main\":[[{\"node\":\"Jira2\",\"type\":\"main\",\"index\":0}]]},\"Mattermost1\":{\"main\":[[{\"node\":\"Mattermost2\",\"type\":\"main\",\"index\":0}]]},\"Mattermost2\":{\"main\":[[{\"node\":\"Jira1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Incident Response Workflow - Part 2", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"213324b6-b84d-42f9-af3b-42804cc71cd1\",\"parameters\":{\"path\":\"213324b6-b84d-42f9-af3b-42804cc71cd1\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"PagerDuty\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[650,300],\"parameters\":{\"email\":\"n8ndocsburner@gmail.com\",\"operation\":\"update\",\"incidentId\":\"={{$json[\\\"body\\\"][\\\"context\\\"][\\\"pagerduty_incident\\\"]}}\",\"updateFields\":{\"status\":\"acknowledged\"}},\"credentials\":{\"pagerDutyApi\":\"PagerDuty Credentials\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[850,300],\"parameters\":{\"message\":\"💪🏼 Incident status has been changed to Acknowledged on PagerDuty.\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"PagerDuty\",\"type\":\"main\",\"index\":0}]]},\"PagerDuty\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Incident Response Workflow - Part 3", "output": "{\"nodes\":[{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1050,200],\"parameters\":{\"message\":\"💪 This issue got closed in PagerDuty and Jira.\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Mattermost1\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1050,400],\"parameters\":{\"message\":\"=🎉 The incident ({{$node[\\\"PagerDuty\\\"].json[\\\"summary\\\"]}}) was resolved by the lovely folks in the on-call team!\",\"channelId\":\"k1h3du9r9byyfg7sys8ib6p3ey\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Jira\",\"type\":\"n8n-nodes-base.jira\",\"position\":[850,300],\"parameters\":{\"issueKey\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"context\\\"][\\\"jira_key\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"statusId\":\"31\"}},\"credentials\":{\"jiraSoftwareCloudApi\":\"jira\"},\"typeVersion\":1},{\"name\":\"PagerDuty\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[650,300],\"parameters\":{\"email\":\"n8ndocsburner@gmail.com\",\"operation\":\"update\",\"incidentId\":\"={{$json[\\\"body\\\"][\\\"context\\\"][\\\"pagerduty_incident\\\"]}}\",\"updateFields\":{\"status\":\"resolved\"}},\"credentials\":{\"pagerDutyApi\":\"PagerDuty Credentials\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"1bd40693-c7dd-43f5-97d9-6d8986e62fc1\",\"parameters\":{\"path\":\"1bd40693-c7dd-43f5-97d9-6d8986e62fc1\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1}],\"connections\":{\"Jira\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0},{\"node\":\"Mattermost1\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"PagerDuty\",\"type\":\"main\",\"index\":0}]]},\"PagerDuty\":{\"main\":[[{\"node\":\"Jira\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Generate and insert data into a Postgres database", "output": "{\"id\":\"33\",\"name\":\"Postgres Data Ingestion\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[300,250],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[500,250],\"parameters\":{\"functionCode\":\"var today = new Date();\\nvar date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\\nvar time = today.getHours() + \\\":\\\" + today.getMinutes() + \\\":\\\" + today.getSeconds();\\nvar dateTime = date+' '+time;\\n\\nitems[0].json.sensor_id = 'humidity01';\\nitems[0].json.value = Math.ceil(Math.random()*100);\\nitems[0].json.time_stamp = dateTime;\\nitems[0].json.notification = false;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[680,250],\"parameters\":{\"table\":\"n8n\",\"columns\":\"sensor_id,value,time_stamp,notification\"},\"credentials\":{\"postgres\":\"Postgres\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send SMS alerts based on database queries (Twilio and Postgres)", "output": "{\"id\":\"34\",\"name\":\"Monitoring and alerting\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[450,200],\"parameters\":{\"query\":\"SELECT * FROM n8n WHERE value > 70 AND notification = false;\",\"operation\":\"executeQuery\"},\"credentials\":{\"postgres\":\"Postgres\"},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[650,200],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"=🚨 The Sensor ({{$node[\\\"Postgres\\\"].json[\\\"sensor_id\\\"]}}) showed a reading of {{$node[\\\"Postgres\\\"].json[\\\"value\\\"]}}.\"},\"credentials\":{\"twilioApi\":\"Twilio\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,200],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Postgres\\\"].json[\\\"id\\\"]}}\"}],\"boolean\":[{\"name\":\"notification\",\"value\":true}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Postgres1\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[1050,200],\"parameters\":{\"table\":\"n8n\",\"columns\":\"notification\",\"operation\":\"update\"},\"credentials\":{\"postgres\":\"Postgres\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Postgres1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]},\"Twilio\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Postgres\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "ProdPad to YouTrack", "output": "{\"id\":\"8\",\"name\":\"prodpad2youtrack\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[700,250],\"parameters\":{\"path\":\"pp2yt\",\"options\":{\"rawBody\":false},\"httpMethod\":\"POST\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1010,250],\"parameters\":{\"functionCode\":\"var body = {};\\nbody.summary = item.body.title;\\n\\nbody.description = \\\"\\\";\\n\\nbody.usesMarkdown = true;\\n\\nif (item.body.description.length) {\\n body.description = item.body.description;\\n}\\n\\nif (item.body.functional_spec) {\\n body.description += \\\"

    Functional Specs:

    \\\\n\\\\n\\\"+item.body.functional_spec;\\n}\\n\\nif (item.body.notes) {\\n body.description += \\\"

    Notes:

    \\\\n\\\\n\\\" + item.body.notes; \\n}\\n\\nif (item.body.business_case) {\\n body.description += \\\"

    Business Case

    \\\";\\n if (item.body.business_case.problem) {\\n body.description += \\\"

    Problem:

    \\\" + item.body.business_case.problem;\\n }\\n if (item.body.business_case.value) {\\n body.description += \\\"

    Value:

    \\\" + item.body.business_case.problem;\\n } \\n}\\n\\nbody.description += \\\"

    ProdPad:

    \\\"+item.body.web_url+\\\"\\\";\\n\\nbody.project = {\\\"id\\\":\\\"0-1\\\"};\\nbody.externalIssue = {\\n url:item.body.web_url, \\n name:item.body.title, \\n key:item.body.project_id\\n};\\nbody.customFields = [\\n { \\\"name\\\":\\\"Effort\\\",\\\"value\\\":parseInt(item.body.effort_scaled), $type:\\\"SimpleIssueCustomField\\\" },\\n { \\\"name\\\":\\\"Impact\\\",\\\"value\\\":parseInt(item.body.impact_scaled), $type:\\\"SimpleIssueCustomField\\\" },\\n { \\\"name\\\":\\\"Type\\\",\\\"value\\\":{\\\"name\\\": \\\"Task\\\"}, $type:\\\"SingleEnumIssueCustomField\\\" },\\n];\\nreturn {body:body};\\n\\n\"},\"typeVersion\":1},{\"name\":\"Youtrack OUT\",\"type\":\"n8n-nodes-base.httpRequest\",\"color\":\"#00DD12\",\"position\":[1300,250],\"parameters\":{\"url\":\"https://YOURYOUTRACROOTURL/api/issues\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={{$node[\\\"FunctionItem\\\"].data[\\\"body\\\"]}}\"},\"credentials\":{\"httpHeaderAuth\":\"youtrack-permanent\"},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Europe/Berlin\"},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Youtrack OUT\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sample error workflow", "output": "{\"nodes\":[{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[900,300],\"parameters\":{\"message\":\"=The workflow named '{{$node[\\\"Error Trigger\\\"].json[\\\"workflow\\\"][\\\"name\\\"]}}' with the ID {{$node[\\\"Error Trigger\\\"].json[\\\"workflow\\\"][\\\"id\\\"]}} has encountered an error.\"},\"credentials\":{\"twilioApi\":\"Twilio\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[650,300],\"parameters\":{\"message\":\"=The workflow named '{{$json[\\\"workflow\\\"][\\\"name\\\"]}}' with the ID {{$json[\\\"workflow\\\"][\\\"id\\\"]}} has encountered an error. The last node that was executed was {{$json[\\\"execution\\\"][\\\"lastNodeExecuted\\\"]}}.\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost\"},\"typeVersion\":1},{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[450,300],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Mattermost\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]},\"Error Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Render custom text over images", "output": "{\"id\":\"46\",\"name\":\"Cocktail Recipe Sharing\",\"nodes\":[{\"name\":\"Bannerbear\",\"type\":\"n8n-nodes-base.bannerbear\",\"position\":[650,300],\"parameters\":{\"templateId\":\"\",\"modificationsUi\":{\"modificationsValues\":[{\"name\":\"cocktail-image\",\"imageUrl\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strDrinkThumb\\\"]}}\"},{\"name\":\"title\",\"text\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strDrink\\\"]}}\"},{\"name\":\"recipe\",\"text\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strInstructions\\\"]}}\"}]},\"additionalFields\":{\"waitForImage\":true}},\"credentials\":{\"bannerbearApi\":\"Bannerbear\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,300],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":18,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"name\":\"Rocketchat\",\"type\":\"n8n-nodes-base.rocketchat\",\"position\":[850,300],\"parameters\":{\"channel\":\"\",\"options\":{},\"attachments\":[{\"imageUrl\":\"={{$node[\\\"Bannerbear\\\"].json[\\\"image_url\\\"]}}\"}]},\"credentials\":{\"rocketchatApi\":\"Rocket\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Bannerbear\":{\"main\":[[{\"node\":\"Rocketchat\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Bannerbear\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create ticket on specific customer messages in Telegram", "output": "{\"nodes\":[{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[0,250],\"parameters\":{\"updates\":[\"message\"]},\"credentials\":{\"telegramApi\":\"Telegram\"},\"typeVersion\":1},{\"name\":\"Monday.com\",\"type\":\"n8n-nodes-base.mondayCom\",\"position\":[650,150],\"parameters\":{\"name\":\"={{$node[\\\"Freshdesk\\\"].json[\\\"subject\\\"]}}\",\"boardId\":\"565971708\",\"groupId\":\"new_group\",\"resource\":\"boardItem\",\"additionalFields\":{}},\"credentials\":{\"mondayComApi\":\"Monday\"},\"typeVersion\":1},{\"name\":\"Monday.com1\",\"type\":\"n8n-nodes-base.mondayCom\",\"position\":[650,350],\"parameters\":{\"name\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\",\"boardId\":\"565971708\",\"groupId\":\"topics\",\"resource\":\"boardItem\",\"additionalFields\":{}},\"credentials\":{\"mondayComApi\":\"Monday\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[500,150],\"parameters\":{\"text\":\"Hi, thanks for sending this. We will review your request for refund as soon as possible 💶 💵 💷\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram\"},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[180,250],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\",\"value2\":\"refund\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Freshdesk\",\"type\":\"n8n-nodes-base.freshdesk\",\"position\":[350,150],\"parameters\":{\"options\":{\"tags\":\"refund\",\"subject\":\"={{$node[\\\"IF1\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\"},\"requester\":\"email\",\"requesterIdentificationValue\":\"\"},\"credentials\":{\"freshdeskApi\":\"Freshdesk\"},\"typeVersion\":1},{\"name\":\"Freshdesk1\",\"type\":\"n8n-nodes-base.freshdesk\",\"position\":[350,350],\"parameters\":{\"options\":{\"tags\":\"complaint\",\"subject\":\"={{$node[\\\"IF1\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\"},\"requester\":\"email\",\"requesterIdentificationValue\":\"\"},\"credentials\":{\"freshdeskApi\":\"Freshdesk\"},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[500,350],\"parameters\":{\"text\":\"Hi, thanks for sending this. We will review your complaint as soon as possible 📬 ☀️ ✅\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram\"},\"typeVersion\":1}],\"connections\":{\"IF1\":{\"main\":[[{\"node\":\"Freshdesk\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Freshdesk1\",\"type\":\"main\",\"index\":0}]]},\"Telegram\":{\"main\":[[{\"node\":\"Monday.com\",\"type\":\"main\",\"index\":0}]]},\"Freshdesk\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram1\":{\"main\":[[{\"node\":\"Monday.com1\",\"type\":\"main\",\"index\":0}]]},\"Freshdesk1\":{\"main\":[[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify a team channel about new software releases via Slack and GitHub", "output": "{\"id\":\"5ec2322573f7590007802e1f\",\"name\":\"Extranet Releases\",\"nodes\":[{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[560,550],\"parameters\":{\"text\":\"=New release is available in {{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"repository\\\"][\\\"full_name\\\"]}} !\\n{{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"release\\\"][\\\"tag_name\\\"]}} Details:\\n{{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"release\\\"][\\\"body\\\"]}}\\n\\nLink: {{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"release\\\"][\\\"html_url\\\"]}}\",\"as_user\":true,\"channel\":\"extranet-md\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"Extranet-md\"},\"typeVersion\":1},{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[350,550],\"parameters\":{\"owner\":\"Mesdocteurs\",\"events\":[\"release\"],\"repository\":\"mda-admin-partner-api\"},\"credentials\":{\"githubApi\":\"Github API\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Github Trigger\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Tiny tiny Rss (aka tt-rss) Feed to Mastodon", "output": "{\"id\":\"2\",\"name\":\"post to mattermost v2\",\"nodes\":[{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[580,150],\"parameters\":{\"url\":\"{HERE YOUR TINY TINY RSS PUBLIC FEED}\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1170,90],\"parameters\":{\"url\":\"=https://{HERE YOUR MASTONDON INSTANCE URL}/api/v1/statuses?access_token={HERE YOUR MASTODON ACCESS TOKEN}\",\"options\":{},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"status\",\"value\":\"={{$node[\\\"RSS Feed Read\\\"].json[\\\"title\\\"]}} \\n{{$node[\\\"RSS Feed Read\\\"].json[\\\"link\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[400,150],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":10}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[790,150],\"parameters\":{\"functionCode\":\"// Get the global workflow static data\\nconst staticData = getWorkflowStaticData('global');\\n\\n// Access its data\\nconst lastRssId = staticData.lastRssId\\n\\nlet list = []\\n\\n\\nfor (const item of $items(\\\"RSS Feed Read\\\")){\\n let currentId = item.json[\\\"id\\\"].split('/').pop()\\n if(currentId == lastRssId) break;\\n list.push({'json': {\\n 'id': currentId,\\n 'lastId': lastRssId,\\n 'title': item.json[\\\"title\\\"],\\n 'url': item.json[\\\"link\\\"]\\n }})\\n}\\n\\n\\n// Get the last ID from Rss Feed\\nlet currentRssId = $item(0).$node[\\\"RSS Feed Read\\\"].json[\\\"id\\\"].split('/').pop()\\n\\n// TODO: make a loop to get all the items beyond the last saved id\\nif(!lastRssId || currentRssId != lastRssId)\\n{ \\n // Update its data\\n staticData.lastRssId = currentRssId;\\n \\n}\\nelse { list = [{'json':{'id': 'NaN', 'lastId': staticData.lastRssId }}] }\\nreturn list;\\n\\n\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[960,150],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"id\\\"]}}\",\"value2\":\"NaN\",\"operation\":\"notEqual\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1180,280],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Save Typeform survey results to Airtable", "output": "{\"id\":\"54\",\"name\":\"CFP Selection 1\",\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,250],\"parameters\":{\"formId\":\"\"},\"credentials\":{\"typeformApi\":\"Typeform\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[660,250],\"parameters\":{\"table\":\"\",\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Typeform Trigger\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Airtable data as tasks to Trello", "output": "{\"id\":\"55\",\"name\":\"CFP Selection 2\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[400,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[600,250],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{\"filterByFormula\":\"{Total Score} > 15\"}},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1},{\"name\":\"Bannerbear\",\"type\":\"n8n-nodes-base.bannerbear\",\"position\":[800,250],\"parameters\":{\"templateId\":\"\",\"modificationsUi\":{\"modificationsValues\":[{\"name\":\"talk title\",\"text\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"What's the title of your talk?\\\"]}}\"},{\"name\":\"abstract\",\"text\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Please share the abstract of your talk.\\\"]}}\"},{\"name\":\"profile image\",\"imageUrl\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Please share a URL of your profile picture.\\\"]}}\"},{\"name\":\"username\",\"text\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Your twitter handle\\\"]}}\"},{\"name\":\"full name\",\"text\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Great, can we get your full name?\\\"]}}\"}]},\"additionalFields\":{\"waitForImage\":true}},\"credentials\":{\"bannerbearApi\":\"Bannerbear\"},\"typeVersion\":1},{\"name\":\"Trello\",\"type\":\"n8n-nodes-base.trello\",\"position\":[1000,250],\"parameters\":{\"name\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"What's the title of your talk?\\\"]}}\",\"listId\":\"\",\"description\":\"=Abstract: {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Please share the abstract of your talk.\\\"]}}\\n\\nName: {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Great, can we get your full name?\\\"]}}\\nBio: {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Please share a bit of information about you.\\\"]}}\\nEmail: {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"And what's your email address?\\\"]}}\\nTwitter: {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Your twitter handle\\\"]}}\",\"additionalFields\":{\"urlSource\":\"={{$node[\\\"Bannerbear\\\"].json[\\\"image_url\\\"]}}\"}},\"credentials\":{\"trelloApi\":\"Trello\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Airtable\":{\"main\":[[{\"node\":\"Bannerbear\",\"type\":\"main\",\"index\":0}]]},\"Bannerbear\":{\"main\":[[{\"node\":\"Trello\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get daily random quotes via Telegram", "output": "{\"id\":\"2\",\"name\":\"Random-Quotes\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[580,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,380],\"parameters\":{\"url\":\"https://api.quotable.io/random\",\"options\":{},\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[]},\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1060,380],\"parameters\":{\"text\":\"=Hey Sheddy, Good Morning ☀️.\\n\\nHere is a Quote For You Today by {{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"author\\\"]}} 😄\\n\\n-----\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"content\\\"]}}\\n\\n------\",\"chatId\":\"625936625\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Token\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Naija News and Trends", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[610,320],\"parameters\":{\"url\":\"https://newsapi.org/v2/top-headlines?country=ng&apiKey=ee2293e6ccea4da6bf31063326ee5aa5\",\"options\":{},\"responseFormat\":\"string\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[770,320],\"parameters\":{\"text\":\"=Hey Adams.\\n\\nHere are your top 10 Nigerian News for this morning.\\n\\n\\n> Headline (1): \\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][1][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][1][\\\"url\\\"]}}\\t\\t\\t\\n\\n-----------------------------\\n\\n> Headline (2):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][2][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][2][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (3):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][3][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][3][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (4):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][4][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][4][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (5):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][5][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][5][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (6):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][6][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][6][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (7):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][7][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][7][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (8):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][8][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][8][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (9):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][9][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][9][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\n> Headline (10):\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][0][\\\"title\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"articles\\\"][0][\\\"url\\\"]}}\\n\\n-----------------------------\\n\\nThank You\",\"chatId\":\"1099804001\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Token\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[430,320],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8},{\"hour\":22}]}},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[600,160],\"parameters\":{\"additionalFields\":{}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]},\"Twitter\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an invoice in Google Sheets based on Typeform submission", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,300],\"parameters\":{\"formId\":\"UXuY0A\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Sheets\\\"].data[\\\"Severity\\\"]}}\",\"value2\":7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"Problems!A:D\",\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,400],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"subject\":\"User Reported Problem\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"smtp\":\"\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1050,200],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"channel\":\"problems\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send selected GitHub events to Slack", "output": "{\"nodes\":[{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[500,350],\"parameters\":{\"owner\":\"n8n-io\",\"events\":[\"star\"],\"repository\":\"n8n\"},\"credentials\":{\"githubApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[700,350],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"action\\\"]}}\",\"value2\":\"created\"}]}},\"typeVersion\":1},{\"name\":\"Slack - Add\",\"type\":\"n8n-nodes-base.slack\",\"position\":[900,250],\"parameters\":{\"channel\":\"#general\",\"attachments\":[{\"text\":\"=The project has now: {{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"repository\\\"][\\\"stargazers_count\\\"]}} Stars\",\"color\":\"#88FF00\",\"title\":\"=Got new star from: {{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"sender\\\"][\\\"login\\\"]}}\",\"image_url\":\"={{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"sender\\\"][\\\"avatar_url\\\"]}}\",\"title_link\":\"={{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"sender\\\"][\\\"html_url\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1},{\"name\":\"Slack - Remove\",\"type\":\"n8n-nodes-base.slack\",\"position\":[900,450],\"parameters\":{\"channel\":\"#general\",\"attachments\":[{\"text\":\"=The project has now: {{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"repository\\\"][\\\"stargazers_count\\\"]}} Stars\",\"color\":\"#ff0000\",\"title\":\"=Star got removed by: {{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"sender\\\"][\\\"login\\\"]}}\",\"image_url\":\"={{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"sender\\\"][\\\"avatar_url\\\"]}}\",\"title_link\":\"={{$node[\\\"Github Trigger\\\"].data[\\\"body\\\"][\\\"sender\\\"][\\\"html_url\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack - Add\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Slack - Remove\",\"type\":\"main\",\"index\":0}]]},\"Github Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an SMS/Whatsapp message with Twilio", "output": "{\"name\":\"A workflow with the Twilio node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[430,300],\"parameters\":{},\"credentials\":{\"twilioApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive details about a Github user via Slack", "output": "{\"id\":\"5\",\"name\":\"Gitails\",\"nodes\":[{\"name\":\"Get User Profile\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[710,380],\"parameters\":{\"url\":\"=https://api.github.com/users/{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"options\":{},\"headerParametersUi\":{\"parameter\":[{\"name\":\"user-agent\",\"value\":\"hacktivist123\"}]}},\"typeVersion\":1},{\"name\":\"Filter Data from Requests\",\"type\":\"n8n-nodes-base.set\",\"position\":[1280,380],\"parameters\":{\"values\":{\"string\":[{\"name\":\"login\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"login\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"name\\\"]}}\"},{\"name\":\"email\",\"value\":\"={{$node[\\\"Grab User Email\\\"].json[\\\"commits\\\"][0][\\\"author\\\"][\\\"email\\\"]}}, {{$node[\\\"Grab User Email\\\"].json[\\\"commits\\\"][0][\\\"author\\\"][\\\"name\\\"]}}\"},{\"name\":\"company\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"company\\\"]}}\"},{\"name\":\"location\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"location\\\"]}}\"},{\"name\":\"Photo\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"avatar_url\\\"]}}\"},{\"name\":\"followers\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"followers\\\"]}}\"},{\"name\":\"profile created at\",\"value\":\"={{$node[\\\"Get User Profile\\\"].json[\\\"created_at\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Grab User Email\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1100,380],\"parameters\":{\"functionCode\":\"return item[item.length-3].payload\\n\"},\"typeVersion\":1},{\"name\":\"Get User Commits\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[910,380],\"parameters\":{\"url\":\"=https://api.github.com/users/{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}/events/public\",\"options\":{},\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"user-agent\",\"value\":\"hacktivist123\"}]}},\"typeVersion\":1},{\"name\":\"Send Details To Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1470,380],\"parameters\":{\"text\":\"=\",\"as_user\":true,\"channel\":\"general\",\"attachments\":[{\"text\":\"=I found the following details for this username:\\n\\n*Username:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"login\\\"]}}\\n\\n*Name:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"name\\\"]}}\\n\\n*Email:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"email\\\"]}}\\n\\n*Location:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"location\\\"]}}\\n\\n*Company:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"company\\\"]}}\\n\\n*Followers:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"followers\\\"]}}\\n\\n*Profile Created at:* {{$node[\\\"Filter Data from Requests\\\"].json[\\\"profile created at\\\"]}}\",\"color\":\"#040202\",\"title\":\"=Github Details for {{$node[\\\"Filter Data from Requests\\\"].json[\\\"login\\\"]}}\",\"footer\":\"=Profile was last updated at: *{{$node[\\\"Get User Profile\\\"].json[\\\"updated_at\\\"]}}*\",\"thumb_url\":\"={{$node[\\\"Filter Data from Requests\\\"].json[\\\"Photo\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"App Token\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[510,380],\"parameters\":{\"path\":\"slack/events\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Africa/Lagos\",\"errorWorkflow\":\"7\"},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"Get User Profile\",\"type\":\"main\",\"index\":0}]]},\"Grab User Email\":{\"main\":[[{\"node\":\"Filter Data from Requests\",\"type\":\"main\",\"index\":0}]]},\"Get User Commits\":{\"main\":[[{\"node\":\"Grab User Email\",\"type\":\"main\",\"index\":0}]]},\"Get User Profile\":{\"main\":[[{\"node\":\"Get User Commits\",\"type\":\"main\",\"index\":0}]]},\"Filter Data from Requests\":{\"main\":[[{\"node\":\"Send Details To Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Notify about Google Sheet changes in Slack and email ", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,300],\"parameters\":{\"formId\":\"UXuY0A\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Sheets\\\"].data[\\\"Severity\\\"]}}\",\"value2\":7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"Problems!A:D\",\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,400],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"subject\":\"User Reported Problem\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"smtp\":\"\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1050,200],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"channel\":\"problems\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get daily SMS updates about weather", "output": "{\"id\":\"69\",\"name\":\"Creating your first workflow\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,250],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[450,250],\"parameters\":{\"cityName\":\"berlin,de\"},\"credentials\":{\"openWeatherMapApi\":\"Weather\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,250],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}\",\"value2\":18}]}},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[850,150],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"=Wear a sweater today, it is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}°C outside right now.\"},\"credentials\":{\"twilioApi\":\"Twilio\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[850,350],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message with a Discord Bot", "output": "{\"id\":\"2\",\"name\":\"Discord Intro\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[510,330],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[800,330],\"parameters\":{\"text\":\"Hello World!\",\"webhookUri\":\"https://discordapp.com/api/webhooks/XXX/XXX\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get an incident on PagerDuty", "output": "{\"id\":\"158\",\"name\":\"Create, update, and get an incident on PagerDuty\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"PagerDuty\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[440,260],\"parameters\":{\"email\":\"\",\"title\":\"Firewall on Fire\",\"serviceId\":\"\",\"additionalFields\":{}},\"credentials\":{\"pagerDutyApi\":\"\"},\"typeVersion\":1},{\"name\":\"PagerDuty2\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[840,260],\"parameters\":{\"operation\":\"get\",\"incidentId\":\"={{$node[\\\"PagerDuty1\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"pagerDutyApi\":\"\"},\"typeVersion\":1},{\"name\":\"PagerDuty1\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[640,260],\"parameters\":{\"email\":\"={{$node[\\\"PagerDuty\\\"].parameter[\\\"email\\\"]}}\",\"operation\":\"update\",\"incidentId\":\"={{$node[\\\"PagerDuty\\\"].json[\\\"id\\\"]}}\",\"updateFields\":{\"title\":\"Firewalls on Fire\"}},\"credentials\":{\"pagerDutyApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"PagerDuty\":{\"main\":[[{\"node\":\"PagerDuty1\",\"type\":\"main\",\"index\":0}]]},\"PagerDuty1\":{\"main\":[[{\"node\":\"PagerDuty2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"PagerDuty\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a contact in ActiveCampaign", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[600,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"ActiveCampaign\",\"type\":\"n8n-nodes-base.activeCampaign\",\"position\":[800,250],\"parameters\":{\"email\":\"\",\"updateIfExists\":true,\"additionalFields\":{\"lastName\":\"\",\"firstName\":\"\"}},\"credentials\":{\"activeCampaignApi\":\"ActiveCampaign\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"ActiveCampaign\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new member on Mailchimp", "output": "{\"id\":\"3\",\"name\":\"Mailchimp\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[480,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mailchimp\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[780,310],\"parameters\":{\"list\":\"97542c5cf8\",\"email\":\"xxxx@email.com\",\"status\":\"subscribed\",\"options\":{},\"mergeFieldsUi\":{\"mergeFieldsValues\":[{\"name\":\"FNAME\",\"value\":\"Joe\"}]}},\"credentials\":{\"mailchimpApi\":\"mailchimpAPI\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mailchimp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "forked random quotes", "output": "{\"id\":\"2\",\"name\":\"Random-Quotes\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[580,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[850,380],\"parameters\":{\"url\":\"https://api.quotable.io/random\",\"options\":{},\"responseFormat\":\"string\",\"queryParametersUi\":{\"parameter\":[]},\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1060,380],\"parameters\":{\"text\":\"=Hey Sheddy, Good Morning ☀️.\\n\\nHere is a Quote For You Today by {{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"author\\\"]}} 😄\\n\\n-----\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"][\\\"content\\\"]}}\\n\\n------\",\"chatId\":\"625936625\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Token\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Append MongoDb data to Google Sheets", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,270],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[660,270],\"parameters\":{\"collection\":\"rocketchat_taggedmessages\"},\"credentials\":{\"mongoDb\":\"MyMongo\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[810,270],\"parameters\":{\"range\":\"A:E\",\"options\":{},\"sheetId\":\"1WtTkeXno2-wMwohgKeM3nleZtxqQpqIdqZ3Khdn3G9w\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"test api\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"MongoDB\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Post a message in a Slack channel", "output": "{\"id\":\"8\",\"name\":\"slack-workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[410,300],\"parameters\":{\"text\":\"This is an example.\",\"channel\":\"example-channel\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":\"slack2-oauth2-docker-ivov\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Cross-post your blog posts", "output": "{\"nodes\":[{\"name\":\"Medium\",\"type\":\"n8n-nodes-base.medium\",\"position\":[650,450],\"parameters\":{\"title\":\"={{$json[\\\"body\\\"][\\\"entry\\\"][\\\"Title\\\"]}}\",\"content\":\"={{$json[\\\"body\\\"][\\\"entry\\\"][\\\"PostContent\\\"]}}\",\"contentFormat\":\"markdown\",\"additionalFields\":{}},\"credentials\":{\"mediumApi\":\"Medium Credentials\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"\",\"parameters\":{\"path\":\"\",\"options\":{},\"httpMethod\":\"POST\",\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Strapi Webhook Credentials\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,200],\"parameters\":{\"url\":\"https://dev.to/api/articles\",\"options\":{},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"bodyParametersJson\":\"={\\n\\t\\\"article\\\": {\\n\\t\\t\\\"title\\\": \\\"{{$json[\\\"body\\\"][\\\"entry\\\"][\\\"Title\\\"]}}\\\",\\n\\t\\t\\\"published\\\": true,\\n\\t\\t\\\"body_markdown\\\": \\\"{{$json[\\\"body\\\"][\\\"entry\\\"][\\\"PostContent\\\"]}}\\\",\\n\\t\\t\\\"tags\\\":[\\\"{{$json[\\\"body\\\"][\\\"entry\\\"][\\\"Tag\\\"]}}\\\"]\\n\\t}\\n}\",\"headerParametersJson\":\"{\\\"Content-Type\\\": \\\"application/json\\\"}\"},\"credentials\":{\"httpHeaderAuth\":\"Dev.to Credentials\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Medium\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Set alert on the website changes", "output": "{\"id\":\"1\",\"name\":\"Website check\",\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[400,300],\"parameters\":{\"url\":\"\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[550,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"data\\\"]}}\",\"value2\":\"Out Of Stock\",\"operation\":\"contains\"}]}},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[700,300],\"parameters\":{\"text\":\"value found\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Discord1\",\"type\":\"n8n-nodes-base.discord\",\"position\":[700,450],\"parameters\":{\"text\":\"value not found\",\"webhookUri\":\"\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[210,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{\"timezone\":\"America/Los_Angeles\"},\"connections\":{\"IF\":{\"main\":[[],[{\"node\":\"Discord1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a event to Google Calendar automatically", "output": "{\"id\":\"1\",\"name\":\"Add a event to Calender\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[410,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[830,320],\"parameters\":{\"end\":\"2020-06-27T07:00:00.000Z\",\"start\":\"2020-06-25T07:00:00.000Z\",\"calendar\":\"shaligramshraddha@gmail.com\",\"additionalFields\":{}},\"credentials\":{\"googleCalendarOAuth2Api\":\"new one\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Calendar\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a task to Google Tasks", "output": "{\"id\":\"2\",\"name\":\"Add task to tasklist\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[500,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Tasks\",\"type\":\"n8n-nodes-base.googleTasks\",\"position\":[920,310],\"parameters\":{\"task\":\"MDY3OTAyNjUyMDk5NDY5ODIzMzM6MDow\",\"additionalFields\":{}},\"credentials\":{\"googleTasksOAuth2Api\":\"shraddha\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Tasks\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Gather leads in Google Sheet and Mailchimp", "output": "{\"id\":\"1\",\"name\":\"Google Sheet to Mailchimp\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[110,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[530,300],\"parameters\":{\"range\":\"sheetone!A:C\",\"options\":{},\"sheetId\":\"1jwEoPPrkQ2qYMYLZ_I0hlME_Ya_p2YZvaxG10Nf_R20\"},\"credentials\":{\"googleApi\":\"Google mailchimp\"},\"typeVersion\":1},{\"name\":\"Mailchimp\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[720,300],\"parameters\":{\"list\":\"90d12734de\",\"email\":\"={{$node[\\\"Google Sheets\\\"].json[\\\"email\\\"]}}\",\"status\":\"subscribed\",\"options\":{}},\"credentials\":{\"mailchimpApi\":\"Google mailchimp\"},\"typeVersion\":1},{\"name\":\"Interval\",\"type\":\"n8n-nodes-base.interval\",\"position\":[290,300],\"parameters\":{\"interval\":2},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Interval\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Mailchimp\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[]]}}}" }, { "input": "Time spent in meetings every week", "output": "{\"id\":\"78\",\"name\":\"Time spent in meetings every week\",\"nodes\":[{\"name\":\"Weekly Trigger\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,450],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":18,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"name\":\"Start and end of week\",\"type\":\"n8n-nodes-base.function\",\"position\":[650,450],\"parameters\":{\"functionCode\":\"var curr = new Date;\\nvar first = (curr.getDate() - curr.getDay()) +1;\\nvar last = first + 4;\\n\\nvar firstday = new Date(curr.setDate(first));\\nvar lastday = new Date(curr.setDate(last));\\n\\nbeginning_week = new Date(firstday.setHours(0,0,0,0));\\nending_week = new Date(lastday.setHours(23,59,59,99));\\n\\nitems[0].json.from = beginning_week.toISOString();\\nitems[0].json.to = ending_week.toISOString();\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Meetings this week\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[850,450],\"parameters\":{\"options\":{\"timeMax\":\"={{$node[\\\"Start and end of week\\\"].json[\\\"to\\\"]}}\",\"timeMin\":\"={{$node[\\\"Start and end of week\\\"].json[\\\"from\\\"]}}\",\"singleEvents\":true},\"calendar\":\"\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"googleCalendarOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Total meeting duration\",\"type\":\"n8n-nodes-base.function\",\"position\":[1050,450],\"parameters\":{\"functionCode\":\"var new_items = [];\\nvar total_meeting_time = 0;\\n\\nfor (var i=0 ; i\\n{{$node[\\\"Function\\\"].json[\\\"reportMessage\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1230,590],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (const item of items[0].json) {\\n newItems.push(`- [${item.reason}] => ${item.subject.title} @ ${item.subject.url.replace('api.','').replace('/repos','')}`);\\n }\\n\\nreturn [{json: {reportMessage: `${newItems.join('\\\\r\\\\n')}`, hasNotifications: items[0].json.length > 0}}];\\n\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1400,590],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"hasNotifications\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"@Get Date 1 min ago\",\"type\":\"n8n-nodes-base.function\",\"position\":[860,590],\"parameters\":{\"functionCode\":\"const date = new Date(new Date().setMinutes(new Date().getMinutes() - (1))).toISOString()\\nreturn [{json: {since: date}}];\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"@Get Date 1 min ago\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"@Get Issue\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"@Get Date 1 min ago\":{\"main\":[[{\"node\":\"@Get Issue\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "uptweet coba", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[450,300],\"parameters\":{\"text\":\"This is a test workflow for the twitter node\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter-credentials\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new contact in Agile CRM", "output": "{\"id\":\"96\",\"name\":\"Create a new contact in Agile CRM\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AgileCRM\",\"type\":\"n8n-nodes-base.agileCrm\",\"position\":[450,300],\"parameters\":{\"operation\":\"create\",\"additionalFields\":{\"lastName\":\"\",\"firstName\":\"\"}},\"credentials\":{\"agileCrmApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"AgileCRM\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an organization in Affinity", "output": "{\"id\":\"95\",\"name\":\"Create an organization in Affinity\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[400,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Affinity\",\"type\":\"n8n-nodes-base.affinity\",\"position\":[600,250],\"parameters\":{\"name\":\"\",\"domain\":\"\",\"additionalFields\":{}},\"credentials\":{\"affinityApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Affinity\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "List data from a table in Airtable", "output": "{\"id\":\"97\",\"name\":\"List data from a table in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[450,300],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new task in Asana", "output": "{\"id\":\"98\",\"name\":\"Create a new task in Asana\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Asana\",\"type\":\"n8n-nodes-base.asana\",\"position\":[450,300],\"parameters\":{\"name\":\"\",\"workspace\":\"\",\"otherProperties\":{}},\"credentials\":{\"asanaApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Asana\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Execute an SQL query in Microsoft SQL", "output": "{\"id\":\"99\",\"name\":\"Execute an SQL query in Microsoft SQL\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft SQL\",\"type\":\"n8n-nodes-base.microsoftSql\",\"position\":[450,300],\"parameters\":{\"query\":\"\",\"operation\":\"executeQuery\"},\"credentials\":{\"microsoftSql\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft SQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new task in Todoist", "output": "{\"id\":\"100\",\"name\":\"Create a new task in Todoist\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[550,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Todoist\",\"type\":\"n8n-nodes-base.todoist\",\"position\":[750,250],\"parameters\":{\"content\":\"\",\"options\":{}},\"credentials\":{\"todoistApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Todoist\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insert data into a new row for a table in Coda", "output": "{\"id\":\"102\",\"name\":\"Insert data into a new row for a table in Coda\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Coda\",\"type\":\"n8n-nodes-base.coda\",\"position\":[650,300],\"parameters\":{\"docId\":\"\",\"options\":{},\"tableId\":\"\"},\"credentials\":{\"codaApi\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Column 1\",\"value\":\"This is column 1 data\"},{\"name\":\"Column 2\",\"value\":\"This is column 2 data\"},{\"name\":\"Column 3\",\"value\":\"This is column 3 data\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Coda\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new customer in Chargebee", "output": "{\"id\":\"103\",\"name\":\"Create a new customer in Chargebee\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Chargebee\",\"type\":\"n8n-nodes-base.chargebee\",\"position\":[460,300],\"parameters\":{\"resource\":\"customer\",\"properties\":{\"last_name\":\"\",\"first_name\":\"\"}},\"credentials\":{\"chargebeeApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Chargebee\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Look up a person using their email in Clearbit", "output": "{\"id\":\"104\",\"name\":\"Look up a person using their email in Clearbit\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Clearbit\",\"type\":\"n8n-nodes-base.clearbit\",\"position\":[450,300],\"parameters\":{\"email\":\"\",\"resource\":\"person\",\"additionalFields\":{}},\"credentials\":{\"clearbitApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Clearbit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a task in ClickUp", "output": "{\"id\":\"105\",\"name\":\"Create a task in ClickUp\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"ClickUp\",\"type\":\"n8n-nodes-base.clickUp\",\"position\":[450,300],\"parameters\":{\"list\":\"\",\"name\":\"\",\"team\":\"\",\"space\":\"\",\"folder\":\"\",\"additionalFields\":{}},\"credentials\":{\"clickUpApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for events in Chargebee", "output": "{\"id\":\"108\",\"name\":\"Receive updates for events in Chargebee\",\"nodes\":[{\"name\":\"Chargebee Trigger\",\"type\":\"n8n-nodes-base.chargebeeTrigger\",\"position\":[700,250],\"parameters\":{\"events\":[\"*\"]},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates for events in ClickUp", "output": "{\"id\":\"110\",\"name\":\"Receive updates for events in ClickUp\",\"nodes\":[{\"name\":\"ClickUp Trigger\",\"type\":\"n8n-nodes-base.clickUpTrigger\",\"position\":[700,250],\"parameters\":{\"team\":\"\",\"events\":[\"*\"],\"filters\":{}},\"credentials\":{\"clickUpApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates when a new account is added by an admin in ActiveCampaign", "output": "{\"id\":\"112\",\"name\":\"Receive updates when a new account is added by an admin in ActiveCampaign\",\"nodes\":[{\"name\":\"ActiveCampaign Trigger\",\"type\":\"n8n-nodes-base.activeCampaignTrigger\",\"position\":[700,250],\"parameters\":{\"events\":[\"account_add\"],\"sources\":[\"admin\"]},\"credentials\":{\"activeCampaignApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Create a deal in Pipedrive", "output": "{\"id\":\"113\",\"name\":\"Create an deal in Pipedrive\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Pipedrive\",\"type\":\"n8n-nodes-base.pipedrive\",\"position\":[450,300],\"parameters\":{\"title\":\"\",\"additionalFields\":{}},\"credentials\":{\"pipedriveApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Pipedrive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for all changes in Pipedrive", "output": "{\"id\":\"115\",\"name\":\"Receive updates for all changes in Pipedrive\",\"nodes\":[{\"name\":\"Pipedrive Trigger\",\"type\":\"n8n-nodes-base.pipedriveTrigger\",\"position\":[750,250],\"parameters\":{},\"credentials\":{\"pipedriveApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates for changes in the specified list in Trello", "output": "{\"id\":\"117\",\"name\":\"Receive updates for changes in the specified list in Trello\",\"nodes\":[{\"name\":\"Trello Trigger\",\"type\":\"n8n-nodes-base.trelloTrigger\",\"position\":[700,250],\"parameters\":{\"id\":\"\"},\"credentials\":{\"trelloApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Run an SQL query on a MySQL instance", "output": "{\"id\":\"118\",\"name\":\"Run an SQL query on a MySQL instance\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[600,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"MySQL\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[800,250],\"parameters\":{\"query\":\"\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"MySQL\":{\"main\":[[]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"MySQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get details of a forum in Disqus", "output": "{\"id\":\"119\",\"name\":\"Get details of a forum in Disqus\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Disqus\",\"type\":\"n8n-nodes-base.disqus\",\"position\":[450,300],\"parameters\":{\"id\":\"hackernoon\",\"additionalFields\":{}},\"credentials\":{\"disqusApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Disqus\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a client in Harvest", "output": "{\"id\":\"120\",\"name\":\"Create a client in Harvest\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Harvest\",\"type\":\"n8n-nodes-base.harvest\",\"position\":[450,300],\"parameters\":{\"name\":\"\",\"resource\":\"client\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"harvestApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Harvest\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Track an event in Segment", "output": "{\"id\":\"122\",\"name\":\"Track an event in Segment\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Segment\",\"type\":\"n8n-nodes-base.segment\",\"position\":[450,300],\"parameters\":{\"event\":\"\",\"resource\":\"track\"},\"credentials\":{\"segmentApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Segment\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a ticket in Zendesk", "output": "{\"id\":\"123\",\"name\":\"Create a ticket in Zendesk\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Zendesk\",\"type\":\"n8n-nodes-base.zendesk\",\"position\":[450,300],\"parameters\":{\"description\":\"\",\"additionalFields\":{}},\"credentials\":{\"zendeskApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Zendesk\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a contact in Drift", "output": "{\"id\":\"125\",\"name\":\"Create a contact in Drift\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Drift \",\"type\":\"n8n-nodes-base.drift\",\"position\":[450,300],\"parameters\":{\"email\":\"\",\"additionalFields\":{}},\"credentials\":{\"driftApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Drift \",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a private message on Zulip", "output": "{\"id\":\"126\",\"name\":\"Send a private message on Zulip\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Zulip\",\"type\":\"n8n-nodes-base.zulip\",\"position\":[450,300],\"parameters\":{\"to\":[]},\"credentials\":{\"zulipApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Zulip\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a user profile in Vero", "output": "{\"id\":\"127\",\"name\":\"Create a user profile in Vero\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Vero\",\"type\":\"n8n-nodes-base.vero\",\"position\":[450,300],\"parameters\":{\"id\":\"\",\"additionalFields\":{}},\"credentials\":{\"veroApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Vero\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a company in Salesmate", "output": "{\"id\":\"128\",\"name\":\"Create a company in Salesmate\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Salesmate\",\"type\":\"n8n-nodes-base.salesmate\",\"position\":[450,300],\"parameters\":{\"name\":\"\",\"owner\":\"\",\"resource\":\"company\",\"additionalFields\":{}},\"credentials\":{\"salesmateApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Salesmate\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message via AWS SNS", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AWS SNS\",\"type\":\"n8n-nodes-base.awsSns\",\"position\":[450,300],\"parameters\":{\"topic\":\"n8n-rocks\",\"message\":\"This is a test message\",\"subject\":\"This is a test subject\"},\"credentials\":{\"aws\":\"aws\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"AWS SNS\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an S3 bucket", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AWS S3\",\"type\":\"n8n-nodes-base.awsS3\",\"position\":[450,300],\"parameters\":{\"name\":\"n8n-rocks\",\"resource\":\"bucket\",\"additionalFields\":{}},\"credentials\":{\"aws\":\"aws\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"AWS S3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insert a document in MongoDB", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[420,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"my_key\",\"value\":\"my_value\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[620,320],\"parameters\":{\"fields\":\"my_key\",\"operation\":\"insert\",\"collection\":\"n8n-collection\"},\"credentials\":{\"mongoDb\":\"mongodb_credentials\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"MongoDB\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get information about a company with UpLead", "output": "{\"id\":\"129\",\"name\":\"Get information about a company with UpLead\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Uplead\",\"type\":\"n8n-nodes-base.uplead\",\"position\":[450,300],\"parameters\":{\"company\":\"Apple\"},\"credentials\":{\"upleadApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Uplead\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all the tasks in Flow", "output": "{\"id\":\"130\",\"name\":\"Get all the tasks in Flow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Flow\",\"type\":\"n8n-nodes-base.flow\",\"position\":[450,300],\"parameters\":{\"filters\":{},\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"flowApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Flow\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an email using AWS SES", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AWS SES\",\"type\":\"n8n-nodes-base.awsSes\",\"position\":[450,300],\"parameters\":{\"body\":\"This is a sample message body in an email\\n\",\"subject\":\"n8n Rocks\",\"fromEmail\":\"n8n@n8n.io\",\"toAddresses\":[\"user@example.com\",\"user2@example.com\"],\"additionalFields\":{}},\"credentials\":{\"aws\":\"aws\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"AWS SES\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for specified tasks in Flow", "output": "{\"id\":\"133\",\"name\":\"Receive updates for specified tasks in Flow\",\"nodes\":[{\"name\":\"Flow Trigger\",\"type\":\"n8n-nodes-base.flowTrigger\",\"position\":[650,250],\"parameters\":{\"taskIds\":\"\",\"resource\":\"task\"},\"credentials\":{\"flowApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates for AWS SNS Events", "output": "{\"nodes\":[{\"name\":\"AWS-SNS-Trigger\",\"type\":\"n8n-nodes-base.awsSnsTrigger\",\"position\":[440,300],\"parameters\":{\"topic\":\"arn:aws:sns:ap-south-1:100558637562:n8n-rocks\"},\"credentials\":{\"aws\":\"amudhan-aws\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Invoke an AWS Lambda function", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AWS Lambda\",\"type\":\"n8n-nodes-base.awsLambda\",\"position\":[450,300],\"parameters\":{\"function\":\"arn:aws:lambda:ap-south-1:100558637562:function:hello-world-sample\"},\"credentials\":{\"aws\":\"amudhan-aws\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"AWS Lambda\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an SMS using MSG91", "output": "{\"name\":\"Send an SMS using MSG91\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Msg91\",\"type\":\"n8n-nodes-base.msg91\",\"position\":[450,300],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"\"},\"credentials\":{\"msg91Api\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Msg91\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message to an ActiveMQ queue via AMQP Sender", "output": "{\"id\":\"134\",\"name\":\"Send a message to an ActiveMQ queue via AMQP Sender\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AMQP Sender\",\"type\":\"n8n-nodes-base.amqp\",\"position\":[650,300],\"parameters\":{\"sink\":\"\"},\"credentials\":{\"amqp\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"my_key\",\"value\":\"my_value\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"AMQP Sender\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive messages for an ActiveMQ queue", "output": "{\"id\":\"135\",\"name\":\"Receive messages for an ActiveMQ queue via AMQP Trigger\",\"nodes\":[{\"name\":\"AMQP Trigger\",\"type\":\"n8n-nodes-base.amqpTrigger\",\"position\":[650,200],\"parameters\":{\"sink\":\"\"},\"credentials\":{\"amqp\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Get first and last names from Facebook Graph API", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Facebook Graph API\",\"type\":\"n8n-nodes-base.facebookGraphApi\",\"position\":[450,300],\"parameters\":{\"node\":\"me\",\"options\":{\"fields\":{\"field\":[{\"name\":\"last_name\"},{\"name\":\"first_name\"}]}}},\"credentials\":{\"facebookGraphApi\":\"graph_credentials\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Facebook Graph API\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Download a file from Google Drive", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Drive\",\"type\":\"n8n-nodes-base.googleDrive\",\"position\":[450,300],\"parameters\":{\"fileId\":\"1dJEBaECGmua09YP7W6WCBu66icIq32yRadQpk\",\"options\":{},\"operation\":\"download\"},\"credentials\":{\"googleApi\":\"n8n-test-service-account\"},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[650,300],\"parameters\":{\"fileName\":\"/data/downloaded_file.pdf\"},\"typeVersion\":1}],\"connections\":{\"Google Drive\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Drive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Catch MailChimp subscribe events", "output": "{\"nodes\":[{\"name\":\"Mailchimp Trigger\",\"type\":\"n8n-nodes-base.mailchimpTrigger\",\"position\":[870,370],\"parameters\":{\"list\":\"0a5a4ca5de\",\"events\":[\"subscribe\"],\"sources\":[\"api\",\"admin\",\"user\"]},\"credentials\":{\"mailchimpApi\":\"mailchimp_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get new time entries from Toggl", "output": "{\"id\":\"138\",\"name\":\"Get new time entries from Toggl\",\"nodes\":[{\"name\":\"Toggl\",\"type\":\"n8n-nodes-base.togglTrigger\",\"position\":[650,250],\"parameters\":{\"pollTimes\":{\"item\":[{}]}},\"credentials\":{\"togglApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Get entries from a Cockpit collection", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[750,360],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cockpit\",\"type\":\"n8n-nodes-base.cockpit\",\"position\":[950,360],\"parameters\":{\"options\":{},\"collection\":\"samplecollection\"},\"credentials\":{\"cockpitApi\":\"cockpit api\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Cockpit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Verify email deliverability with Hunter", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Hunter\",\"type\":\"n8n-nodes-base.hunter\",\"position\":[450,300],\"parameters\":{\"email\":\"user@example.com\",\"operation\":\"emailVerifier\"},\"credentials\":{\"hunterApi\":\"hunter api creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Hunter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an email using Mailjet", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mailjet\",\"type\":\"n8n-nodes-base.mailjet\",\"position\":[450,300],\"parameters\":{\"text\":\"This is a test message\",\"subject\":\"Sample Subject\",\"toEmail\":\"user2@example.com\",\"fromEmail\":\"user@example.com\",\"additionalFields\":{}},\"credentials\":{\"mailjetEmailApi\":\"mailjet creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mailjet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates on emails sent via Mailjet", "output": "{\"nodes\":[{\"name\":\"Mailjet Trigger\",\"type\":\"n8n-nodes-base.mailjetTrigger\",\"position\":[530,400],\"parameters\":{\"event\":\"sent\"},\"credentials\":{\"mailjetEmailApi\":\"mailjet creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Send an email using Mailgun", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mailgun\",\"type\":\"n8n-nodes-base.mailgun\",\"position\":[450,300],\"parameters\":{\"text\":\"This is a test message \",\"subject\":\"This is a Subject\",\"toEmail\":\"user2@example.com\",\"fromEmail\":\"user@example.com\"},\"credentials\":{\"mailgunApi\":\"mailgun-creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mailgun\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read values of a table from QuestDB", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"QuestDB\",\"type\":\"n8n-nodes-base.questDb\",\"position\":[450,300],\"parameters\":{\"query\":\"SELECT * FROM temp;\",\"operation\":\"executeQuery\"},\"credentials\":{\"questDb\":\"questdb online test\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"QuestDB\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get today's date and day using the Function node", "output": "{\"id\":\"140\",\"name\":\"Get today's date and day using the Function node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"var date = new Date().toISOString();\\nvar day = new Date().getDay();\\nconst weekday = [\\\"Sunday\\\", \\\"Monday\\\", \\\"Tuesday\\\", \\\"Wednesday\\\", \\\"Thursday\\\", \\\"Friday\\\", \\\"Saturday\\\"];\\n\\nitems[0].json.date_today = date;\\nitems[0].json.day_today = weekday[day];\\n\\nreturn items;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get articles from Hacker News", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Hacker News\",\"type\":\"n8n-nodes-base.hackerNews\",\"position\":[450,300],\"parameters\":{\"resource\":\"all\",\"additionalFields\":{}},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Hacker News\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Assign values to variables using the Set node", "output": "{\"id\":\"141\",\"name\":\"Assign values to variables using the Set node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"number\",\"value\":20}],\"string\":[{\"name\":\"string\",\"value\":\"From n8n with love\"}],\"boolean\":[{\"name\":\"boolean\",\"value\":true}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for GitHub events", "output": "{\"nodes\":[{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[260,410],\"webhookId\":\"887a6b2b-dfc3-48b5-86e3-fc414613baee\",\"parameters\":{\"owner\":\"n8n-io\",\"events\":[\"*\"],\"repository\":\"n8n-docs\"},\"credentials\":{\"githubApi\":\"github_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates for GitLab events", "output": "{\"nodes\":[{\"name\":\"Gitlab Trigger\",\"type\":\"n8n-nodes-base.gitlabTrigger\",\"position\":[460,480],\"webhookId\":\"0e855b27-6465-42be-9610-c61b2e09cef9\",\"parameters\":{\"owner\":\"n8n-io\",\"events\":[\"*\"],\"repository\":\"n8n-docs\"},\"credentials\":{\"gitlabApi\":\"gitlab_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates for Bitbucket events", "output": "{\"nodes\":[{\"name\":\"Bitbucket Trigger\",\"type\":\"n8n-nodes-base.bitbucketTrigger\",\"position\":[880,390],\"webhookId\":\"97ca8044-5835-4547-801d-c27dd7f10c2d\",\"parameters\":{\"events\":[\"repo:push\"],\"resource\":\"repository\",\"repository\":\"test\"},\"credentials\":{\"bitbucketApi\":\"bitbucket_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates on appointments via Acuity Scheduling", "output": "{\"nodes\":[{\"name\":\"Acuity Scheduling Trigger\",\"type\":\"n8n-nodes-base.acuitySchedulingTrigger\",\"position\":[880,400],\"webhookId\":\"b326732d-9473-469f-a421-dd823d26b945\",\"parameters\":{\"event\":\"appointment.scheduled\"},\"credentials\":{\"acuitySchedulingApi\":\"acuity_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get multiple clients' data from Invoice Ninja", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Invoice Ninja\",\"type\":\"n8n-nodes-base.invoiceNinja\",\"position\":[410,310],\"parameters\":{\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"invoiceNinjaApi\":\"invoice_ninja_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Invoice Ninja\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates on a new invoice via Invoice Ninja", "output": "{\"nodes\":[{\"name\":\"Invoice Ninja Trigger\",\"type\":\"n8n-nodes-base.invoiceNinjaTrigger\",\"position\":[890,400],\"webhookId\":\"97be21b3-ebf5-48cf-b291-5d954657a544\",\"parameters\":{\"event\":\"create_invoice\"},\"credentials\":{\"invoiceNinjaApi\":\"invoice_ninja_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates for new events in Clockify", "output": "{\"nodes\":[{\"name\":\"Clockify Trigger\",\"type\":\"n8n-nodes-base.clockifyTrigger\",\"position\":[450,480],\"parameters\":{\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"workspaceId\":\"5f115b31e3f0ad7f90326b39\"},\"credentials\":{\"clockifyApi\":\"clockify_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates on a new project created in Copper", "output": "{\"nodes\":[{\"name\":\"Copper Trigger\",\"type\":\"n8n-nodes-base.copperTrigger\",\"position\":[890,400],\"webhookId\":\"493ce79a-6a08-4062-86d9-7f4618b6c1ea\",\"parameters\":{\"event\":\"new\",\"resource\":\"project\"},\"credentials\":{\"copperApi\":\"copper_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates for Eventbrite events", "output": "{\"nodes\":[{\"name\":\"Eventbrite Trigger\",\"type\":\"n8n-nodes-base.eventbriteTrigger\",\"position\":[880,400],\"webhookId\":\"90ebf00a-536b-4553-b879-2e2c3e35bd60\",\"parameters\":{\"event\":\"114095913950\",\"actions\":[\"order.placed\",\"order.updated\",\"order.refunded\"],\"organization\":\"461207981776\"},\"credentials\":{\"eventbriteApi\":\"eventbrite api\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Execute a job on Rundeck", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Rundeck\",\"type\":\"n8n-nodes-base.rundeck\",\"position\":[450,300],\"parameters\":{\"jobid\":\"f02c7661-6f75-4ffe-958c-c0ed5f9bc9e6\"},\"credentials\":{\"rundeckApi\":\"rundeck_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Rundeck\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for Calendly events", "output": "{\"nodes\":[{\"name\":\"Calendly Trigger\",\"type\":\"n8n-nodes-base.calendlyTrigger\",\"position\":[880,400],\"webhookId\":\"9d13bcea-781a-4462-a9af-44bfb1fb6891\",\"parameters\":{\"events\":[\"invitee.created\",\"invitee.canceled\"]},\"credentials\":{\"calendlyApi\":\"calendly_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Receive updates on events in JotForm", "output": "{\"nodes\":[{\"name\":\"JotForm Trigger\",\"type\":\"n8n-nodes-base.jotFormTrigger\",\"position\":[870,400],\"webhookId\":\"8ee760f3-f18a-4060-bf41-b583ef4d7bfe\",\"parameters\":{\"form\":\"202012795501445\"},\"credentials\":{\"jotFormApi\":\"jotform_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get invoices from Xero", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Xero\",\"type\":\"n8n-nodes-base.xero\",\"position\":[450,300],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"organizationId\":\"ab7e9014-5d01-418f-a64c-dbb6bf5ba2ea\"},\"credentials\":{\"xeroOAuth2Api\":\"n8n_xero\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Xero\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an image procedurally using Bannerbear", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Bannerbear\",\"type\":\"n8n-nodes-base.bannerbear\",\"position\":[450,300],\"parameters\":{\"templateId\":\"8BK3vWZJ7Wl5Jzk1aX\",\"modificationsUi\":{\"modificationsValues\":[{\"name\":\"message\",\"text\":\"this is some text\",\"color\":\"#3097BC\",\"background\":\"#28A96F\"}]},\"additionalFields\":{\"waitForImage\":true}},\"credentials\":{\"bannerbearApi\":\"bannerbear_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Bannerbear\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for Stripe events", "output": "{\"nodes\":[{\"name\":\"Stripe Trigger\",\"type\":\"n8n-nodes-base.stripeTrigger\",\"position\":[890,400],\"webhookId\":\"4b359a40-a292-4c58-bc15-842b4d8eb3ca\",\"parameters\":{\"events\":[\"*\"]},\"credentials\":{\"stripeApi\":\"stripe_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get all posts from Wordpress", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Wordpress\",\"type\":\"n8n-nodes-base.wordpress\",\"position\":[450,300],\"parameters\":{\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"wordpressApi\":\"wp_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Wordpress\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates on an order created in Shopify", "output": "{\"nodes\":[{\"name\":\"Shopify Trigger\",\"type\":\"n8n-nodes-base.shopifyTrigger\",\"position\":[450,450],\"webhookId\":\"fd11b3d8-ff82-4902-89cc-c93b36ae38e7\",\"parameters\":{\"topic\":\"orders/create\"},\"credentials\":{\"shopifyApi\":\"shopify_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get all orders in Shopify", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[230,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Shopify\",\"type\":\"n8n-nodes-base.shopify\",\"position\":[430,310],\"parameters\":{\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"shopifyApi\":\"shopify_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Shopify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all contacts from Mautic", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[450,300],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"authentication\":\"oAuth2\"},\"credentials\":{\"mauticOAuth2Api\":\"mautic_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "mail to test", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mailjet\",\"type\":\"n8n-nodes-base.mailjet\",\"position\":[450,300],\"parameters\":{\"text\":\"This is a test message\",\"subject\":\"Sample Subject\",\"toEmail\":\"user2@example.com\",\"fromEmail\":\"user@example.com\",\"additionalFields\":{}},\"credentials\":{\"mailjetEmailApi\":\"mailjet creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mailjet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get updates when a response is created in SurveyMonkey", "output": "{\"nodes\":[{\"name\":\"SurveyMonkey Trigger\",\"type\":\"n8n-nodes-base.surveyMonkeyTrigger\",\"position\":[880,390],\"webhookId\":\"52754661-725a-49e0-88fc-a8e5dbbea5a5\",\"parameters\":{\"event\":\"response_created\",\"surveyIds\":[\"288506979\"],\"objectType\":\"survey\",\"authentication\":\"oAuth2\"},\"credentials\":{\"surveyMonkeyOAuth2Api\":\"surveymonkey_oauth\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get all leads from Zoho CRM", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Zoho CRM\",\"type\":\"n8n-nodes-base.zohoCrm\",\"position\":[450,300],\"parameters\":{\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"zohoOAuth2Api\":\"zoho_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Zoho CRM\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all contacts from Keap", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Keap\",\"type\":\"n8n-nodes-base.keap\",\"position\":[450,300],\"parameters\":{\"options\":{},\"resource\":\"contact\",\"operation\":\"getAll\"},\"credentials\":{\"keapOAuth2Api\":\"keap_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Keap\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a new contact is added in Keap", "output": "{\"nodes\":[{\"name\":\"Keap Trigger\",\"type\":\"n8n-nodes-base.keapTrigger\",\"position\":[440,320],\"webhookId\":\"1df33e6f-7e5c-4d70-b90d-d5666aaf63e7\",\"parameters\":{\"eventId\":\"contact.add\"},\"credentials\":{\"keapOAuth2Api\":\"keap_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "test airtable", "output": "{\"id\":\"97\",\"name\":\"List data from a table in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[450,300],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get a board from monday.com", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Monday.com\",\"type\":\"n8n-nodes-base.mondayCom\",\"position\":[450,300],\"parameters\":{\"boardId\":\"663435997\",\"operation\":\"get\"},\"credentials\":{\"mondayComApi\":\"monday\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Monday.com\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get the value of a key from Redis", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Redis\",\"type\":\"n8n-nodes-base.redis\",\"position\":[470,320],\"parameters\":{\"key\":\"hello\",\"options\":{},\"operation\":\"get\"},\"credentials\":{\"redis\":\"redis-docker_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Redis\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get the last five SpaceX launches from the spacex.land API using GraphQL", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"GraphQL\",\"type\":\"n8n-nodes-base.graphql\",\"position\":[450,300],\"parameters\":{\"query\":\"{\\n launchesPast(limit: 5) {\\n mission_name\\n launch_date_local\\n launch_site {\\n site_name_long\\n }\\n links {\\n article_link\\n video_link\\n }\\n rocket {\\n rocket_name\\n first_stage {\\n cores {\\n flight\\n core {\\n reuse_count\\n status\\n }\\n }\\n }\\n second_stage {\\n payloads {\\n payload_type\\n payload_mass_kg\\n payload_mass_lbs\\n }\\n }\\n }\\n ships {\\n name\\n home_port\\n image\\n }\\n }\\n}\",\"endpoint\":\"https://api.spacex.land/graphql/\",\"requestFormat\":\"json\",\"responseFormat\":\"string\",\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"GraphQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new folder in Box", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Box\",\"type\":\"n8n-nodes-base.box\",\"position\":[450,300],\"parameters\":{\"name\":\"n8n-rocks\",\"options\":{},\"resource\":\"folder\"},\"credentials\":{\"boxOAuth2Api\":\"box\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Box\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for events in Box", "output": "{\"nodes\":[{\"name\":\"Box Trigger\",\"type\":\"n8n-nodes-base.boxTrigger\",\"position\":[1027,368],\"webhookId\":\"0e56bb0c-8e81-42de-a902-c0ab31834bd8\",\"parameters\":{\"events\":[\"FOLDER.MOVED\",\"FOLDER.DOWNLOADED\"],\"targetId\":\"118847708963\",\"targetType\":\"file\"},\"credentials\":{\"boxOAuth2Api\":\"box_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Get contributors information from GitHub in Slack", "output": "{\"id\":\"5\",\"name\":\"Slack-GitHub User Info\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[300,300],\"webhookId\":\"dacd64a7-a83e-4492-b8fe-363453906d0d\",\"parameters\":{\"path\":\"dacd64a7-a83e-4492-b8fe-363453906d0d\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"GraphQL\",\"type\":\"n8n-nodes-base.graphql\",\"position\":[500,300],\"parameters\":{\"query\":\"=query {\\nuser(login:\\\"{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\\\"){\\nname\\ncompany\\nlocation\\navatarUrl\\nemail\\npullRequests(last: 25) {\\nedges {\\nnode {\\ncommits(last:25) {\\nnodes {\\ncommit {\\nauthor {\\nemail\\nname\\n}\\n}\\n}\\n}\\n}\\n}\\n}\\n}\\n}\",\"endpoint\":\"https://api.github.com/graphql\",\"requestFormat\":\"json\",\"responseFormat\":\"string\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"n8n\"},{\"name\":\"Authorization\",\"value\":\"bearer \"}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[700,300],\"parameters\":{\"functionCode\":\"let emails = [];\\nlet tempEmails = [];\\nconst name = $node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"user\\\"][\\\"name\\\"];\\nconst publicEmail = $node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"user\\\"][\\\"email\\\"];\\nconst username = $node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"];\\nconst nameRegex = new RegExp(name,\\\"g\\\")\\n\\nif(publicEmail){\\n// if public email address exists, push it to the tempEmails array\\n tempEmails.push(publicEmail)\\n}\\n\\n// looping through the pull requests\\nfor(const edge of items[0].json.data.data.user.pullRequests.edges){\\n // looping through the commits\\n for(node of edge.node.commits.nodes){\\n\\n // Checks the name associated with the email address\\n if(nameRegex.test(node.commit.author.name)|| node.commit.author.name == username) {\\n // if name equals to contributors name or username, push the email address in tempEmails\\n tempEmails.push(node.commit.author.email)\\n }\\n }\\n}\\n\\n// Remove duplicates\\nemails = [...new Set(tempEmails)]\\n\\n// RegEx Pattern for email address generated by GitHub\\nlet re = /^\\\\w+(.)*@users.noreply.github.com/\\n\\n// Remove the email addresses Generated by GitHub\\nemails = emails.filter(email => !re.test(email))\\n\\n\\nreturn [{json:{emails,}}]\\n\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[900,300],\"parameters\":{\"channel\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[{\"title\":\"=GitHub Details for: {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\"},{\"text\":\"=*Name:* {{$node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"user\\\"][\\\"name\\\"]}}\\n*Email:* {{$node[\\\"Function\\\"].json[\\\"emails\\\"].join(', ')}}\\n*Company:* {{$node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"user\\\"][\\\"company\\\"]}}\\n*Location:* {{$node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"user\\\"][\\\"location\\\"]}}\"},{\"thumb_url\":\"={{$node[\\\"GraphQL\\\"].json[\\\"data\\\"][\\\"data\\\"][\\\"user\\\"][\\\"avatarUrl\\\"]}}\"}],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":\"Slack OAuth2\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"GraphQL\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"GraphQL\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a folder in Nextcloud", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"NextCloud\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[450,320],\"parameters\":{\"path\":\"n8n-rocks\",\"resource\":\"folder\",\"authentication\":\"oAuth2\"},\"credentials\":{\"nextCloudOAuth2Api\":\"docker-nextcloud-oauth_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"NextCloud\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a folder in Onedrive", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft OneDrive\",\"type\":\"n8n-nodes-base.microsoftOneDrive\",\"position\":[450,300],\"parameters\":{\"name\":\"n8n-rocks\",\"options\":{},\"resource\":\"folder\",\"operation\":\"create\"},\"credentials\":{\"microsoftOneDriveOAuth2Api\":\"n8n-docs-creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft OneDrive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all Excel workbooks", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft Excel\",\"type\":\"n8n-nodes-base.microsoftExcel\",\"position\":[450,300],\"parameters\":{\"filters\":{},\"operation\":\"getAll\"},\"credentials\":{\"microsoftExcelOAuth2Api\":\"ms-oauth-creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft Excel\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all mailboxes from Help Scout", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HelpScout\",\"type\":\"n8n-nodes-base.helpScout\",\"position\":[450,300],\"parameters\":{\"resource\":\"mailbox\",\"operation\":\"getAll\"},\"credentials\":{\"helpScoutOAuth2Api\":\"helpscout_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HelpScout\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Execute an SQL Query on CrateDB", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"CrateDB\",\"type\":\"n8n-nodes-base.crateDb\",\"position\":[470,320],\"parameters\":{\"query\":\"SELECT * FROM sample_data_table;\",\"operation\":\"executeQuery\"},\"credentials\":{\"crateDb\":\"cratedb_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"CrateDB\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for events in Jira", "output": "{\"nodes\":[{\"name\":\"Jira Trigger\",\"type\":\"n8n-nodes-base.jiraTrigger\",\"position\":[880,400],\"webhookId\":\"a3ddaf66-7f75-4494-b435-ef88ef1f1917\",\"parameters\":{\"events\":[\"*\"],\"additionalFields\":{}},\"credentials\":{\"jiraSoftwareCloudApi\":\"n8n\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Execute a command on the host machine", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[450,300],\"parameters\":{\"command\":\"echo \\\"n8n rocks!\\\"\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an email template using Mandrill", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mandrill\",\"type\":\"n8n-nodes-base.mandrill\",\"position\":[450,300],\"parameters\":{\"options\":{},\"toEmail\":\"user@example.com\",\"template\":\"welcomeemailv2\",\"fromEmail\":\"example@yourdomain.com\"},\"credentials\":{\"mandrillApi\":\"mandrill_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mandrill\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Encrypt some data using the crypto node", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Crypto\",\"type\":\"n8n-nodes-base.crypto\",\"position\":[450,300],\"parameters\":{\"value\":\"n8n rocks!\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Crypto\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert a date from one format to another", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[450,300],\"parameters\":{\"value\":\"14/02/2020\",\"options\":{\"fromFormat\":\"DD/MM/YYYY\"}},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get information of an image", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Edit Image\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[650,300],\"parameters\":{\"operation\":\"information\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,300],\"parameters\":{\"url\":\"https://picsum.photos/200/300\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Edit Image\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read a file from disk", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[470,320],\"parameters\":{\"filePath\":\"/data/picture.jpg\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read multiple files from disk", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary Files\",\"type\":\"n8n-nodes-base.readBinaryFiles\",\"position\":[470,320],\"parameters\":{\"fileSelector\":\"/data/lol/*.jpg\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary Files\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Amazon File Upload Automation", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[510,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[700,250],\"parameters\":{\"options\":{},\"sheetId\":\"\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheets-credential\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Print a word based on IF condition", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"echo \\\"true\\\"\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[640,220],\"parameters\":{\"command\":\"=echo \\\"\\\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[440,320],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"true\",\"value2\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"echo \\\"false\\\"\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[640,420],\"parameters\":{\"command\":\"=echo \\\"false\\\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"echo \\\"true\\\"\",\"type\":\"main\",\"index\":0}],[{\"node\":\"echo \\\"false\\\"\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Execute Set node based on Function output", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n id: 0,\\n }\\n },\\n {\\n json: {\\n id: 1,\\n }\\n }\\n];\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"id\\\"]}}\",\"operation\":\"equal\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"nodemation\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Rename a key in n8n", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"key\",\"value\":\"somevalue\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Rename Keys\",\"type\":\"n8n-nodes-base.renameKeys\",\"position\":[650,320],\"parameters\":{\"keys\":{\"key\":[{\"newKey\":\"newkey\",\"currentKey\":\"key\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Rename Keys\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read an RSS Feed", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[260,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[460,320],\"parameters\":{\"url\":\"https://failedmachine.com/rss/\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an email", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[450,300],\"parameters\":{\"text\":\"This is a message to demonstrate the n8n Send Email workflow!\",\"options\":{\"allowUnauthorizedCerts\":false},\"subject\":\"n8n rocks!\",\"toEmail\":\"user@example.com\",\"fromEmail\":\"user@from.email\"},\"credentials\":{\"smtp\":\"your@smtp_creds.here\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract text from a PDF file", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[680,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[880,400],\"parameters\":{\"filePath\":\"/data/pdf.pdf\"},\"typeVersion\":1},{\"name\":\"Read PDF\",\"type\":\"n8n-nodes-base.readPDF\",\"position\":[1090,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Read PDF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read a spreadsheet file", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[650,320],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[450,320],\"parameters\":{\"filePath\":\"/data/sample_spreadsheet.csv\"},\"typeVersion\":1}],\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive email updates via IMAP", "output": "{\"nodes\":[{\"name\":\"IMAP Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[760,400],\"parameters\":{\"options\":{\"allowUnauthorizedCerts\":false}},\"credentials\":{\"imap\":\"imap_creds\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Execute another workflow", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Execute Workflow\",\"type\":\"n8n-nodes-base.executeWorkflow\",\"position\":[410,340],\"parameters\":{\"workflowId\":\"1\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Execute Workflow\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Write a file to the host machine", "output": "{\"id\":\"160\",\"name\":\"Write a file to the host machine\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[260,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[460,300],\"parameters\":{\"url\":\"https://docs.n8n.io/assets/img/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[660,300],\"parameters\":{\"fileName\":\"/Users/tanay/Desktop/n8n-logo.png\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add text to a downloaded image", "output": "{\"id\":\"1\",\"name\":\"Add text to an image downloaded from the internet\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[620,170],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Edit Image\",\"type\":\"n8n-nodes-base.editImage\",\"position\":[1020,170],\"parameters\":{\"text\":\"This is n8n\",\"options\":{},\"fontSize\":100,\"operation\":\"text\",\"positionX\":300,\"positionY\":500},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,170],\"parameters\":{\"url\":\"https://docs.n8n.io/assets/img/final-workflow.f380b957.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Edit Image\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a table in Quest DB and insert data", "output": "{\"id\":\"161\",\"name\":\"Create a table and insert data into it\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[840,460],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"Tanay\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"QuestDB\",\"type\":\"n8n-nodes-base.questDb\",\"position\":[640,460],\"parameters\":{\"query\":\"CREATE TABLE test (id INT, name STRING);\",\"operation\":\"executeQuery\"},\"credentials\":{\"questDb\":\"QuestDB\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"QuestDB1\",\"type\":\"n8n-nodes-base.questDb\",\"position\":[1040,460],\"parameters\":{\"table\":\"test\",\"columns\":\"id, name\"},\"credentials\":{\"questDb\":\"QuestDB\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"QuestDB1\",\"type\":\"main\",\"index\":0}]]},\"QuestDB\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"QuestDB\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Publish a post to a publication on Medium", "output": "{\"id\":\"7\",\"name\":\"Publish post to a publication\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[600,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Medium\",\"type\":\"n8n-nodes-base.medium\",\"position\":[800,300],\"parameters\":{\"title\":\"\",\"content\":\"\",\"publication\":true,\"contentFormat\":\"\",\"publicationId\":\"\",\"additionalFields\":{}},\"credentials\":{\"mediumApi\":\"medium\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Medium\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message to a channel on Twake", "output": "{\"id\":\"1\",\"name\":\"Send a message on Twake\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[600,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twake\",\"type\":\"n8n-nodes-base.twake\",\"position\":[800,300],\"parameters\":{\"content\":\"\",\"channelId\":\"\",\"additionalFields\":{}},\"credentials\":{\"twakeCloudApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twake\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sending SMS to users", "output": "{\"id\":\"1\",\"name\":\"Send SMS to numbers stored in Airtable with Twilio\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[450,300],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[650,300],\"parameters\":{\"to\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Number\\\"]}}\",\"from\":\"\",\"message\":\"=Hello, {{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Name\\\"]}}!\\nSending this SMS from n8n!\"},\"credentials\":{\"twilioApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Twilio\":{\"main\":[[]]},\"Airtable\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a table in CrateDB and insert data", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[550,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"CrateDB\",\"type\":\"n8n-nodes-base.crateDb\",\"position\":[750,400],\"parameters\":{\"query\":\"CREATE TABLE test (id INT, name STRING);\",\"operation\":\"executeQuery\"},\"credentials\":{\"crateDb\":\"cratedb_creds\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"CrateDB1\",\"type\":\"n8n-nodes-base.crateDb\",\"position\":[1150,400],\"parameters\":{\"table\":\"test\",\"columns\":\"id, name\"},\"credentials\":{\"crateDb\":\"cratedb_creds\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[950,400],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":0}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":false}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"CrateDB1\",\"type\":\"main\",\"index\":0}]]},\"CrateDB\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"CrateDB\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a table in MySQL and insert data", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[460,230],\"parameters\":{},\"typeVersion\":1},{\"name\":\"MySQL\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[660,230],\"parameters\":{\"query\":\"CREATE TABLE test (id INT, name VARCHAR(255), PRIMARY KEY (id));\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":\"mysql_creds\"},\"typeVersion\":1},{\"name\":\"MySQL1\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[1060,230],\"parameters\":{\"table\":\"test\",\"columns\":\"id, name\"},\"credentials\":{\"mySql\":\"mysql_creds\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[860,230],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1,\"alwaysOutputData\":false}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"MySQL1\",\"type\":\"main\",\"index\":0}]]},\"MySQL\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"MySQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a table in Postgres and insert data", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[260,290],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[660,290],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Postgres\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[460,290],\"parameters\":{\"query\":\"CREATE TABLE test (id INT, name VARCHAR(255), PRIMARY KEY (id));\",\"operation\":\"executeQuery\"},\"credentials\":{\"postgres\":\"postgres_docker_creds\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Postgres1\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[860,290],\"parameters\":{\"table\":\"test\",\"columns\":\"id, name\"},\"credentials\":{\"postgres\":\"postgres_docker_creds\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Postgres1\",\"type\":\"main\",\"index\":0}]]},\"Postgres\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Postgres\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sync data between multiple Google Spreadsheets", "output": "{\"nodes\":[{\"name\":\"Read Sheet\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[700,300],\"parameters\":{\"range\":\"Data!A:G\",\"rawData\":true},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[500,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"0 */2 * * * *\"}]}},\"typeVersion\":1},{\"name\":\"Write Sheet 2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[900,400],\"parameters\":{\"range\":\"={{$node[\\\"Read Sheet\\\"].parameter[\\\"range\\\"]}}\",\"rawData\":true,\"operation\":\"update\"},\"typeVersion\":1},{\"name\":\"Write Sheet 1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[900,200],\"parameters\":{\"range\":\"={{$node[\\\"Read Sheet\\\"].parameter[\\\"range\\\"]}}\",\"rawData\":true,\"operation\":\"update\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Read Sheet\",\"type\":\"main\",\"index\":0}]]},\"Read Sheet\":{\"main\":[[{\"node\":\"Write Sheet 2\",\"type\":\"main\",\"index\":0},{\"node\":\"Write Sheet 1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insert and read data from Google Sheets", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Amudhan-GoogleSheets\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[850,300],\"parameters\":{\"range\":\"A:B\",\"options\":{},\"sheetId\":\"1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Amudhan-GoogleSheets\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insert and read data from a table in Airtable", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[460,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[860,260],\"parameters\":{\"table\":\"TestTable\",\"operation\":\"append\",\"application\":\"appN0FSjha2tAxDk9\"},\"credentials\":{\"airtableApi\":\"airtable_creds\"},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1060,260],\"parameters\":{\"table\":\"TestTable\",\"operation\":\"list\",\"application\":\"appN0FSjha2tAxDk9\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"airtable_creds\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[660,260],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\"}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage users automatically in reqres.in", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[290,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[540,300],\"parameters\":{\"url\":\"https://reqres.in/api/users\",\"options\":{}},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[790,300],\"parameters\":{\"url\":\"https://reqres.in/api/users\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"name\",\"value\":\"Neo\"},{\"name\":\"job\",\"value\":\"Programmer\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request2\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1050,300],\"parameters\":{\"url\":\"https://reqres.in/api/users/2\",\"options\":{},\"requestMethod\":\"PATCH\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"job\",\"value\":\"The Chosen One\"}]}},\"typeVersion\":1}],\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"HTTP Request2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automated Google Calendar", "output": "{\"id\":\"1\",\"name\":\"Add a event to Calender\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[410,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Calendar\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[830,320],\"parameters\":{\"end\":\"2020-06-27T07:00:00.000Z\",\"start\":\"2020-06-25T07:00:00.000Z\",\"calendar\":\"shaligramshraddha@gmail.com\",\"additionalFields\":{}},\"credentials\":{\"googleCalendarOAuth2Api\":\"new one\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Calendar\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Generate and queue factory sensor data in AMQP", "output": "{\"id\":\"167\",\"name\":\"Smart Factory Data Generator\",\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,300],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"machine_id.name\",\"value\":\"n8n_cr8\"},{\"name\":\"temperature_celsius\",\"value\":\"={{Math.floor(Math.random() * 100);}}\"},{\"name\":\"machine_id.uptime\",\"value\":\"={{Math.floor(Math.random() * 100);}}\"},{\"name\":\"time_stamp\",\"value\":\"={{Date.now();}}\"}],\"boolean\":[]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Interval\",\"type\":\"n8n-nodes-base.interval\",\"position\":[450,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AMQP Sender\",\"type\":\"n8n-nodes-base.amqp\",\"position\":[850,300],\"parameters\":{\"sink\":\"berlin_factory_01\",\"options\":{\"dataAsObject\":true}},\"credentials\":{\"amqp\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"AMQP Sender\",\"type\":\"main\",\"index\":0}]]},\"Interval\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage incident reporting in PagerDuty and CrateDB", "output": "{\"id\":\"168\",\"name\":\"Smart Factory Use Case\",\"nodes\":[{\"name\":\"Values higher than 50°C\",\"type\":\"n8n-nodes-base.if\",\"position\":[250,550],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Data from factory sensors\\\"].json[\\\"body\\\"][\\\"temperature_celsius\\\"]}}\",\"value2\":50,\"operation\":\"largerEqual\"}]}},\"typeVersion\":1},{\"name\":\"Data from factory sensors\",\"type\":\"n8n-nodes-base.amqpTrigger\",\"position\":[50,700],\"parameters\":{\"sink\":\"berlin_factory_01\",\"options\":{}},\"credentials\":{\"amqp\":\"\"},\"typeVersion\":1},{\"name\":\"Set sensor data\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,850],\"parameters\":{\"values\":{\"number\":[{\"name\":\"temeprature_fahrenheit\",\"value\":\"={{$node[\\\"Data enrichment (°C to °F)\\\"].json[\\\"temperature_fahrenheit\\\"]}}\"},{\"name\":\"temperature_celsius\",\"value\":\"={{$node[\\\"Data enrichment (°C to °F)\\\"].json[\\\"body\\\"][\\\"temperature_celsius\\\"]}}\"},{\"name\":\"machine_uptime\",\"value\":\"={{$node[\\\"Data from factory sensors\\\"].json[\\\"body\\\"][\\\"machine_id\\\"][\\\"uptime\\\"]}}\"},{\"name\":\"time_stamp\",\"value\":\"={{$node[\\\"Data from factory sensors\\\"].json[\\\"body\\\"][\\\"time_stamp\\\"]}}\"}],\"string\":[{\"name\":\"machine_name\",\"value\":\"={{$node[\\\"Data from factory sensors\\\"].json[\\\"body\\\"][\\\"machine_id\\\"][\\\"name\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Ingest machine data\",\"type\":\"n8n-nodes-base.crateDb\",\"position\":[650,850],\"parameters\":{\"table\":\"machine_data\",\"columns\":\"temperature_fahrenheit, temperature_celsius, machine_name, machine_uptime, time_stamp\"},\"credentials\":{\"crateDb\":\"\"},\"typeVersion\":1},{\"name\":\"Ingest incident data\",\"type\":\"n8n-nodes-base.crateDb\",\"position\":[850,450],\"parameters\":{\"table\":\"incident_data\",\"columns\":\"incident_id, html_url, incident_timestamp\"},\"credentials\":{\"crateDb\":\"\"},\"typeVersion\":1},{\"name\":\"Set incident info\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"incident_id\",\"value\":\"={{$node[\\\"Create an incident\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"html_url\",\"value\":\"={{$node[\\\"Create an incident\\\"].json[\\\"html_url\\\"]}}\"},{\"name\":\"incident_timestamp\",\"value\":\"={{$node[\\\"Create an incident\\\"].json[\\\"created_at\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Create an incident\",\"type\":\"n8n-nodes-base.pagerDuty\",\"position\":[450,450],\"parameters\":{\"title\":\"=Incident with {{$node[\\\"Data from factory sensors\\\"].json[\\\"body\\\"][\\\"machine_id\\\"][\\\"name\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"pagerDutyApi\":\"\"},\"typeVersion\":1},{\"name\":\"Data enrichment (°C to °F)\",\"type\":\"n8n-nodes-base.function\",\"position\":[250,850],\"parameters\":{\"functionCode\":\"temp_fahrenheit = (items[0].json.body.temperature_celsius * 1.8) + 32;\\nitems[0].json.temperature_fahrenheit = temp_fahrenheit;\\nreturn items;\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Do nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[450,640],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set sensor data\":{\"main\":[[{\"node\":\"Ingest machine data\",\"type\":\"main\",\"index\":0}]]},\"Set incident info\":{\"main\":[[{\"node\":\"Ingest incident data\",\"type\":\"main\",\"index\":0}]]},\"Create an incident\":{\"main\":[[{\"node\":\"Set incident info\",\"type\":\"main\",\"index\":0}]]},\"Values higher than 50°C\":{\"main\":[[{\"node\":\"Create an incident\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do nothing\",\"type\":\"main\",\"index\":0}]]},\"Data from factory sensors\":{\"main\":[[{\"node\":\"Data enrichment (°C to °F)\",\"type\":\"main\",\"index\":0},{\"node\":\"Values higher than 50°C\",\"type\":\"main\",\"index\":0}]]},\"Data enrichment (°C to °F)\":{\"main\":[[{\"node\":\"Set sensor data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Start a Whereby video call from Mattermost", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[590,400],\"webhookId\":\"822cce61-ff5f-4cea-b8ba-1822651786e3\",\"parameters\":{\"path\":\"822cce61-ff5f-4cea-b8ba-1822651786e3\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"amudhan\",\"value\":\"n8n-rocks\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[990,400],\"parameters\":{\"message\":\"=Join me in a video call:\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[{\"title\":\"=https://whereby.com/{{$json[$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"user_name\\\"]]}}\",\"title_link\":\"=https://whereby.com/{{$json[$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"user_name\\\"]]}}\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"mm_creds\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage folders automatically in Dropbox", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[50,200],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Dropbox\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[250,200],\"parameters\":{\"path\":\"/n8n\",\"resource\":\"folder\"},\"credentials\":{\"dropboxApi\":\"dropbox_accesstoken\"},\"typeVersion\":1},{\"name\":\"Dropbox1\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[650,200],\"parameters\":{\"path\":\"/n8n/file.png\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"dropbox_accesstoken\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,200],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Dropbox2\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[850,200],\"parameters\":{\"path\":\"/n8n\",\"resource\":\"folder\",\"operation\":\"list\"},\"credentials\":{\"dropboxApi\":\"dropbox_accesstoken\"},\"typeVersion\":1}],\"connections\":{\"Dropbox\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Dropbox1\":{\"main\":[[{\"node\":\"Dropbox2\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Dropbox1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Dropbox\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Post latest Twitter mentions to Slack", "output": "{\"id\":\"1\",\"name\":\"TwitterWorkflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"disabled\":true,\"position\":[400,850],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Filter Tweet Data\",\"type\":\"n8n-nodes-base.set\",\"position\":[680,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Tweet\",\"value\":\"={{$node[\\\"n8n.io mentions\\\"].json[\\\"text\\\"]}}\"},{\"name\":\"Tweet ID\",\"value\":\"={{$node[\\\"n8n.io mentions\\\"].json[\\\"id\\\"]}}\"},{\"name\":\"Tweet URL\",\"value\":\"=https://twitter.com/{{$node[\\\"n8n.io mentions\\\"].json[\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$node[\\\"n8n.io mentions\\\"].json[\\\"id_str\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Only get new tweets\",\"type\":\"n8n-nodes-base.function\",\"position\":[910,300],\"parameters\":{\"functionCode\":\"const staticData = getWorkflowStaticData('global');\\nconst newTweetIds = items.map(item => item.json[\\\"Tweet ID\\\"]);\\nconst oldTweetIds = staticData.oldTweetIds; \\n\\nif (!oldTweetIds) {\\n staticData.oldTweetIds = newTweetIds;\\n return items;\\n}\\n\\n\\nconst actualNewTweetIds = newTweetIds.filter((id) => !oldTweetIds.includes(id));\\nconst actualNewTweets = items.filter((data) => actualNewTweetIds.includes(data.json['Tweet ID']));\\nstaticData.oldTweetIds = [...actualNewTweetIds, ...oldTweetIds];\\n\\nreturn actualNewTweets;\\n\"},\"typeVersion\":1},{\"name\":\"n8n.io mentions\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[480,300],\"parameters\":{\"operation\":\"search\",\"searchText\":\"@n8n_io\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"Twitter Credentials\"},\"typeVersion\":1},{\"name\":\"RocketChat\",\"type\":\"n8n-nodes-base.rocketchat\",\"position\":[1150,300],\"parameters\":{\"text\":\"=New Mention!: {{$node[\\\"Filter Tweet Data\\\"].json[\\\"Tweet\\\"]}}.\\nSee it here: {{$node[\\\"Only get new tweets\\\"].json[\\\"Tweet URL\\\"]}}\",\"channel\":\"general\",\"options\":{},\"jsonParameters\":true},\"credentials\":{\"rocketchatApi\":\"Rocket Chat API\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[270,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":1}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"n8n.io mentions\",\"type\":\"main\",\"index\":0}]]},\"n8n.io mentions\":{\"main\":[[{\"node\":\"Filter Tweet Data\",\"type\":\"main\",\"index\":0}]]},\"Filter Tweet Data\":{\"main\":[[{\"node\":\"Only get new tweets\",\"type\":\"main\",\"index\":0}]]},\"Only get new tweets\":{\"main\":[[{\"node\":\"RocketChat\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[]]}}}" }, { "input": "Save the number of Github stars to Google Sheet", "output": "{\"id\":\"2\",\"name\":\"Github stars count\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[400,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":0}]}},\"typeVersion\":1},{\"name\":\"GitHub\",\"type\":\"n8n-nodes-base.github\",\"position\":[590,380],\"parameters\":{\"owner\":\"TwakeApp\",\"resource\":\"repository\",\"operation\":\"get\",\"repository\":\"Twake\"},\"credentials\":{\"githubApi\":\"\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[980,380],\"parameters\":{\"range\":\"A:C\",\"options\":{},\"sheetId\":\"\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[780,380],\"parameters\":{\"functionCode\":\"function formatDate(date) {\\n var d = new Date(date),\\n month = '' + (d.getMonth() + 1),\\n day = '' + d.getDate(),\\n year = d.getFullYear();\\n\\n if (month.length < 2) \\n month = '0' + month;\\n if (day.length < 2) \\n day = '0' + day;\\n\\n return [day, month, year].join('/');\\n}\\n\\nconst formatedStars = {\\n date : formatDate(new Date()),\\n stars : items[0].json[\\\"stargazers_count\\\"],\\n}\\nreturn [{json : formatedStars}];\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"GitHub\",\"type\":\"main\",\"index\":0}]]},\"GitHub\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage folders in Nextcloud", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[20,180],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[420,180],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"NextCloud\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[220,180],\"parameters\":{\"path\":\"n8n\",\"resource\":\"folder\"},\"credentials\":{\"nextCloudApi\":\"nextcloud_creds\"},\"typeVersion\":1},{\"name\":\"NextCloud1\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[620,180],\"parameters\":{\"path\":\"n8n/logo.png\",\"binaryDataUpload\":true},\"credentials\":{\"nextCloudApi\":\"nextcloud_creds\"},\"typeVersion\":1},{\"name\":\"NextCloud2\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[820,180],\"parameters\":{\"path\":\"n8n\",\"resource\":\"folder\",\"operation\":\"list\"},\"credentials\":{\"nextCloudApi\":\"nextcloud_creds\"},\"typeVersion\":1}],\"connections\":{\"NextCloud\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"NextCloud1\":{\"main\":[[{\"node\":\"NextCloud2\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"NextCloud1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"NextCloud\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Set automated labels in Gmail", "output": "{\"id\":\"175\",\"name\":\"Get messages with a certain label, remove the label, and add a new one\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[450,300],\"parameters\":{\"resource\":\"message\",\"operation\":\"getAll\",\"additionalFields\":{\"format\":\"full\",\"labelIds\":[\"Label_103811885290186237\"]}},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail1\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[650,300],\"parameters\":{\"labelIds\":[\"Label_103811885290186237\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\",\"operation\":\"remove\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1},{\"name\":\"Gmail2\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[850,300],\"parameters\":{\"labelIds\":[\"Label_140673791182006844\"],\"resource\":\"messageLabel\",\"messageId\":\"={{$node[\\\"Gmail\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"gmailOAuth2\":\"Gmail\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Gmail\":{\"main\":[[{\"node\":\"Gmail1\",\"type\":\"main\",\"index\":0}]]},\"Gmail1\":{\"main\":[[{\"node\":\"Gmail2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Consultas Derivaciones", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,300],\"parameters\":{\"formId\":\"UXuY0A\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[850,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Google Sheets\\\"].data[\\\"Severity\\\"]}}\",\"value2\":7,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"Problems!A:D\",\"sheetId\":\"17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,400],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"subject\":\"User Reported Problem\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"smtp\":\"\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1050,200],\"parameters\":{\"text\":\"=Email: {{$node[\\\"IF\\\"].data[\\\"Email\\\"]}}\\nName: {{$node[\\\"IF\\\"].data[\\\"Name\\\"]}}\\nSeverity: {{$node[\\\"IF\\\"].data[\\\"Severity\\\"]}}\\n\\nProblem:\\n{{$node[\\\"IF\\\"].data[\\\"Problem\\\"]}}\",\"channel\":\"problems\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all WordPress posts automatically ", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Wordpress\",\"type\":\"n8n-nodes-base.wordpress\",\"position\":[450,300],\"parameters\":{\"options\":{},\"operation\":\"getAll\"},\"credentials\":{\"wordpressApi\":\"wp_creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Wordpress\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates from HubSpot on a new contact creation", "output": "{\"nodes\":[{\"name\":\"Hubspot Trigger\",\"type\":\"n8n-nodes-base.hubspotTrigger\",\"position\":[700,260],\"webhookId\":\"9fe8c037-be4f-4809-a7c2-96e509bfc52e\",\"parameters\":{\"appId\":\"dghert3\",\"additionalFields\":{\"maxConcurrentRequests\":5}},\"credentials\":{\"hubspotDeveloperApi\":\"hubspot_trigger\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Enviar Miembros del CMS Ghost hacia Newsletter Sendy", "output": "{\"id\":\"3\",\"name\":\"RegisterSendly\",\"nodes\":[{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"color\":\"#BB1AE3\",\"notes\":\"Registrar Miembro en Newsletter\\n\",\"position\":[810,140],\"parameters\":{\"url\":\"https://yoursendyinstallation.com/subscribe\",\"options\":{\"bodyContentType\":\"form-urlencoded\"},\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"api_key\",\"value\":\"your-main-api-key\"},{\"name\":\"boolean\",\"value\":\"true\"},{\"name\":\"silent\",\"value\":\"true\"},{\"name\":\"name\",\"value\":\"n8n automated\"},{\"name\":\"email\",\"value\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"member\\\"][\\\"current\\\"][\\\"email\\\"]}}\"},{\"name\":\"list\",\"value\":\"your-list-id\"}]},\"queryParametersUi\":{\"parameter\":[]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"color\":\"#76F507\",\"notes\":\"Webhook para Ghost\",\"position\":[450,190],\"webhookId\":\"bf898631-50bc-40a2-9a10-f146f47075fa\",\"parameters\":{\"path\":\"06cfbe404338f125f6cdeab8d2b7ff1e\",\"options\":{},\"httpMethod\":\"POST\"},\"executeOnce\":false,\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"notes\":\"Mandar notificación en Telegram\",\"position\":[860,400],\"parameters\":{\"text\":\"=Nuevo Integrante registrado: {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"member\\\"][\\\"current\\\"][\\\"email\\\"]}}\",\"chatId\":\"@yourtelegramgroup\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"yourtelegram_bot\"},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0},{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Nathan: Your n8n Personal Assistant", "output": "{\"nodes\":[{\"name\":\"Read Harvey's Email\",\"type\":\"n8n-nodes-base.emailReadImap\",\"position\":[270,390],\"parameters\":{\"options\":{}},\"credentials\":{\"imap\":\"Read Harvey's Mail\"},\"typeVersion\":1},{\"name\":\"Who Is The Email From?\",\"type\":\"n8n-nodes-base.switch\",\"position\":[460,390],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Louis Litt \"}]},\"value1\":\"={{$node[\\\"Read Harvey's Email\\\"].json[\\\"from\\\"]}}\",\"dataType\":\"string\",\"fallbackOutput\":3},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Read Excuses File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[670,230],\"parameters\":{\"filePath\":\"/home/n8n/Excuse_Generator.xlsx\"},\"typeVersion\":1},{\"name\":\"Retrieve Excuses Spreadsheet Data\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[860,230],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Generate Excuse\",\"type\":\"n8n-nodes-base.function\",\"position\":[1040,230],\"parameters\":{\"functionCode\":\"var leadinmax = 24;\\nvar perpmax = 25;\\nvar delaymax = 23;\\nvar leadin = Math.floor((Math.random() * leadinmax ) + 1);\\nvar perp = Math.floor((Math.random() * perpmax ) + 1);\\nvar delay = Math.floor((Math.random() * delaymax) + 1);\\n\\nvar excuse = items[leadin].json.Leadin + \\\" \\\" + items[perp].json.Perpetrator + \\\" \\\" + items[delay].json.Delay;\\n\\nitems = [{json:{}}];\\n\\nitems[0].json.excuse = excuse;\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Merge Excuse and Mail Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1230,330],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1460,250],\"parameters\":{\"text\":\"= {{$node[\\\"Merge Excuse and Mail Data\\\"].json[\\\"excuse\\\"]}}\\n\\nMaybe next time.\\n\\nHarvey\",\"options\":{},\"subject\":\"=RE: {{$node[\\\"Merge Excuse and Mail Data\\\"].json[\\\"subject\\\"]}}\",\"toEmail\":\"={{$node[\\\"Merge Excuse and Mail Data\\\"].json[\\\"from\\\"]}}\",\"fromEmail\":\"={{$node[\\\"Merge Excuse and Mail Data\\\"].json[\\\"to\\\"]}}\"},\"credentials\":{\"smtp\":\"Send Harvey's Mail\"},\"typeVersion\":1},{\"name\":\"Slack (Louis)\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1470,410],\"parameters\":{\"text\":\"=Here is what Louis emailed you:\\n```\\n{{$node[\\\"Merge Excuse and Mail Data\\\"].json[\\\"textPlain\\\"]}}\\n```\\n\\nHere is how \\\"you\\\" responded:\\n> {{$node[\\\"Merge Excuse and Mail Data\\\"].json[\\\"excuse\\\"]}}\\n\\n:+1: *You're Welcome!* :smirk:\",\"channel\":\"private\",\"attachments\":[],\"otherOptions\":{\"mrkdwn\":true}},\"credentials\":{\"slackApi\":\"Nathan's Slack API Token\"},\"typeVersion\":1},{\"name\":\"Slack (General)\",\"type\":\"n8n-nodes-base.slack\",\"position\":[890,470],\"parameters\":{\"text\":\"You've just received an email. You may wish to check it out.\",\"channel\":\"private\",\"attachments\":[],\"otherOptions\":{\"mrkdwn\":true}},\"credentials\":{\"slackApi\":\"Nathan's Slack API Token\"},\"typeVersion\":1}],\"connections\":{\"Generate Excuse\":{\"main\":[[{\"node\":\"Merge Excuse and Mail Data\",\"type\":\"main\",\"index\":0}]]},\"Read Excuses File\":{\"main\":[[{\"node\":\"Retrieve Excuses Spreadsheet Data\",\"type\":\"main\",\"index\":0}]]},\"Read Harvey's Email\":{\"main\":[[{\"node\":\"Who Is The Email From?\",\"type\":\"main\",\"index\":0}]]},\"Who Is The Email From?\":{\"main\":[[{\"node\":\"Read Excuses File\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge Excuse and Mail Data\",\"type\":\"main\",\"index\":1}],[{\"node\":\"Slack (General)\",\"type\":\"main\",\"index\":0}]]},\"Merge Excuse and Mail Data\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0},{\"node\":\"Slack (Louis)\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Excuses Spreadsheet Data\":{\"main\":[[{\"node\":\"Generate Excuse\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "WhatsApp messages test", "output": "{\"name\":\"A workflow with the Twilio node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[430,300],\"parameters\":{},\"credentials\":{\"twilioApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Export WordPress posts to Spreadsheet", "output": "{\"id\":\"1\",\"name\":\"Wordpress-to-csv\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Wordpress\",\"type\":\"n8n-nodes-base.wordpress\",\"position\":[430,300],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"wordpressApi\":\"\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[590,300],\"parameters\":{\"options\":{},\"operation\":\"toFile\",\"fileFormat\":\"csv\"},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[740,300],\"parameters\":{\"fileName\":\"data.csv\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Wordpress\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Wordpress\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add Google Sheets data to the Mautic contact", "output": "{\"nodes\":[{\"name\":\"GS Read Data2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[240,750],\"parameters\":{\"range\":\"Data!A:P\",\"options\":{\"valueRenderMode\":\"FORMATTED_VALUE\"},\"sheetId\":\"1jKYwPE9DMFOYf1AeDuTvQ3GSM2GqaEJhGYNoisxSLpM\"},\"credentials\":{\"googleApi\":\"n8n API\"},\"typeVersion\":1},{\"name\":\"Mautic\",\"type\":\"n8n-nodes-base.mautic\",\"position\":[450,750],\"parameters\":{\"email\":\"={{$node[\\\"GS Read Data2\\\"].json[\\\"email\\\"]}}\",\"options\":{},\"firstName\":\"={{$node[\\\"GS Read Data2\\\"].json[\\\"firstname\\\"]}}\",\"additionalFields\":{\"mobile\":\"={{$node[\\\"GS Read Data2\\\"].json[\\\"mobile\\\"]}}\"}},\"credentials\":{\"mauticApi\":\"MauticAPI\"},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"GS Read Data2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[240,750],\"parameters\":{\"range\":\"Data!A:P\",\"options\":{\"valueRenderMode\":\"FORMATTED_VALUE\"},\"sheetId\":\"1jKYwPE9DMFOYf1AeDuTvQ3GSM2GqaEJhGYNoisxSLpM\"},\"credentials\":{\"googleApi\":\"n8n API\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[40,750],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"GS Read Data2\",\"type\":\"main\",\"index\":0}]]},\"GS Read Data2\":{\"main\":[[{\"node\":\"Mautic\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage contacts in Google Contacts", "output": "{\"id\":\"20\",\"name\":\"Create, update and get a contact in Google Contacts\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[190,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Contacts\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[390,300],\"parameters\":{\"givenName\":\"n8n\",\"familyName\":\"n8n\",\"additionalFields\":{}},\"credentials\":{\"googleContactsOAuth2Api\":\"google-contact\"},\"typeVersion\":1},{\"name\":\"Google Contacts1\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[590,300],\"parameters\":{\"fields\":[],\"contactId\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"contactId\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"companyUi\":{\"companyValues\":[{\"name\":\"n8n\",\"title\":\"n8n\",\"domain\":\"n8n.io\",\"current\":true}]}}},\"credentials\":{\"googleContactsOAuth2Api\":\"google-contact\"},\"typeVersion\":1},{\"name\":\"Google Contacts2\",\"type\":\"n8n-nodes-base.googleContacts\",\"position\":[790,300],\"parameters\":{\"fields\":[\"organizations\"],\"contactId\":\"={{$node[\\\"Google Contacts\\\"].json[\\\"contactId\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"googleContactsOAuth2Api\":\"google-contact\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Google Contacts\":{\"main\":[[{\"node\":\"Google Contacts1\",\"type\":\"main\",\"index\":0}]]},\"Google Contacts1\":{\"main\":[[{\"node\":\"Google Contacts2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Contacts\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Upload video, create playlist and add video to playlist", "output": "{\"id\":\"21\",\"name\":\"Upload video, create playlist and add video to playlist\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[210,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"YouTube\",\"type\":\"n8n-nodes-base.youTube\",\"position\":[610,300],\"parameters\":{\"title\":\"n8n\",\"options\":{},\"resource\":\"video\",\"operation\":\"upload\",\"categoryId\":\"28\",\"regionCode\":\"IN\",\"binaryProperty\":\"=data\"},\"credentials\":{\"youTubeOAuth2Api\":\"google-youtube\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[410,300],\"parameters\":{\"filePath\":\"\"},\"typeVersion\":1},{\"name\":\"YouTube1\",\"type\":\"n8n-nodes-base.youTube\",\"position\":[810,300],\"parameters\":{\"title\":\"n8n\",\"options\":{},\"resource\":\"playlist\",\"operation\":\"create\"},\"credentials\":{\"youTubeOAuth2Api\":\"google-youtube\"},\"typeVersion\":1},{\"name\":\"YouTube2\",\"type\":\"n8n-nodes-base.youTube\",\"position\":[1010,300],\"parameters\":{\"options\":{},\"videoId\":\"={{$node[\\\"YouTube\\\"].json[\\\"id\\\"]}}\",\"resource\":\"playlistItem\",\"playlistId\":\"\"},\"credentials\":{\"youTubeOAuth2Api\":\"google-youtube\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"YouTube\":{\"main\":[[{\"node\":\"YouTube1\",\"type\":\"main\",\"index\":0}]]},\"YouTube1\":{\"main\":[[{\"node\":\"YouTube2\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"YouTube\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive server-sent events", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"SSE Trigger\",\"type\":\"n8n-nodes-base.sseTrigger\",\"position\":[850,420],\"parameters\":{\"url\":\"https://n8n.io\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Get all the entries from Contentful", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[150,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Contentful\",\"type\":\"n8n-nodes-base.contentful\",\"position\":[350,300],\"parameters\":{\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{}},\"credentials\":{\"contentfulApi\":\"contentful\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Contentful\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get list of completed sale orders with Unleashed Software", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[390,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Unleashed Software\",\"type\":\"n8n-nodes-base.unleashedSoftware\",\"position\":[600,220],\"parameters\":{\"filters\":{\"orderStatus\":[\"Completed\"]},\"returnAll\":true},\"credentials\":{\"unleashedSoftwareApi\":\"unleashed\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Unleashed Software\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage subscribers in ConvertKit", "output": "{\"id\":\"25\",\"name\":\"Add subscriber to form, create tag and subscriber to the tag\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[300,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"ConvertKit\",\"type\":\"n8n-nodes-base.convertKit\",\"position\":[500,300],\"parameters\":{\"id\":1657198,\"email\":\"\",\"additionalFields\":{}},\"credentials\":{\"convertKitApi\":\"convertkit\"},\"typeVersion\":1},{\"name\":\"ConvertKit1\",\"type\":\"n8n-nodes-base.convertKit\",\"position\":[710,300],\"parameters\":{\"name\":\"\",\"resource\":\"tag\"},\"credentials\":{\"convertKitApi\":\"convertkit\"},\"typeVersion\":1},{\"name\":\"ConvertKit2\",\"type\":\"n8n-nodes-base.convertKit\",\"position\":[910,300],\"parameters\":{\"email\":\"={{$node[\\\"ConvertKit\\\"].json[\\\"subscriber\\\"][\\\"email_address\\\"]}}\",\"tagId\":1850395,\"resource\":\"tagSubscriber\",\"operation\":\"add\",\"additionalFields\":{\"fields\":{\"field\":[]}}},\"credentials\":{\"convertKitApi\":\"convertkit\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"ConvertKit\":{\"main\":[[{\"node\":\"ConvertKit1\",\"type\":\"main\",\"index\":0}]]},\"ConvertKit1\":{\"main\":[[{\"node\":\"ConvertKit2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"ConvertKit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all releases in Sentry", "output": "{\"id\":\"27\",\"name\":\"Create a release and get all releases\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[210,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Sentry.io\",\"type\":\"n8n-nodes-base.sentryIo\",\"position\":[410,300],\"parameters\":{\"url\":\"\",\"version\":\"0.0.1\",\"projects\":[\"\"],\"resource\":\"release\",\"operation\":\"create\",\"additionalFields\":{},\"organizationSlug\":\"\"},\"credentials\":{\"sentryIoApi\":\"sentry\"},\"typeVersion\":1},{\"name\":\"Sentry.io1\",\"type\":\"n8n-nodes-base.sentryIo\",\"position\":[610,300],\"parameters\":{\"resource\":\"release\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{},\"organizationSlug\":\"\"},\"credentials\":{\"sentryIoApi\":\"sentry\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Sentry.io\":{\"main\":[[{\"node\":\"Sentry.io1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Sentry.io\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates on a subscriber added in ConvertKit", "output": "{\"id\":\"28\",\"name\":\"Receive updates when a subscriber is added through a form in ConvertKit\",\"nodes\":[{\"name\":\"ConvertKit Trigger\",\"type\":\"n8n-nodes-base.convertKitTrigger\",\"position\":[690,260],\"webhookId\":\"55336480-7be1-4432-8fc8-d860572c1c18\",\"parameters\":{\"event\":\"formSubscribe\",\"formId\":1657198},\"credentials\":{\"convertKitApi\":\"convertkit\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates when a subscriber unsubscribes in Customer.io", "output": "{\"id\":\"29\",\"name\":\"Receive updates when a subscriber unsubscribes in Customer.io\",\"nodes\":[{\"name\":\"Customer.io Trigger\",\"type\":\"n8n-nodes-base.customerIoTrigger\",\"position\":[650,260],\"webhookId\":\"88092579-1b8d-4d44-98d5-f24b3579cbc2\",\"parameters\":{\"events\":[\"customer.unsubscribed\"]},\"credentials\":{\"customerIoApi\":\"customerIO\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Create a customer and add them to a segment in Customer.io", "output": "{\"id\":\"32\",\"name\":\"Create a customer and add them to a segment in Customer.io\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"CustomerIo\",\"type\":\"n8n-nodes-base.customerIo\",\"position\":[650,260],\"parameters\":{\"id\":\"2\",\"additionalFields\":{\"customProperties\":{\"customProperty\":[{\"key\":\"Name\",\"value\":\"n8n\"}]}}},\"credentials\":{\"customerIoApi\":\"cust\"},\"typeVersion\":1},{\"name\":\"CustomerIo1\",\"type\":\"n8n-nodes-base.customerIo\",\"position\":[840,260],\"parameters\":{\"resource\":\"segment\",\"customerIds\":\"={{$node[\\\"CustomerIo\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"customerIoApi\":\"cust\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"CustomerIo\":{\"main\":[[{\"node\":\"CustomerIo1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"CustomerIo\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates for support in Zendesk", "output": "{\"id\":\"33\",\"name\":\"Receive updates for support in Zendesk\",\"nodes\":[{\"name\":\"Zendesk Trigger\",\"type\":\"n8n-nodes-base.zendeskTrigger\",\"position\":[690,300],\"webhookId\":\"7d01a119-83c7-43b7-8668-a2f26b95d225\",\"parameters\":{\"options\":{},\"conditions\":{\"all\":[{}]}},\"credentials\":{\"zendeskApi\":\"zendesk-token\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates when a sale is made in Gumroad", "output": "{\"id\":\"34\",\"name\":\"Receive updates when a sale is made in Gumroad\",\"nodes\":[{\"name\":\"Gumroad Trigger\",\"type\":\"n8n-nodes-base.gumroadTrigger\",\"position\":[1310,700],\"webhookId\":\"d72f9547-0530-4733-9e8b-3e3b1beec2eb\",\"parameters\":{\"resource\":\"sale\"},\"credentials\":{\"gumroadApi\":\"gumroad\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates when a form submission occurs in your Webflow website", "output": "{\"id\":\"42\",\"name\":\"Receive updates when a form submission occurs in your Webflow website\",\"nodes\":[{\"name\":\"Webflow Trigger\",\"type\":\"n8n-nodes-base.webflowTrigger\",\"position\":[514,217],\"webhookId\":\"ce934229-1396-4920-8bfe-10579aa6f9dd\",\"parameters\":{\"site\":\"5f4e2d2bbdf69039816428f7\",\"authentication\":\"oAuth2\"},\"credentials\":{\"webflowOAuth2Api\":\"webflow\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Store data received from Webhook in JSON", "output": "{\"name\":\"Store the data received from the CocktailDB API in JSON\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[400,300],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[550,300],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[700,300],\"parameters\":{\"fileName\":\"cocktail.json\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a billing plan is activated in PayPal", "output": "{\"id\":\"46\",\"name\":\"Receive updates when a billing plan is activated in PayPal\",\"nodes\":[{\"name\":\"PayPal Trigger\",\"type\":\"n8n-nodes-base.payPalTrigger\",\"position\":[1130,620],\"webhookId\":\"242a300e-b5a0-45a2-87bc-40def6fe56ef\",\"parameters\":{\"events\":[\"BILLING.PLAN.ACTIVATED\"]},\"credentials\":{\"payPalApi\":\"paypal\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Receive updates when an event occurs in Asana", "output": "{\"id\":\"47\",\"name\":\"Receive updates when an event occurs in Asana\",\"nodes\":[{\"name\":\"Asana-Trigger\",\"type\":\"n8n-nodes-base.asanaTrigger\",\"position\":[1490,860],\"webhookId\":\"0de3b493-efb6-472c-9deb-80d28c89d28d\",\"parameters\":{\"resource\":\"Tweets\",\"workspace\":\"Engineering\"},\"credentials\":{\"asanaApi\":\"asana\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Merge greetings with the users based on the language", "output": "{\"meta\":{\"instanceId\":\"257476b1ef58bf3cb6a46e65fac7ee34a53a5e1a8492d5c6e4da5f87c9b82833\"},\"nodes\":[{\"id\":\"f7f8068b-52c9-4038-bd67-9ee50136e4fd\",\"name\":\"When clicking ‘Test workflow’\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[380,240],\"parameters\":{},\"typeVersion\":1},{\"id\":\"860e5e46-a04d-41cb-b91a-c9f02603bcdf\",\"name\":\"Sample data (name + language)\",\"type\":\"n8n-nodes-base.code\",\"position\":[600,160],\"parameters\":{\"jsCode\":\"return [\\n {\\n json: {\\n name: 'Stefan',\\n language: 'de',\\n }\\n },\\n {\\n json: {\\n name: 'Jim',\\n language: 'en',\\n }\\n },\\n {\\n json: {\\n name: 'Hans',\\n language: 'de',\\n }\\n }\\n];\"},\"typeVersion\":2},{\"id\":\"5c6a867b-fd8a-49b7-ac35-ff84ed6d89f7\",\"name\":\"Sample data (greeting + language)\",\"type\":\"n8n-nodes-base.code\",\"position\":[600,320],\"parameters\":{\"jsCode\":\"return [\\n\\t {\\n json: {\\n greeting: 'Hello',\\n language: 'en',\\n }\\n },\\n {\\n json: {\\n greeting: 'Hallo',\\n language: 'de',\\n }\\n }\\n];\"},\"typeVersion\":2},{\"id\":\"08fca489-8f4c-4327-9919-922bd1be1cd5\",\"name\":\"Merge (name + language + greeting)\",\"type\":\"n8n-nodes-base.merge\",\"position\":[820,240],\"parameters\":{\"mode\":\"combine\",\"options\":{},\"fieldsToMatchString\":\"language\"},\"typeVersion\":3}],\"pinData\":{},\"connections\":{\"Sample data (name + language)\":{\"main\":[[{\"node\":\"Merge (name + language + greeting)\",\"type\":\"main\",\"index\":0}]]},\"Sample data (greeting + language)\":{\"main\":[[{\"node\":\"Merge (name + language + greeting)\",\"type\":\"main\",\"index\":1}]]},\"When clicking ‘Test workflow’\":{\"main\":[[{\"node\":\"Sample data (name + language)\",\"type\":\"main\",\"index\":0},{\"node\":\"Sample data (greeting + language)\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive messages for a MQTT queue", "output": "{\"id\":\"51\",\"name\":\"Receive messages for a MQTT queue\",\"nodes\":[{\"name\":\"MQTT Trigger\",\"type\":\"n8n-nodes-base.mqttTrigger\",\"position\":[690,260],\"parameters\":{\"options\":{}},\"credentials\":{\"mqtt\":\"mqtt\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Trigger a build using the TravisCI node", "output": "{\"id\":\"52\",\"name\":\"Trigger a build using the TravisCI node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[510,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"TravisCI\",\"type\":\"n8n-nodes-base.travisCi\",\"position\":[710,350],\"parameters\":{\"slug\":\"\",\"branch\":\"\",\"operation\":\"trigger\",\"additionalFields\":{}},\"credentials\":{\"travisCiApi\":\"travisCI\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"TravisCI\":{\"main\":[[]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"TravisCI\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a coupon on Paddle", "output": "{\"id\":\"54\",\"name\":\"Create a coupon on Paddle\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[550,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Paddle\",\"type\":\"n8n-nodes-base.paddle\",\"position\":[750,260],\"parameters\":{\"discountAmount\":2,\"additionalFields\":{\"couponCode\":\"n8n-docs\"}},\"credentials\":{\"paddleApi\":\"paddle\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Paddle\":{\"main\":[[]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Paddle\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when an email is bounced or opened", "output": "{\"id\":\"48\",\"name\":\"Receive updates when an email is bounced or opened\",\"nodes\":[{\"name\":\"Postmark Trigger\",\"type\":\"n8n-nodes-base.postmarkTrigger\",\"position\":[690,260],\"webhookId\":\"1422ac7a-62ba-4f7c-8e22-4e8ecb4950ce\",\"parameters\":{\"events\":[\"bounce\",\"open\"],\"includeContent\":true},\"credentials\":{\"postmarkApi\":\"postmark\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Postmark Trigger\":{\"main\":[[]]}}}" }, { "input": "Convert the JSON data received from the CocktailDB API in XML", "output": "{\"id\":\"55\",\"name\":\"Convert the JSON data received from the CocktailDB API in XML\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,260],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"XML\",\"type\":\"n8n-nodes-base.xml\",\"position\":[850,260],\"parameters\":{\"mode\":\"jsonToxml\",\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"XML\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when another workflow fails", "output": "{\"id\":\"56\",\"name\":\"Receive updates when another workflow fails\",\"nodes\":[{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[690,260],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Download a file and upload it to an FTP Server", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"FTP\",\"type\":\"n8n-nodes-base.ftp\",\"position\":[650,350],\"parameters\":{\"path\":\"/upload/n8n_logo.png\",\"operation\":\"upload\"},\"credentials\":{\"ftp\":\"ftp_creds\"},\"typeVersion\":1},{\"name\":\"FTP1\",\"type\":\"n8n-nodes-base.ftp\",\"position\":[850,350],\"parameters\":{\"path\":\"/upload/\",\"operation\":\"list\"},\"credentials\":{\"ftp\":\"ftp_creds\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,350],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"connections\":{\"FTP\":{\"main\":[[{\"node\":\"FTP1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"FTP\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create and update lead in Salesforce", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[420,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Salesforce\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[620,260],\"parameters\":{\"company\":\"CompanyInc\",\"lastname\":\"DudeOne\",\"additionalFields\":{}},\"credentials\":{\"salesforceOAuth2Api\":\"salesforce_creds\"},\"typeVersion\":1},{\"name\":\"Salesforce1\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[810,260],\"parameters\":{\"leadId\":\"={{$node[\\\"Salesforce\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"city\":\"Berlin\"}},\"credentials\":{\"salesforceOAuth2Api\":\"salesforce_creds\"},\"typeVersion\":1},{\"name\":\"Salesforce2\",\"type\":\"n8n-nodes-base.salesforce\",\"position\":[1020,260],\"parameters\":{\"title\":\"Deal Won!\",\"leadId\":\"={{$node[\\\"Salesforce\\\"].json[\\\"id\\\"]}}\",\"options\":{},\"operation\":\"addNote\"},\"credentials\":{\"salesforceOAuth2Api\":\"salesforce_creds\"},\"typeVersion\":1}],\"connections\":{\"Salesforce\":{\"main\":[[{\"node\":\"Salesforce1\",\"type\":\"main\",\"index\":0}]]},\"Salesforce1\":{\"main\":[[{\"node\":\"Salesforce2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Salesforce\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an SMS when a workflow fails", "output": "{\"id\":\"56\",\"name\":\"Send an SMS when a workflow fails\",\"nodes\":[{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[550,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[750,260],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"=Your workflow with ID: {{$node[\\\"Error Trigger\\\"].json[\\\"workflow\\\"][\\\"id\\\"]}} and name: {{$node[\\\"Error Trigger\\\"].json[\\\"workflow\\\"][\\\"name\\\"]}} failed to execute.\"},\"credentials\":{\"twilioApi\":\"twilio-credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Error Trigger\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Turn on a light and set its brightness", "output": "{\"id\":\"58\",\"name\":\"Turn on a light and set its brightness\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[590,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Philips Hue\",\"type\":\"n8n-nodes-base.philipsHue\",\"position\":[790,260],\"parameters\":{\"lightId\":\"123\",\"additionalFields\":{\"bri\":90}},\"credentials\":{\"philipsHueOAuth2Api\":\"philips-hue\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Philips Hue\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an SMS using the Mocean node", "output": "{\"id\":\"59\",\"name\":\"Send an SMS using the Mocean node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[590,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mocean\",\"type\":\"n8n-nodes-base.mocean\",\"position\":[790,260],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"\"},\"credentials\":{\"moceanApi\":\"mocean\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mocean\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create or update a post in WordPress", "output": "{\"id\":\"60\",\"name\":\"Create a post and update the post in WordPress\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[570,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Wordpress\",\"type\":\"n8n-nodes-base.wordpress\",\"position\":[770,260],\"parameters\":{\"title\":\"created from n8n\",\"additionalFields\":{}},\"credentials\":{\"wordpressApi\":\"wordpress\"},\"typeVersion\":1},{\"name\":\"Wordpress1\",\"type\":\"n8n-nodes-base.wordpress\",\"position\":[970,260],\"parameters\":{\"postId\":\"={{$node[\\\"Wordpress\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"content\":\"This post was created using the n8n workflow.\"}},\"credentials\":{\"wordpressApi\":\"wordpress\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Wordpress\":{\"main\":[[{\"node\":\"Wordpress1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Wordpress\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a customer is created in HelpScout", "output": "{\"id\":\"61\",\"name\":\"Receive updates when a customer is created in HelpScout\",\"nodes\":[{\"name\":\"HelpScout Trigger\",\"type\":\"n8n-nodes-base.helpScoutTrigger\",\"position\":[690,260],\"webhookId\":\"aaaf8b3f-8247-4d98-ae65-8c6626aade95\",\"parameters\":{\"events\":[\"customer.created\"]},\"credentials\":{\"helpScoutOAuth2Api\":\"helpscout\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Gmail to G Sheet test", "output": "{\"id\":\"4\",\"name\":\"greeting\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[720,410],\"parameters\":{\"path\":\"greetinghook\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1120,410],\"parameters\":{\"url\":\"https://webhook.site/c0a47a6f-6a71-4d18-baef-51f694f7c56b\",\"requestMethod\":\"POST\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"greeting\",\"value\":\"={{$node[\\\"FunctionItem\\\"].data[\\\"greeting\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[930,410],\"parameters\":{\"functionCode\":\"item.greeting = `Hello ${item.query.name}, have fun at the ${item.query.event}!`;\\nitem.greeting = \\\"Hello \\\" + item.query.name + \\\", have fun at the \\\" + item.query.event + \\\"!\\\";\\nreturn item;\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a new list is created in Affinity", "output": "{\"id\":\"63\",\"name\":\"Receive updates when a new list is created in Affinity\",\"nodes\":[{\"name\":\"Affinity-Trigger\",\"type\":\"n8n-nodes-base.affinityTrigger\",\"position\":[690,260],\"webhookId\":\"e9d2b8f0-9fa9-43c2-b45d-dc96c869bd20\",\"parameters\":{\"events\":[\"list.created\"]},\"credentials\":{\"affinityApi\":\"affinity\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Upload a file to an S3 server", "output": "{\"id\":\"62\",\"name\":\"Upload a file on an S3 server\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"S3\",\"type\":\"n8n-nodes-base.s3\",\"position\":[850,260],\"parameters\":{\"fileName\":\"={{$node[\\\"Read Binary File\\\"].binary.data.fileName}}\",\"operation\":\"upload\",\"bucketName\":\"000\",\"additionalFields\":{}},\"credentials\":{\"s3\":\"s3-n8n\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[640,260],\"parameters\":{\"filePath\":\"/Users/harshil/n8n.txt\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"S3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage files in S3", "output": "{\"id\":\"64\",\"name\":\"Upload a file and get a list of all the files in a bucket\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[390,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[590,220],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"S3\",\"type\":\"n8n-nodes-base.s3\",\"position\":[790,220],\"parameters\":{\"fileName\":\"={{$node[\\\"HTTP Request\\\"].binary.data.fileName}}\",\"operation\":\"upload\",\"bucketName\":\"n8n\",\"additionalFields\":{}},\"credentials\":{\"s3\":\"s3-n8n\"},\"typeVersion\":1},{\"name\":\"S\",\"type\":\"n8n-nodes-base.s3\",\"position\":[990,220],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"returnAll\":true,\"bucketName\":\"n8n\"},\"credentials\":{\"s3\":\"s3-n8n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"S3\":{\"main\":[[{\"node\":\"S\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"S3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and send a message to a channel in Microsoft Teams", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[540,360],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft Teams\",\"type\":\"n8n-nodes-base.microsoftTeams\",\"position\":[740,360],\"parameters\":{\"name\":\"n8n-docs-demo\",\"teamId\":\"d6b83b00-085d-472c-a6d9-8c2c32c1424e\",\"options\":{}},\"credentials\":{\"microsoftTeamsOAuth2Api\":\"teams_n8n\"},\"typeVersion\":1},{\"name\":\"Microsoft Teams1\",\"type\":\"n8n-nodes-base.microsoftTeams\",\"position\":[940,360],\"parameters\":{\"teamId\":\"={{$node[\\\"Microsoft Teams\\\"].parameter[\\\"teamId\\\"]}}\",\"channelId\":\"={{$node[\\\"Microsoft Teams\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"name\":\"n8n-documentation-demo\"}},\"credentials\":{\"microsoftTeamsOAuth2Api\":\"teams_n8n\"},\"typeVersion\":1},{\"name\":\"Microsoft Teams2\",\"type\":\"n8n-nodes-base.microsoftTeams\",\"position\":[1140,360],\"parameters\":{\"teamId\":\"={{$node[\\\"Microsoft Teams\\\"].parameter[\\\"teamId\\\"]}}\",\"message\":\"n8n rocks!\",\"resource\":\"channelMessage\",\"channelId\":\"={{$node[\\\"Microsoft Teams\\\"].json[\\\"id\\\"]}}\",\"messageType\":\"text\"},\"credentials\":{\"microsoftTeamsOAuth2Api\":\"teams_n8n\"},\"typeVersion\":1}],\"connections\":{\"Microsoft Teams\":{\"main\":[[{\"node\":\"Microsoft Teams1\",\"type\":\"main\",\"index\":0}]]},\"Microsoft Teams1\":{\"main\":[[{\"node\":\"Microsoft Teams2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft Teams\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Download and post an image on LinkedIn", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[440,300],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"LinkedIn\",\"type\":\"n8n-nodes-base.linkedIn\",\"position\":[640,300],\"parameters\":{\"text\":\"this is a test image post\",\"person\":\"gZG0JALzuy\",\"postAs\":\"person\",\"additionalFields\":{},\"shareMediaCategory\":\"IMAGE\"},\"credentials\":{\"linkedInOAuth2Api\":\"linkedin_demo\"},\"typeVersion\":1}],\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"LinkedIn\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send memes via Discord", "output": "{\"id\":\"1\",\"name\":\"cheems\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyWeek\",\"weekday\":\"6\"}]}},\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"position\":[650,300],\"parameters\":{\"text\":\"It's Wednesday, my dudes!\\nhttps://i.kym-cdn.com/entries/icons/original/000/020/016/wednesdaymydudeswide.jpg\",\"webhookUri\":\"https://discordapp.com/api/webhooks/756967134353162281/wEzyl5MrY2FqHdp5mb8npM5qhp0MVAe9X8SiIA-UMUPpv52FwaOeZGWTtlfQSs-MV3eB\"},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,140],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"name\":\"Discord1\",\"type\":\"n8n-nodes-base.discord\",\"position\":[650,140],\"parameters\":{\"text\":\"It's Friday, Friday\\nGotta get down on Friday!\\nhttps://tenor.com/view/rebecca-black-friday-tgif-gif-4051598\",\"webhookUri\":\"https://discordapp.com/api/webhooks/756967134353162281/wEzyl5MrY2FqHdp5mb8npM5qhp0MVAe9X8SiIA-UMUPpv52FwaOeZGWTtlfQSs-MV3eB\"},\"typeVersion\":1},{\"name\":\"Cron2\",\"type\":\"n8n-nodes-base.cron\",\"position\":[820,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":30}]}},\"typeVersion\":1},{\"name\":\"Discord2\",\"type\":\"n8n-nodes-base.discord\",\"position\":[1020,300],\"parameters\":{\"text\":\"And with this, I sleep. Good night Pogger friends :)\\nhttps://cdn.discordapp.com/attachments/756602216621539409/757054027518443600/93109046_836460460092895_6176715527851028509_n.jpg\",\"webhookUri\":\"https://discordapp.com/api/webhooks/756967134353162281/wEzyl5MrY2FqHdp5mb8npM5qhp0MVAe9X8SiIA-UMUPpv52FwaOeZGWTtlfQSs-MV3eB\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"Discord1\",\"type\":\"main\",\"index\":0}]]},\"Cron2\":{\"main\":[[{\"node\":\"Discord2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add data from a photo to Google Sheets", "output": "{\"id\":\"200\",\"name\":\"BillBot\",\"nodes\":[{\"name\":\"Set relevant data\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,460],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Category\",\"value\":\"={{$node[\\\"Parse details from receipt\\\"].json[\\\"predictions\\\"][0][\\\"category\\\"][\\\"value\\\"]}}\"},{\"name\":\"Date\",\"value\":\"={{$node[\\\"Parse details from receipt\\\"].json[\\\"predictions\\\"][0][\\\"date\\\"][\\\"iso\\\"]}}\"},{\"name\":\"Merchant\",\"value\":\"={{$node[\\\"Parse details from receipt\\\"].json[\\\"predictions\\\"][0][\\\"merchant\\\"][\\\"name\\\"]}}\"},{\"name\":\"Time\",\"value\":\"={{$node[\\\"Parse details from receipt\\\"].json[\\\"predictions\\\"][0][\\\"time\\\"][\\\"iso\\\"]}}\"},{\"name\":\"Amount\",\"value\":\"={{$node[\\\"Parse details from receipt\\\"].json[\\\"predictions\\\"][0][\\\"total\\\"][\\\"amount\\\"]}}\"},{\"name\":\"Currency\",\"value\":\"={{$node[\\\"Parse details from receipt\\\"].json[\\\"predictions\\\"][0][\\\"locale\\\"][\\\"currency\\\"]}}\"},{\"name\":\"Added by\",\"value\":\"={{$node[\\\"Get receipts from bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"first_name\\\"]}} {{$node[\\\"Get receipts from bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"last_name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Send confirmation\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1180,460],\"parameters\":{\"text\":\"=✅ Bill of {{$node[\\\"Set relevant data\\\"].json[\\\"Amount\\\"]}} {{$node[\\\"Set relevant data\\\"].json[\\\"Currency\\\"]}} from {{$node[\\\"Set relevant data\\\"].json[\\\"Merchant\\\"]}}, dated {{$node[\\\"Set relevant data\\\"].json[\\\"Date\\\"]}} at {{$node[\\\"Set relevant data\\\"].json[\\\"Time\\\"]}}. Category was {{$node[\\\"Set relevant data\\\"].json[\\\"Category\\\"]}}.\",\"chatId\":\"={{$node[\\\"Get receipts from bot\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"Get receipts from bot\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[380,460],\"webhookId\":\"ef81fe75-10c8-40c3-8bea-d65648556705\",\"parameters\":{\"updates\":[\"*\"],\"additionalFields\":{\"download\":true}},\"credentials\":{\"telegramApi\":\"\"},\"typeVersion\":1},{\"name\":\"Parse details from receipt\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[580,460],\"parameters\":{\"url\":\"https://api.mindee.net/products/expense_receipts/v2/predict\",\"options\":{\"bodyContentType\":\"multipart-form-data\"},\"requestMethod\":\"POST\",\"authentication\":\"headerAuth\",\"jsonParameters\":true,\"sendBinaryData\":true},\"credentials\":{\"httpHeaderAuth\":\"\"},\"typeVersion\":1},{\"name\":\"Add to expense record\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[980,460],\"parameters\":{\"range\":\"A:G\",\"options\":{},\"sheetId\":\"\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Send SMS notification\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[1380,460],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"=A receipt worth {{$node[\\\"Set relevant data\\\"].json[\\\"Amount\\\"]}} {{$node[\\\"Set relevant data\\\"].json[\\\"Currency\\\"]}} was submitted by {{$node[\\\"Set relevant data\\\"].json[\\\"Added by\\\"]}} and has been added to the following spreadsheet:\\nhttps://docs.google.com/spreadsheets/d/{{$node[\\\"Add to expense record\\\"].parameter[\\\"sheetId\\\"]}}/\"},\"credentials\":{\"twilioApi\":\"Twilio Programmable SMS\"},\"typeVersion\":1}],\"connections\":{\"Send confirmation\":{\"main\":[[{\"node\":\"Send SMS notification\",\"type\":\"main\",\"index\":0}]]},\"Set relevant data\":{\"main\":[[{\"node\":\"Add to expense record\",\"type\":\"main\",\"index\":0}]]},\"Add to expense record\":{\"main\":[[{\"node\":\"Send confirmation\",\"type\":\"main\",\"index\":0}]]},\"Get receipts from bot\":{\"main\":[[{\"node\":\"Parse details from receipt\",\"type\":\"main\",\"index\":0}]]},\"Parse details from receipt\":{\"main\":[[{\"node\":\"Set relevant data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get an issue on Taiga", "output": "{\"id\":\"69\",\"name\":\"Create, update, and get an issue on Taiga\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[430,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Taiga\",\"type\":\"n8n-nodes-base.taiga\",\"position\":[630,260],\"parameters\":{\"subject\":\"n8n-docs\",\"projectId\":385605,\"additionalFields\":{}},\"credentials\":{\"taigaCloudApi\":\"taiga\"},\"typeVersion\":1},{\"name\":\"Taiga1\",\"type\":\"n8n-nodes-base.taiga\",\"position\":[830,260],\"parameters\":{\"issueId\":\"={{$node[\\\"Taiga\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"projectId\":\"={{$node[\\\"Taiga\\\"].json[\\\"project\\\"]}}\",\"updateFields\":{\"description\":\"This ticket is for the documentation for the Taiga node\"}},\"credentials\":{\"taigaCloudApi\":\"taiga\"},\"typeVersion\":1},{\"name\":\"Taiga2\",\"type\":\"n8n-nodes-base.taiga\",\"position\":[1030,260],\"parameters\":{\"issueId\":\"={{$node[\\\"Taiga\\\"].json[\\\"id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"taigaCloudApi\":\"taiga\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Taiga\":{\"main\":[[{\"node\":\"Taiga1\",\"type\":\"main\",\"index\":0}]]},\"Taiga1\":{\"main\":[[{\"node\":\"Taiga2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Taiga\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when an event occurs in Taiga", "output": "{\"id\":\"70\",\"name\":\"Receive updates when an event occurs in Taiga\",\"nodes\":[{\"name\":\"Taiga Trigger\",\"type\":\"n8n-nodes-base.taigaTrigger\",\"position\":[690,260],\"webhookId\":\"53939c3e-7dc6-4fdf-94d8-d29f92f8fa12\",\"parameters\":{\"projectId\":385605},\"credentials\":{\"taigaCloudApi\":\"taiga\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Read RSS feed from two different sources", "output": "{\"id\":\"7604ck94MeYXMHpN\",\"meta\":{\"instanceId\":\"bd0e051174def82b88b5cd547222662900558d74b239c4048ea0f6b7ed61c642\"},\"name\":\"Read RSS feed from two different sources\",\"tags\":[],\"nodes\":[{\"id\":\"fa8717e5-092a-4359-89cc-57cc8fa2bf25\",\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[1080,180],\"parameters\":{\"url\":\"={{ $json.url }}\",\"options\":{}},\"typeVersion\":1},{\"id\":\"62ce6cf3-fb83-4013-b288-40d179f35f99\",\"name\":\"When clicking \\\"Execute Workflow\\\"\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[520,100],\"parameters\":{},\"typeVersion\":1},{\"id\":\"81496a04-b986-4e13-b884-23562f953a37\",\"name\":\"Code\",\"type\":\"n8n-nodes-base.code\",\"position\":[700,100],\"parameters\":{\"jsCode\":\"return [\\n {\\n json: {\\n url: 'https://medium.com/feed/n8n-io',\\n }\\n },\\n {\\n json: {\\n url: 'https://dev.to/feed/n8n',\\n }\\n }\\n];\"},\"typeVersion\":1},{\"id\":\"6e3a444f-fec3-4a7f-a063-d5b152c5f43a\",\"name\":\"Loop Over Items\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[880,100],\"parameters\":{\"options\":{}},\"typeVersion\":3}],\"active\":false,\"pinData\":{},\"settings\":{\"executionOrder\":\"v1\"},\"versionId\":\"8ad423d4-cf25-4b30-85c0-c50a26238e81\",\"connections\":{\"Code\":{\"main\":[[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Loop Over Items\",\"type\":\"main\",\"index\":0}]]},\"Loop Over Items\":{\"main\":[[],[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"When clicking \\\"Execute Workflow\\\"\":{\"main\":[[{\"node\":\"Code\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Execute Set node based on Function output", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[0,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[200,300],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n id: 0,\\n }\\n },\\n {\\n json: {\\n id: 1,\\n }\\n },\\n {\\n json: {\\n id: 2,\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[600,90],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[600,230],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"nodemation\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Switch\",\"type\":\"n8n-nodes-base.switch\",\"position\":[400,300],\"parameters\":{\"rules\":{\"rules\":[{\"operation\":\"equal\"},{\"output\":1,\"value2\":1,\"operation\":\"equal\"},{\"output\":2,\"value2\":2,\"operation\":\"equal\"}]},\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"id\\\"]}}\",\"fallbackOutput\":3},\"typeVersion\":1},{\"name\":\"Set2\",\"type\":\"n8n-nodes-base.set\",\"position\":[600,370],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"nathan\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[600,510],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Switch\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Set2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Switch\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Appreciate contributors via GitHub and Twitter", "output": "{\"id\":\"73\",\"name\":\"Appreciate contributors\",\"nodes\":[{\"name\":\"Github Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[990,580],\"webhookId\":\"1a5cb17c-0c69-4736-b8f0-914cbe1e8130\",\"parameters\":{\"owner\":\"harshil1712\",\"events\":[\"pull_request\"],\"repository\":\"test\"},\"credentials\":{\"githubApi\":\"github\"},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[1190,580],\"parameters\":{\"text\":\"=Thank you {{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"pull_request\\\"][\\\"user\\\"][\\\"login\\\"]}} for your contribution! ✨\\nCheckout the PR they just created: {{$node[\\\"Github Trigger\\\"].json[\\\"body\\\"][\\\"pull_request\\\"][\\\"html_url\\\"]}}\\n\\n#Hacktoberfest\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter-Harshil\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Github Trigger\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Display project data on a smashing dashboard", "output": "{\"id\":\"6\",\"name\":\"Dashboard\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-290,180],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"Dashboard Configuration\",\"type\":\"n8n-nodes-base.set\",\"color\":\"#FF0000\",\"notes\":\"Update project settings\",\"position\":[-10,180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"dashboardHostname\",\"value\":\"http://192.168.0.14:8080\"},{\"name\":\"dashboardAuthToken\",\"value\":\"n8n-rocks!\"},{\"name\":\"product_hunt_post_id\",\"value\":\"170391\"},{\"name\":\"npm_package\",\"value\":\"n8n\"},{\"name\":\"docker_name\",\"value\":\"n8nio\"},{\"name\":\"docker_repository\",\"value\":\"n8n\"},{\"name\":\"github_owner\",\"value\":\"n8n-io\"},{\"name\":\"github_repo\",\"value\":\"n8n\"}]},\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Retrieve Docker Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[260,300],\"parameters\":{\"url\":\"=https://hub.docker.com/v2/repositories/{{$node[\\\"Dashboard Configuration\\\"].json[\\\"docker_name\\\"]}}/{{$node[\\\"Dashboard Configuration\\\"].json[\\\"docker_repository\\\"]}}\",\"options\":{},\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"n8n\"}]}},\"typeVersion\":1},{\"name\":\"Docker Pulls\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[630,220],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/docker_pulls\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage Docker Data\\\"].json[\\\"pull_count\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Docker Stars\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[630,400],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/docker_stars\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage Docker Data\\\"].json[\\\"star_count\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Retrieve npm Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[250,50],\"parameters\":{\"url\":\"=https://api.npms.io/v2/package/{{$node[\\\"Dashboard Configuration\\\"].json[\\\"npm_package\\\"]}}\",\"options\":{},\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"n8n\"}]}},\"typeVersion\":1},{\"name\":\"GitHub Watchers\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,640],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/github_watchers\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage GitHub Data\\\"].json[\\\"subscribers_count\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"GitHub Forks\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[820,800],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/github_forks\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage GitHub Data\\\"].json[\\\"forks_count\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"GitHub Open Issues \",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[620,860],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/github_open_issues\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage GitHub Data\\\"].json[\\\"open_issues_count\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"GitHub Stars\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[620,560],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/github_stars\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage GitHub Data\\\"].json[\\\"stargazers_count\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"npm Maintenance\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[830,-90],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/npm_maintenance\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"value\",\"value\":\"={{$node[\\\"Massage npm Data\\\"].json[\\\"score\\\"][\\\"detail\\\"][\\\"maintenance\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"npm Popularity\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1030,0],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/npm_popularity\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"value\",\"value\":\"={{$node[\\\"Massage npm Data\\\"].json[\\\"score\\\"][\\\"detail\\\"][\\\"popularity\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"npm Quality\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1030,150],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/npm_quality\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"value\",\"value\":\"={{$node[\\\"Massage npm Data\\\"].json[\\\"score\\\"][\\\"detail\\\"][\\\"quality\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"npm Final\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[830,190],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/npm_final\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"value\",\"value\":\"={{$node[\\\"Massage npm Data\\\"].json[\\\"score\\\"][\\\"final\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Product Hunt Rating\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[630,-510],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/prod_hunt_rating\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"value\",\"value\":\"={{$node[\\\"Retrieve Product Hunt Data\\\"].json[\\\"data\\\"][\\\"post\\\"][\\\"reviewsRating\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Product Hunt Reviews\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[830,-410],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/prod_hunt_reviews\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage Product Hunt Data\\\"].json[\\\"data\\\"][\\\"post\\\"][\\\"reviewsCount\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Product Hunt Votes\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[830,-260],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/prod_hunt_votes\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage Product Hunt Data\\\"].json[\\\"data\\\"][\\\"post\\\"][\\\"votesCount\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Product Hunt Comments\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[630,-210],\"parameters\":{\"url\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardHostname\\\"]}}/widgets/prod_hunt_comments\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"auth_token\",\"value\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"dashboardAuthToken\\\"]}}\"},{\"name\":\"current\",\"value\":\"={{$node[\\\"Massage Product Hunt Data\\\"].json[\\\"data\\\"][\\\"post\\\"][\\\"commentsCount\\\"]}}\"}]}},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"GitHub\",\"type\":\"n8n-nodes-base.github\",\"color\":\"#FF0000\",\"position\":[250,710],\"parameters\":{\"owner\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"github_owner\\\"]}}\",\"resource\":\"repository\",\"operation\":\"get\",\"repository\":\"={{$node[\\\"Dashboard Configuration\\\"].json[\\\"github_repo\\\"]}}\"},\"credentials\":{\"githubApi\":\"\"},\"typeVersion\":1},{\"name\":\"Retrieve Product Hunt Data\",\"type\":\"n8n-nodes-base.httpRequest\",\"color\":\"#FF0000\",\"notes\":\"Update authorization token\",\"position\":[250,-360],\"parameters\":{\"url\":\"https://api.producthunt.com/v2/api/graphql\",\"options\":{},\"requestMethod\":\"POST\",\"queryParametersUi\":{\"parameter\":[{\"name\":\"query\",\"value\":\"={\\n post(id: {{$node[\\\"Dashboard Configuration\\\"].json[\\\"product_hunt_post_id\\\"]}}) {\\n commentsCount\\n votesCount\\n reviewsCount\\n reviewsRating\\n name\\n }\\n}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"n8n\"},{\"name\":\"authorization\",\"value\":\"Bearer \"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Massage npm Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[440,50],\"parameters\":{\"functionCode\":\"items[0].json.score.detail.maintenance = parseFloat(items[0].json.score.detail.maintenance.toFixed(2));\\nitems[0].json.score.detail.popularity= parseFloat(items[0].json.score.detail.popularity.toFixed(2));\\nitems[0].json.score.detail.quality= parseFloat(items[0].json.score.detail.quality.toFixed(2));\\nitems[0].json.score.final= parseFloat(items[0].json.score.final.toFixed(2));\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Massage Product Hunt Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[440,-360],\"parameters\":{\"functionCode\":\"items[0].json.data.post.commentsCount = items[0].json.data.post.commentsCount.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\nitems[0].json.data.post.votesCount= items[0].json.data.post.votesCount.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\nitems[0].json.data.post.reviewsCount= items[0].json.data.post.reviewsCount.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Massage Docker Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[460,300],\"parameters\":{\"functionCode\":\"items[0].json.star_count = items[0].json.star_count.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\nitems[0].json.pull_count = items[0].json.pull_count.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Massage GitHub Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,710],\"parameters\":{\"functionCode\":\"items[0].json.stargazers_count = items[0].json.stargazers_count.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\nitems[0].json.subscribers_count = items[0].json.subscribers_count.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\nitems[0].json.forks_count = items[0].json.forks_count.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\nitems[0].json.open_issues_count = items[0].json.open_issues_count.toString().replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n\\nreturn items;\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Dashboard Configuration\",\"type\":\"main\",\"index\":0}]]},\"GitHub\":{\"main\":[[{\"node\":\"Massage GitHub Data\",\"type\":\"main\",\"index\":0}]]},\"Massage npm Data\":{\"main\":[[{\"node\":\"npm Maintenance\",\"type\":\"main\",\"index\":0},{\"node\":\"npm Quality\",\"type\":\"main\",\"index\":0},{\"node\":\"npm Popularity\",\"type\":\"main\",\"index\":0},{\"node\":\"npm Final\",\"type\":\"main\",\"index\":0}]]},\"Retrieve npm Data\":{\"main\":[[{\"node\":\"Massage npm Data\",\"type\":\"main\",\"index\":0}]]},\"Massage Docker Data\":{\"main\":[[{\"node\":\"Docker Stars\",\"type\":\"main\",\"index\":0},{\"node\":\"Docker Pulls\",\"type\":\"main\",\"index\":0}]]},\"Massage GitHub Data\":{\"main\":[[{\"node\":\"GitHub Stars\",\"type\":\"main\",\"index\":0},{\"node\":\"GitHub Watchers\",\"type\":\"main\",\"index\":0},{\"node\":\"GitHub Forks\",\"type\":\"main\",\"index\":0},{\"node\":\"GitHub Open Issues \",\"type\":\"main\",\"index\":0}]]},\"Retrieve Docker Data\":{\"main\":[[{\"node\":\"Massage Docker Data\",\"type\":\"main\",\"index\":0}]]},\"Dashboard Configuration\":{\"main\":[[{\"node\":\"Retrieve Product Hunt Data\",\"type\":\"main\",\"index\":0},{\"node\":\"Retrieve npm Data\",\"type\":\"main\",\"index\":0},{\"node\":\"Retrieve Docker Data\",\"type\":\"main\",\"index\":0},{\"node\":\"GitHub\",\"type\":\"main\",\"index\":0}]]},\"Massage Product Hunt Data\":{\"main\":[[{\"node\":\"Product Hunt Rating\",\"type\":\"main\",\"index\":0},{\"node\":\"Product Hunt Reviews\",\"type\":\"main\",\"index\":0},{\"node\":\"Product Hunt Votes\",\"type\":\"main\",\"index\":0},{\"node\":\"Product Hunt Comments\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Product Hunt Data\":{\"main\":[[{\"node\":\"Massage Product Hunt Data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transform data in Google Sheets", "output": "{\"id\":\"5\",\"name\":\"Append, lookup, update, and read data from a Google Sheets spreadsheet\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Sheets2\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1450,450],\"parameters\":{\"key\":\"ID\",\"range\":\"A:D\",\"options\":{\"valueInputMode\":\"USER_ENTERED\",\"valueRenderMode\":\"UNFORMATTED_VALUE\"},\"sheetId\":\"1remFwo--5ehUgIU7UUndKldPI0Xm93e1T3DldD9GOg0\",\"operation\":\"update\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheet\"},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1250,450],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Rent\",\"value\":\"={{$node[\\\"Google Sheets1\\\"].json[\\\"Rent\\\"]+100}}\"},{\"name\":\"ID\",\"value\":\"={{$node[\\\"Google Sheets1\\\"].json[\\\"ID\\\"]}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Google Sheets1\\\"].json[\\\"Name\\\"]}}\"},{\"name\":\"City\",\"value\":\"={{$node[\\\"Google Sheets1\\\"].json[\\\"City\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Google Sheets1\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1050,450],\"parameters\":{\"range\":\"A:D\",\"options\":{\"valueRenderMode\":\"UNFORMATTED_VALUE\",\"returnAllMatches\":true},\"sheetId\":\"1remFwo--5ehUgIU7UUndKldPI0Xm93e1T3DldD9GOg0\",\"operation\":\"lookup\",\"lookupValue\":\"Berlin\",\"lookupColumn\":\"City\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheet\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[850,450],\"parameters\":{\"range\":\"A:D\",\"options\":{\"valueInputMode\":\"USER_ENTERED\"},\"sheetId\":\"1remFwo--5ehUgIU7UUndKldPI0Xm93e1T3DldD9GOg0\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheet\"},\"typeVersion\":1},{\"name\":\"Google Sheets3\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1650,450],\"parameters\":{\"range\":\"A:D\",\"options\":{\"valueRenderMode\":\"FORMATTED_VALUE\"},\"sheetId\":\"1remFwo--5ehUgIU7UUndKldPI0Xm93e1T3DldD9GOg0\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheet\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,450],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ID\",\"value\":\"={{Math.floor(Math.random()*1000)}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"John's Place\"},{\"name\":\"Rent\",\"value\":\"$1,000\"},{\"name\":\"City\",\"value\":\"Berlin\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Sheets2\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Google Sheets1\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets2\":{\"main\":[[{\"node\":\"Google Sheets3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get local datetime into Function node using moment.js", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Local Datetime\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"const moment = require('moment');\\n\\nlet date = moment().tz($env['GENERIC_TIMEZONE']);\\n\\nlet year = date.year();\\nlet month = date.month(); // zero-indexed!\\nlet day = date.date();\\nlet hour = date.hours();\\nlet minute = date.minutes();\\nlet second = date.seconds();\\nlet millisecond = date.millisecond();\\nlet formatted = date.format('YYYY-MM-DD HH:mm:ss.SSS Z');\\n\\nreturn [\\n {\\n json: {\\n utc: date,\\n year: year,\\n month: month, // zero-indexed!\\n day: day,\\n hour: hour,\\n minute: minute,\\n second: second,\\n millisecond: millisecond,\\n formatted: formatted\\n }\\n }\\n];\\n\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get Local Datetime\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send email via Gmail on workflow error", "output": "{\"nodes\":[{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[450,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Gmail\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[650,300],\"parameters\":{\"toList\":[\"recipient@email.com\"],\"message\":\"=Workflow: {{$json[\\\"workflow\\\"][\\\"name\\\"]}}\\nError: {{$json[\\\"execution\\\"][\\\"error\\\"][\\\"message\\\"]}}\\nLast node executed: {{$json[\\\"execution\\\"][\\\"lastNodeExecuted\\\"]}}\\nExecution URL: {{$json[\\\"execution\\\"][\\\"url\\\"]}}\\nStacktrace:\\n{{$json[\\\"execution\\\"][\\\"error\\\"][\\\"stack\\\"]}}\",\"subject\":\"=n8n Workflow Failure: {{$json[\\\"workflow\\\"][\\\"name\\\"]}}\",\"resource\":\"message\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":\"TBD\"},\"typeVersion\":1}],\"connections\":{\"Error Trigger\":{\"main\":[[{\"node\":\"Gmail\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Archive Spotify's discover weekly playlist", "output": "{\"id\":\"5\",\"meta\":{\"instanceId\":\"ee00ab315efd316330251cb18aeeede6afbd7b9703f49b7388a8bb655e7a1665\"},\"name\":\"Example: Archive Spotify's Discover Weekly playlist\",\"tags\":[],\"nodes\":[{\"id\":\"00e66ecd-8b01-4b94-8479-789713f99adc\",\"name\":\"Get Playlists\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[-240,80],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getUserPlaylists\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":null,\"name\":\"Trey\"}},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"5b5f648d-3af4-42b9-ba4d-36806c1f9ef3\",\"name\":\"Get Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[300,80],\"parameters\":{\"id\":\"={{$node[\\\"Find Weekly Playlist\\\"].json[\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":null,\"name\":\"Trey\"}},\"executeOnce\":true,\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"88325eb3-01ae-4cea-b8d0-0e2cc8fc7aba\",\"name\":\"Save to Archive\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[440,80],\"parameters\":{\"id\":\"={{$item(0).$node[\\\"Find Archive Playlist\\\"].json[\\\"uri\\\"]}}\",\"trackID\":\"={{$json[\\\"track\\\"][\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":null,\"name\":\"Trey\"}},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"02f221e5-47b9-4e9e-9c68-ca7ddf37564e\",\"name\":\"Find Archive Playlist\",\"type\":\"n8n-nodes-base.if\",\"position\":[-40,0],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"value2\":\"Discover Weekly Archive\"}]}},\"typeVersion\":1},{\"id\":\"603f7161-a141-48ce-97e2-4e5a43bfb4fe\",\"name\":\"Find Weekly Playlist\",\"type\":\"n8n-nodes-base.if\",\"position\":[-40,140],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"value2\":\"Discover Weekly\"}]}},\"typeVersion\":1},{\"id\":\"9d5ec356-4a8c-465b-9f0f-a993fd58ef4d\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[160,80],\"parameters\":{\"mode\":\"wait\"},\"typeVersion\":1},{\"id\":\"3a8e7f8f-e332-4aef-b9f8-83755b356a02\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"notes\":\"8am Mondays\",\"position\":[-400,80],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"cronExpression\",\"expression\":\"0 0 8 * * 1\"}]}},\"notesInFlow\":true,\"typeVersion\":1.1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"ce04e934-338b-4f44-87e6-327fad99bd01\",\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Get Tracks\",\"type\":\"main\",\"index\":0}]]},\"Get Tracks\":{\"main\":[[{\"node\":\"Save to Archive\",\"type\":\"main\",\"index\":0}]]},\"Get Playlists\":{\"main\":[[{\"node\":\"Find Archive Playlist\",\"type\":\"main\",\"index\":0},{\"node\":\"Find Weekly Playlist\",\"type\":\"main\",\"index\":0}]]},\"Find Weekly Playlist\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Find Archive Playlist\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Archive Spotify's Release Radar playlist", "output": "{\"id\":\"4\",\"meta\":{\"instanceId\":\"ee00ab315efd316330251cb18aeeede6afbd7b9703f49b7388a8bb655e7a1665\"},\"name\":\"Example: Archive Spotify's Release Radar playlist\",\"tags\":[],\"nodes\":[{\"id\":\"e3816b1f-4b23-4819-85c7-80a2283d068d\",\"name\":\"Get Playlists\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[-80,320],\"parameters\":{\"resource\":\"playlist\",\"operation\":\"getUserPlaylists\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":null,\"name\":\"Trey\"}},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"1a5b1a4c-a792-4119-bcc3-28802153b661\",\"name\":\"Get Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[470,320],\"parameters\":{\"id\":\"={{$node[\\\"Find Weekly Playlist\\\"].json[\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":null,\"name\":\"Trey\"}},\"executeOnce\":true,\"typeVersion\":1,\"alwaysOutputData\":false},{\"id\":\"ac861490-a353-440a-8788-30f4bd9d7414\",\"name\":\"Save to Archive\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[620,320],\"parameters\":{\"id\":\"={{$item(0).$node[\\\"Find Archive Playlist\\\"].json[\\\"uri\\\"]}}\",\"trackID\":\"={{$json[\\\"track\\\"][\\\"uri\\\"]}}\",\"resource\":\"playlist\",\"additionalFields\":{}},\"credentials\":{\"spotifyOAuth2Api\":{\"id\":null,\"name\":\"Trey\"}},\"executeOnce\":false,\"typeVersion\":1},{\"id\":\"4c6a64f3-6234-468e-8cce-6f07d5e9a651\",\"name\":\"Find Archive Playlist\",\"type\":\"n8n-nodes-base.if\",\"position\":[120,240],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"value2\":\"Release Radar Archive\"}]}},\"typeVersion\":1},{\"id\":\"89bf769e-8287-4a28-8d28-2aee86f32837\",\"name\":\"Find Weekly Playlist\",\"type\":\"n8n-nodes-base.if\",\"position\":[120,380],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"name\\\"]}}\",\"value2\":\"Release Radar\"}]}},\"typeVersion\":1},{\"id\":\"d71ff01a-7f60-4887-a674-c40381c7b9f7\",\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[320,320],\"parameters\":{\"mode\":\"wait\"},\"typeVersion\":1},{\"id\":\"6b0c368c-0248-4976-af8e-b890bdec9ea0\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"notes\":\"8am Fridays\",\"position\":[-240,320],\"parameters\":{\"rule\":{\"interval\":[{\"field\":\"cronExpression\",\"expression\":\"0 0 8 * * 5\"}]}},\"notesInFlow\":true,\"typeVersion\":1.1}],\"active\":false,\"pinData\":{},\"settings\":{},\"versionId\":\"f0cf8545-5fe6-4d54-82bd-0089ed53db97\",\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Get Tracks\",\"type\":\"main\",\"index\":0}]]},\"Get Tracks\":{\"main\":[[{\"node\":\"Save to Archive\",\"type\":\"main\",\"index\":0}]]},\"Get Playlists\":{\"main\":[[{\"node\":\"Find Archive Playlist\",\"type\":\"main\",\"index\":0},{\"node\":\"Find Weekly Playlist\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"Get Playlists\",\"type\":\"main\",\"index\":0}]]},\"Find Weekly Playlist\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Find Archive Playlist\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Generate Chargebee invoices and upload to NextCloud", "output": "{\"nodes\":[{\"name\":\"Get Invoice PDF\",\"type\":\"n8n-nodes-base.chargebee\",\"position\":[900,300],\"parameters\":{\"invoiceId\":\"={{$node[\\\"Chargebee API\\\"].data[\\\"id\\\"]}}\",\"operation\":\"pdfUrl\"},\"credentials\":{\"chargebeeApi\":\"\"},\"typeVersion\":1},{\"name\":\"Chargebee API\",\"type\":\"n8n-nodes-base.chargebee\",\"position\":[700,300],\"parameters\":{\"filters\":{\"date\":[{\"value\":\"={{new Date(new Date().getFullYear(), new Date().getMonth()-1, 1).toISOString()}}\"},{\"value\":\"={{new Date(new Date().getFullYear(), new Date().getMonth(), 1).toISOString()}}\",\"operation\":\"before\"}],\"total\":[{}]},\"maxResults\":5},\"credentials\":{\"chargebeeApi\":\"\"},\"typeVersion\":1},{\"name\":\"NextCloud Write\",\"type\":\"n8n-nodes-base.nextCloud\",\"position\":[1300,300],\"parameters\":{\"path\":\"=invoices/{{new Date($data.date*1000).toISOString().split('T')[0]}} {{$data.billing_address.first_name}} {{$data.billing_address.last_name}}{{$data.billing_address.company?' - ' + $data.billing_address.company:''}}.pdf\",\"binaryDataUpload\":true},\"credentials\":{\"nextCloudApi\":\"\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[500,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":3,\"mode\":\"everyMonth\"}]}},\"typeVersion\":1},{\"name\":\"Read File URL\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1100,300],\"parameters\":{\"url\":\"={{$data.pdfUrl}}\",\"responseFormat\":\"file\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Chargebee API\",\"type\":\"main\",\"index\":0}]]},\"Chargebee API\":{\"main\":[[{\"node\":\"Get Invoice PDF\",\"type\":\"main\",\"index\":0}]]},\"Read File URL\":{\"main\":[[{\"node\":\"NextCloud Write\",\"type\":\"main\",\"index\":0}]]},\"Get Invoice PDF\":{\"main\":[[{\"node\":\"Read File URL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Purge n8n execution history located in Mysql", "output": "{\"id\":\"60\",\"name\":\"n8n_mysql_purge_history_greater_than_10_days\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"MySQL\",\"type\":\"n8n-nodes-base.mySql\",\"position\":[450,300],\"parameters\":{\"query\":\"DELETE FROM execution_entity \\nWHERE DATE(stoppedAt) < DATE_SUB(CURDATE(), INTERVAL 30 DAY)\",\"operation\":\"executeQuery\"},\"credentials\":{\"mySql\":\"n8n\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,460],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":7}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"MySQL\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"MySQL\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage projects in Clockify", "output": "{\"id\":\"76\",\"name\":\"Create a project, tag, and time entry, and update the time entry in Clockify\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Clockify\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[450,300],\"parameters\":{\"name\":\"n8n-docs\",\"workspaceId\":\"5f7af249d33ce12a712306dd\",\"additionalFields\":{\"note\":\"For n8n-docs\",\"color\":\"#0000FF\",\"isPublic\":false}},\"credentials\":{\"clockifyApi\":\"clockify-burner\"},\"typeVersion\":1},{\"name\":\"Clockify1\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[650,300],\"parameters\":{\"name\":\"docs\",\"resource\":\"tag\",\"workspaceId\":\"5f7af249d33ce12a712306dd\"},\"credentials\":{\"clockifyApi\":\"clockify-burner\"},\"typeVersion\":1},{\"name\":\"Clockify2\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[850,300],\"parameters\":{\"start\":\"2020-10-05T08:30:00.000Z\",\"resource\":\"timeEntry\",\"workspaceId\":\"5f7af249d33ce12a712306dd\",\"additionalFields\":{\"end\":\"2020-10-05T09:30:00.000Z\",\"tagIds\":[\"5f7afbfc73610f56b88ee9ef\"],\"description\":\"Added Clockify Docs\"}},\"credentials\":{\"clockifyApi\":\"clockify-burner\"},\"typeVersion\":1},{\"name\":\"Clockify3\",\"type\":\"n8n-nodes-base.clockify\",\"position\":[1050,300],\"parameters\":{\"resource\":\"timeEntry\",\"operation\":\"update\",\"timeEntryId\":\"={{$node[\\\"Clockify2\\\"].json[\\\"id\\\"]}}\",\"workspaceId\":\"5f7af249d33ce12a712306dd\",\"updateFields\":{\"projectId\":\"={{$node[\\\"Clockify\\\"].json[\\\"id\\\"]}}\"}},\"credentials\":{\"clockifyApi\":\"clockify-burner\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Clockify\":{\"main\":[[{\"node\":\"Clockify1\",\"type\":\"main\",\"index\":0}]]},\"Clockify1\":{\"main\":[[{\"node\":\"Clockify2\",\"type\":\"main\",\"index\":0}]]},\"Clockify2\":{\"main\":[[{\"node\":\"Clockify3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Clockify\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract information from an image of a receipt", "output": "{\"id\":\"77\",\"name\":\"Extract information from an image of a receipt\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mindee\",\"type\":\"n8n-nodes-base.mindee\",\"position\":[650,340],\"parameters\":{},\"credentials\":{\"mindeeReceiptApi\":\"mindee\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,340],\"parameters\":{\"url\":\"https://miro.medium.com/max/1400/0*1T9GkAb93w5NSMsf\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Mindee\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a form is submitted in Wufoo", "output": "{\"id\":\"78\",\"name\":\"Receive updates when a form is submitted in Wufoo\",\"nodes\":[{\"name\":\"Wufoo Trigger\",\"type\":\"n8n-nodes-base.wufooTrigger\",\"position\":[1290,140],\"webhookId\":\"106376c5-b49c-412f-8463-4db23a23c057\",\"parameters\":{\"form\":\"n8n\"},\"credentials\":{\"wufooApi\":\"wufoo\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Get the price of BTC in EUR and send an SMS", "output": "{\"id\":\"79\",\"name\":\"Get the price of BTC in EUR and send an SMS when the price is larger than EUR 9000\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[590,500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"CoinGecko\",\"type\":\"n8n-nodes-base.coinGecko\",\"position\":[790,500],\"parameters\":{\"coinIds\":[\"bitcoin\"],\"options\":{},\"operation\":\"price\",\"currencies\":[\"eur\"]},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[990,500],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"CoinGecko\\\"].json[\\\"bitcoin\\\"][\\\"eur\\\"]}}\",\"value2\":9000,\"operation\":\"largerEqual\"}]}},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[1190,400],\"parameters\":{\"to\":\"1234\",\"from\":\"1234\",\"message\":\"=The price went up! The new price is {{$node[\\\"CoinGecko\\\"].json[\\\"bitcoin\\\"][\\\"eur\\\"]}}\"},\"credentials\":{\"twilioApi\":\"twilio-credentials\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1190,600],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"CoinGecko\",\"type\":\"main\",\"index\":0}]]},\"CoinGecko\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Invite new members to Slack automatically", "output": "{\"id\":\"8\",\"name\":\"slack-workflow\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[410,300],\"parameters\":{\"text\":\"This is an example.\",\"channel\":\"example-channel\",\"blocksUi\":{\"blocksValues\":[]},\"attachments\":[],\"otherOptions\":{},\"authentication\":\"oAuth2\"},\"credentials\":{\"slackOAuth2Api\":\"slack2-oauth2-docker-ivov\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add collaborators to GitHub from Google Sheet", "output": "{\"id\":\"6\",\"name\":\"Add Collaborators to GitHub from Google Sheet\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"=https://api.github.com/repos///collaborators/{{$node[\\\"Google Sheets\\\"].json[\\\"Username\\\"]}}\",\"options\":{},\"requestMethod\":\"PUT\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"User-Agent\",\"value\":\"n8n\"},{\"name\":\"Authorization\",\"value\":\"token \"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[450,300],\"parameters\":{\"range\":\"A:A\",\"options\":{},\"sheetId\":\"YOUR-GOOGLE-SHEET-ID\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheet\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Google Sheets\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage users using the G Suite Admin node", "output": "{\"id\":\"215\",\"name\":\"Create, update, and get a user using the G Suite Admin node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"G Suite Admin\",\"type\":\"n8n-nodes-base.gSuiteAdmin\",\"position\":[440,300],\"parameters\":{\"domain\":\"n8n.io\",\"lastName\":\"Nat\",\"password\":\"sjhdjsdhbajshdb\",\"username\":\"nat\",\"firstName\":\"Nathan\",\"additionalFields\":{}},\"credentials\":{\"gSuiteAdminOAuth2Api\":\"Google\"},\"typeVersion\":1},{\"name\":\"G Suite Admin1\",\"type\":\"n8n-nodes-base.gSuiteAdmin\",\"position\":[640,300],\"parameters\":{\"userId\":\"={{$node[\\\"G Suite Admin\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"lastName\":\"Nate\"}},\"credentials\":{\"gSuiteAdminOAuth2Api\":\"Google\"},\"typeVersion\":1},{\"name\":\"G Suite Admin2\",\"type\":\"n8n-nodes-base.gSuiteAdmin\",\"position\":[840,300],\"parameters\":{\"userId\":\"={{$node[\\\"G Suite Admin\\\"].json[\\\"id\\\"]}}\",\"options\":{},\"operation\":\"get\"},\"credentials\":{\"gSuiteAdminOAuth2Api\":\"Google\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"G Suite Admin\":{\"main\":[[{\"node\":\"G Suite Admin1\",\"type\":\"main\",\"index\":0}]]},\"G Suite Admin1\":{\"main\":[[{\"node\":\"G Suite Admin2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"G Suite Admin\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Google Indexing API test", "output": "{\"id\":\"69\",\"name\":\"Creating your first workflow\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,250],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[450,250],\"parameters\":{\"cityName\":\"berlin,de\"},\"credentials\":{\"openWeatherMapApi\":\"Weather\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,250],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}\",\"value2\":18}]}},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[850,150],\"parameters\":{\"to\":\"\",\"from\":\"\",\"message\":\"=Wear a sweater today, it is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"feels_like\\\"]}}°C outside right now.\"},\"credentials\":{\"twilioApi\":\"Twilio\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[850,350],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Mattermost slash command", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"http://www.lovelyinsults.com/\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[850,300],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"Insult\",\"cssSelector\":\"h2\"},{\"key\":\"Permalink\",\"attribute\":\"data-href\",\"cssSelector\":\".fb-like\",\"returnValue\":\"attribute\"}]}},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"23be397b-fb1f-4f84-8d41-24fbb2f504a2\",\"parameters\":{\"path\":\"23be397b-fb1f-4f84-8d41-24fbb2f504a2\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1300,450],\"parameters\":{\"message\":\"=@{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"user_name\\\"]}} sent an insult to {{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[{\"title\":\"={{$node[\\\"HTML Extract\\\"].json[\\\"Insult\\\"]}}\",\"title_link\":\"={{$node[\\\"HTML Extract\\\"].json[\\\"Permalink\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"chat.electronicmun.org\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Mattermost1\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1300,200],\"parameters\":{\"message\":\"=@{{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"user_name\\\"]}} asked me to send an insult, but didn't tell me who to send it to :man_facepalming:\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[{\"title\":\"={{$node[\\\"HTML Extract\\\"].json[\\\"Insult\\\"]}}\",\"title_link\":\"={{$node[\\\"HTML Extract\\\"].json[\\\"Permalink\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"chat.electronicmun.org\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Mattermost1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Execute a command that gives the hard disk memory used on the host machine", "output": "{\"id\":\"81\",\"name\":\"Execute a command that gives the hard disk memory used on the host machine\",\"nodes\":[{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[670,300],\"parameters\":{\"command\":\"df -k / | tail -1 | awk '{print $5}'\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[470,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9},{\"hour\":16}]}},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[870,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{parseInt($node[\\\"Execute Command\\\"].json[\\\"stdout\\\"])}}\",\"value2\":80,\"operation\":\"larger\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[1070,200],\"parameters\":{\"to\":\"+12345\",\"from\":\"+123\",\"message\":\"=Your hard disk space is filling up fast! Your hard disk is {{$node[\\\"Execute Command\\\"].json[\\\"stdout\\\"]}} full.\"},\"credentials\":{\"twilioApi\":\"twilio-credentials\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1070,400],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]},\"Execute Command\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Calculate execution time of node(s)", "output": "{\"nodes\":[{\"name\":\"Record start time\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"items[0].json.start = new Date().getTime();\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Calculate end time\",\"type\":\"n8n-nodes-base.function\",\"position\":[880,300],\"parameters\":{\"functionCode\":\"items[0].json.executionTime = new Date().getTime() - $node['Record start time'].json.start;\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Replace me\",\"type\":\"n8n-nodes-base.noOp\",\"notes\":\"Add any nodes between \\\"Record Start Time\\\" and \\\"Calculate end time\\\" nodes to calculate these nodes' execution time in ms \",\"position\":[650,300],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Return execution time\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Returned in milliseconds \",\"position\":[1080,300],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"execution time\",\"value\":\"={{$node[\\\"Calculate end time\\\"].json[\\\"executionTime\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"notesInFlow\":true,\"typeVersion\":1}],\"connections\":{\"Replace me\":{\"main\":[[{\"node\":\"Calculate end time\",\"type\":\"main\",\"index\":0}]]},\"Record start time\":{\"main\":[[{\"node\":\"Replace me\",\"type\":\"main\",\"index\":0}]]},\"Calculate end time\":{\"main\":[[{\"node\":\"Return execution time\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a row to Google Sheets on ClickUp task creation", "output": "{\"id\":\"105\",\"name\":\"Create a task in ClickUp\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"ClickUp\",\"type\":\"n8n-nodes-base.clickUp\",\"position\":[450,300],\"parameters\":{\"list\":\"\",\"name\":\"\",\"team\":\"\",\"space\":\"\",\"folder\":\"\",\"additionalFields\":{}},\"credentials\":{\"clickUpApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage contacts in Automizy", "output": "{\"id\":\"82\",\"name\":\"Create a new list, add a new contact to the list, update the contact, and get all contacts in the list\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[290,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Automizy\",\"type\":\"n8n-nodes-base.automizy\",\"position\":[490,260],\"parameters\":{\"name\":\"n8n-docs\",\"resource\":\"list\"},\"credentials\":{\"automizyApi\":\"automizy\"},\"typeVersion\":1},{\"name\":\"Automizy1\",\"type\":\"n8n-nodes-base.automizy\",\"position\":[690,260],\"parameters\":{\"email\":\"example@n8n.io\",\"listId\":\"={{$node[\\\"Automizy\\\"].json[\\\"id\\\"]}}\",\"additionalFields\":{\"status\":\"ACTIVE\"}},\"credentials\":{\"automizyApi\":\"automizy\"},\"typeVersion\":1},{\"name\":\"Automizy2\",\"type\":\"n8n-nodes-base.automizy\",\"position\":[890,260],\"parameters\":{\"email\":\"={{$node[\\\"Automizy1\\\"].json[\\\"email\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"tags\":[\"reviewer\"]}},\"credentials\":{\"automizyApi\":\"automizy\"},\"typeVersion\":1},{\"name\":\"Automizy3\",\"type\":\"n8n-nodes-base.automizy\",\"position\":[1090,260],\"parameters\":{\"listId\":\"={{$node[\\\"Automizy\\\"].json[\\\"id\\\"]}}\",\"operation\":\"getAll\",\"returnAll\":true,\"additionalFields\":{}},\"credentials\":{\"automizyApi\":\"automizy\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Automizy\":{\"main\":[[{\"node\":\"Automizy1\",\"type\":\"main\",\"index\":0}]]},\"Automizy1\":{\"main\":[[{\"node\":\"Automizy2\",\"type\":\"main\",\"index\":0}]]},\"Automizy2\":{\"main\":[[{\"node\":\"Automizy3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Automizy\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates on form submission in Mautic and send SMS notification", "output": "{\"id\":\"13\",\"name\":\"Receive updates when a form is submitted in Mautic, and send a confirmation SMS\",\"nodes\":[{\"name\":\"Mautic Trigger\",\"type\":\"n8n-nodes-base.mauticTrigger\",\"position\":[510,300],\"webhookId\":\"9dce2b84-33fe-4816-ae4b-301c208b5384\",\"parameters\":{\"events\":[\"mautic.form_on_submit\"]},\"credentials\":{\"mauticApi\":\"mautic\"},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[710,300],\"parameters\":{\"to\":\"={{$node[\\\"Mautic Trigger\\\"].json[\\\"mautic.form_on_submit\\\"][0][\\\"submission\\\"][\\\"results\\\"][\\\"phone_number\\\"]}}\",\"from\":\"1234\",\"message\":\"=Hey, {{$node[\\\"Mautic Trigger\\\"].json[\\\"mautic.form_on_submit\\\"][0][\\\"submission\\\"][\\\"results\\\"][\\\"first_name\\\"]}} 👋\\nThank you for signing up for the Webinar - Getting Started with n8n. The webinar will start at 1800 CEST on 31st October 2020.\\nSee you there!\"},\"credentials\":{\"twilioApi\":\"twilio\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Mautic Trigger\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily weather updates to a phone number using the Vonage node", "output": "{\"id\":\"84\",\"name\":\"Send daily weather updates to a phone number using the Vonage node\",\"nodes\":[{\"name\":\"Vonage\",\"type\":\"n8n-nodes-base.vonage\",\"position\":[770,260],\"parameters\":{\"to\":\"1234\",\"from\":\"Vonage APIs\",\"message\":\"=Hey! The temperature outside is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C.\",\"additionalFields\":{}},\"credentials\":{\"vonageApi\":\"vonage\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[370,260],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[570,260],\"parameters\":{\"cityName\":\"berlin\"},\"credentials\":{\"openWeatherMapApi\":\"owm\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Vonage\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage room members in Matrix", "output": "{\"id\":\"83\",\"name\":\"Create a room, invite members from a different room, and send a message in the room we created\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Matrix\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[400,300],\"parameters\":{\"resource\":\"room\",\"roomName\":\"n8n\",\"roomAlias\":\"discussion-n8n\"},\"credentials\":{\"matrixApi\":\"matrix\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[840,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Matrix1\\\"].json[\\\"user_id\\\"]}}\",\"value2\":\"={{$node[\\\"Matrix2\\\"].json[\\\"user_id\\\"]}}\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Matrix3\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[990,200],\"parameters\":{\"roomId\":\"={{$node[\\\"Matrix\\\"].json[\\\"room_id\\\"]}}\",\"userId\":\"={{$node[\\\"IF\\\"].json[\\\"user_id\\\"]}}\",\"resource\":\"room\",\"operation\":\"invite\"},\"credentials\":{\"matrixApi\":\"matrix\"},\"typeVersion\":1},{\"name\":\"Matrix4\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[1140,200],\"parameters\":{\"text\":\"Welcome to n8n!\",\"roomId\":\"={{$node[\\\"Matrix\\\"].json[\\\"room_id\\\"]}}\"},\"credentials\":{\"matrixApi\":\"matrix\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[990,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Matrix1\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[540,300],\"parameters\":{\"resource\":\"account\"},\"credentials\":{\"matrixApi\":\"matrix\"},\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Matrix2\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[690,300],\"parameters\":{\"roomId\":\"!cMUIsUgevrhCoeMkSG:matrix.org\",\"filters\":{},\"resource\":\"roomMember\"},\"credentials\":{\"matrixApi\":\"matrix\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Matrix3\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Matrix\":{\"main\":[[{\"node\":\"Matrix1\",\"type\":\"main\",\"index\":0}]]},\"Matrix1\":{\"main\":[[{\"node\":\"Matrix2\",\"type\":\"main\",\"index\":0}]]},\"Matrix2\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Matrix3\":{\"main\":[[{\"node\":\"Matrix4\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Matrix\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "RSSHubTwitter to TG V1.1", "output": "{\"id\":\"3\",\"name\":\"RssTwitter to TG V1.1\",\"nodes\":[{\"name\":\"0\",\"type\":\"n8n-nodes-base.if\",\"position\":[490,460],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":1}]}},\"typeVersion\":1},{\"name\":\"1\",\"type\":\"n8n-nodes-base.if\",\"position\":[680,460],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":2},{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"operation\":\"larger\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"2\",\"type\":\"n8n-nodes-base.if\",\"position\":[870,460],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":3},{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":1,\"operation\":\"larger\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"3\",\"type\":\"n8n-nodes-base.if\",\"position\":[1060,460],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":4},{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":2,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"4\",\"type\":\"n8n-nodes-base.if\",\"position\":[1250,460],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":5},{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":3,\"operation\":\"larger\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[450,100],\"parameters\":{},\"typeVersion\":1},{\"name\":\"写入图片的属性\",\"type\":\"n8n-nodes-base.function\",\"position\":[760,250],\"parameters\":{\"functionCode\":\"function imgList(items) {\\n for (let i = 0; i < items.length; i++) {\\n const item = items[i];\\n let imgReg = /|\\\\/>)/gsi //匹配图片中的img标签\\n let srcReg = /src=[\\\\'\\\\\\\"]?([^\\\\'\\\\\\\"]*)[\\\\'\\\\\\\"]?/i // 匹配图片中的src\\n let str = item.json.content\\n let arr = str.match(imgReg) //筛选出所有的img\\n let srcArr = []\\n let srcArr2 = []\\n if (arr !== null) {\\n for (let i = 0; i < arr.length; i++) {\\n let src = arr[i].match(srcReg)\\n // 获取图片地址\\n srcArr.push(src[1])\\n srcArr2.push(src[1].replace(\\\"&name=orig\\\", \\\"\\\"))\\n }\\n item.json.arrlength = arr.length;\\n item.json.imgList = srcArr;\\n item.json.imgList2 = srcArr2;\\n } else {\\n item.json.arrlength = 0;\\n }\\n }\\n}\\nimgList(items)\\nreturn items;\\n\\n\"},\"typeVersion\":1},{\"name\":\"推送URL\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[490,660],\"parameters\":{\"text\":\"={{$json[\\\"link\\\"]}}\\n{{$json[\\\"title\\\"]}}\",\"chatId\":\"TG-ID(个人、频道和群组都可以,具体@getmyid_bot 获取)\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"你的BOT(具体@BotFather 创建)\"},\"notesInFlow\":false,\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":5000},{\"name\":\"发送1张图片\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[680,660],\"parameters\":{\"file\":\"={{$node[\\\"1\\\"].json[\\\"imgList\\\"][0]}}\",\"chatId\":\"TG-ID(个人、频道和群组都可以,具体@getmyid_bot 获取)\",\"operation\":\"sendPhoto\",\"additionalFields\":{\"caption\":\"={{$json[\\\"link\\\"]}}\\n{{$json[\\\"title\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"你的BOT(具体@BotFather 创建)\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":5000},{\"name\":\"发送2张图片\",\"type\":\"n8n-nodes-base.telegram\",\"notes\":\"无图片\",\"position\":[870,660],\"parameters\":{\"media\":{\"media\":[{\"media\":\"={{$node[\\\"2\\\"].json[\\\"imgList\\\"][0]}}\",\"additionalFields\":{}},{\"media\":\"={{$json[\\\"imgList\\\"][1]}}\",\"additionalFields\":{\"caption\":\"={{$json[\\\"link\\\"]}}\\n{{$json[\\\"title\\\"]}}\"}}]},\"chatId\":\"TG-ID(个人、频道和群组都可以,具体@getmyid_bot 获取)\",\"operation\":\"sendMediaGroup\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"你的BOT(具体@BotFather 创建)\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":5000},{\"name\":\"发送3张图片\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1060,660],\"parameters\":{\"media\":{\"media\":[{\"media\":\"={{$node[\\\"3\\\"].json[\\\"imgList\\\"][0]}}\",\"additionalFields\":{}},{\"media\":\"={{$node[\\\"3\\\"].json[\\\"imgList\\\"][1]}}\",\"additionalFields\":{}},{\"media\":\"={{$node[\\\"3\\\"].json[\\\"imgList\\\"][2]}}\",\"additionalFields\":{\"caption\":\"={{$json[\\\"link\\\"]}}\\n{{$json[\\\"title\\\"]}}\"}}]},\"chatId\":\"TG-ID(个人、频道和群组都可以,具体@getmyid_bot 获取)\",\"operation\":\"sendMediaGroup\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"你的BOT(具体@BotFather 创建)\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"发送4张图片\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1250,660],\"parameters\":{\"media\":{\"media\":[{\"media\":\"={{$node[\\\"4\\\"].json[\\\"imgList\\\"][0]}}\",\"additionalFields\":{}},{\"media\":\"={{$node[\\\"4\\\"].json[\\\"imgList\\\"][1]}}\",\"additionalFields\":{}},{\"media\":\"={{$node[\\\"4\\\"].json[\\\"imgList\\\"][2]}}\",\"additionalFields\":{}},{\"media\":\"={{$node[\\\"4\\\"].json[\\\"imgList\\\"][3]}}\",\"additionalFields\":{\"caption\":\"={{$json[\\\"link\\\"]}}\\n{{$json[\\\"title\\\"]}}\"}}]},\"chatId\":\"TG-ID(个人、频道和群组都可以,具体@getmyid_bot 获取)\",\"operation\":\"sendMediaGroup\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"你的BOT(具体@BotFather 创建)\"},\"retryOnFail\":true,\"typeVersion\":1,\"continueOnFail\":true,\"waitBetweenTries\":5000},{\"name\":\"大于4\",\"type\":\"n8n-nodes-base.if\",\"position\":[1250,250],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"写入图片的属性\\\"].json[\\\"arrlength\\\"]}}\",\"value2\":4,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[610,250],\"parameters\":{\"url\":\"=https://rsshub.app/twitter/keyword/%E5%8E%9F%E7%A5%9E%20min_faves:5%20min_retweets:5\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1060,250],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"AddID\\\"].json[\\\"id\\\"]}}\",\"value2\":\"NaN\",\"operation\":\"notEqual\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Cron1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,250],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":3}]}},\"typeVersion\":1},{\"name\":\"AddID\",\"type\":\"n8n-nodes-base.function\",\"position\":[910,250],\"parameters\":{\"functionCode\":\"// Get the global workflow static data\\nconst staticData = getWorkflowStaticData('global');\\n\\n// Access its data\\nconst lastRssId = staticData.lastRssId\\n\\nlet list = []\\n\\n\\nfor (const item of $items(\\\"写入图片的属性\\\")){\\n let currentId = item.json[\\\"guid\\\"].split('/').pop()\\n if(currentId == lastRssId) break;\\n list.push({'json': {\\n 'id': currentId,\\n 'lastId': lastRssId,\\n 'title': item.json[\\\"title\\\"],\\n 'url': item.json[\\\"link\\\"],\\n 'creator': item.json[\\\"creator\\\"],\\n 'link': item.json[\\\"link\\\"],\\n 'pubDate': item.json[\\\"pubDate\\\"],\\n 'author': item.json[\\\"author\\\"],\\n 'content': item.json[\\\"content\\\"],\\n 'contentSnippet': item.json[\\\"contentSnippet\\\"],\\n 'guid': item.json[\\\"guid\\\"],\\n 'isoDate': item.json[\\\"isoDate\\\"],\\n 'arrlength': item.json[\\\"arrlength\\\"],\\n 'imgList': item.json[\\\"imgList\\\"],\\n 'imgList2': item.json[\\\"imgList2\\\"]\\n }})\\n}\\n\\n\\n// Get the last ID from Rss Feed\\nlet currentRssId = $item(0).$node[\\\"写入图片的属性\\\"].json[\\\"guid\\\"].split('/').pop()\\n\\n// TODO: make a loop to get all the items beyond the last saved id\\nif(!lastRssId || currentRssId != lastRssId)\\n{ \\n // Update its data\\n staticData.lastRssId = currentRssId;\\n \\n}\\nelse { list = [{'json':{'id': 'NaN', 'lastId': staticData.lastRssId }}] }\\nreturn list;\\n\\n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"0\":{\"main\":[[{\"node\":\"推送URL\",\"type\":\"main\",\"index\":0}]]},\"1\":{\"main\":[[{\"node\":\"发送1张图片\",\"type\":\"main\",\"index\":0}]]},\"2\":{\"main\":[[{\"node\":\"发送2张图片\",\"type\":\"main\",\"index\":0}]]},\"3\":{\"main\":[[{\"node\":\"发送3张图片\",\"type\":\"main\",\"index\":0}]]},\"4\":{\"main\":[[{\"node\":\"发送4张图片\",\"type\":\"main\",\"index\":0}]]},\"IF\":{\"main\":[[{\"node\":\"大于4\",\"type\":\"main\",\"index\":0},{\"node\":\"0\",\"type\":\"main\",\"index\":0},{\"node\":\"1\",\"type\":\"main\",\"index\":0},{\"node\":\"2\",\"type\":\"main\",\"index\":0},{\"node\":\"3\",\"type\":\"main\",\"index\":0},{\"node\":\"4\",\"type\":\"main\",\"index\":0}]]},\"AddID\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"大于4\":{\"main\":[[{\"node\":\"推送URL\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"写入图片的属性\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"写入图片的属性\":{\"main\":[[{\"node\":\"AddID\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send automated campaigns in Sendy", "output": "{\"id\":\"14\",\"name\":\"Add a subscriber to a list and create and send a campaign\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Sendy\",\"type\":\"n8n-nodes-base.sendy\",\"position\":[450,300],\"parameters\":{\"email\":\"harshil@n8n.io\",\"listId\":\"2\",\"additionalFields\":{\"name\":\"Harshil\"}},\"credentials\":{\"sendyApi\":\"sendy\"},\"typeVersion\":1},{\"name\":\"Sendy1\",\"type\":\"n8n-nodes-base.sendy\",\"position\":[650,300],\"parameters\":{\"title\":\"Welcome to n8n\",\"replyTo\":\"docs@n8n.io\",\"subject\":\"Welcome to n8n\",\"fromName\":\"n8n\",\"htmlText\":\"\\n

    Hey!

    \\n

    Welcome to n8n!

    \\n\",\"resource\":\"campaign\",\"fromEmail\":\"docs@n8n.io\",\"sendCampaign\":true,\"additionalFields\":{\"listIds\":\"2\"}},\"credentials\":{\"sendyApi\":\"sendy\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Sendy\":{\"main\":[[{\"node\":\"Sendy1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Sendy\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a board, lists, and a card in Wekan", "output": "{\"name\":\"\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[450,450],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Wekan\",\"type\":\"n8n-nodes-base.wekan\",\"position\":[650,450],\"parameters\":{\"owner\":\"c4nzTEvSwGPBxKTCc\",\"title\":\"Documentation\",\"resource\":\"board\",\"additionalFields\":{}},\"credentials\":{\"wekanApi\":\"wekan-trial\"},\"typeVersion\":1},{\"name\":\"Wekan1\",\"type\":\"n8n-nodes-base.wekan\",\"position\":[850,450],\"parameters\":{\"title\":\"To Do\",\"boardId\":\"={{$node[\\\"Wekan\\\"].json[\\\"_id\\\"]}}\",\"resource\":\"list\"},\"credentials\":{\"wekanApi\":\"wekan-trial\"},\"typeVersion\":1},{\"name\":\"Wekan2\",\"type\":\"n8n-nodes-base.wekan\",\"position\":[1050,450],\"parameters\":{\"title\":\"Done\",\"boardId\":\"={{$node[\\\"Wekan\\\"].json[\\\"_id\\\"]}}\",\"resource\":\"list\"},\"credentials\":{\"wekanApi\":\"wekan-trial\"},\"typeVersion\":1},{\"name\":\"Wekan3\",\"type\":\"n8n-nodes-base.wekan\",\"position\":[1250,450],\"parameters\":{\"title\":\"Document Wekan node\",\"listId\":\"={{$node[\\\"Wekan1\\\"].json[\\\"_id\\\"]}}\",\"boardId\":\"={{$node[\\\"Wekan\\\"].json[\\\"_id\\\"]}}\",\"authorId\":\"c4nzTEvSwGPBxKTCc\",\"swimlaneId\":\"LDTcBp9fvmjSsSB69\",\"additionalFields\":{}},\"credentials\":{\"wekanApi\":\"wekan-trial\"},\"typeVersion\":1},{\"name\":\"Wekan4\",\"type\":\"n8n-nodes-base.wekan\",\"position\":[1450,450],\"parameters\":{\"cardId\":\"={{$node[\\\"Wekan3\\\"].json[\\\"_id\\\"]}}\",\"listId\":\"={{$node[\\\"Wekan1\\\"].json[\\\"_id\\\"]}}\",\"boardId\":\"={{$node[\\\"Wekan\\\"].json[\\\"_id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"listId\":\"={{$node[\\\"Wekan2\\\"].json[\\\"_id\\\"]}}\"}},\"credentials\":{\"wekanApi\":\"wekan-trial\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Wekan\":{\"main\":[[{\"node\":\"Wekan1\",\"type\":\"main\",\"index\":0}]]},\"Wekan1\":{\"main\":[[{\"node\":\"Wekan2\",\"type\":\"main\",\"index\":0}]]},\"Wekan2\":{\"main\":[[{\"node\":\"Wekan3\",\"type\":\"main\",\"index\":0}]]},\"Wekan3\":{\"main\":[[{\"node\":\"Wekan4\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Wekan\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transfer users from MongoDB to Google Sheets", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,270],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[660,270],\"parameters\":{\"collection\":\"rocketchat_taggedmessages\"},\"credentials\":{\"mongoDb\":\"MyMongo\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[810,270],\"parameters\":{\"range\":\"A:E\",\"options\":{},\"sheetId\":\"1WtTkeXno2-wMwohgKeM3nleZtxqQpqIdqZ3Khdn3G9w\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"test api\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"MongoDB\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage attendee registrations and send emails", "output": "{\"nodes\":[{\"name\":\"Attendee Registrations\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[400,300],\"webhookId\":\"6314f4db-12ca-4c5e-a6c5-062bb0437734\",\"parameters\":{\"formId\":\"RknoIFsl\"},\"credentials\":{\"typeformApi\":\"Typeform Burner Account\"},\"typeVersion\":1},{\"name\":\"Add to Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[600,300],\"parameters\":{\"range\":\"Attendees!A:F\",\"options\":{},\"sheetId\":\"1nlnsTQKGgQZN-Rtd07K9bn0ROm0aFBC2O4kzM2YaTBI\",\"operation\":\"append\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheets\"},\"typeVersion\":1},{\"name\":\"Create Account\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[800,300],\"parameters\":{\"email\":\"={{$json[\\\"And what's your email address?\\\"]}}\",\"password\":\"=P!_{{$json[\\\"And what's your email address?\\\"].split(\\\" \\\").join(\\\"\\\")}}-{{new Date().getHours()}}{{new Date().getDate()}}\",\"resource\":\"user\",\"username\":\"={{$json[\\\"Great, can we get your full name?\\\"].split(\\\" \\\").join(\\\"\\\")}}-{{new Date().getHours()}}\",\"operation\":\"create\",\"authService\":\"email\",\"additionalFields\":{\"first_name\":\"={{$json[\\\"Great, can we get your full name?\\\"]}}\"}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Add to team\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1000,300],\"parameters\":{\"emails\":\"={{$node[\\\"Attendee Registrations\\\"].json[\\\"And what's your email address?\\\"]}}\",\"teamId\":\"ee3ddsn98i8d3xizkcttras5nw\",\"resource\":\"user\",\"operation\":\"invite\"},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Array to Rows\",\"type\":\"n8n-nodes-base.function\",\"position\":[1200,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nfor (let i=0;i<$node[\\\"Attendee Registrations\\\"].json[\\\"Which sessions would you like to attend?\\\"].length;i++) {\\n\\tnewItems.push({\\n \\tjson: {\\n \\tSession: $node[\\\"Attendee Registrations\\\"].json[\\\"Which sessions would you like to attend?\\\"][i]\\n }\\n });\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Get Session Details\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1200,500],\"parameters\":{\"range\":\"Sessions!A:F\",\"options\":{},\"sheetId\":\"1nlnsTQKGgQZN-Rtd07K9bn0ROm0aFBC2O4kzM2YaTBI\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheets\"},\"typeVersion\":1},{\"name\":\"Merge Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1376,422],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Session\",\"propertyName2\":\"Session\"},\"typeVersion\":1},{\"name\":\"Add to channels\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1576,422],\"parameters\":{\"userId\":\"={{$node[\\\"Create Account\\\"].json[\\\"id\\\"]}}\",\"resource\":\"channel\",\"channelId\":\"={{$json[\\\"Mattermost Channel ID\\\"]}}\",\"operation\":\"addUser\"},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Add to Event\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[1776,422],\"parameters\":{\"eventId\":\"={{$node[\\\"Merge Data\\\"].json[\\\"Google Calendar Event ID\\\"]}}\",\"calendar\":\"3ne32v2nlrrd2l3624v5qpg6qk@group.calendar.google.com\",\"operation\":\"update\",\"updateFields\":{\"attendees\":[\"={{$node[\\\"Attendee Registrations\\\"].json[\\\"And what's your email address?\\\"]}}\"]}},\"credentials\":{\"googleCalendarOAuth2Api\":\"Google Calendar Credentials\"},\"typeVersion\":1},{\"name\":\"Welcome Email\",\"type\":\"n8n-nodes-base.gmail\",\"position\":[1976,422],\"parameters\":{\"toList\":[\"={{$node[\\\"Attendee Registrations\\\"].json[\\\"And what's your email address?\\\"]}}\"],\"message\":\"=Dear {{$node[\\\"Attendee Registrations\\\"].json[\\\"Great, can we get your full name?\\\"]}},\\n\\nWelcome to n8nConf, the world's largest no-code automation conference!\\n\\nThis email is to confirm your registration to the following sessions:\\n- {{$node[\\\"Attendee Registrations\\\"].json[\\\"Which sessions would you like to attend?\\\"].join('\\\\n- ')}}\\n\\nYou should receive Google Calendar invites to these events on your email. Please consult those for the Google Meet joining information.\\n\\nYou can also interact with the rest of the community via our Mattermost chat. We created an account just for you!\\nLook for the channel corresponding to your session to join the discussion!\\n\\nLogin URL: https://mm.failedmachine.com/\\nUsername: {{$node[\\\"Create Account\\\"].json[\\\"username\\\"]}}\\nPassword: {{$node[\\\"Create Account\\\"].parameter[\\\"password\\\"]}}\\n\\nRemember to change your password immediately after your first login!\\n\\nIf you have any troubles with joining the event, or using the chat rooms; please feel free to let us know on support@n8nconf.com\\n\\nWe look forward to your participation!\\n\\nBest,\\nTeam n8n\",\"subject\":\"Welcome to n8nConf\",\"resource\":\"message\",\"additionalFields\":{}},\"credentials\":{\"gmailOAuth2\":\"gmail\"},\"typeVersion\":1}],\"connections\":{\"Merge Data\":{\"main\":[[{\"node\":\"Add to channels\",\"type\":\"main\",\"index\":0}]]},\"Add to team\":{\"main\":[[{\"node\":\"Array to Rows\",\"type\":\"main\",\"index\":0}]]},\"Add to Event\":{\"main\":[[{\"node\":\"Welcome Email\",\"type\":\"main\",\"index\":0}]]},\"Add to Sheets\":{\"main\":[[{\"node\":\"Create Account\",\"type\":\"main\",\"index\":0}]]},\"Array to Rows\":{\"main\":[[{\"node\":\"Merge Data\",\"type\":\"main\",\"index\":0}]]},\"Create Account\":{\"main\":[[{\"node\":\"Add to team\",\"type\":\"main\",\"index\":0}]]},\"Add to channels\":{\"main\":[[{\"node\":\"Add to Event\",\"type\":\"main\",\"index\":0}]]},\"Get Session Details\":{\"main\":[[{\"node\":\"Merge Data\",\"type\":\"main\",\"index\":1}]]},\"Attendee Registrations\":{\"main\":[[{\"node\":\"Add to Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send feedback from Google Sheets to Mattermost", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"0 0 17 28 9 *\"}]}},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[650,300],\"parameters\":{\"range\":\"Sessions!A:D\",\"options\":{},\"sheetId\":\"1nlnsTQKGgQZN-Rtd07K9bn0ROm0aFBC2O4kzM2YaTBI\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"n8ndocsburner-googlesheets\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[850,300],\"parameters\":{\"message\":\"= Hey @channel, we hope you had a great time at **{{$node[\\\"Google Sheets\\\"].json[\\\"Session\\\"]}}**.\\nLet us know how we did by sharing your feedback with us on the link below!\",\"channelId\":\"={{$node[\\\"Google Sheets\\\"].json[\\\"Mattermost Channel ID\\\"]}}\",\"attachments\":[{\"title\":\"=Feedback Form - {{$node[\\\"Google Sheets\\\"].json[\\\"Session\\\"]}}\",\"title_link\":\"={{$node[\\\"Google Sheets\\\"].json[\\\"Feedback Form Link\\\"]}}\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"mm_failedmachine\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Google Sheets\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Auto-Notify on New Major n8n Releases via RSS, Email & Telegram", "output": "{\"id\":\"33\",\"name\":\"n8n_check\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-520,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[-320,260],\"parameters\":{\"url\":\"https://github.com/n8n-io/n8n/releases.atom\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[70,260],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Filter by current day\\\"].json[\\\"data\\\"]}}\",\"value2\":\"/.+/\",\"operation\":\"regex\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-520,421],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"0 0 10,14,18 * * *\"}]}},\"typeVersion\":1},{\"name\":\"Filter by current day\",\"type\":\"n8n-nodes-base.function\",\"position\":[-120,260],\"parameters\":{\"functionCode\":\"var d = new Date();\\nvar year = d.getFullYear();\\nvar month = d.getMonth() + 1;\\nvar day = d.getDate();\\nvar hour = d.getHours() - 4;//Publication in last 4 hours\\n\\nmonth = month < 10 ? \\\"0\\\" + month : month;\\nday = day < 10 ? \\\"0\\\" + day : day;\\nhour = hour < 10 ? \\\"0\\\" + hour : hour;\\n\\nvar lines = items.filter(function(item) {\\n //var str = year + \\\"-\\\" + month + \\\"-\\\" + day + \\\"T\\\" + hour;\\n var str = year + \\\"-\\\" + month + \\\"-\\\" + day + \\\"T\\\" + hour;\\n //return true;//item.json.pubDate.indexOf(str) !== -1 && item.json.title.indexOf(\\\"n8n@\\\") !== -1;\\n return item.json.pubDate.indexOf(str) !== -1 && item.json.title.indexOf(\\\"n8n@\\\") !== -1 && item.json.title.indexOf(\\\".0\\\") !== -1;\\n}).map(function(item) {\\n return item.json.title;\\n}).join(\\\"\\\\n\\\");\\n\\n\\nreturn [\\n {\\n json: {\\n date: year + \\\"-\\\" + month + \\\"-\\\" + day + \\\" \\\" + hour,\\n data: lines && lines.length ? \\\"New release on n8n:\\\\n\\\" + lines : \\\"\\\"\\n }\\n }\\n]\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[300,280],\"parameters\":{\"text\":\"={{$node[\\\"Filter by current day\\\"].json[\\\"data\\\"]}}\",\"chatId\":\"-1001235337538\",\"additionalFields\":{\"parse_mode\":\"HTML\"}},\"credentials\":{\"telegramApi\":\"it-killia-bot\"},\"typeVersion\":1},{\"name\":\"AWS SES\",\"type\":\"n8n-nodes-base.awsSes\",\"position\":[300,110],\"parameters\":{\"body\":\"={{$node[\\\"Filter by current day\\\"].json[\\\"data\\\"]}}\",\"subject\":\"New n8n version\",\"fromEmail\":\"myemail@mydomain.com\",\"isBodyHtml\":true,\"toAddresses\":[\"myemail@mydomain.com\"],\"additionalFields\":{}},\"credentials\":{\"aws\":\"ses\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0},{\"node\":\"AWS SES\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Filter by current day\",\"type\":\"main\",\"index\":0}]]},\"Filter by current day\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get information about the weather for any city", "output": "{\"nodes\":[{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[870,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"tempC\",\"value\":\"={{$json[\\\"main\\\"][\\\"temp\\\"]}}\"},{\"name\":\"humidity\",\"value\":\"={{$json[\\\"main\\\"][\\\"humidity\\\"]}}\"},{\"name\":\"windspeed\",\"value\":\"={{$json[\\\"wind\\\"][\\\"speed\\\"]}}\"},{\"name\":\"description\",\"value\":\"={{$json[\\\"weather\\\"][0][\\\"description\\\"]}}\"},{\"name\":\"city\",\"value\":\"={{$json[\\\"name\\\"]}}, {{$json[\\\"sys\\\"][\\\"country\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[650,300],\"parameters\":{\"cityName\":\"={{$json[\\\"body\\\"][\\\"city\\\"]}}\"},\"credentials\":{\"openWeatherMapApi\":\"open-weather-map\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"39f1b81f-f538-4b94-8788-29180d5e4016\",\"parameters\":{\"path\":\"39f1b81f-f538-4b94-8788-29180d5e4016\",\"options\":{},\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Store and send information about the weather for any city via SMS", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"39f1b81f-f538-4b94-8788-29180d5e4016\",\"parameters\":{\"path\":\"39f1b81f-f538-4b94-8788-29180d5e4016\",\"options\":{\"rawBody\":true},\"httpMethod\":\"POST\",\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Webhook Workflow Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"body\\\"][\\\"name\\\"]}}\"},{\"name\":\"Number\",\"value\":\"={{$json[\\\"body\\\"][\\\"number\\\"]}}\"},{\"name\":\"City\",\"value\":\"={{$json[\\\"body\\\"][\\\"city\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[850,300],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[1050,300],\"parameters\":{\"cityName\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"city\\\"]}}\"},\"credentials\":{\"openWeatherMapApi\":\"open-weather-map\"},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[1250,300],\"parameters\":{\"to\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"number\\\"]}}\",\"message\":\"=The weather in {{$json[\\\"name\\\"]}}, {{$json[\\\"sys\\\"][\\\"country\\\"]}} is {{$json[\\\"main\\\"][\\\"temp\\\"]}} ℃ with {{$json[\\\"weather\\\"][0][\\\"description\\\"]}}. Humidity is {{$json[\\\"main\\\"][\\\"humidity\\\"]}} and windspeed is {{$json[\\\"wind\\\"][\\\"speed\\\"]}}.\"},\"credentials\":{\"twilioApi\":\"twilio\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Detect and store the information about a purchase using the image of a receipt", "output": "{\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,300],\"webhookId\":\"39f1b81f-f538-4b94-8788-29180d5e4016\",\"parameters\":{\"path\":\"39f1b81f-f538-4b94-8788-29180d5e4016\",\"options\":{\"binaryData\":true},\"httpMethod\":\"POST\",\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\",\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Webhook Workflow Credentials\"},\"typeVersion\":1},{\"name\":\"Mindee\",\"type\":\"n8n-nodes-base.mindee\",\"position\":[650,300],\"parameters\":{\"binaryPropertyName\":\"receipt\"},\"credentials\":{\"mindeeReceiptApi\":\"expense-tracker\"},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[850,300],\"parameters\":{\"table\":\"Receipt\",\"fields\":[\"category\",\"date\",\"currency\",\"locale\",\"merchant\",\"time\",\"total\"],\"options\":{},\"operation\":\"append\",\"application\":\"appThOr4e97XjXcDu\",\"addAllFields\":false},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1050,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"data\",\"value\":\"={{$json[\\\"fields\\\"]}}\"},{\"name\":\"message\",\"value\":\"=You spent {{$json[\\\"fields\\\"][\\\"currency\\\"]}} {{$json[\\\"fields\\\"][\\\"total\\\"]}} on {{$json[\\\"fields\\\"][\\\"category\\\"]}} at {{$json[\\\"fields\\\"][\\\"merchant\\\"]}} on {{$json[\\\"fields\\\"][\\\"date\\\"]}} at {{$json[\\\"fields\\\"][\\\"time\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"Mindee\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Mindee\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily weather updates via push notification", "output": "{\"id\":\"91\",\"name\":\"Send daily weather updates via a push notification\",\"nodes\":[{\"name\":\"Pushover\",\"type\":\"n8n-nodes-base.pushover\",\"position\":[970,300],\"parameters\":{\"message\":\"=Hey! The temperature outside is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C.\",\"userKey\":\"\",\"priority\":0,\"additionalFields\":{\"title\":\"Today's Weather\"}},\"credentials\":{\"pushoverApi\":\"pushover\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[570,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[770,300],\"parameters\":{\"cityName\":\"berlin\"},\"credentials\":{\"openWeatherMapApi\":\"owm\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Pushover\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Extract infromation from a receipt and store it in Airtable", "output": "{\"id\":\"55\",\"name\":\"Expense Tracker App\",\"nodes\":[{\"name\":\"Get Receipt\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[450,300],\"webhookId\":\"b51cc683-1ef6-412f-9885-91e65f151cc0\",\"parameters\":{\"formId\":\"\"},\"credentials\":{\"typeformApi\":\"\"},\"typeVersion\":1},{\"name\":\"Get Image\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"={{$node[\\\"Get Receipt\\\"].json[\\\"Upload receipt\\\"]}}\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Extract Information\",\"type\":\"n8n-nodes-base.mindee\",\"position\":[850,300],\"parameters\":{},\"credentials\":{\"mindeeReceiptApi\":\"\"},\"typeVersion\":1},{\"name\":\"Set Information\",\"type\":\"n8n-nodes-base.set\",\"position\":[1050,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Amount\",\"value\":\"={{$node[\\\"Extract Information\\\"].json[\\\"total\\\"]}}\"}],\"string\":[{\"name\":\"Merchant\",\"value\":\"={{$node[\\\"Extract Information\\\"].json[\\\"merchant\\\"]}}\"},{\"name\":\"Date\",\"value\":\"={{$node[\\\"Extract Information\\\"].json[\\\"date\\\"]}}\"},{\"name\":\"Time\",\"value\":\"={{$node[\\\"Extract Information\\\"].json[\\\"time\\\"]}}\"},{\"name\":\"Receipt URL\",\"value\":\"={{$node[\\\"Get Receipt\\\"].json[\\\"Upload receipt\\\"]}}\"},{\"name\":\"Category\",\"value\":\"={{$node[\\\"Extract Information\\\"].json[\\\"category\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Store Information\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1250,300],\"parameters\":{\"table\":\"Expenses\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Get Image\":{\"main\":[[{\"node\":\"Extract Information\",\"type\":\"main\",\"index\":0}]]},\"Get Receipt\":{\"main\":[[{\"node\":\"Get Image\",\"type\":\"main\",\"index\":0}]]},\"Set Information\":{\"main\":[[{\"node\":\"Store Information\",\"type\":\"main\",\"index\":0}]]},\"Extract Information\":{\"main\":[[{\"node\":\"Set Information\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Translate text from English to German", "output": "{\"id\":\"92\",\"name\":\"Translate text from English to German\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Translate\",\"type\":\"n8n-nodes-base.googleTranslate\",\"position\":[470,300],\"parameters\":{\"text\":\"Hello from n8n!\",\"translateTo\":\"de\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleTranslateOAuth2Api\":\"google-translate\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Translate\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get activity in Strava", "output": "{\"id\":\"93\",\"name\":\"Create, update, and get activity in Strava\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Strava\",\"type\":\"n8n-nodes-base.strava\",\"position\":[470,340],\"parameters\":{\"name\":\"Morning Run\",\"type\":\"Run\",\"startDate\":\"2020-10-01T18:30:00.000Z\",\"elapsedTime\":3600,\"additionalFields\":{\"distance\":1000}},\"credentials\":{\"stravaOAuth2Api\":\"strava\"},\"typeVersion\":1},{\"name\":\"Strava1\",\"type\":\"n8n-nodes-base.strava\",\"position\":[670,340],\"parameters\":{\"operation\":\"update\",\"activityId\":\"={{$node[\\\"Strava\\\"].json[\\\"id\\\"]}}\",\"updateFields\":{\"description\":\"Morning run in the park\"}},\"credentials\":{\"stravaOAuth2Api\":\"strava\"},\"typeVersion\":1},{\"name\":\"Strava2\",\"type\":\"n8n-nodes-base.strava\",\"position\":[870,340],\"parameters\":{\"operation\":\"get\",\"activityId\":\"={{$node[\\\"Strava\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"stravaOAuth2Api\":\"strava\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Strava\":{\"main\":[[{\"node\":\"Strava1\",\"type\":\"main\",\"index\":0}]]},\"Strava1\":{\"main\":[[{\"node\":\"Strava2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Strava\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a new activity gets created and tweet about it", "output": "{\"id\":\"95\",\"name\":\"Receive updates when a new activity gets created and tweet about it\",\"nodes\":[{\"name\":\"Strava Trigger\",\"type\":\"n8n-nodes-base.stravaTrigger\",\"position\":[710,220],\"webhookId\":\"5ad7a644-4005-4118-a27e-7112bd0035a5\",\"parameters\":{\"event\":\"create\",\"object\":\"activity\",\"options\":{}},\"credentials\":{\"stravaOAuth2Api\":\"strava\"},\"typeVersion\":1},{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[910,220],\"parameters\":{\"text\":\"=I ran {{$node[\\\"Strava Trigger\\\"].json[\\\"object_data\\\"][\\\"distance\\\"]}} meters and completed my {{$node[\\\"Strava Trigger\\\"].json[\\\"object_data\\\"][\\\"name\\\"]}}!\",\"additionalFields\":{}},\"credentials\":{\"twitterOAuth1Api\":\"twitter-Harshil\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Strava Trigger\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Detect a face from an image", "output": "{\"id\":\"26\",\"name\":\"Detect a face from an image\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"AWS Rekognition\",\"type\":\"n8n-nodes-base.awsRekognition\",\"position\":[650,300],\"parameters\":{\"binaryData\":true,\"additionalFields\":{}},\"credentials\":{\"aws\":\"aws-rekognition\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,300],\"parameters\":{\"url\":\"https://n8n.io/_nuxt/img/04c67e5.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"AWS Rekognition\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Export executions to Logstash", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[260,-390],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Executions\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[970,180],\"parameters\":{\"url\":\"={{$node[\\\"Init\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}/rest/executions/?limit=100&firstId={{$node[\\\"Get static data\\\"].json[\\\"lastExecutionId\\\"]}}\",\"options\":{},\"jsonParameters\":true,\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Init\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"n8nEndpoint\",\"value\":\"http://localhost:5678\"},{\"name\":\"logstashEndpoint\",\"value\":\"=http://localhost:5001\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Get Executions Details\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1540,-140],\"parameters\":{\"url\":\"={{$node[\\\"Init\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}/rest/executions/{{$json[\\\"id\\\"]}}?unflattedResponse=1\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Push to Logstash\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1770,-140],\"parameters\":{\"url\":\"={{$node[\\\"Init\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}/n8nExecution/{{$json[\\\"data\\\"][\\\"id\\\"]}}\",\"options\":{},\"requestMethod\":\"PUT\",\"jsonParameters\":true,\"responseFormat\":\"string\",\"bodyParametersJson\":\"={{$json[\\\"data\\\"]}}\"},\"typeVersion\":1},{\"name\":\"Transform to table\",\"type\":\"n8n-nodes-base.function\",\"position\":[1160,180],\"parameters\":{\"functionCode\":\"const returnItems = [];\\n\\nfor (const item of $node[\\\"Get Executions\\\"].json[\\\"data\\\"][\\\"results\\\"]) {\\n if(item.workflowId != $workflow.id) {\\n returnItems.push({json: item});\\n }\\n}\\n\\nreturn returnItems;\\n\"},\"typeVersion\":1},{\"name\":\"Store static data\",\"type\":\"n8n-nodes-base.function\",\"position\":[2200,-150],\"parameters\":{\"functionCode\":\"// Get the global workflow static data\\nconst staticData = getWorkflowStaticData('global');\\n\\n// Update its data\\nstaticData.lastExecutionId= $node[\\\"Transform to table\\\"].json['id'];\\n\\nvar returnItems = [];\\n\\nreturnItems.push({\\\"json\\\":staticData});\\n\\nreturn returnItems;\\n\"},\"typeVersion\":1},{\"name\":\"Get static data\",\"type\":\"n8n-nodes-base.function\",\"position\":[590,180],\"parameters\":{\"functionCode\":\"// Get the global workflow static data\\nconst staticData = getWorkflowStaticData('global');\\n\\nvar returnItems = [];\\n\\nreturnItems.push({\\\"json\\\": staticData});\\n\\nreturn returnItems;\\n\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,-140],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":5}]}},\"typeVersion\":1},{\"name\":\"IF already running\",\"type\":\"n8n-nodes-base.if\",\"position\":[880,-270],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"= {{$json[\\\"runningWorkflows\\\"]}}\",\"value2\":1,\"operation\":\"larger\"}],\"string\":[],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1070,-290],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[1750,180],\"parameters\":{\"options\":{},\"batchSize\":2},\"typeVersion\":1},{\"name\":\"IF no more batches\",\"type\":\"n8n-nodes-base.if\",\"position\":[1930,-140],\"parameters\":{\"conditions\":{\"number\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Get runningWorkflows\",\"type\":\"n8n-nodes-base.function\",\"position\":[710,-270],\"parameters\":{\"functionCode\":\"const returnItems = [];\\nvar runningWorkflows = 0;\\n\\nfor (const item of $node[\\\"Get current Executions\\\"].json[\\\"data\\\"]) {\\n if(item.workflowId == $workflow.id) {\\n runningWorkflows++;\\n }\\n}\\n\\nreturnItems.push({json: {\\\"runningWorkflows\\\": runningWorkflows}});\\n\\nreturn returnItems;\\n\"},\"typeVersion\":1},{\"name\":\"Get current Executions\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[530,-270],\"parameters\":{\"url\":\"={{$node[\\\"Init\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}/rest/executions-current\",\"options\":{},\"jsonParameters\":true,\"allowUnauthorizedCerts\":true},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Get current Executions\",\"type\":\"main\",\"index\":0}]]},\"Init\":{\"main\":[[{\"node\":\"Get Executions\",\"type\":\"main\",\"index\":0}]]},\"Get Executions\":{\"main\":[[{\"node\":\"Transform to table\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Get Executions Details\",\"type\":\"main\",\"index\":0}]]},\"Get static data\":{\"main\":[[{\"node\":\"Init\",\"type\":\"main\",\"index\":0}]]},\"Push to Logstash\":{\"main\":[[{\"node\":\"IF no more batches\",\"type\":\"main\",\"index\":0}]]},\"IF already running\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Get static data\",\"type\":\"main\",\"index\":0}]]},\"IF no more batches\":{\"main\":[[{\"node\":\"Store static data\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Transform to table\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Get runningWorkflows\":{\"main\":[[{\"node\":\"IF already running\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get current Executions\",\"type\":\"main\",\"index\":0}]]},\"Get Executions Details\":{\"main\":[[{\"node\":\"Push to Logstash\",\"type\":\"main\",\"index\":0}]]},\"Get current Executions\":{\"main\":[[{\"node\":\"Get runningWorkflows\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send updates about the position of the ISS every minute to a topic in Kafka", "output": "{\"id\":\"98\",\"name\":\"Send updates about the position of the ISS every minute to a topic in Kafka\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[710,300],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,300],\"parameters\":{\"values\":{\"number\":[],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"name\\\"]}}\"},{\"name\":\"Latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"Longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"Timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Kafka\",\"type\":\"n8n-nodes-base.kafka\",\"position\":[1110,300],\"parameters\":{\"topic\":\"iss-position\",\"options\":{}},\"credentials\":{\"kafka\":\"kafka\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Kafka\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a subscriber using the MailerLite node", "output": "{\"id\":\"96\",\"name\":\"Create, update and get a subscriber using the MailerLite node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[310,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"MailerLite\",\"type\":\"n8n-nodes-base.mailerLite\",\"position\":[510,300],\"parameters\":{\"email\":\"harshil@n8n.io\",\"additionalFields\":{\"name\":\"Harshil\"}},\"credentials\":{\"mailerLiteApi\":\"mailerlite\"},\"typeVersion\":1},{\"name\":\"MailerLite1\",\"type\":\"n8n-nodes-base.mailerLite\",\"position\":[710,300],\"parameters\":{\"operation\":\"update\",\"subscriberId\":\"={{$node[\\\"MailerLite\\\"].json[\\\"email\\\"]}}\",\"updateFields\":{\"customFieldsUi\":{\"customFieldsValues\":[{\"value\":\"Berlin\",\"fieldId\":\"city\"}]}}},\"credentials\":{\"mailerLiteApi\":\"mailerlite\"},\"typeVersion\":1},{\"name\":\"MailerLite2\",\"type\":\"n8n-nodes-base.mailerLite\",\"position\":[910,300],\"parameters\":{\"operation\":\"get\",\"subscriberId\":\"={{$node[\\\"MailerLite\\\"].json[\\\"email\\\"]}}\"},\"credentials\":{\"mailerLiteApi\":\"mailerlite\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"MailerLite\":{\"main\":[[{\"node\":\"MailerLite1\",\"type\":\"main\",\"index\":0}]]},\"MailerLite1\":{\"main\":[[{\"node\":\"MailerLite2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"MailerLite\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Control your Spotify Player with your Terminal", "output": "{\"id\":\"2\",\"name\":\"spotify-cli\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[550,200],\"webhookId\":\"55f2dcb2-f29f-48c4-b48c-a78cc9c875a9\",\"parameters\":{\"path\":\"55f2dcb2-f29f-48c4-b48c-a78cc9c875a9\",\"options\":{\"rawBody\":false},\"httpMethod\":\"POST\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Spotify\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[950,300],\"parameters\":{\"operation\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"body\\\"]}}\"},\"credentials\":{\"spotifyOAuth2Api\":\"spotify\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[750,200],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"body\\\"]}}\",\"value2\":\"startMusic\"}]}},\"typeVersion\":1},{\"name\":\"Get ID\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[950,100],\"parameters\":{\"operation\":\"currentlyPlaying\"},\"credentials\":{\"spotifyOAuth2Api\":\"spotify\"},\"typeVersion\":1},{\"name\":\"Play Music\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1150,100],\"parameters\":{\"id\":\"={{$node[\\\"Get ID\\\"].json[\\\"item\\\"][\\\"album\\\"][\\\"uri\\\"]}}\",\"operation\":\"startMusic\"},\"credentials\":{\"spotifyOAuth2Api\":\"spotify\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1350,100],\"parameters\":{\"values\":{\"string\":[{\"name\":\"song\",\"value\":\"={{$node[\\\"Get ID\\\"].json[\\\"item\\\"][\\\"name\\\"]}}\"},{\"name\":\"artist\",\"value\":\"={{$node[\\\"Get ID\\\"].json[\\\"item\\\"][\\\"artists\\\"][0][\\\"name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Get ID1\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[1150,300],\"parameters\":{\"operation\":\"currentlyPlaying\"},\"credentials\":{\"spotifyOAuth2Api\":\"spotify\"},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1350,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"song\",\"value\":\"={{$node[\\\"Get ID1\\\"].json[\\\"item\\\"][\\\"name\\\"]}}\"},{\"name\":\"artist\",\"value\":\"={{$node[\\\"Get ID1\\\"].json[\\\"item\\\"][\\\"artists\\\"][0][\\\"name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Get ID\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Spotify\",\"type\":\"main\",\"index\":0}]]},\"Get ID\":{\"main\":[[{\"node\":\"Play Music\",\"type\":\"main\",\"index\":0}]]},\"Get ID1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Spotify\":{\"main\":[[{\"node\":\"Get ID1\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Play Music\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a subscriber is added to a group in MailerLite", "output": "{\"id\":\"30\",\"name\":\"Receive updates when a subscriber is added to a group and strore the information in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"disabled\":true,\"position\":[110,600],\"parameters\":{},\"typeVersion\":1},{\"name\":\"MailerLite Trigger\",\"type\":\"n8n-nodes-base.mailerLiteTrigger\",\"position\":[530,300],\"webhookId\":\"dd15d919-18b3-4af7-a5c9-c4583cdda9f5\",\"parameters\":{\"event\":\"subscriber.add_to_group\"},\"credentials\":{\"mailerLiteApi\":\"mailerlite\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[730,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"MailerLite Trigger\\\"].json[\\\"data\\\"][\\\"subscriber\\\"][\\\"name\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"MailerLite Trigger\\\"].json[\\\"data\\\"][\\\"subscriber\\\"][\\\"email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[930,300],\"parameters\":{\"table\":\"Data\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"airtable-harshil\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"MailerLite Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[]]}}}" }, { "input": "Send daily weather updates via a push notification using Pushbullet", "output": "{\"id\":\"31\",\"name\":\"Send daily weather updates via a push notification using Pushbullet\",\"nodes\":[{\"name\":\"Pushbullet\",\"type\":\"n8n-nodes-base.pushbullet\",\"position\":[1210,380],\"parameters\":{\"body\":\"=Hey! The temperature outside is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C.\",\"title\":\"Today's Weather Update\"},\"credentials\":{\"pushbulletOAuth2Api\":\"test\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[810,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[1010,380],\"parameters\":{\"cityName\":\"berlin\"},\"credentials\":{\"openWeatherMapApi\":\"open-weather-map\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"Pushbullet\":{\"main\":[[]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Pushbullet\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send updates about the position of the ISS every minute to a topic in ActiveMQ", "output": "{\"id\":\"102\",\"name\":\"Send updates about the position of the ISS every minute to a topic in ActiveMQ\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[710,300],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"Longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"Timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"AMQP Sender\",\"type\":\"n8n-nodes-base.amqp\",\"position\":[1110,300],\"parameters\":{\"sink\":\"iss-postition\",\"options\":{}},\"credentials\":{\"amqp\":\"ampq\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"AMQP Sender\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Convert an array into an array of objects", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[550,300],\"parameters\":{\"functionCode\":\"return [{json:[\\\"item-1\\\", \\\"item-2\\\", \\\"item-3\\\", \\\"item-4\\\"]}];\"},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[750,300],\"parameters\":{\"functionCode\":\"return items[0].json.map(item => {\\n return {\\n json: {\\n data:item\\n },\\n }\\n});\\n\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a new member, update the infromation, create a note and post in Orbit", "output": "{\"id\":\"105\",\"name\":\"Create a new member, update the information of the member, create a note and a post for the member in Orbit\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Orbit\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[450,300],\"parameters\":{\"operation\":\"upsert\",\"identityUi\":{\"identityValue\":{\"source\":\"github\",\"searchBy\":\"username\",\"username\":\"\"}},\"workspaceId\":\"425\",\"additionalFields\":{}},\"credentials\":{\"orbitApi\":\"orbit-review\"},\"typeVersion\":1},{\"name\":\"Orbit1\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[650,300],\"parameters\":{\"memberId\":\"={{$node[\\\"Orbit\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"workspaceId\":\"={{$node[\\\"Orbit\\\"].parameter[\\\"workspaceId\\\"]}}\",\"updateFields\":{\"tagsToAdd\":\"\"}},\"credentials\":{\"orbitApi\":\"orbit-review\"},\"typeVersion\":1},{\"name\":\"Orbit2\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[850,300],\"parameters\":{\"note\":\"\",\"memberId\":\"={{$node[\\\"Orbit\\\"].json[\\\"id\\\"]}}\",\"resource\":\"note\",\"workspaceId\":\"={{$node[\\\"Orbit\\\"].parameter[\\\"workspaceId\\\"]}}\"},\"credentials\":{\"orbitApi\":\"orbit-review\"},\"typeVersion\":1},{\"name\":\"Orbit3\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[1050,300],\"parameters\":{\"url\":\"https://medium.com/n8n-io/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n-90dbde74223e\",\"memberId\":\"={{$node[\\\"Orbit\\\"].json[\\\"id\\\"]}}\",\"resource\":\"post\",\"workspaceId\":\"={{$node[\\\"Orbit\\\"].parameter[\\\"workspaceId\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"orbitApi\":\"orbit-review\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Orbit\":{\"main\":[[{\"node\":\"Orbit1\",\"type\":\"main\",\"index\":0}]]},\"Orbit1\":{\"main\":[[{\"node\":\"Orbit2\",\"type\":\"main\",\"index\":0}]]},\"Orbit2\":{\"main\":[[{\"node\":\"Orbit3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Orbit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create multiple JSON items from an array", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[670,371],\"parameters\":{\"functionCode\":\"return [\\n {\\n json:[\\n {\\n id: 1,\\n name: \\\"Jim\\\"\\n }, \\n {\\n id: 2,\\n name: \\\"Stefan\\\"\\n },\\n {\\n id: 3,\\n name: \\\"Hans\\\"\\n }\\n ]\\n }\\n];\"},\"typeVersion\":1},{\"name\":\"Create JSON-items\",\"type\":\"n8n-nodes-base.function\",\"position\":[910,371],\"parameters\":{\"functionCode\":\"return items[0].json.map(item => { \\n return {\\n json: item,\\n }\\n})\\n\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Create JSON-items\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an array of objects", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[802,307],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n id: 1,\\n name: \\\"Jim\\\"\\n }\\n },\\n {\\n json: {\\n id: 2,\\n name: \\\"Stefan\\\"\\n }\\n },\\n {\\n json: {\\n id: 3,\\n name: \\\"Hans\\\"\\n }\\n }\\n];\"},\"typeVersion\":1},{\"name\":\"Create an array of objects\",\"type\":\"n8n-nodes-base.function\",\"position\":[1052,307],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n data_object: items.map(item => item.json),\\n },\\n }\\n];\\n\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Create an array of objects\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get all the stories and publish them in Storyblok", "output": "{\"id\":\"110\",\"name\":\"Get all the stories starting with `release` and publish them\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Storyblok\",\"type\":\"n8n-nodes-base.storyblok\",\"position\":[450,300],\"parameters\":{\"space\":96940,\"source\":\"managementApi\",\"filters\":{\"starts_with\":\"release\"},\"operation\":\"getAll\"},\"credentials\":{\"storyblokManagementApi\":\"storyblok-tanay\"},\"typeVersion\":1},{\"name\":\"Storyblok1\",\"type\":\"n8n-nodes-base.storyblok\",\"position\":[650,300],\"parameters\":{\"space\":\"={{$node[\\\"Storyblok\\\"].parameter[\\\"space\\\"]}}\",\"source\":\"managementApi\",\"options\":{},\"storyId\":\"={{$node[\\\"Storyblok\\\"].json[\\\"id\\\"]}}\",\"operation\":\"publish\"},\"credentials\":{\"storyblokManagementApi\":\"storyblok-tanay\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Storyblok\":{\"main\":[[{\"node\":\"Storyblok1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Storyblok\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when a user updates their profile on Facebook", "output": "{\"id\":\"111\",\"name\":\"Receive updates when a user updates their profile on Facebook and update the information in Airtable\",\"nodes\":[{\"name\":\"Facebook Trigger\",\"type\":\"n8n-nodes-base.facebookTrigger\",\"position\":[510,300],\"webhookId\":\"14ba2eea-04a1-4659-b83e-0090ba480452\",\"parameters\":{\"appId\":\"370872507564149\",\"options\":{}},\"credentials\":{\"facebookGraphAppApi\":\"facebook\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[920,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"field\",\"value\":\"={{$node[\\\"Facebook Trigger\\\"].json[\\\"changes\\\"][0][\\\"field\\\"]}}\"},{\"name\":\"={{$node[\\\"Facebook Trigger\\\"].json[\\\"changes\\\"][0][\\\"field\\\"]}}\",\"value\":\"={{$node[\\\"Facebook Trigger\\\"].json[\\\"changes\\\"][0][\\\"value\\\"][\\\"page\\\"]}}\"},{\"name\":\"uid\",\"value\":\"={{$node[\\\"Facebook Trigger\\\"].json[\\\"uid\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[710,300],\"parameters\":{\"table\":\"\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{\"filterByFormula\":\"=FIND({{$node[\\\"Set\\\"].json[\\\"uid\\\"]}},uid,0)\"}},\"credentials\":{\"airtableApi\":\"airtable-credentials\"},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1120,300],\"parameters\":{\"id\":\"={{$node[\\\"Airtable\\\"].json[\\\"id\\\"]}}\",\"table\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"table\\\"]}}\",\"fields\":[\"={{$node[\\\"Set\\\"].json[\\\"field\\\"]}}\"],\"options\":{},\"operation\":\"update\",\"application\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"application\\\"]}}\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":\"airtable-credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Facebook Trigger\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Automated congratulations with Google Sheets, Twilio, and n8n ", "output": "{\"id\":\"247\",\"name\":\"Congratulations Workflow\",\"nodes\":[{\"name\":\"Daily Trigger\",\"type\":\"n8n-nodes-base.cron\",\"position\":[200,400],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"Congratulations Calendar\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[400,400],\"parameters\":{\"range\":\"A:E\",\"options\":{\"valueRenderMode\":\"FORMATTED_VALUE\"},\"sheetId\":\"\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Any Event Today?\",\"type\":\"n8n-nodes-base.if\",\"position\":[600,400],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Congratulations Calendar\\\"].json[\\\"Date\\\"]}}\",\"value2\":\"={{(new Date).getDate()}}/{{(new Date).getMonth()+1}}\"}]}},\"typeVersion\":1},{\"name\":\"Do Nothing\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[800,550],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Congratulations Messages\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1000,550],\"parameters\":{\"range\":\"Congratulations Messages!A:B\",\"options\":{},\"sheetId\":\"\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Merge Data\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1200,400],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"Event Name\",\"propertyName2\":\"Event Name\"},\"typeVersion\":1},{\"name\":\"Personalize Message\",\"type\":\"n8n-nodes-base.function\",\"position\":[1400,400],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (let i=0;i {\\n setTimeout(() => {\\n resolve(items);\\n }, waitTimeSeconds * 100);\\n});\\n\\n\"},\"typeVersion\":1},{\"name\":\"IF0\",\"type\":\"n8n-nodes-base.if\",\"position\":[1360,430],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches0\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"IF0\":{\"main\":[[],[{\"node\":\"SplitInBatches0\",\"type\":\"main\",\"index\":0}]]},\"Cron1\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]},\"Wait0\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram\":{\"main\":[[{\"node\":\"IF0\",\"type\":\"main\",\"index\":0}]]},\"Function1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"RSS Feed Read\":{\"main\":[[{\"node\":\"Function1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"SplitInBatches0\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches0\":{\"main\":[[{\"node\":\"Wait0\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n Upgrader", "output": "{\"id\":\"1\",\"name\":\"Check and Upgrade n8n\",\"nodes\":[{\"name\":\"n8n Release RSS\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[620,270],\"parameters\":{\"url\":\"https://github.com/n8n-io/n8n/releases.atom\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"notes\":\"Every hour at 59 minutes\",\"position\":[440,270],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\",\"minute\":59}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Check for New Release\",\"type\":\"n8n-nodes-base.function\",\"position\":[820,270],\"parameters\":{\"functionCode\":\"items = items.filter(function(o){\\n return (o.json.title.search('n8n@')===0 && Date.parse(o.json.isoDate)>0 );\\n});\\n\\nif (items.length >= 1) {\\n items = items.slice(0,1);\\n items[0].json.PostDate=Date.parse(items[0].json.isoDate)/1000;\\n items[0].json.LastRunDate=Math.round(((new Date()).getTime() / 1000)-3600);\\n};\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Check if the Posted Since Last Update\",\"type\":\"n8n-nodes-base.if\",\"position\":[1020,270],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"PostDate\\\"]}}\",\"value2\":\"={{$json[\\\"LastRunDate\\\"]}}\",\"operation\":\"largerEqual\"}]}},\"typeVersion\":1},{\"name\":\"Do Nothing\",\"type\":\"n8n-nodes-base.noOp\",\"disabled\":true,\"position\":[1250,360],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Update n8n\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[1250,210],\"parameters\":{\"command\":\"cd ~ && pm2 stop n8n && npm -g install n8n && pm2 start n8n\"},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"America/Edmonton\",\"executionTimeout\":-1},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"n8n Release RSS\",\"type\":\"main\",\"index\":0}]]},\"n8n Release RSS\":{\"main\":[[{\"node\":\"Check for New Release\",\"type\":\"main\",\"index\":0}]]},\"Check for New Release\":{\"main\":[[{\"node\":\"Check if the Posted Since Last Update\",\"type\":\"main\",\"index\":0}]]},\"Check if the Posted Since Last Update\":{\"main\":[[{\"node\":\"Update n8n\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do Nothing\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get product feedback and create ticket on Trello", "output": "{\"id\":\"65\",\"name\":\"Get Product Feedback\",\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[170,260],\"webhookId\":\"0cf82c15-eeb8-4b24-bd67-5f4b54a58b6d\",\"parameters\":{\"formId\":\"\"},\"credentials\":{\"typeformApi\":\"typeform-harshil\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[370,260],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Score\",\"value\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"What score would you like to give?\\\"]}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"What is your name?\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"What is your email address?\\\"]}}\"},{\"name\":\"Description\",\"value\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Anything else you want to share?\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[570,260],\"parameters\":{\"table\":\"Feedback\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"airtable-harshil\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[770,260],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Set\\\"].json[\\\"Score\\\"]}}\",\"value2\":7}]}},\"typeVersion\":1},{\"name\":\"Trello\",\"type\":\"n8n-nodes-base.trello\",\"position\":[970,160],\"parameters\":{\"name\":\"=[{{$node[\\\"IF\\\"].json[\\\"fields\\\"][\\\"Score\\\"]}}] {{$node[\\\"IF\\\"].json[\\\"fields\\\"][\\\"Name\\\"]}}\",\"listId\":\"5fbb9e2eb1d5cc0a8a7ab8ac\",\"description\":\"=Name: {{$node[\\\"IF\\\"].json[\\\"fields\\\"][\\\"Name\\\"]}}\\nEmail: {{$node[\\\"IF\\\"].json[\\\"fields\\\"][\\\"Email\\\"]}}\\nScore: {{$node[\\\"IF\\\"].json[\\\"fields\\\"][\\\"Score\\\"]}}\\nDescription: {{$node[\\\"IF\\\"].json[\\\"fields\\\"][\\\"Description\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"trelloApi\":\"Trello Credentials\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[970,360],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Trello\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Spotify Idempotent Archive", "output": "{\"id\":\"6\",\"name\":\"Spotify Idempotent Archive\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[400,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\",\"minute\":15}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1000,300],\"parameters\":{\"mode\":\"removeKeyMatches\",\"propertyName1\":\"uri\",\"propertyName2\":\"uri\"},\"typeVersion\":1,\"alwaysOutputData\":false},{\"name\":\"Spotify Add Item Archive\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[1200,300],\"parameters\":{\"id\":\"\",\"trackID\":\"={{$json.uri}}\",\"resource\":\"playlist\"},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"waitBetweenTries\":5000},{\"name\":\"Extract URIs Archive\",\"type\":\"n8n-nodes-base.function\",\"position\":[800,400],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Spotify Get Tracks Original\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[600,200],\"parameters\":{\"id\":\"\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Spotify Get Tracks Archive\",\"type\":\"n8n-nodes-base.spotify\",\"maxTries\":5,\"position\":[600,400],\"parameters\":{\"id\":\"\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"\"},\"retryOnFail\":true,\"typeVersion\":1,\"alwaysOutputData\":true,\"waitBetweenTries\":5000},{\"name\":\"Extract URIs Original\",\"type\":\"n8n-nodes-base.function\",\"position\":[800,200],\"parameters\":{\"functionCode\":\"if (items.length == 1 && Object.keys(items[0].json).length == 0) {\\n return [];\\n}\\nreturn items.map(item => ({json: {uri: item.json.track.uri}}));\\n\"},\"typeVersion\":1,\"alwaysOutputData\":true}],\"active\":true,\"settings\":{\"timezone\":\"Africa/Johannesburg\",\"executionTimeout\":-1},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Spotify Get Tracks Original\",\"type\":\"main\",\"index\":0},{\"node\":\"Spotify Get Tracks Archive\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Spotify Add Item Archive\",\"type\":\"main\",\"index\":0}]]},\"Extract URIs Archive\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Extract URIs Original\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks Archive\":{\"main\":[[{\"node\":\"Extract URIs Archive\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks Original\":{\"main\":[[{\"node\":\"Extract URIs Original\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily weather updates via a push notification using Spontit", "output": "{\"id\":\"141\",\"name\":\"Send daily weather updates via a push notification using Spontit\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[810,340],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[1010,340],\"parameters\":{\"cityName\":\"berlin\"},\"credentials\":{\"openWeatherMapApi\":\"owm\"},\"typeVersion\":1},{\"name\":\"Spontit\",\"type\":\"n8n-nodes-base.spontit\",\"position\":[1210,340],\"parameters\":{\"content\":\"=Hey! The temperature outside is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C.\",\"additionalFields\":{\"pushTitle\":\"Today's Weather Update\"}},\"credentials\":{\"spontitApi\":\"spontit\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Spontit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Translate instructions using LingvaNex", "output": "{\"id\":\"145\",\"name\":\"Translate cocktail instructions using LingvaNex\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"LingvaNex\",\"type\":\"n8n-nodes-base.lingvaNex\",\"position\":[650,300],\"parameters\":{\"text\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"drinks\\\"][0][\\\"strInstructions\\\"]}}\",\"options\":{},\"translateTo\":\"it_IT\"},\"credentials\":{\"lingvaNexApi\":\"LingvaNex\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,300],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"LingvaNex\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send financial metrics monthly to Mattermos", "output": "{\"id\":\"146\",\"name\":\"Send financial metrics monthly to Mattermost\",\"nodes\":[{\"name\":\"ProfitWell\",\"type\":\"n8n-nodes-base.profitWell\",\"position\":[730,220],\"parameters\":{\"type\":\"monthly\",\"options\":{}},\"credentials\":{\"profitWellApi\":\"profitwell\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[530,220],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9,\"mode\":\"everyMonth\"}]}},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[930,220],\"parameters\":{\"message\":\"=Active Customers: {{$node[\\\"ProfitWell\\\"].json[\\\"active_customers\\\"]}}\\nTrailing Customers: {{$node[\\\"ProfitWell\\\"].json[\\\"active_trialing_customers\\\"]}}\\nNew Customers: {{$node[\\\"ProfitWell\\\"].json[\\\"new_customers\\\"]}}\\nGrowth Rate: {{$node[\\\"ProfitWell\\\"].json[\\\"growth_rate\\\"]}}\\nRecurring Revenue: {{$node[\\\"ProfitWell\\\"].json[\\\"recurring_revenue\\\"]}}\",\"channelId\":\"w6rsxrqds3bt9pguxzduowqucy\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"mattermost\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"ProfitWell\",\"type\":\"main\",\"index\":0}]]},\"ProfitWell\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive a Mattermost message when new data gets added to Airtable", "output": "{\"id\":\"151\",\"name\":\"Receive a Mattermost message when new data gets added to Airtable\",\"nodes\":[{\"name\":\"Airtable Trigger\",\"type\":\"n8n-nodes-base.airtableTrigger\",\"position\":[550,340],\"parameters\":{\"baseId\":\"\",\"tableId\":\"Data\",\"pollTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]},\"triggerField\":\"Created\",\"additionalFields\":{}},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[750,340],\"parameters\":{\"message\":\"=New Data was added to Airtable.\\nID:{{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"id\\\"]}}\\nName: {{$node[\\\"Airtable Trigger\\\"].json[\\\"fields\\\"][\\\"name\\\"]}}\",\"channelId\":\"\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"mattermost\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Airtable Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Handle errors from a different workflow", "output": "{\"nodes\":[{\"name\":\"Error Trigger\",\"type\":\"n8n-nodes-base.errorTrigger\",\"position\":[250,500],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mailgun\",\"type\":\"n8n-nodes-base.mailgun\",\"position\":[450,500],\"parameters\":{\"text\":\"=Error: {{$node[\\\"Error Trigger\\\"].data[\\\"execution\\\"][\\\"error\\\"][\\\"message\\\"]}}\\n\\nStack Trace:\\n{{$node[\\\"Error Trigger\\\"].data[\\\"execution\\\"][\\\"error\\\"][\\\"stack\\\"]}}\",\"subject\":\"=Workflow Error: {{$node[\\\"Error Trigger\\\"].data[\\\"workflow\\\"][\\\"name\\\"]}}\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"mailgunApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"Error Trigger\":{\"main\":[[{\"node\":\"Mailgun\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sort data based on numberical values in Ascending", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1085,329],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n name: 'Stefan',\\n id: 3,\\n }\\n },\\n {\\n json: {\\n name: 'Jim',\\n id: 1,\\n }\\n },\\n {\\n json: {\\n name: 'Hans',\\n id: 2,\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Sort in Ascending\",\"type\":\"n8n-nodes-base.function\",\"position\":[1285,329],\"parameters\":{\"functionCode\":\"const sortedArr = items.sort((a, b) => {\\n return a.json.id - b.json.id;\\n})\\nreturn sortedArr\\n\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Sort in Ascending\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sort data based on numerical values in Descending Order", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1330,284],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n name: 'Stefan',\\n id: 3,\\n }\\n },\\n {\\n json: {\\n name: 'Jim',\\n id: 1,\\n }\\n },\\n {\\n json: {\\n name: 'Hans',\\n id: 2,\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Sort in Descending\",\"type\":\"n8n-nodes-base.function\",\"position\":[1530,284],\"parameters\":{\"functionCode\":\"const sortedArr = items.sort((a, b) => {\\n return b.json.id - a.json.id;\\n})\\nreturn sortedArr\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Sort in Descending\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sort data based on string values in Ascending Order", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1202,233],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n name: 'Jim',\\n id: 3,\\n }\\n },\\n {\\n json: {\\n name: 'Stefan',\\n id: 1,\\n }\\n },\\n {\\n json: {\\n name: 'Hans',\\n id: 2,\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Sort in Ascending\",\"type\":\"n8n-nodes-base.function\",\"position\":[1402,233],\"parameters\":{\"functionCode\":\"const sortedArr = items.sort((a, b) => {\\n let a_name = a.json.name.toLowerCase(),\\n b_name = b.json.name.toLowerCase();\\n\\n if (a_name < b_name) {\\n return -1;\\n }\\n if (a_name > b_name) {\\n return 1;\\n }\\n return 0;\\n});\\nreturn sortedArr;\\n\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Sort in Ascending\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sort data based on string values in Descending Order", "output": "{\"nodes\":[{\"name\":\"Mock Data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1340,335],\"parameters\":{\"functionCode\":\"return [\\n {\\n json: {\\n name: 'Jim',\\n id: 3,\\n }\\n },\\n {\\n json: {\\n name: 'Stefan',\\n id: 1,\\n }\\n },\\n {\\n json: {\\n name: 'Hans',\\n id: 2,\\n }\\n }\\n];\\n\"},\"typeVersion\":1},{\"name\":\"Sort in Descending\",\"type\":\"n8n-nodes-base.function\",\"position\":[1540,335],\"parameters\":{\"functionCode\":\"const sortedArr = items.sort((a, b) => {\\n let a_name = a.json.name.toLowerCase(),\\n b_name = b.json.name.toLowerCase();\\n\\n if (a_name > b_name) {\\n return -1;\\n }\\n if (a_name < b_name) {\\n return 1;\\n }\\n return 0;\\n});\\nreturn sortedArr;\\n\"},\"typeVersion\":1}],\"connections\":{\"Mock Data\":{\"main\":[[{\"node\":\"Sort in Descending\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get records in Quick Base", "output": "{\"id\":\"156\",\"name\":\"Create, update and get records in Quick Base\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Quick Base\",\"type\":\"n8n-nodes-base.quickbase\",\"position\":[650,300],\"parameters\":{\"columns\":\"name,age\",\"options\":{},\"tableId\":\"\"},\"credentials\":{\"quickbaseApi\":\"Quick Base Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"age\",\"value\":8}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"age\",\"value\":10},{\"name\":\"Record ID#\",\"value\":\"={{$node[\\\"Quick Base\\\"].json[\\\"Record ID#\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Quick Base1\",\"type\":\"n8n-nodes-base.quickbase\",\"position\":[1050,300],\"parameters\":{\"columns\":\"age\",\"options\":{},\"tableId\":\"={{$node[\\\"Quick Base\\\"].parameter[\\\"tableId\\\"]}}\",\"operation\":\"update\",\"updateKey\":\"Record ID#\"},\"credentials\":{\"quickbaseApi\":\"Quick Base Credentials\"},\"typeVersion\":1},{\"name\":\"Quick Base2\",\"type\":\"n8n-nodes-base.quickbase\",\"position\":[1250,300],\"parameters\":{\"options\":{},\"tableId\":\"={{$node[\\\"Quick Base\\\"].parameter[\\\"tableId\\\"]}}\",\"operation\":\"getAll\"},\"credentials\":{\"quickbaseApi\":\"Quick Base Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Quick Base\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Quick Base1\",\"type\":\"main\",\"index\":0}]]},\"Quick Base\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Quick Base1\":{\"main\":[[{\"node\":\"Quick Base2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get synonyms of a German word", "output": "{\"id\":\"157\",\"name\":\"Get synonyms of a German word\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[550,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"OpenThesaurus\",\"type\":\"n8n-nodes-base.openThesaurus\",\"position\":[750,260],\"parameters\":{\"text\":\"Hallo\",\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"OpenThesaurus\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive the weather information of any city", "output": "{\"id\":\"158\",\"name\":\"Receive the weather information of any city\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[580,340],\"webhookId\":\"45690b6a-2b01-472d-8839-5e83a74858e5\",\"parameters\":{\"path\":\"45690b6a-2b01-472d-8839-5e83a74858e5\",\"options\":{},\"responseData\":\"allEntries\",\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[770,340],\"parameters\":{\"cityName\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"city\\\"]}}\"},\"credentials\":{\"openWeatherMapApi\":\"\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[970,340],\"parameters\":{\"values\":{\"string\":[{\"name\":\"temp\",\"value\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}\"},{\"name\":\"description\",\"value\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"weather\\\"][0][\\\"description\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a case in TheHive", "output": "{\"id\":\"159\",\"name\":\"Create, update and get a case in TheHive\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"TheHive\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[470,340],\"parameters\":{\"tags\":\"n8n, theHive\",\"owner\":\"Harshil\",\"title\":\"n8n\",\"options\":{},\"resource\":\"case\",\"severity\":1,\"operation\":\"create\",\"startDate\":\"2020-12-03T10:08:14.000Z\",\"description\":\"Creating a case from n8n\"},\"credentials\":{\"theHiveApi\":\"hive\"},\"typeVersion\":1},{\"name\":\"TheHive1\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[670,340],\"parameters\":{\"id\":\"={{$node[\\\"TheHive\\\"].json[\\\"id\\\"]}}\",\"resource\":\"case\",\"operation\":\"update\",\"updateFields\":{\"severity\":3}},\"credentials\":{\"theHiveApi\":\"hive\"},\"typeVersion\":1},{\"name\":\"TheHive2\",\"type\":\"n8n-nodes-base.theHive\",\"position\":[870,340],\"parameters\":{\"id\":\"={{$node[\\\"TheHive\\\"].json[\\\"id\\\"]}}\",\"resource\":\"case\",\"operation\":\"get\"},\"credentials\":{\"theHiveApi\":\"hive\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"TheHive\":{\"main\":[[{\"node\":\"TheHive1\",\"type\":\"main\",\"index\":0}]]},\"TheHive1\":{\"main\":[[{\"node\":\"TheHive2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"TheHive\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get the job details using the Cortex node", "output": "{\"id\":\"160\",\"name\":\"Analyze a URL and get the job details using the Cortex node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[370,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Cortex\",\"type\":\"n8n-nodes-base.cortex\",\"position\":[570,220],\"parameters\":{\"analyzer\":\"f4abc1b633b80f45af165970793fd4fd::Abuse_Finder_3_0\",\"observableType\":\"url\",\"observableValue\":\"https://n8n.io\",\"additionalFields\":{}},\"credentials\":{\"cortexApi\":\"cortex\"},\"typeVersion\":1},{\"name\":\"Cortex1\",\"type\":\"n8n-nodes-base.cortex\",\"position\":[770,220],\"parameters\":{\"jobId\":\"={{$node[\\\"Cortex\\\"].json[\\\"_id\\\"]}}\",\"resource\":\"job\"},\"credentials\":{\"cortexApi\":\"cortex\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cortex\":{\"main\":[[{\"node\":\"Cortex1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Cortex\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates when an event occurs in TheHive", "output": "{\"id\":\"161\",\"name\":\"Receive updates when an event occurs in TheHive\",\"nodes\":[{\"name\":\"TheHive Trigger\",\"type\":\"n8n-nodes-base.theHiveTrigger\",\"position\":[690,220],\"webhookId\":\"bef3fea8-2d68-43e8-9061-6c17c1059c86\",\"parameters\":{\"events\":[\"*\"]},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{}}" }, { "input": "Manage Slack channel and users automatically", "output": "{\"id\":\"164\",\"name\":\"Create a channel, invite users to the channel, post a message, and upload a file\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,250],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[450,250],\"parameters\":{\"resource\":\"channel\",\"channelId\":\"n8n-docs\",\"additionalFields\":{}},\"credentials\":{\"slackApi\":\"Slack Bot Access Token\"},\"typeVersion\":1},{\"name\":\"Slack1\",\"type\":\"n8n-nodes-base.slack\",\"position\":[650,250],\"parameters\":{\"userIds\":[\"U01797FGD6J\"],\"resource\":\"channel\",\"channelId\":\"={{$node[\\\"Slack\\\"].json[\\\"id\\\"]}}\",\"operation\":\"invite\"},\"credentials\":{\"slackApi\":\"Slack Bot Access Token\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1050,250],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Slack2\",\"type\":\"n8n-nodes-base.slack\",\"position\":[850,250],\"parameters\":{\"text\":\"Welcome to the channel!\",\"as_user\":true,\"channel\":\"={{$node[\\\"Slack\\\"].json[\\\"id\\\"]}}\",\"attachments\":[{\"title\":\"Logo\",\"image_url\":\"https://n8n.io/n8n-logo.png\"}],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"Slack Bot Access Token\"},\"typeVersion\":1},{\"name\":\"Slack3\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1250,250],\"parameters\":{\"options\":{\"channelIds\":[\"C01FZ3TJR5L\"]},\"resource\":\"file\",\"binaryData\":true},\"credentials\":{\"slackApi\":\"Slack Bot Access Token\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Slack\":{\"main\":[[{\"node\":\"Slack1\",\"type\":\"main\",\"index\":0}]]},\"Slack1\":{\"main\":[[{\"node\":\"Slack2\",\"type\":\"main\",\"index\":0}]]},\"Slack2\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Slack3\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send Instagram statistics to Mattermost", "output": "{\"id\":\"3\",\"name\":\"StatsInstagram\",\"nodes\":[{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1030,290],\"parameters\":{\"message\":\"=Bonjour ! Voici les stats de notre Instagram {{$json[\\\"Compte\\\"]}} en ce beau matin du {{$node[\\\"Date & Time\\\"].json[\\\"day_today\\\"]}} {{$node[\\\"Date & Time\\\"].json[\\\"data\\\"]}}\\nLe nombre de Followers est de : {{$json[\\\"Followers\\\"]}}\\nNous avons réalisé : {{$json[\\\"Posts\\\"]}} posts, \\nBravo !\",\"channelId\":\"xxxxxxx\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"API\"},\"typeVersion\":1},{\"name\":\"Date & Time\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[640,290],\"parameters\":{\"value\":\"={{$json[\\\"date_today\\\"]}}\",\"custom\":true,\"options\":{},\"toFormat\":\"DD-MM-YYYY\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[310,290],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"Get the date today\",\"type\":\"n8n-nodes-base.function\",\"position\":[470,290],\"parameters\":{\"functionCode\":\"var date = new Date().toISOString();\\nvar day = new Date().getDay();\\nconst weekday = [\\\"Dimanche\\\", \\\"Lundi\\\", \\\"Mardi\\\", \\\"Mercredi\\\", \\\"Jeudi\\\", \\\"Vendredi\\\", \\\"Samedi\\\"];\\n\\nitems[0].json.date_today = date;\\nitems[0].json.day_today = weekday[day];\\n\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Read data on Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[850,290],\"parameters\":{\"range\":\"cells\",\"options\":{},\"sheetId\":\"sheetID\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"GoogleAPI\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Get the date today\",\"type\":\"main\",\"index\":0}]]},\"Date & Time\":{\"main\":[[{\"node\":\"Read data on Google Sheets\",\"type\":\"main\",\"index\":0}]]},\"Get the date today\":{\"main\":[[{\"node\":\"Date & Time\",\"type\":\"main\",\"index\":0}]]},\"Read data on Google Sheets\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a user from Iterable", "output": "{\"id\":\"165\",\"name\":\"Create, update and get a user from Iterable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[310,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Iterable\",\"type\":\"n8n-nodes-base.iterable\",\"position\":[510,340],\"parameters\":{\"value\":\"\",\"identifier\":\"email\",\"additionalFields\":{}},\"credentials\":{\"iterableApi\":\"Iterable\"},\"typeVersion\":1},{\"name\":\"Iterable1\",\"type\":\"n8n-nodes-base.iterable\",\"position\":[710,340],\"parameters\":{\"value\":\"={{$node[\\\"Iterable\\\"].parameter[\\\"value\\\"]}}\",\"identifier\":\"email\",\"additionalFields\":{\"dataFieldsUi\":{\"dataFieldValues\":[{\"key\":\"Name\",\"value\":\"\"}]}}},\"credentials\":{\"iterableApi\":\"Iterable\"},\"typeVersion\":1},{\"name\":\"Iterable2\",\"type\":\"n8n-nodes-base.iterable\",\"position\":[910,340],\"parameters\":{\"email\":\"={{$node[\\\"Iterable\\\"].parameter[\\\"value\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"iterableApi\":\"Iterable\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Iterable\":{\"main\":[[{\"node\":\"Iterable1\",\"type\":\"main\",\"index\":0}]]},\"Iterable1\":{\"main\":[[{\"node\":\"Iterable2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Iterable\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive messages from a topic via Kafka and send an SMS", "output": "{\"id\":\"166\",\"name\":\"Receive messages from a topic and send an SMS\",\"nodes\":[{\"name\":\"Kafka Trigger\",\"type\":\"n8n-nodes-base.kafkaTrigger\",\"position\":[490,260],\"parameters\":{\"topic\":\"topic_test\",\"groupId\":\"n8n\",\"options\":{\"jsonParseMessage\":true}},\"credentials\":{\"kafka\":\"kafka\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[690,260],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Kafka Trigger\\\"].json[\\\"message\\\"][\\\"temp\\\"]}}\",\"value2\":50,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Vonage\",\"type\":\"n8n-nodes-base.vonage\",\"position\":[890,160],\"parameters\":{\"from\":\"Vonage APIs\",\"message\":\"=Alert!\\nThe value of temp is {{$node[\\\"Kafka Trigger\\\"].json[\\\"message\\\"][\\\"temp\\\"]}}.\",\"additionalFields\":{}},\"credentials\":{\"vonageApi\":\"vonage\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[890,360],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Vonage\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Kafka Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a short URL and get the statistics of the URL", "output": "{\"id\":\"167\",\"name\":\"Create a short URL and get the statistics of the URL\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[370,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Yourls\",\"type\":\"n8n-nodes-base.yourls\",\"position\":[570,300],\"parameters\":{\"url\":\"https://medium.com/n8n-io/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n-90dbde74223e?source=---------4-----------------------\",\"additionalFields\":{\"title\":\"Sending SMS the Low-Code Way with Airtable, Twilio Programmable SMS, and n8n\"}},\"credentials\":{\"yourlsApi\":\"Yourls\"},\"typeVersion\":1},{\"name\":\"Yourls1\",\"type\":\"n8n-nodes-base.yourls\",\"position\":[770,300],\"parameters\":{\"shortUrl\":\"={{$node[\\\"Yourls\\\"].json[\\\"shorturl\\\"]}}\",\"operation\":\"stats\"},\"credentials\":{\"yourlsApi\":\"Yourls\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Yourls\":{\"main\":[[{\"node\":\"Yourls1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Yourls\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Save your workflows into a GitHub repository", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[0,150],\"parameters\":{},\"typeVersion\":1},{\"name\":\"dataArray\",\"type\":\"n8n-nodes-base.function\",\"position\":[450,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nfor (item of items[0].json.data) {\\n newItems.push({json: item});\\n}\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"N8N Workflows\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[300,300],\"parameters\":{\"url\":\"http://localhost:8443/rest/workflows\",\"options\":{}},\"typeVersion\":1},{\"name\":\"GitHub\",\"type\":\"n8n-nodes-base.github\",\"position\":[800,130],\"parameters\":{\"owner\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"owner\\\"]}}\",\"filePath\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"path\\\"]}}{{$json[\\\"name\\\"]}}.json\",\"resource\":\"file\",\"operation\":\"get\",\"repository\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"name\\\"]}}\",\"asBinaryProperty\":false},\"credentials\":{\"githubApi\":\"GitHub\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1000,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"N8N Workflow Detail\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[800,460],\"parameters\":{\"url\":\"=http://localhost:8443/rest/workflows/{{$json[\\\"id\\\"]}}\",\"options\":{}},\"typeVersion\":1},{\"name\":\"github_status\",\"type\":\"n8n-nodes-base.switch\",\"position\":[1300,300],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"same\"},{\"output\":1,\"value2\":\"different\"},{\"output\":2,\"value2\":\"new\"}]},\"value1\":\"={{$json[\\\"github_status\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1},{\"name\":\"same\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,130],\"parameters\":{},\"typeVersion\":1},{\"name\":\"different\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"new\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1500,460],\"parameters\":{},\"typeVersion\":1},{\"name\":\"GitHub Edit\",\"type\":\"n8n-nodes-base.github\",\"position\":[1700,180],\"parameters\":{\"owner\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"owner\\\"]}}\",\"filePath\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"path\\\"]}}{{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json\",\"resource\":\"file\",\"operation\":\"edit\",\"repository\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"name\\\"]}}\",\"fileContent\":\"={{$node[\\\"isDiffOrNew\\\"].json[\\\"n8n_data_stringy\\\"]}}\",\"commitMessage\":\"=[N8N Backup] {{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json ({{$json[\\\"github_status\\\"]}})\"},\"credentials\":{\"githubApi\":\"GitHub\"},\"typeVersion\":1},{\"name\":\"GitHub Create\",\"type\":\"n8n-nodes-base.github\",\"position\":[1700,460],\"parameters\":{\"owner\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"owner\\\"]}}\",\"filePath\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"path\\\"]}}{{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json\",\"resource\":\"file\",\"repository\":\"={{$node[\\\"Globals\\\"].json[\\\"repo\\\"][\\\"name\\\"]}}\",\"fileContent\":\"={{$node[\\\"isDiffOrNew\\\"].json[\\\"n8n_data_stringy\\\"]}}\",\"commitMessage\":\"=[N8N Backup] {{$node[\\\"N8N Workflow Detail\\\"].json[\\\"data\\\"][\\\"name\\\"]}}.json ({{$json[\\\"github_status\\\"]}})\"},\"credentials\":{\"githubApi\":\"GitHub\"},\"typeVersion\":1},{\"name\":\"isDiffOrNew\",\"type\":\"n8n-nodes-base.function\",\"position\":[1150,300],\"parameters\":{\"functionCode\":\"// File Returned with Content\\nif (Object.keys(items[0].json).includes(\\\"content\\\")) {\\n // Get JSON Objects\\n var origWorkflow = eval(\\\"(\\\"+Buffer.from(items[0].json.content, 'base64').toString()+\\\")\\\");\\n var n8nWorkflow = (items[1].json.data);\\n \\n // Order JSON Objects\\n var orderedOriginal = {}\\n var orderedActual = {}\\n \\n Object.keys(origWorkflow).sort().forEach(function(key) {\\n orderedOriginal[key] = origWorkflow[key];\\n });\\n \\n Object.keys(n8nWorkflow).sort().forEach(function(key) {\\n orderedActual[key] = n8nWorkflow[key];\\n });\\n \\n // Determine Difference\\n if ( JSON.stringify(orderedOriginal) === JSON.stringify(orderedActual) ) {\\n items[0].json.github_status = \\\"same\\\";\\n items[0].json.content_decoded = orderedOriginal;\\n } else {\\n items[0].json.github_status = \\\"different\\\";\\n items[0].json.content_decoded = orderedOriginal;\\n items[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n }\\n// No File Returned / New Workflow\\n} else {\\n // Order JSON Object\\n var n8nWorkflow = (items[1].json.data);\\n var orderedActual = {}\\n Object.keys(n8nWorkflow).sort().forEach(function(key) {\\n orderedActual[key] = n8nWorkflow[key];\\n });\\n \\n // Proper Formatting\\n items[0].json.github_status = \\\"new\\\";\\n items[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\\n}\\n\\n// Return Items\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Daily @ 20:00\",\"type\":\"n8n-nodes-base.cron\",\"position\":[0,450],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":20,\"minute\":11}]}},\"typeVersion\":1},{\"name\":\"OneAtATime\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[600,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"Globals\",\"type\":\"n8n-nodes-base.set\",\"position\":[150,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"repo.owner\",\"value\":\"octocat\"},{\"name\":\"repo.name\",\"value\":\"Hello-World\"},{\"name\":\"repo.path\",\"value\":\"my-team/n8n/workflows/\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"new\":{\"main\":[[{\"node\":\"GitHub Create\",\"type\":\"main\",\"index\":0}]]},\"same\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"isDiffOrNew\",\"type\":\"main\",\"index\":0}]]},\"GitHub\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Globals\":{\"main\":[[{\"node\":\"N8N Workflows\",\"type\":\"main\",\"index\":0}]]},\"dataArray\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"different\":{\"main\":[[{\"node\":\"GitHub Edit\",\"type\":\"main\",\"index\":0}]]},\"OneAtATime\":{\"main\":[[{\"node\":\"GitHub\",\"type\":\"main\",\"index\":0},{\"node\":\"N8N Workflow Detail\",\"type\":\"main\",\"index\":0}]]},\"GitHub Edit\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"isDiffOrNew\":{\"main\":[[{\"node\":\"github_status\",\"type\":\"main\",\"index\":0}]]},\"Daily @ 20:00\":{\"main\":[[{\"node\":\"Globals\",\"type\":\"main\",\"index\":0}]]},\"GitHub Create\":{\"main\":[[{\"node\":\"OneAtATime\",\"type\":\"main\",\"index\":0}]]},\"N8N Workflows\":{\"main\":[[{\"node\":\"dataArray\",\"type\":\"main\",\"index\":0}]]},\"github_status\":{\"main\":[[{\"node\":\"same\",\"type\":\"main\",\"index\":0}],[{\"node\":\"different\",\"type\":\"main\",\"index\":0}],[{\"node\":\"new\",\"type\":\"main\",\"index\":0}]]},\"N8N Workflow Detail\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Globals\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insert and update data in Airtable", "output": "{\"id\":\"171\",\"name\":\"Insert and update data in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[500,350],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[900,350],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1100,350],\"parameters\":{\"table\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"table\\\"]}}\",\"operation\":\"list\",\"application\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"application\\\"]}}\",\"additionalOptions\":{\"filterByFormula\":\"Name='n8n'\"}},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[700,350],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ID\",\"value\":3}],\"string\":[{\"name\":\"Name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1300,350],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"nodemation\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable2\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1500,350],\"parameters\":{\"id\":\"={{$node[\\\"Airtable1\\\"].json[\\\"id\\\"]}}\",\"table\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"table\\\"]}}\",\"options\":{},\"operation\":\"update\",\"application\":\"={{$node[\\\"Airtable\\\"].parameter[\\\"application\\\"]}}\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Airtable2\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Airtable1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Coger el último item de un rss y enviarlo a Telegram", "output": "{\"id\":\"2\",\"name\":\"rss resultados euromillon\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"RSS Feed Read\",\"type\":\"n8n-nodes-base.rssFeedRead\",\"position\":[410,300],\"parameters\":{\"url\":\"https://www.loteriasyapuestas.es/es/euromillones/resultados/.formatoRSS\"},\"notesInFlow\":true,\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[830,300],\"parameters\":{\"text\":\"={{$node[\\\"RSS Feed Read\\\"].json[\\\"content\\\"]}}\",\"chatId\":\"@euromillon\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":\"euromillon\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[-475,545],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"SplitInBatches1\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[570,300],\"parameters\":{\"options\":{\"reset\":false},\"batchSize\":1},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"RSS Feed Read\":{\"main\":[[{\"node\":\"SplitInBatches1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches1\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"RSS Feed Read\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "n8n workflow backup management with Dropbox and Airtable", "output": "{\"id\":\"48\",\"name\":\"Workflow management\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[570,300],\"parameters\":{\"functionCode\":\"//console.log(items[0].json.data);\\nlet data = items[0].json.data;\\nitems = data.map(i => {\\n// console.log({json:i});\\n return {json:i};\\n});\\n//console.log(items);\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[760,300],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[2090,570],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[2270,550],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1100,200],\"parameters\":{\"table\":\"Workflows\",\"operation\":\"list\",\"application\":\"\",\"additionalOptions\":{\"fields\":[],\"filterByFormula\":\"=workflowId={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"id\\\"]}}\"}},\"credentials\":{\"airtableApi\":\"n8n management demo\"},\"typeVersion\":1,\"alwaysOutputData\":true},{\"name\":\"Airtable1\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1750,130],\"parameters\":{\"id\":\"={{$node[\\\"Airtable\\\"].json[\\\"id\\\"]}}\",\"table\":\"Workflows\",\"options\":{\"typecast\":true},\"operation\":\"update\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"n8n management demo\"},\"typeVersion\":1},{\"name\":\"Airtable2\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1750,320],\"parameters\":{\"table\":\"Workflows\",\"options\":{\"typecast\":true},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"n8n management demo\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1590,130],\"parameters\":{\"values\":{\"string\":[{\"name\":\"workflowId\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"id\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"name\\\"]}}\"},{\"name\":\"errorWorkflowId\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"settings\\\"][\\\"errorWorkflow\\\"]}}\"},{\"name\":\"createdAt\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"createdAt\\\"]}}\"},{\"name\":\"updatedAt\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"updatedAt\\\"]}}\"},{\"name\":\"nodes\",\"value\":\"={{$node[\\\"Prepare data\\\"].json[\\\"fields\\\"][\\\"nodes\\\"]}}\"},{\"name\":\"timezone\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"settings\\\"][\\\"timezone\\\"]}}\"},{\"name\":\"CRON_details\",\"value\":\"={{$node[\\\"Prepare data\\\"].json[\\\"fields\\\"][\\\"CRON_details\\\"]}}\"},{\"name\":\"rawData\",\"value\":\"={{$node[\\\"Prepare data\\\"].json[\\\"fields\\\"][\\\"rawData\\\"]}}\"}],\"boolean\":[{\"name\":\"isActive\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"active\\\"]}}\"},{\"name\":\"isCRON\",\"value\":\"={{$node[\\\"Prepare data\\\"].json[\\\"fields\\\"][\\\"isCRON\\\"]}}\"},{\"name\":\"saveManualExecutions\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"settings\\\"][\\\"saveManualExecutions\\\"]}}\"},{\"name\":\"isTrigger\",\"value\":\"={{$node[\\\"Prepare data\\\"].json[\\\"fields\\\"][\\\"isTrigger\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1590,320],\"parameters\":{\"values\":{\"string\":[{\"name\":\"workflowId\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"id\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"name\\\"]}}\"},{\"name\":\"errorWorkflowId\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"settings\\\"][\\\"errorWorkflow\\\"]}}\"},{\"name\":\"createdAt\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"createdAt\\\"]}}\"},{\"name\":\"updatedAt\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"updatedAt\\\"]}}\"},{\"name\":\"nodes\",\"value\":\"={{$node[\\\"Prepare data1\\\"].json[\\\"fields\\\"][\\\"nodes\\\"]}}\"},{\"name\":\"timezone\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"settings\\\"][\\\"timezone\\\"]}}\"},{\"name\":\"CRON_details\",\"value\":\"={{$node[\\\"Prepare data1\\\"].json[\\\"fields\\\"][\\\"CRON_details\\\"]}}\"},{\"name\":\"rawData\",\"value\":\"={{$node[\\\"Prepare data1\\\"].json[\\\"fields\\\"][\\\"rawData\\\"]}}\"}],\"boolean\":[{\"name\":\"isActive\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"active\\\"]}}\"},{\"name\":\"isCRON\",\"value\":\"={{$node[\\\"Prepare data1\\\"].json[\\\"fields\\\"][\\\"isCRON\\\"]}}\"},{\"name\":\"saveManualExecutions\",\"value\":\"={{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"settings\\\"][\\\"saveManualExecutions\\\"]}}\"},{\"name\":\"isTrigger\",\"value\":\"={{$node[\\\"Prepare data1\\\"].json[\\\"fields\\\"][\\\"isTrigger\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Get All Workflows\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[410,300],\"parameters\":{\"url\":\"http://localhost:5678/rest/workflows\",\"options\":{\"fullResponse\":false},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"\"}]},\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Prepare data\",\"type\":\"n8n-nodes-base.function\",\"position\":[1430,130],\"parameters\":{\"functionCode\":\"let data = $node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"];\\nlet file = $node[\\\"Get file link\\\"].json[\\\"link\\\"];\\nlet nodes = new Set(data[\\\"nodes\\\"].map(i => i.type));\\nlet nodes2 = [...nodes];\\n//console.log(...nodes);\\nlet data2 = data[\\\"nodes\\\"].map(i => i.name);\\nif(nodes2.includes('n8n-nodes-base.cron')){\\n console.log('Cron found!');\\n// console.log(data);\\n let cron_node = data[\\\"nodes\\\"].filter(i => i.type == 'n8n-nodes-base.cron');\\n //console.log(cron_node[0].parameters.triggerTimes.item);\\n items[0].json[\\\"fields\\\"][\\\"isCRON\\\"]=true;\\n items[0].json[\\\"fields\\\"][\\\"nodes\\\"]=[...nodes];\\n items[0].json[\\\"fields\\\"][\\\"CRON_details\\\"]=cron_node[0].parameters.triggerTimes.item;\\n items[0].json[\\\"fields\\\"][\\\"rawData\\\"]=[{url:file ,filename: 'workflow_'+data[\\\"id\\\"]+'__'+data[\\\"updatedAt\\\"]+'.json'}];\\n} else { \\n //console.log('Cron not found!');\\n items[0].json[\\\"fields\\\"][\\\"isCRON\\\"]=false;\\n items[0].json[\\\"fields\\\"][\\\"nodes\\\"]=[...nodes];\\n items[0].json[\\\"fields\\\"][\\\"rawData\\\"]=[{url:file ,filename: 'workflow_'+data[\\\"id\\\"]+'__'+data[\\\"updatedAt\\\"]+'.json'}];\\n}\\nif(nodes2.some(i => {\\n let regExp = new RegExp(/n8n-nodes-base\\\\.[\\\\w]+Trigger/);\\n if(i=='n8n-nodes-base.webhook'){\\n return true;\\n }\\n if(regExp.test(i)){\\n return true;\\n }\\n return false;\\n})){\\n items[0].json[\\\"fields\\\"][\\\"isTrigger\\\"]=true; \\n} else {\\n items[0].json[\\\"fields\\\"][\\\"isTrigger\\\"]=false;\\n}\\n \\n//console.log(items);\\nreturn items;\\n\"},\"typeVersion\":1},{\"name\":\"Prepare data1\",\"type\":\"n8n-nodes-base.function\",\"position\":[1430,320],\"parameters\":{\"functionCode\":\"let data = $node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"];\\nlet file = $node[\\\"Get file link\\\"].json[\\\"link\\\"];\\nlet nodes = new Set(data[\\\"nodes\\\"].map(i => i.type));\\nlet nodes2 = [...nodes];\\n//console.log(data);\\nlet data2 = data[\\\"nodes\\\"].map(i => i.name);\\nif(nodes2.includes('n8n-nodes-base.cron')){\\n //console.log('Cron found!');\\n let cron_node = data[\\\"nodes\\\"].filter(i => i.type == 'n8n-nodes-base.cron');\\n items[0].json={\\n fields:{\\n isCRON:true,\\n nodes:[...nodes],\\n CRON_details:cron_node[0].parameters.triggerTimes.item,\\n rawData:[{url:file ,filename: 'workflow_'+data[\\\"id\\\"]+'__'+data[\\\"updatedAt\\\"]+'.json'}]\\n }\\n };\\n} else { \\n //console.log('Cron not found!');\\n items[0].json={\\n fields:{\\n isCRON:false,\\n nodes:[...nodes],\\n rawData:[{url:file ,filename: 'workflow_'+data[\\\"id\\\"]+'__'+data[\\\"updatedAt\\\"]+'.json'}]\\n }\\n };\\n}\\nif(nodes2.some(i => {\\n let regExp = new RegExp(/n8n-nodes-base\\\\.[\\\\w]+Trigger/);\\n if(i=='n8n-nodes-base.webhook'){\\n return true;\\n }\\n if(regExp.test(i)){\\n return true;\\n }\\n return false;\\n})){\\n items[0].json[\\\"fields\\\"][\\\"isTrigger\\\"]=true; \\n} else {\\n items[0].json[\\\"fields\\\"][\\\"isTrigger\\\"]=false;\\n}\\n//console.log(items);\\nreturn items;\\n\\n\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,510],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\",\"minute\":15},{\"mode\":\"everyHour\",\"minute\":45}]}},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1000,-10],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{\"keepSource\":true}},\"typeVersion\":1},{\"name\":\"Dropbox\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1140,-10],\"parameters\":{\"path\":\"=/workflows/workflow_{{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"id\\\"]}}/workflow_{{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"id\\\"]}}__{{$node[\\\"Get Workflow Details\\\"].json[\\\"data\\\"][\\\"updatedAt\\\"]}}.json\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"My n8n backups\"},\"typeVersion\":1},{\"name\":\"Get Workflow Details\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[840,-10],\"parameters\":{\"url\":\"=http://localhost:5678/rest/workflows/{{$node[\\\"SplitInBatches\\\"].json[\\\"id\\\"]}}\",\"options\":{},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"\"}]},\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Get file link\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1290,-10],\"parameters\":{\"url\":\"https://api.dropboxapi.com/2/files/get_temporary_link\",\"options\":{},\"requestMethod\":\"POST\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"path\",\"value\":\"={{$node[\\\"Dropbox\\\"].json[\\\"path_lower\\\"]}}\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"\"}]}},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"IF Airtable record exists?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1270,200],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Airtable\\\"].json[\\\"id\\\"] != \\\"\\\" && $node[\\\"Airtable\\\"].json[\\\"id\\\"] != null && $node[\\\"Airtable\\\"].json[\\\"id\\\"] != undefined}}\",\"value2\":true}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{\"errorWorkflow\":\"5\"},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Set\":{\"main\":[[{\"node\":\"Airtable1\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Get All Workflows\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Airtable2\",\"type\":\"main\",\"index\":0}]]},\"Dropbox\":{\"main\":[[{\"node\":\"Get file link\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"IF Airtable record exists?\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Airtable1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Airtable2\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Prepare data\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Get file link\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Prepare data1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"Get Workflow Details\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Dropbox\",\"type\":\"main\",\"index\":0}]]},\"Get All Workflows\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Get Workflow Details\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get All Workflows\",\"type\":\"main\",\"index\":0}]]},\"IF Airtable record exists?\":{\"main\":[[{\"node\":\"Prepare data\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Prepare data1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a table, and insert and update data in the table in Snowflake", "output": "{\"id\":\"172\",\"name\":\"Create a table, and insert and update data in the table in Snowflake\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":1}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Snowflake\",\"type\":\"n8n-nodes-base.snowflake\",\"position\":[450,300],\"parameters\":{\"query\":\"CREATE TABLE docs (id INT, name STRING);\",\"operation\":\"executeQuery\"},\"credentials\":{\"snowflake\":\"Snowflake n8n Credentials\"},\"typeVersion\":1},{\"name\":\"Snowflake1\",\"type\":\"n8n-nodes-base.snowflake\",\"position\":[850,300],\"parameters\":{\"table\":\"docs\",\"columns\":\"id, name\"},\"credentials\":{\"snowflake\":\"Snowflake n8n Credentials\"},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[1050,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":1}],\"string\":[{\"name\":\"name\",\"value\":\"nodemation\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Snowflake2\",\"type\":\"n8n-nodes-base.snowflake\",\"position\":[1250,300],\"parameters\":{\"table\":\"={{$node[\\\"Snowflake1\\\"].parameter[\\\"table\\\"]}}\",\"columns\":\"name\",\"operation\":\"update\"},\"credentials\":{\"snowflake\":\"Snowflake n8n Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Snowflake1\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Snowflake2\",\"type\":\"main\",\"index\":0}]]},\"Snowflake\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Snowflake1\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Snowflake\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get a post in Ghost", "output": "{\"id\":\"170\",\"name\":\"Create, update, and get a post in Ghost\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[310,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Ghost\",\"type\":\"n8n-nodes-base.ghost\",\"position\":[510,300],\"parameters\":{\"title\":\"Running ghost with n8n!\",\"source\":\"adminApi\",\"content\":\"

    In this article, you will learn how to automate your Ghost site with n8n!

    \",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"ghostAdminApi\":\"Ghost Admin API\"},\"typeVersion\":1},{\"name\":\"Ghost1\",\"type\":\"n8n-nodes-base.ghost\",\"position\":[710,300],\"parameters\":{\"postId\":\"={{$node[\\\"Ghost\\\"].json[\\\"id\\\"]}}\",\"source\":\"adminApi\",\"operation\":\"update\",\"updateFields\":{\"status\":\"published\"}},\"credentials\":{\"ghostAdminApi\":\"Ghost Admin API\"},\"typeVersion\":1},{\"name\":\"Ghost2\",\"type\":\"n8n-nodes-base.ghost\",\"position\":[910,300],\"parameters\":{\"by\":\"id\",\"source\":\"adminApi\",\"options\":{},\"identifier\":\"={{$node[\\\"Ghost\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"ghostAdminApi\":\"Ghost Admin API\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Ghost\":{\"main\":[[{\"node\":\"Ghost1\",\"type\":\"main\",\"index\":0}]]},\"Ghost1\":{\"main\":[[{\"node\":\"Ghost2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Ghost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create and update a channel, and send a message on Twist", "output": "{\"id\":\"173\",\"name\":\"Create and update a channel, and send a message on Twist\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[470,260],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Twist\",\"type\":\"n8n-nodes-base.twist\",\"position\":[670,260],\"parameters\":{\"name\":\"n8n-docs\",\"resource\":\"channel\",\"workspaceId\":150329,\"additionalFields\":{\"user_ids\":[475370]}},\"credentials\":{\"twistOAuth2Api\":\"Twist OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Twist1\",\"type\":\"n8n-nodes-base.twist\",\"position\":[870,260],\"parameters\":{\"resource\":\"channel\",\"channelId\":\"={{$node[\\\"Twist\\\"].json[\\\"id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"description\":\"Discussion for documentation\"}},\"credentials\":{\"twistOAuth2Api\":\"Twist OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Twist2\",\"type\":\"n8n-nodes-base.twist\",\"position\":[1070,260],\"parameters\":{\"content\":\"=Hey [Harshil](twist-mention://475370)!\\nYou have been added to the {{$node[\\\"Twist\\\"].json[\\\"name\\\"]}} channel.\\nClick on the button below to quickly navigate to the documentation website.\",\"workspaceId\":150329,\"conversationId\":989141,\"additionalFields\":{\"actionsUi\":{\"actionValues\":[{\"url\":\"https://docs.n8n.io\",\"type\":\"action\",\"action\":\"open_url\",\"button_text\":\"Documentation site\"}]}}},\"credentials\":{\"twistOAuth2Api\":\"Twist OAuth Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Twist\":{\"main\":[[{\"node\":\"Twist1\",\"type\":\"main\",\"index\":0}]]},\"Twist1\":{\"main\":[[{\"node\":\"Twist2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Twist\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "mongo2sheet", "output": "{\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,270],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"MongoDB\",\"type\":\"n8n-nodes-base.mongoDb\",\"position\":[660,270],\"parameters\":{\"collection\":\"orders\"},\"credentials\":{\"mongoDb\":\"maisjogo\"},\"typeVersion\":1},{\"name\":\"Google Sheets\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[810,270],\"parameters\":{\"range\":\"A:Z\",\"options\":{},\"sheetId\":\"1QeZ-J2SjIc2DkgBubfm9uc-w2iMHuPFUJ03TmKUBG4I\",\"operation\":\"append\"},\"credentials\":{\"googleApi\":\"test api\"},\"typeVersion\":1}],\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"MongoDB\",\"type\":\"main\",\"index\":0}]]},\"MongoDB\":{\"main\":[[{\"node\":\"Google Sheets\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send the astronomy picture of the day daily to a Telegram channel", "output": "{\"id\":\"174\",\"name\":\"Send the Astronomy Picture of the day daily to a Telegram channel\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":20}]}},\"typeVersion\":1},{\"name\":\"NASA\",\"type\":\"n8n-nodes-base.nasa\",\"position\":[650,300],\"parameters\":{\"download\":false,\"additionalFields\":{}},\"credentials\":{\"nasaApi\":\"NASA\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[850,300],\"parameters\":{\"file\":\"={{$node[\\\"NASA\\\"].json[\\\"url\\\"]}}\",\"chatId\":\"-485365454\",\"operation\":\"sendPhoto\",\"additionalFields\":{\"caption\":\"={{$node[\\\"NASA\\\"].json[\\\"title\\\"]}}\"}},\"credentials\":{\"telegramApi\":\"Telegram n8n bot\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"NASA\",\"type\":\"main\",\"index\":0}]]},\"NASA\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Move metrics from Google Sheets to Orbit", "output": "{\"name\":\"Moving metrics from Google Sheets to Orbit\",\"nodes\":[{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1473,426],\"parameters\":{\"mode\":\"mergeByKey\",\"propertyName1\":\"GitHub Username\",\"propertyName2\":\"attributes.slug\"},\"typeVersion\":1},{\"name\":\"Add Members\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[1073,326],\"parameters\":{\"operation\":\"upsert\",\"identityUi\":{\"identityValue\":{\"source\":\"github\",\"searchBy\":\"username\",\"username\":\"={{$json[\\\"GitHub\\\"]}}\"}},\"workspaceId\":\"543\",\"additionalFields\":{\"name\":\"={{$json[\\\"Name\\\"]}}\",\"tShirt\":\"={{$json[\\\"T-Shirt Size\\\"]}}\",\"location\":\"={{$json[\\\"Location\\\"]}}\",\"tagsToAdd\":\"={{$json[\\\"Tags\\\"]}}\"}},\"credentials\":{\"orbitApi\":\"Orbit Credentials\"},\"typeVersion\":1},{\"name\":\"Get all members\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[1273,526],\"parameters\":{\"options\":{},\"operation\":\"getAll\",\"returnAll\":true,\"workspaceId\":\"543\"},\"credentials\":{\"orbitApi\":\"Orbit Credentials\"},\"typeVersion\":1},{\"name\":\"Get Members\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[873,326],\"parameters\":{\"range\":\"Members!A:F\",\"options\":{},\"sheetId\":\"1GiR5glinWBUJ-pw3w8LpcuwyOXst2z5nnFSak8DQrMQ\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Google Sheets Credentials\"},\"typeVersion\":1},{\"name\":\"Get Activities\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[1273,326],\"parameters\":{\"range\":\"Activities!A:D\",\"options\":{\"returnAllMatches\":true},\"sheetId\":\"={{$node[\\\"Get Members\\\"].parameter[\\\"sheetId\\\"]}}\",\"operation\":\"lookup\",\"lookupValue\":\"={{$node[\\\"Get Members\\\"].json[\\\"GitHub\\\"]}}\",\"lookupColumn\":\"GitHub Username\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"Google Sheets Credentials\"},\"typeVersion\":1},{\"name\":\"Add Activities\",\"type\":\"n8n-nodes-base.orbit\",\"position\":[1673,426],\"parameters\":{\"title\":\"={{$json[\\\"Title\\\"]}}\",\"memberId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"activity\",\"workspaceId\":\"543\",\"additionalFields\":{\"link\":\"={{$json[\\\"Activity Link\\\"]}}\",\"description\":\"={{$node[\\\"Merge\\\"].json[\\\"Description\\\"]}}\"}},\"credentials\":{\"orbitApi\":\"Orbit Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Add Activities\",\"type\":\"main\",\"index\":0}]]},\"Add Members\":{\"main\":[[{\"node\":\"Get Activities\",\"type\":\"main\",\"index\":0}]]},\"Get Members\":{\"main\":[[{\"node\":\"Add Members\",\"type\":\"main\",\"index\":0}]]},\"Get Activities\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Get all members\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]}}}" }, { "input": "Create a channel, add a member, and post a message to the channel on Mattermost", "output": "{\"id\":\"178\",\"name\":\"Create a channel, add a member, and post a message to the channel\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[470,340],\"parameters\":{\"teamId\":\"4zhpirmh97fn7jgp7qhyue5a6e\",\"channel\":\"docs\",\"resource\":\"channel\",\"displayName\":\"Docs\"},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Mattermost1\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[670,340],\"parameters\":{\"userId\":\"5oiy71hukjgd9eprj1o4a3poio\",\"resource\":\"channel\",\"channelId\":\"={{$node[\\\"Mattermost\\\"].json[\\\"id\\\"]}}\",\"operation\":\"addUser\"},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Mattermost2\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[870,340],\"parameters\":{\"message\":\"Hey! Welcome to the channel!\",\"channelId\":\"={{$node[\\\"Mattermost\\\"].json[\\\"id\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Mattermost\":{\"main\":[[{\"node\":\"Mattermost1\",\"type\":\"main\",\"index\":0}]]},\"Mattermost1\":{\"main\":[[{\"node\":\"Mattermost2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get company data and store it in Airtable", "output": "{\"id\":\"176\",\"name\":\"Get the logo, icon, and information of a company and store it in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Brandfetch\",\"type\":\"n8n-nodes-base.Brandfetch\",\"position\":[450,300],\"parameters\":{\"domain\":\"n8n.io\"},\"credentials\":{\"brandfetchApi\":\"Brandfetch n8n credentials\"},\"typeVersion\":1},{\"name\":\"Brandfetch1\",\"type\":\"n8n-nodes-base.Brandfetch\",\"position\":[650,300],\"parameters\":{\"domain\":\"={{$node[\\\"Brandfetch\\\"].parameter[\\\"domain\\\"]}}\",\"operation\":\"company\"},\"credentials\":{\"brandfetchApi\":\"Brandfetch n8n credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Brandfetch1\\\"].json[\\\"name\\\"]}}\"},{\"name\":\"Icon URL\",\"value\":\"={{$node[\\\"Brandfetch\\\"].json[\\\"icon\\\"][\\\"image\\\"]}}\"},{\"name\":\"Logo URL\",\"value\":\"={{$node[\\\"Brandfetch\\\"].json[\\\"logo\\\"][\\\"image\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1050,300],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"app5cseR9ZKgtU3dc\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Brandfetch\":{\"main\":[[{\"node\":\"Brandfetch1\",\"type\":\"main\",\"index\":0}]]},\"Brandfetch1\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Brandfetch\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Track changes of product prices", "output": "{\"nodes\":[{\"name\":\"HTML Extract\",\"type\":\"n8n-nodes-base.htmlExtract\",\"position\":[-220,-390],\"parameters\":{\"options\":{},\"extractionValues\":{\"values\":[{\"key\":\"price\",\"cssSelector\":\"={{$node[\\\"initItem\\\"].json[\\\"selector\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-1290,-390],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyX\",\"unit\":\"minutes\",\"value\":15}]}},\"typeVersion\":1},{\"name\":\"getActualPrice\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[-20,-390],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\n\\nvar price = String(item.price).replace(\\\",\\\", \\\".\\\");\\nprice = parseFloat(price);\\n//price = price.replace(/\\\\D/g, '');\\n//item.price = String(item.price).replace(\\\",\\\", \\\".\\\");\\n//item.price = parseFloat(item.price);\\n\\nitem.priceExists = (price > 0 ? true : false)\\nitem.price = price;\\n\\n// Update its data\\nglobalData.actualPrice = item;\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"fetchWeb\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-410,-390],\"parameters\":{\"url\":\"={{$node[\\\"initItem\\\"].json[\\\"link\\\"]}}\",\"options\":{},\"responseFormat\":\"string\"},\"typeVersion\":1},{\"name\":\"FunctionItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1020,-390],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\n\\nglobalData.iteration = 0;\\n//var thiselem = $node[\\\"initItem\\\"].json;\\n\\n//const s1 = {'slug': thiselem.slug, \\\"link\\\": thiselem.link, \\\"selector\\\": thiselem.selector, \\\"price\\\":$node[\\\"getActualPrice\\\"].json.price, \\\"currency\\\": thiselem.currency};\\n//const s2 = {'slug': thiselem.slug+'2', \\\"link\\\": thiselem.link, \\\"selector\\\": thiselem.selector, \\\"price\\\":$node[\\\"getActualPrice\\\"].json.price, \\\"currency\\\": thiselem.currency};\\n//const s3 = {'slug': thiselem.slug+'3', \\\"link\\\": thiselem.link, \\\"selector\\\": thiselem.selector, \\\"price\\\":$node[\\\"getActualPrice\\\"].json.price, \\\"currency\\\": thiselem.currency};\\n\\nreturn $node[\\\"changeME\\\"].json.myWatchers;\\n\"},\"typeVersion\":1},{\"name\":\"Write Binary File1\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[1850,-390],\"parameters\":{\"fileName\":\"/data/kopacky.json\",\"dataPropertyName\":\"=price\"},\"typeVersion\":1},{\"name\":\"Move Binary Data1\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1420,-390],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{},\"destinationKey\":\"price\"},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[550,-370],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"checkifexists\\\"].json[\\\"stdout\\\"]}}\",\"value2\":\"Exists\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"checkifexists\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[410,-370],\"parameters\":{\"command\":\"if [ -r /data/kopacky.json ]; then echo Exists; fi\"},\"typeVersion\":1},{\"name\":\"IF3\",\"type\":\"n8n-nodes-base.if\",\"position\":[680,110],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"checkifexists\\\"].json[\\\"stdout\\\"]}}\",\"value2\":\"Exists\"}]}},\"typeVersion\":1},{\"name\":\"SaveToFile\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[1650,110],\"parameters\":{\"fileName\":\"/data/kopacky.json\",\"dataPropertyName\":\"=price\"},\"typeVersion\":1},{\"name\":\"JsonToBinary\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1500,110],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{},\"destinationKey\":\"price\"},\"typeVersion\":1},{\"name\":\"changeME\",\"type\":\"n8n-nodes-base.functionItem\",\"color\":\"#3BDD33\",\"position\":[-830,-390],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\n\\n//{'slug': 'kopacky', 'link': 'https://www.adsport.sk/kopacky-lisovky-adidas-x-19-3-ll-fg-ef0598/#1131861', 'currency': 'EUR'}[]\\nvar myWatchers = [\\n{'slug': 'kopacky', 'link': 'https://www.adsport.sk/kopacky-lisovky-adidas-x-19-3-ll-fg-ef0598/#1131861', 'selector':'.prices > strong:nth-child(1) > span:nth-child(1)', 'currency': 'EUR'},\\n{'slug': 'kopacky2', 'link': 'https://www.adsport.sk/turfy-adidas-ace-tango-17-3-tf-by2203/', 'selector':'.col-xs-4 > strong:nth-child(1) > span:nth-child(1)', 'currency': 'EUR'},\\n{'slug': 'mobilcek', 'link': 'https://mobil.bazos.sk/inzerat/112253662/predam-odolny-doogee-s60-52-4g-lte-nfc.php', 'selector':'.listadvlevo > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(2) > b:nth-child(2)', 'currency': 'EUR'},\\n{'slug': 'ADIZERO RC 2', 'link': 'https://www.adsport.sk/panske-bezecke-topanky-adidas-adizero-rc-2-eg1187/', 'selector':'.col-xs-4 > strong:nth-child(1) > span:nth-child(1)', 'currency': 'EUR'}\\n];\\n\\nitem.myWatchers = myWatchers;\\nitem.watchersCount = myWatchers.length;\\nglobalData.myWatchers = myWatchers;\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"initItem\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[-620,-390],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\n\\nvar counter = globalData.iteration;\\n\\nitem.myWatchers[counter].watchersCount = item.watchersCount;\\nitem.myWatchers[counter].canContinue = (globalData.iteration < item.watchersCount-1 ? true : false);\\n//item.myWatchers[counter].canContinue = false;\\n\\nglobalData.iteration = counter + 1;\\n\\nreturn item.myWatchers[counter];\"},\"typeVersion\":1},{\"name\":\"savedItems\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[850,-20],\"parameters\":{\"filePath\":\"/data/kopacky.json\",\"dataPropertyName\":\"savedItems\"},\"typeVersion\":1,\"continueOnFail\":true,\"alwaysOutputData\":true},{\"name\":\"itemsToJSON\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[1020,-20],\"parameters\":{\"options\":{},\"sourceKey\":\"savedItems\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[2190,-90],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"initItem\\\"].json[\\\"canContinue\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"initItem1\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[-1060,-390],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\n\\nglobalData.iteration = 0;\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"IF2\",\"type\":\"n8n-nodes-base.if\",\"position\":[1850,110],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"getActualPrice\\\"].json[\\\"price\\\"]}}\",\"value2\":\"={{$node[\\\"updateSavedItems1\\\"].json[\\\"oldPrice\\\"]}}\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"updateSavedItems\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1350,110],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\n\\nvar myitems = [];\\nvar i;\\nfor (i = 0; i < item.items.length; i++) { \\n if($node[\\\"initItem\\\"].json.slug == item.items[i].slug && $node[\\\"getActualPrice\\\"].json.price < item.items[i].price) {\\n item.items[i].price = $node[\\\"getActualPrice\\\"].json.price;\\n }\\n myitems.push(item.items[i]);\\n} \\n\\nreturn myitems;\\n\"},\"typeVersion\":1},{\"name\":\"updateSavedItems1\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[1200,-20],\"parameters\":{\"functionCode\":\"const globalData = getWorkflowStaticData('global');\\nvar oldPrice = null;\\nvar myitems = [];\\nvar i;\\nfor (i = 0; i < item.length; i++) {\\n if($node[\\\"initItem\\\"].json.slug == item[i].slug) {\\n\\n item[i].link = $node[\\\"initItem\\\"].json.link;\\n item[i].selector = $node[\\\"initItem\\\"].json.selector;\\n item[i].currency = $node[\\\"initItem\\\"].json.currency;\\n \\n if(!item[i].price){\\n item[i].price = $node[\\\"getActualPrice\\\"].json.price;\\n }\\n \\n if($node[\\\"getActualPrice\\\"].json.price < item[i].price){\\n oldPrice = item[i].price;\\n item[i].price = $node[\\\"getActualPrice\\\"].json.price;\\n }\\n \\n \\n }\\n \\n myitems.push(item[i]);\\n} \\n\\n//item.somar = $node[\\\"initItem\\\"].json;\\n//return globalData.actualPrice;\\n\\nvar itemm = {};\\nitemm.items = myitems;\\nitemm.oldPrice = oldPrice;\\nreturn itemm;\\n\"},\"typeVersion\":1},{\"name\":\"cleanData\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"This will remove all storaged data.\",\"position\":[-1290,-560],\"parameters\":{\"command\":\"file=\\\"/data/kopacky.json\\\"\\n[ -f $file ] && rm $file\"},\"typeVersion\":1},{\"name\":\"IF4\",\"type\":\"n8n-nodes-base.if\",\"position\":[150,-390],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$node[\\\"getActualPrice\\\"].json[\\\"priceExists\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"NotifyBetterPrice\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1850,-90],\"parameters\":{\"html\":\"=

    Nová cena je: {{$node[\\\"getActualPrice\\\"].json[\\\"price\\\"]}} {{$node[\\\"initItem\\\"].json[\\\"currency\\\"]}}


    \\nPôvodná cena bola: {{$node[\\\"updateSavedItems1\\\"].json[\\\"oldPrice\\\"]}} {{$node[\\\"initItem\\\"].json[\\\"currency\\\"]}}
    \\nURL: {{$node[\\\"initItem\\\"].json[\\\"link\\\"]}}\",\"text\":\"=\",\"options\":{},\"subject\":\"=Nová cena - {{$node[\\\"initItem\\\"].json[\\\"slug\\\"]}} - {{$node[\\\"getActualPrice\\\"].json[\\\"price\\\"]}} {{$node[\\\"initItem\\\"].json[\\\"currency\\\"]}}\",\"toEmail\":\"sthosstudio@gmail.com\",\"fromEmail\":\"hostovecky@weyou.sk\"},\"credentials\":{\"smtp\":\"hostovecky@weyou.sk\"},\"typeVersion\":1},{\"name\":\"NotifyIncorrectPrice\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[270,-690],\"parameters\":{\"html\":\"=Please check the link or selector for the item with slug {{$node[\\\"initItem\\\"].json[\\\"slug\\\"]}}
    \\nURL: {{$node[\\\"initItem\\\"].json[\\\"link\\\"]}}\",\"text\":\"=\",\"options\":{},\"subject\":\"={{$node[\\\"initItem\\\"].json[\\\"slug\\\"]}} - Getting price issue.\",\"toEmail\":\"sthosstudio@gmail.com\",\"fromEmail\":\"hostovecky@weyou.sk\"},\"credentials\":{\"smtp\":\"hostovecky@weyou.sk\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"changeME\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"FunctionItem\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF3\",\"type\":\"main\",\"index\":0}]]},\"IF2\":{\"main\":[[{\"node\":\"NotifyBetterPrice\",\"type\":\"main\",\"index\":0}],[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"IF3\":{\"main\":[[{\"node\":\"savedItems\",\"type\":\"main\",\"index\":0}]]},\"IF4\":{\"main\":[[{\"node\":\"NotifyIncorrectPrice\",\"type\":\"main\",\"index\":0}],[{\"node\":\"checkifexists\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"initItem1\",\"type\":\"main\",\"index\":0}]]},\"changeME\":{\"main\":[[{\"node\":\"initItem\",\"type\":\"main\",\"index\":0}]]},\"fetchWeb\":{\"main\":[[{\"node\":\"HTML Extract\",\"type\":\"main\",\"index\":0}]]},\"initItem\":{\"main\":[[{\"node\":\"fetchWeb\",\"type\":\"main\",\"index\":0}]]},\"initItem1\":{\"main\":[[{\"node\":\"changeME\",\"type\":\"main\",\"index\":0}]]},\"SaveToFile\":{\"main\":[[{\"node\":\"IF2\",\"type\":\"main\",\"index\":0}]]},\"savedItems\":{\"main\":[[{\"node\":\"itemsToJSON\",\"type\":\"main\",\"index\":0}]]},\"itemsToJSON\":{\"main\":[[{\"node\":\"updateSavedItems1\",\"type\":\"main\",\"index\":0}]]},\"FunctionItem\":{\"main\":[[{\"node\":\"Move Binary Data1\",\"type\":\"main\",\"index\":0}]]},\"HTML Extract\":{\"main\":[[{\"node\":\"getActualPrice\",\"type\":\"main\",\"index\":0}]]},\"JsonToBinary\":{\"main\":[[{\"node\":\"SaveToFile\",\"type\":\"main\",\"index\":0}]]},\"checkifexists\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"getActualPrice\":{\"main\":[[{\"node\":\"IF4\",\"type\":\"main\",\"index\":0}]]},\"updateSavedItems\":{\"main\":[[{\"node\":\"JsonToBinary\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data1\":{\"main\":[[{\"node\":\"Write Binary File1\",\"type\":\"main\",\"index\":0}]]},\"NotifyBetterPrice\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"updateSavedItems1\":{\"main\":[[{\"node\":\"updateSavedItems\",\"type\":\"main\",\"index\":0}]]},\"Write Binary File1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"NotifyIncorrectPrice\":{\"main\":[[{\"node\":\"checkifexists\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Search available domain on GoDaddy", "output": "{\"id\":\"8\",\"name\":\"GoDaddy Search\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"GoDaddy Domain Search\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[870,300],\"parameters\":{\"url\":\"https://api.godaddy.com/v1/domains/available\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"domain\",\"value\":\"={{$node[\\\"Domain Search\\\"].json[\\\"domain\\\"]}}\"},{\"name\":\"checkType\",\"value\":\"FULL\"},{\"name\":\"forTransfer\",\"value\":\"false\"}]},\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"=sso-key {{$node[\\\"GoDaddy API Keys\\\"].json[\\\"key\\\"]}}:{{$node[\\\"GoDaddy API Keys\\\"].json[\\\"secret\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"GoDaddy API Keys\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"key\",\"value\":\"GoDaddy_API_Key\"},{\"name\":\"secret\",\"value\":\"GoDaddy_API_Secret\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Domain Search\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"domain\",\"value\":\"example.com\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Domain Search\":{\"main\":[[{\"node\":\"GoDaddy Domain Search\",\"type\":\"main\",\"index\":0}]]},\"GoDaddy API Keys\":{\"main\":[[{\"node\":\"Domain Search\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"GoDaddy API Keys\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get a document in Google Cloud Firestore", "output": "{\"id\":\"179\",\"name\":\"Create, update, and get a document in Google Cloud Firestore\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Cloud Firestore\",\"type\":\"n8n-nodes-base.googleFirebaseCloudFirestore\",\"position\":[650,300],\"parameters\":{\"columns\":\"id, name\",\"operation\":\"create\",\"projectId\":\"docs-f8925\",\"collection\":\"n8n\"},\"credentials\":{\"googleFirebaseCloudFirestoreOAuth2Api\":\"Cloud Firestore Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":1}],\"string\":[{\"name\":\"name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set1\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"name\",\"value\":\"nodemation\"},{\"name\":\"document_id\",\"value\":\"={{$node[\\\"Google Cloud Firestore\\\"].json[\\\"_id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Google Cloud Firestore1\",\"type\":\"n8n-nodes-base.googleFirebaseCloudFirestore\",\"position\":[1050,300],\"parameters\":{\"columns\":\"name\",\"operation\":\"upsert\",\"projectId\":\"={{$node[\\\"Google Cloud Firestore\\\"].parameter[\\\"projectId\\\"]}}\",\"updateKey\":\"document_id\",\"collection\":\"={{$node[\\\"Google Cloud Firestore\\\"].parameter[\\\"collection\\\"]}}\"},\"credentials\":{\"googleFirebaseCloudFirestoreOAuth2Api\":\"Cloud Firestore Credentials\"},\"typeVersion\":1},{\"name\":\"Google Cloud Firestore2\",\"type\":\"n8n-nodes-base.googleFirebaseCloudFirestore\",\"position\":[1250,300],\"parameters\":{\"projectId\":\"={{$node[\\\"Google Cloud Firestore\\\"].parameter[\\\"projectId\\\"]}}\",\"collection\":\"={{$node[\\\"Google Cloud Firestore\\\"].parameter[\\\"collection\\\"]}}\",\"documentId\":\"={{$node[\\\"Set1\\\"].json[\\\"document_id\\\"]}}\"},\"credentials\":{\"googleFirebaseCloudFirestoreOAuth2Api\":\"Cloud Firestore Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Google Cloud Firestore\",\"type\":\"main\",\"index\":0}]]},\"Set1\":{\"main\":[[{\"node\":\"Google Cloud Firestore1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Google Cloud Firestore\":{\"main\":[[{\"node\":\"Set1\",\"type\":\"main\",\"index\":0}]]},\"Google Cloud Firestore1\":{\"main\":[[{\"node\":\"Google Cloud Firestore2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily weather updates via a push notification using the Pushcut node", "output": "{\"id\":\"82\",\"name\":\"Send daily weather updates via a push notification using the Pushcut node\",\"nodes\":[{\"name\":\"Pushcut\",\"type\":\"n8n-nodes-base.pushcut\",\"position\":[1050,420],\"parameters\":{\"additionalFields\":{\"text\":\"=Hey! The temperature outside is {{$node[\\\"OpenWeatherMap\\\"].json[\\\"main\\\"][\\\"temp\\\"]}}°C.\",\"title\":\"Today's Weather Update\"},\"notificationName\":\"n8n\"},\"credentials\":{\"pushcutApi\":\"Pushcut Credentials\"},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[850,420],\"parameters\":{\"cityName\":\"berlin\"},\"credentials\":{\"openWeatherMapApi\":\"open-weather-map\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[650,420],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":9}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Pushcut\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send updates about the position of the ISS every minute to a topic in RabbitMQ", "output": "{\"id\":\"184\",\"name\":\"Send updates about the position of the ISS every minute to a topic in RabbitMQ\",\"nodes\":[{\"name\":\"RabbitMQ\",\"type\":\"n8n-nodes-base.rabbitmq\",\"position\":[1300,540],\"parameters\":{\"queue\":\"iss-position\",\"options\":{}},\"credentials\":{\"rabbitmq\":\"RabbitMQ Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1110,540],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"Longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"Timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}],\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"name\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[910,540],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[710,540],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"RabbitMQ\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive messages from a queue via RabbitMQ and send an SMS", "output": "{\"id\":\"186\",\"name\":\"Receive messages from a queue via RabbitMQ and send an SMS\",\"nodes\":[{\"name\":\"RabbitMQ\",\"type\":\"n8n-nodes-base.rabbitmqTrigger\",\"position\":[520,220],\"parameters\":{\"queue\":\"temp\",\"options\":{\"onlyContent\":true,\"jsonParseBody\":true}},\"credentials\":{\"rabbitmq\":\"RabbitMQ Credentials\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[720,220],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"RabbitMQ\\\"].json[\\\"temp\\\"]}}\",\"value2\":50,\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Vonage\",\"type\":\"n8n-nodes-base.vonage\",\"position\":[930,120],\"parameters\":{\"message\":\"=Alert!\\nThe value of temp is {{$node[\\\"RabbitMQ\\\"].json[\\\"temp\\\"]}}.\",\"additionalFields\":{}},\"credentials\":{\"vonageApi\":\"vonage\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[920,370],\"parameters\":{},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Vonage\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"RabbitMQ\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a product from WooCommerce", "output": "{\"id\":\"187\",\"name\":\"Create, update and get a product from WooCommerce\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[220,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"WooCommerce\",\"type\":\"n8n-nodes-base.wooCommerce\",\"position\":[430,300],\"parameters\":{\"name\":\"n8n Sweatshirt\",\"imagesUi\":{\"imagesValues\":[]},\"metadataUi\":{\"metadataValues\":[]},\"additionalFields\":{\"description\":\"Stay warm with this sweatshirt!\",\"regularPrice\":\"30\"}},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1},{\"name\":\"WooCommerce1\",\"type\":\"n8n-nodes-base.wooCommerce\",\"position\":[630,300],\"parameters\":{\"operation\":\"update\",\"productId\":\"={{$node[\\\"WooCommerce\\\"].json[\\\"id\\\"]}}\",\"updateFields\":{\"stockQuantity\":100}},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1},{\"name\":\"WooCommerce2\",\"type\":\"n8n-nodes-base.wooCommerce\",\"position\":[830,300],\"parameters\":{\"operation\":\"get\",\"productId\":\"={{$node[\\\"WooCommerce\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"WooCommerce\":{\"main\":[[{\"node\":\"WooCommerce1\",\"type\":\"main\",\"index\":0}]]},\"WooCommerce1\":{\"main\":[[{\"node\":\"WooCommerce2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"WooCommerce\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message on Mattermost when an order is created in WooCommerce", "output": "{\"id\":\"188\",\"name\":\"Send a message on Mattermost when an order is created in WooCommerce\",\"nodes\":[{\"name\":\"WooCommerce Trigger\",\"type\":\"n8n-nodes-base.wooCommerceTrigger\",\"position\":[550,260],\"webhookId\":\"84960a7c-cb69-4dfb-a5ed-aac12e0efbf8\",\"parameters\":{\"event\":\"order.created\"},\"credentials\":{\"wooCommerceApi\":\"woocommerce\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[750,260],\"parameters\":{\"message\":\"={{$node[\\\"WooCommerce Trigger\\\"].json[\\\"billing\\\"][\\\"first_name\\\"]}} bought {{$node[\\\"WooCommerce Trigger\\\"].json[\\\"line_items\\\"][0][\\\"name\\\"]}}!\",\"channelId\":\"pj1p95ebei8g3ro5p84kxxuuio\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"WooCommerce Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Verify an email recipient with uProc", "output": "{\"id\":\"103\",\"name\":\"verify email\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Email Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[640,510],\"parameters\":{\"functionCode\":\"item.email = \\\"mcolomer@gmail.com\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Check Email Exists\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[850,510],\"parameters\":{\"tool\":\"checkEmailExists\",\"email\":\"={{$node[\\\"Create Email Item\\\"].json[\\\"email\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Email Exists?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,510],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Check Email Exists\\\"].json[\\\"message\\\"][\\\"response\\\"]}}\",\"value2\":\"deliverable\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Create Email Item\":{\"main\":[[{\"node\":\"Check Email Exists\",\"type\":\"main\",\"index\":0}]]},\"Check Email Exists\":{\"main\":[[{\"node\":\"Email Exists?\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Email Item\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Detect web visitors country by IP address with uProc", "output": "{\"id\":\"104\",\"name\":\"location_by_ip\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Location By IP\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[850,510],\"parameters\":{\"ip\":\"={{$node[\\\"Create IP and Email Item\\\"].json[\\\"ip\\\"]}}\",\"tool\":\"getLocationByIp\",\"group\":\"geographic\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"User in Spain?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,510],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Location By IP\\\"].json[\\\"message\\\"][\\\"country_code\\\"]}}\",\"value2\":\"ES\"}]}},\"typeVersion\":1},{\"name\":\"Create IP and Email Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[640,510],\"parameters\":{\"functionCode\":\"item.ip = \\\"83.46.131.46\\\";\\nitem.email = \\\"miquel@uproc.io\\\";\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Send English Email\",\"type\":\"n8n-nodes-base.awsSes\",\"position\":[1270,650],\"parameters\":{\"body\":\"Hi,\\n\\nThank you for your signup!\",\"subject\":\"Welcome aboard\",\"fromEmail\":\"sample@uproc.io\",\"toAddresses\":[\"={{$node[\\\"Create IP and Email Item\\\"].json[\\\"email\\\"]}}\"],\"additionalFields\":{}},\"credentials\":{\"aws\":\"ses\"},\"typeVersion\":1},{\"name\":\"Send Spanish Email\",\"type\":\"n8n-nodes-base.awsSes\",\"position\":[1270,420],\"parameters\":{\"body\":\"Hola,\\n\\n¡Gracias por registrarte!\",\"subject\":\"Bienvenido a bordo\",\"fromEmail\":\"sample@uproc.io\",\"toAddresses\":[\"={{$node[\\\"Create IP and Email Item\\\"].json[\\\"email\\\"]}}\"],\"additionalFields\":{}},\"credentials\":{\"aws\":\"ses\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"User in Spain?\":{\"main\":[[{\"node\":\"Send Spanish Email\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send English Email\",\"type\":\"main\",\"index\":0}]]},\"Get Location By IP\":{\"main\":[[{\"node\":\"User in Spain?\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create IP and Email Item\",\"type\":\"main\",\"index\":0}]]},\"Create IP and Email Item\":{\"main\":[[{\"node\":\"Get Location By IP\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get a subscriber using the e-goi node", "output": "{\"id\":\"189\",\"name\":\"Create, update, and get a subscriber using the e-goi node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"e-goi\",\"type\":\"n8n-nodes-base.egoi\",\"position\":[470,300],\"parameters\":{\"list\":1,\"email\":\"nathan@testmail.com\",\"additionalFields\":{\"first_name\":\"Nathan\"}},\"credentials\":{\"egoiApi\":\"e-goi Credentials\"},\"typeVersion\":1},{\"name\":\"e-goi1\",\"type\":\"n8n-nodes-base.egoi\",\"position\":[670,300],\"parameters\":{\"list\":\"={{$node[\\\"e-goi\\\"].parameter[\\\"list\\\"]}}\",\"contactId\":\"={{$node[\\\"e-goi\\\"].json[\\\"base\\\"][\\\"contact_id\\\"]}}\",\"operation\":\"update\",\"updateFields\":{\"first_name\":\"Nat\"}},\"credentials\":{\"egoiApi\":\"e-goi Credentials\"},\"typeVersion\":1},{\"name\":\"e-goi2\",\"type\":\"n8n-nodes-base.egoi\",\"position\":[870,300],\"parameters\":{\"list\":\"={{$node[\\\"e-goi\\\"].parameter[\\\"list\\\"]}}\",\"contactId\":\"={{$node[\\\"e-goi1\\\"].json[\\\"base\\\"][\\\"contact_id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"egoiApi\":\"e-goi Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"e-goi\":{\"main\":[[{\"node\":\"e-goi1\",\"type\":\"main\",\"index\":0}]]},\"e-goi1\":{\"main\":[[{\"node\":\"e-goi2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"e-goi\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Weekly Coffee Chat (Mattermost Version)", "output": "{\"id\":\"7\",\"name\":\"Coffee Bot (Mattermost)\",\"nodes\":[{\"name\":\"Divide into groups\",\"type\":\"n8n-nodes-base.function\",\"position\":[1060,300],\"parameters\":{\"functionCode\":\"const ideal_group_size = 3;\\nlet groups = [];\\nlet data_as_array = [];\\nlet newItems = [];\\n\\n// Take all the users and add them to an array\\nfor (let j = 0; j < items.length; j++) {\\n data_as_array.push({username: items[j].json.username, email: items[j].json.email});\\n}\\n\\n// Fisher-Yates (aka Knuth) Shuffle\\nfunction shuffle(array) {\\n var currentIndex = array.length, temporaryValue, randomIndex;\\n\\n // While there remain elements to shuffle...\\n while (0 !== currentIndex) {\\n\\n // Pick a remaining element...\\n randomIndex = Math.floor(Math.random() * currentIndex);\\n currentIndex -= 1;\\n\\n // And swap it with the current element.\\n temporaryValue = array[currentIndex];\\n array[currentIndex] = array[randomIndex];\\n array[randomIndex] = temporaryValue;\\n }\\n\\n return array;\\n}\\n\\n// Randomize the sequence of names in the array\\ndata_as_array = shuffle(data_as_array);\\n\\n// Create groups of ideal group size (3)\\nfor (let i = 0; i < data_as_array.length; i += ideal_group_size) {\\n groups.push(data_as_array.slice(i, i + ideal_group_size));\\n}\\n\\n// Make sure that no group has just one person. If it does, take\\n// one from previous group and add it to that group \\nfor (let k = 0; k < groups.length; k++) {\\n if (groups[k].length === 1) {\\n groups[k].push(groups[k-1].shift());\\n }\\n}\\n\\nfor (let l = 0; l < groups.length; l++) {\\n newItems.push({json: {groupsUsername: groups[l].map(a=> a.username), groupsEmail: groups[l].map(b=> b.email)}})\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Greetings\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[650,300],\"parameters\":{\"message\":\"👋 Happy Monday\\n\\nGroups for this week's virtual coffee are:\",\"channelId\":\"Enter Your Channel ID\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Cred\"},\"typeVersion\":1},{\"name\":\"Weekly trigger on monday\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":10,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"Announce groups\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1250,200],\"parameters\":{\"message\":\"=☀️ {{$node[\\\"Divide into groups\\\"].json[\\\"groupsUsername\\\"].join(', ')}}\",\"channelId\":\"=\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Cred\"},\"typeVersion\":1},{\"name\":\"Employees in coffee chat channel\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[850,300],\"parameters\":{\"resource\":\"user\",\"operation\":\"getAll\",\"additionalFields\":{\"inChannel\":\"={{$node[\\\"Greetings\\\"].parameter[\\\"channelId\\\"]}}\"}},\"credentials\":{\"mattermostApi\":\"Mattermost Cred\"},\"typeVersion\":1},{\"name\":\"Send calendar invites\",\"type\":\"n8n-nodes-base.googleCalendar\",\"position\":[1250,400],\"parameters\":{\"end\":\"2020-12-17T18:38:49.000Z\",\"start\":\"2020-12-17T18:08:49.000Z\",\"calendar\":\"Enter Your Google Calendar\",\"additionalFields\":{\"summary\":\"n8n coffee catchup\",\"attendees\":[\"={{$node[\\\"Divide into groups\\\"].json[\\\"groupsEmail\\\"].join(',')}}\"],\"guestsCanModify\":true,\"conferenceDataUi\":{\"conferenceDataValues\":{\"conferenceSolution\":\"hangoutsMeet\"}}}},\"credentials\":{\"googleCalendarOAuth2Api\":\"Google Calendar Cred\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Greetings\":{\"main\":[[{\"node\":\"Employees in coffee chat channel\",\"type\":\"main\",\"index\":0}]]},\"Divide into groups\":{\"main\":[[{\"node\":\"Announce groups\",\"type\":\"main\",\"index\":0},{\"node\":\"Send calendar invites\",\"type\":\"main\",\"index\":0}]]},\"Weekly trigger on monday\":{\"main\":[[{\"node\":\"Greetings\",\"type\":\"main\",\"index\":0}]]},\"Employees in coffee chat channel\":{\"main\":[[{\"node\":\"Divide into groups\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Weekly Coffee Chat (Matrix Version)", "output": "{\"id\":\"9\",\"name\":\"Coffee Bot (Matrix)\",\"nodes\":[{\"name\":\"Greetings\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[670,240],\"parameters\":{\"text\":\"👋 Happy Monday Groups for this week's virtual coffee are:\",\"roomId\":\"Enter your Room ID\"},\"credentials\":{\"matrixApi\":\"Matrix Creds\"},\"typeVersion\":1},{\"name\":\"Employees in coffee chat channel\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[880,240],\"parameters\":{\"roomId\":\"Enter your Room ID\",\"filters\":{\"membership\":\"\"},\"resource\":\"roomMember\"},\"credentials\":{\"matrixApi\":\"Enter Your Matrix Credentials\"},\"typeVersion\":1},{\"name\":\"Weekly trigger on monday1\",\"type\":\"n8n-nodes-base.cron\",\"position\":[480,240],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":10,\"mode\":\"everyWeek\"}]}},\"typeVersion\":1},{\"name\":\"Divide into groups\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"This still needs to be reconfigured to grab the information from the second Matrix node. Have an issue with the \",\"position\":[1090,240],\"parameters\":{\"functionCode\":\"const ideal_group_size = 3;\\nlet groups = [];\\nlet data_as_array = [];\\nlet newItems = [];\\n\\n// Take all the users and add them to an array\\nfor (let j = 0; j < items.length; j++) {\\n data_as_array.push({username: items[j].json.user_id});\\n}\\n\\n// Fisher-Yates (aka Knuth) Shuffle\\nfunction shuffle(array) {\\n var currentIndex = array.length, temporaryValue, randomIndex;\\n\\n // While there remain elements to shuffle...\\n while (0 !== currentIndex) {\\n\\n // Pick a remaining element...\\n randomIndex = Math.floor(Math.random() * currentIndex);\\n currentIndex -= 1;\\n\\n // And swap it with the current element.\\n temporaryValue = array[currentIndex];\\n array[currentIndex] = array[randomIndex];\\n array[randomIndex] = temporaryValue;\\n }\\n\\n return array;\\n}\\n\\n// Randomize the sequence of names in the array\\ndata_as_array = shuffle(data_as_array);\\n\\n// Create groups of ideal group size (3)\\nfor (let i = 0; i < data_as_array.length; i += ideal_group_size) {\\n groups.push(data_as_array.slice(i, i + ideal_group_size));\\n}\\n\\n// Make sure that no group has just one person. If it does, take\\n// one from previous group and add it to that group \\nfor (let k = 0; k < groups.length; k++) {\\n if (groups[k].length === 1) {\\n groups[k].push(groups[k-1].shift());\\n }\\n}\\n\\nfor (let l = 0; l < groups.length; l++) {\\n newItems.push({json: {groupsUsername: groups[l].map(a=> a.username)}})\\n}\\n\\nreturn newItems;\\n\"},\"typeVersion\":1},{\"name\":\"Announce groups\",\"type\":\"n8n-nodes-base.matrix\",\"position\":[1290,240],\"parameters\":{\"text\":\"=☀️ {{$node[\\\"Divide into groups\\\"].json[\\\"groupsUsername\\\"].join(', ')}}\",\"roomId\":\"!hobuowPzLuKnojiyfV:matrix.org\"},\"credentials\":{\"matrixApi\":\"Matrix Creds\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Greetings\":{\"main\":[[{\"node\":\"Employees in coffee chat channel\",\"type\":\"main\",\"index\":0}]]},\"Divide into groups\":{\"main\":[[{\"node\":\"Announce groups\",\"type\":\"main\",\"index\":0}]]},\"Weekly trigger on monday1\":{\"main\":[[{\"node\":\"Greetings\",\"type\":\"main\",\"index\":0}]]},\"Employees in coffee chat channel\":{\"main\":[[{\"node\":\"Divide into groups\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send daily recipe emails automatically ", "output": "{\"id\":\"11\",\"name\":\"What To Eat\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[100,400],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":10}]}},\"typeVersion\":1},{\"name\":\"Search Criteria\",\"type\":\"n8n-nodes-base.set\",\"position\":[300,400],\"parameters\":{\"values\":{\"number\":[{\"name\":\"RecipeCount\",\"value\":3},{\"name\":\"IngredientCount\",\"value\":5},{\"name\":\"CaloriesMin\"},{\"name\":\"CaloriesMax\",\"value\":1500},{\"name\":\"TimeMin\"},{\"name\":\"TimeMax\",\"value\":30}],\"string\":[{\"name\":\"Diet\",\"value\":\"balanced\"},{\"name\":\"Health\",\"value\":\"random\"},{\"name\":\"SearchItem\",\"value\":\"chicken\"},{\"name\":\"AppID\",\"value\":\"Enter Your Edamam AppID Here\"},{\"name\":\"AppKey\",\"value\":\"Enter Your Edamam AppKey Here\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Set Query Values\",\"type\":\"n8n-nodes-base.function\",\"position\":[500,400],\"parameters\":{\"functionCode\":\"items[0].json.calories = items[0].json.CaloriesMin + \\\"-\\\" + items[0].json.CaloriesMax;\\nitems[0].json.time = items[0].json.TimeMin + \\\"-\\\" + items[0].json.TimeMax;\\n\\nif (items[0].json.Diet.toUpperCase() == \\\"RANDOM\\\") {\\n arrDiet = [\\\"balanced\\\",\\\"high-fiber\\\",\\\"high-protein\\\",\\\"low-carb\\\",\\\"low-fat\\\",\\\"low-sodium\\\"];\\n intRandomNumber = Math.floor(Math.random() * 6);\\n items[0].json.Diet = arrDiet[intRandomNumber];\\n}\\n\\nif (items[0].json.Health.toUpperCase() == \\\"RANDOM\\\") {\\n arrHealth = [\\\"alcohol-free\\\",\\\"immuno-supportive\\\",\\\"celery-free\\\",\\\"crustacean-free\\\",\\\"dairy-free\\\",\\\"egg-free\\\",\\\"fish-free\\\",\\\"fodmap-free\\\",\\\"gluten-free\\\",\\\"keto-friendly\\\",\\\"kidney-friendly\\\",\\\"kosher\\\",\\\"low-potassium\\\",\\\"lupine-free\\\",\\\"mustard-free\\\",\\\"low-fat-abs\\\",\\\"no-oil-added\\\",\\\"low-sugar\\\",\\\"paleo\\\",\\\"peanut-free\\\",\\\"pecatarian\\\",\\\"pork-free\\\",\\\"red-meat-free\\\",\\\"sesame-free\\\",\\\"shellfish-free\\\",\\\"soy-free\\\",\\\"sugar-conscious\\\",\\\"tree-nut-free\\\",\\\"vegan\\\",\\\"vegetarian\\\",\\\"wheat-free\\\"];\\n intRandomNumber = Math.floor(Math.random() * 31);\\n items[0].json.Health = arrHealth[intRandomNumber];\\n}\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Set Recipe ID Values\",\"type\":\"n8n-nodes-base.function\",\"position\":[1080,400],\"parameters\":{\"functionCode\":\"items[0].json.from = Math.floor(Math.random() * items[0].json.RecipeCount) + 1;\\nitems[0].json.to = items[0].json.from + items[0].json.ReturnCount;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Retrieve Recipe Counts\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[700,400],\"parameters\":{\"url\":\"https://api.edamam.com/search\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"q\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"SearchItem\\\"]}}\"},{\"name\":\"app_id\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"AppID\\\"]}}\"},{\"name\":\"app_key\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"AppKey\\\"]}}\"},{\"name\":\"ingr\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"IngredientCount\\\"]}}\"},{\"name\":\"diet\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"Diet\\\"]}}\"},{\"name\":\"calories\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"calories\\\"]}}\"},{\"name\":\"time\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"time\\\"]}}\"},{\"name\":\"from\",\"value\":\"1\"},{\"name\":\"to\",\"value\":\"2\"}]}},\"typeVersion\":1},{\"name\":\"Retrieve Recipes\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1260,400],\"parameters\":{\"url\":\"https://api.edamam.com/search\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"q\",\"value\":\"={{$node[\\\"Search Criteria\\\"].json[\\\"SearchItem\\\"]}}\"},{\"name\":\"app_id\",\"value\":\"={{$node[\\\"Search Criteria\\\"].json[\\\"AppID\\\"]}}\"},{\"name\":\"app_key\",\"value\":\"={{$node[\\\"Search Criteria\\\"].json[\\\"AppKey\\\"]}}\"},{\"name\":\"from\",\"value\":\"={{$node[\\\"Set Recipe ID Values\\\"].json[\\\"from\\\"]}}\"},{\"name\":\"to\",\"value\":\"={{$node[\\\"Set Recipe ID Values\\\"].json[\\\"to\\\"]}}\"},{\"name\":\"ingr\",\"value\":\"={{$node[\\\"Search Criteria\\\"].json[\\\"IngredientCount\\\"]}}\"},{\"name\":\"diet\",\"value\":\"={{$node[\\\"Search Criteria\\\"].json[\\\"Diet\\\"]}}\"},{\"name\":\"calories\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"calories\\\"]}}\"},{\"name\":\"time\",\"value\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"time\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Set Counts\",\"type\":\"n8n-nodes-base.set\",\"position\":[880,400],\"parameters\":{\"values\":{\"number\":[{\"name\":\"RecipeCount\",\"value\":\"={{$node[\\\"Retrieve Recipe Counts\\\"].json[\\\"count\\\"]}}\"},{\"name\":\"ReturnCount\",\"value\":\"={{$node[\\\"Search Criteria\\\"].json[\\\"RecipeCount\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Send Recipes\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1660,400],\"parameters\":{\"html\":\"={{$node[\\\"Create Email Body in HTML\\\"].json[\\\"emailBody\\\"]}}\",\"options\":{},\"subject\":\"={{$node[\\\"Set Query Values\\\"].json[\\\"RecipeCount\\\"]}} {{$node[\\\"Set Query Values\\\"].json[\\\"Diet\\\"]}}, {{$node[\\\"Set Query Values\\\"].json[\\\"Health\\\"]}} {{$node[\\\"Set Query Values\\\"].json[\\\"SearchItem\\\"]}} recipes under {{$node[\\\"Set Query Values\\\"].json[\\\"CaloriesMax\\\"]}} calories ready in under {{$node[\\\"Set Query Values\\\"].json[\\\"TimeMax\\\"]}} minutes\",\"toEmail\":\"Enter Your Email Address Here\",\"fromEmail\":\"Enter Your Email Address Here\"},\"credentials\":{\"smtp\":\"Gmail Creds\"},\"typeVersion\":1},{\"name\":\"Create Email Body in HTML\",\"type\":\"n8n-nodes-base.function\",\"position\":[1460,400],\"parameters\":{\"functionCode\":\"arrRecipes = items[0].json.hits;\\nitems[0].json = {};\\n\\nstrEmailBody = \\\"Here are your recipes for today:
      \\\";\\n\\narrRecipes.forEach(createHTML);\\n\\nfunction createHTML(value, index, array) {\\n strEmailBody = strEmailBody + \\\"
    • \\\" + value.recipe.label + \\\"
    • \\\";\\n}\\n\\nstrEmailBody = strEmailBody + \\\"
    \\\";\\n\\nitems[0].json.emailBody = strEmailBody\\n\\nreturn items;\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Search Criteria\",\"type\":\"main\",\"index\":0}]]},\"Set Counts\":{\"main\":[[{\"node\":\"Set Recipe ID Values\",\"type\":\"main\",\"index\":0}]]},\"Search Criteria\":{\"main\":[[{\"node\":\"Set Query Values\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Recipes\":{\"main\":[[{\"node\":\"Create Email Body in HTML\",\"type\":\"main\",\"index\":0}]]},\"Set Query Values\":{\"main\":[[{\"node\":\"Retrieve Recipe Counts\",\"type\":\"main\",\"index\":0}]]},\"Set Recipe ID Values\":{\"main\":[[{\"node\":\"Retrieve Recipes\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Recipe Counts\":{\"main\":[[{\"node\":\"Set Counts\",\"type\":\"main\",\"index\":0}]]},\"Create Email Body in HTML\":{\"main\":[[{\"node\":\"Send Recipes\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create screenshots with uProc, save to Dropbox and send by email", "output": "{\"id\":\"105\",\"name\":\"screenshot\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,580],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Web + Email Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[630,580],\"parameters\":{\"functionCode\":\"item.website = \\\"https://uproc.io\\\";\\nitem.email = \\\"miquel@uproc.io\\\";\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.awsSes\",\"position\":[1660,600],\"parameters\":{\"body\":\"=Hi,\\n

    \\nThese are your screenshots:
    \\n
    \\n\\n\\n\\n\\n\\n\\n
    Simple screenshotFullpage screenshot
    \\n

    \\nThank you!\",\"subject\":\"Your screenshots!\",\"fromEmail\":\"miquel@uproc.io\",\"isBodyHtml\":true,\"toAddresses\":[\"={{$node[\\\"Create Web + Email Item\\\"].json[\\\"email\\\"]}}\"],\"additionalFields\":{}},\"credentials\":{\"aws\":\"ses\"},\"typeVersion\":1},{\"name\":\"Generate FullPage\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[850,510],\"parameters\":{\"url\":\"={{$node[\\\"Create Web + Email Item\\\"].json[\\\"website\\\"]}}\",\"tool\":\"getUrlScreenshot\",\"group\":\"image\",\"width\":\"640\",\"fullpage\":\"yes\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Generate Screenshot\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[840,680],\"parameters\":{\"url\":\"={{$node[\\\"Create Web + Email Item\\\"].json[\\\"website\\\"]}}\",\"tool\":\"getUrlScreenshot\",\"group\":\"image\",\"width\":\"640\",\"fullpage\":\"no\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Get File\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1050,510],\"parameters\":{\"url\":\"={{$node[\\\"Generate FullPage\\\"].json[\\\"message\\\"][\\\"result\\\"]}}\",\"options\":{},\"responseFormat\":\"file\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Get File1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1050,680],\"parameters\":{\"url\":\"={{$node[\\\"Generate Screenshot\\\"].json[\\\"message\\\"][\\\"result\\\"]}}\",\"options\":{},\"responseFormat\":\"file\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1460,600],\"parameters\":{\"mode\":\"passThrough\"},\"typeVersion\":1},{\"name\":\"Upload Screenshot\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1270,680],\"parameters\":{\"path\":\"/screenshots/sample.png\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"dropbox-miquel\"},\"typeVersion\":1},{\"name\":\"Upload fullpage\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1270,510],\"parameters\":{\"path\":\"/screenshots/sample_fullpage.png\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"dropbox-miquel\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Merge\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Get File\":{\"main\":[[{\"node\":\"Upload fullpage\",\"type\":\"main\",\"index\":0}]]},\"Get File1\":{\"main\":[[{\"node\":\"Upload Screenshot\",\"type\":\"main\",\"index\":0}]]},\"Upload fullpage\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"Generate FullPage\":{\"main\":[[{\"node\":\"Get File\",\"type\":\"main\",\"index\":0}]]},\"Upload Screenshot\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Generate Screenshot\":{\"main\":[[{\"node\":\"Get File1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Web + Email Item\",\"type\":\"main\",\"index\":0}]]},\"Create Web + Email Item\":{\"main\":[[{\"node\":\"Generate FullPage\",\"type\":\"main\",\"index\":0},{\"node\":\"Generate Screenshot\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a website screenshot and send via Telegram Channel", "output": "{\"id\":\"191\",\"name\":\"Create a screenshot of a website and send it to a telegram channel\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[650,300],\"parameters\":{\"file\":\"={{$node[\\\"uProc\\\"].json[\\\"message\\\"][\\\"result\\\"]}}\",\"chatId\":\"\",\"operation\":\"sendPhoto\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"Telegram n8n bot\"},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[450,300],\"parameters\":{\"url\":\"https://n8n.io\",\"tool\":\"getUrlScreenshot\",\"group\":\"image\",\"width\":\"1024\",\"fullpage\":\"yes\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"uProc credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"uProc\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Tracking your crypto portfolio in Airtable", "output": "{\"id\":\"14\",\"name\":\"Update Crypto Values\",\"nodes\":[{\"name\":\"CoinGecko\",\"type\":\"n8n-nodes-base.coinGecko\",\"position\":[670,400],\"parameters\":{\"coinId\":\"={{$json[\\\"fields\\\"][\\\"Symbol\\\"]}}\",\"options\":{\"market_data\":true,\"localization\":false},\"operation\":\"get\"},\"typeVersion\":1},{\"name\":\"Get Portfolio\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[450,400],\"parameters\":{\"table\":\"Portfolio\",\"operation\":\"list\",\"application\":\"appT7eX4iZcZVRIdq\",\"additionalOptions\":{\"fields\":[\"Symbol\"]}},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[870,400],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Present Price\",\"value\":\"={{$json[\\\"market_data\\\"][\\\"current_price\\\"][\\\"usd\\\"]}}\"},{\"name\":\"Id\",\"value\":\"={{$node[\\\"Get Portfolio\\\"].json[\\\"id\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Run Top of Hour\",\"type\":\"n8n-nodes-base.cron\",\"position\":[240,400],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"Get Portfolio Values\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1260,400],\"parameters\":{\"table\":\"Portfolio\",\"operation\":\"list\",\"application\":\"appT7eX4iZcZVRIdq\",\"additionalOptions\":{\"fields\":[\"Present Value\"]}},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1},{\"name\":\"Determine Total Value\",\"type\":\"n8n-nodes-base.function\",\"position\":[1460,400],\"parameters\":{\"functionCode\":\"var totalValues = 0;\\n\\nitems.forEach(sumValues);\\n\\nfunction sumValues(value, index, array) {\\n totalValues = totalValues + value.json.fields['Present Value'];\\n}\\n\\nitems = [{\\\"json\\\": {}}];\\n\\n\\nitems[0].json['Portfolio Value (US$)'] = totalValues;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Update Values\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1070,400],\"parameters\":{\"id\":\"={{$node[\\\"SplitInBatches\\\"].json[\\\"id\\\"]}}\",\"table\":\"Portfolio\",\"fields\":[\"Present Price\"],\"options\":{},\"operation\":\"update\",\"application\":\"appT7eX4iZcZVRIdq\",\"updateAllFields\":false},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1},{\"name\":\"Append Portfolio Value\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1660,400],\"parameters\":{\"table\":\"Portfolio Value\",\"fields\":[\"Portfolio Value (US$)\"],\"options\":{},\"operation\":\"append\",\"application\":\"appT7eX4iZcZVRIdq\",\"addAllFields\":false},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Update Values\",\"type\":\"main\",\"index\":0}]]},\"CoinGecko\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Get Portfolio\":{\"main\":[[{\"node\":\"CoinGecko\",\"type\":\"main\",\"index\":0}]]},\"Update Values\":{\"main\":[[{\"node\":\"Get Portfolio Values\",\"type\":\"main\",\"index\":0}]]},\"Run Top of Hour\":{\"main\":[[{\"node\":\"Get Portfolio\",\"type\":\"main\",\"index\":0}]]},\"Get Portfolio Values\":{\"main\":[[{\"node\":\"Determine Total Value\",\"type\":\"main\",\"index\":0}]]},\"Determine Total Value\":{\"main\":[[{\"node\":\"Append Portfolio Value\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Discover company data by name with uProc", "output": "{\"id\":\"112\",\"name\":\"Get Company by Name\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Company Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[640,510],\"parameters\":{\"functionCode\":\"item.company = \\\"Killia technologies\\\";\\nitem.country = \\\"Spain\\\";\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Get Company by Name\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[850,510],\"parameters\":{\"name\":\"={{$node[\\\"Create Company Item\\\"].json[\\\"company\\\"]}}\",\"tool\":\"getCompanyByName\",\"group\":\"company\",\"country\":\"={{$node[\\\"Create Company Item\\\"].json[\\\"country\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Company Found?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,510],\"parameters\":{\"conditions\":{\"number\":[],\"string\":[{\"value1\":\"={{$node[\\\"Get Company by Name\\\"].json[\\\"message\\\"][\\\"name\\\"]}}\",\"value2\":\".+\",\"operation\":\"regex\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Create Company Item\":{\"main\":[[{\"node\":\"Get Company by Name\",\"type\":\"main\",\"index\":0}]]},\"Get Company by Name\":{\"main\":[[{\"node\":\"Company Found?\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Company Item\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Monitor SSL certificate of any domain with uProc", "output": "{\"id\":\"110\",\"name\":\"Get SSL Certificate\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,290],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Domain Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[450,290],\"parameters\":{\"functionCode\":\"item.domain = \\\"n8n.io\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Get SSL Certificate\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[650,290],\"parameters\":{\"tool\":\"getDomainCertificate\",\"group\":\"internet\",\"domain\":\"= {{$node[\\\"Create Domain Item\\\"].json[\\\"domain\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Send Expired Alarm\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1070,270],\"parameters\":{\"text\":\"=The certificate of the domain {{$node[\\\"Create Domain Item\\\"].json[\\\"domain\\\"]}} has expired!\",\"chatId\":\"-1415703867\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"test killia bot\"},\"typeVersion\":1},{\"name\":\"Certificate has expired?\",\"type\":\"n8n-nodes-base.if\",\"position\":[840,290],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get SSL Certificate\\\"].json[\\\"message\\\"][\\\"valid\\\"]+\\\"\\\"}}\",\"value2\":\"false\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Create Domain Item\":{\"main\":[[{\"node\":\"Get SSL Certificate\",\"type\":\"main\",\"index\":0}]]},\"Get SSL Certificate\":{\"main\":[[{\"node\":\"Certificate has expired?\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Domain Item\",\"type\":\"main\",\"index\":0}]]},\"Certificate has expired?\":{\"main\":[[{\"node\":\"Send Expired Alarm\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get DNS entries of any domain with uProc", "output": "{\"id\":\"113\",\"name\":\"Get DNS entries\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[240,290],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Domain Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[450,290],\"parameters\":{\"functionCode\":\"item.domain = \\\"n8n.io\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Get DNS records\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[650,290],\"parameters\":{\"tool\":\"getDomainRecords\",\"group\":\"internet\",\"domain\":\"= {{$node[\\\"Create Domain Item\\\"].json[\\\"domain\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Create Domain Item\":{\"main\":[[{\"node\":\"Get DNS records\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Domain Item\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Verify a phone number with uProc", "output": "{\"id\":\"114\",\"name\":\"Verify phone numbers\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Phone Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[640,510],\"parameters\":{\"functionCode\":\"item.phone = \\\"+34605281220\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Parse and Validate Phone\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[850,510],\"parameters\":{\"tool\":\"getPhoneParsed\",\"phone\":\"={{$node[\\\"Create Phone Item\\\"].json[\\\"phone\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Phone is Valid?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,510],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Parse and Validate Phone\\\"].json[\\\"message\\\"][\\\"valid\\\"]+\\\"\\\"}}\",\"value2\":\"true\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Create Phone Item\":{\"main\":[[{\"node\":\"Parse and Validate Phone\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Phone Item\",\"type\":\"main\",\"index\":0}]]},\"Parse and Validate Phone\":{\"main\":[[{\"node\":\"Phone is Valid?\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Monitor changes in Google Sheets every 45 mins", "output": "{\"nodes\":[{\"name\":\"Send message\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[910,260],\"parameters\":{\"message\":\"=New information was added to your Google Sheet.\\nID: {{$json[\\\"id\\\"]}}\\nName: {{$json[\\\"name\\\"]}}\\nEmail: {{$json[\\\"email\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"Check if new data\",\"type\":\"n8n-nodes-base.function\",\"position\":[710,260],\"parameters\":{\"functionCode\":\"const new_items = [];\\n// Get static data stored with the workflow\\n\\nconst data = this.getWorkflowStaticData(\\\"node\\\");\\ndata.ids = data.ids || [];\\nfor (let i = items.length - 1; i >= 0; i--) {\\n\\n// Check if data is already present\\n if (data.ids.includes(items[i].json.ID)) {\\n break;\\n } else {\\n\\n// if new data then add it to an array\\n new_items.push({\\n json: {\\n id: items[i].json.ID,\\n name: items[i].json.Name,\\n email: items[i].json.Email\\n },\\n });\\n }\\n}\\ndata.ids = items.map((item) => item.json.ID);\\n\\n// return new items\\nreturn new_items;\\n\"},\"typeVersion\":1},{\"name\":\"Read data\",\"type\":\"n8n-nodes-base.googleSheets\",\"position\":[510,260],\"parameters\":{\"options\":{},\"sheetId\":\"1PyC-U1lXSCbxVmHuwFbkKDF9e3PW_iUn8T-iAd_MYjQ\",\"authentication\":\"oAuth2\"},\"credentials\":{\"googleSheetsOAuth2Api\":\"google-sheets\"},\"typeVersion\":1},{\"name\":\"Execute every 45 mins\",\"type\":\"n8n-nodes-base.interval\",\"position\":[310,260],\"parameters\":{\"unit\":\"minutes\"},\"typeVersion\":1}],\"connections\":{\"Read data\":{\"main\":[[{\"node\":\"Check if new data\",\"type\":\"main\",\"index\":0}]]},\"Check if new data\":{\"main\":[[{\"node\":\"Send message\",\"type\":\"main\",\"index\":0}]]},\"Execute every 45 mins\":{\"main\":[[{\"node\":\"Read data\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Gathering tasks in Typeform and send to ClickUp", "output": "{\"id\":\"16\",\"name\":\"User Request Management\",\"nodes\":[{\"name\":\"ClickUp\",\"type\":\"n8n-nodes-base.clickUp\",\"position\":[1180,490],\"parameters\":{\"list\":\"={{$json[\\\"ListID\\\"]}}\",\"name\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Give this request a short title.\\\"]}}\",\"team\":\"8583125\",\"space\":\"12732821\",\"folder\":\"25402375\",\"authentication\":\"oAuth2\",\"additionalFields\":{\"content\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"Describe in detail what you would like to see happen for this request.\\\"]}}\\n\\nRequested by:\\n{{$node[\\\"Typeform Trigger\\\"].json[\\\"Your full name\\\"]}}\\n{{$node[\\\"Typeform Trigger\\\"].json[\\\"Your email address\\\"]}}\",\"priority\":\"={{$json[\\\"How urgent is this request?\\\"]}}\"}},\"credentials\":{\"clickUpOAuth2Api\":\"ClickUp Cred\"},\"typeVersion\":1},{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[530,500],\"webhookId\":\"80816cb6-d987-44b2-8981-f95d1af1f6a8\",\"parameters\":{\"formId\":\"LE36uLN1\"},\"credentials\":{\"typeformApi\":\"Typeform\"},\"typeVersion\":1},{\"name\":\"ListID 54684957\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,560],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ListID\",\"value\":54684957}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"ListID 54685003\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,280],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ListID\",\"value\":54685003}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"ListID 54685000\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,420],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ListID\",\"value\":54685000}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"ListID 54684997\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,700],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ListID\",\"value\":54684997}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Pick List\",\"type\":\"n8n-nodes-base.switch\",\"position\":[730,500],\"parameters\":{\"rules\":{\"rules\":[{\"value2\":\"Document Request\"},{\"output\":1,\"value2\":\"Presentation Request\"},{\"output\":2,\"value2\":\"Update Request\"},{\"output\":3,\"value2\":\"Workflow Request\"}]},\"value1\":\"={{$node[\\\"Typeform Trigger\\\"].json[\\\"What type of a request are you making?\\\"]}}\",\"dataType\":\"string\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Pick List\":{\"main\":[[{\"node\":\"ListID 54685003\",\"type\":\"main\",\"index\":0}],[{\"node\":\"ListID 54685000\",\"type\":\"main\",\"index\":0}],[{\"node\":\"ListID 54684957\",\"type\":\"main\",\"index\":0}],[{\"node\":\"ListID 54684997\",\"type\":\"main\",\"index\":0}]]},\"ListID 54684957\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]},\"ListID 54684997\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]},\"ListID 54685000\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]},\"ListID 54685003\":{\"main\":[[{\"node\":\"ClickUp\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Pick List\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, add an attachment, and send a draft using Microsoft Outlook", "output": "{\"id\":\"193\",\"name\":\"Create, add an attachment, and send a draft using the Microsoft Outlook node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft Outlook\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[450,300],\"parameters\":{\"subject\":\"Hello from n8n!\",\"resource\":\"draft\",\"bodyContent\":\"

    Hello from n8n!

    We are sending this email using the Microsoft Outlook node in n8n

    Best,

    Sender

    \",\"additionalFields\":{\"bodyContentType\":\"html\"}},\"credentials\":{\"microsoftOutlookOAuth2Api\":\"Micrsoft Outlook Credentials\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[650,300],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\"},\"typeVersion\":1},{\"name\":\"Microsoft Outlook1\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[850,300],\"parameters\":{\"resource\":\"messageAttachment\",\"messageId\":\"={{$node[\\\"Microsoft Outlook\\\"].json[\\\"id\\\"]}}\",\"additionalFields\":{\"fileName\":\"n8n.png\"}},\"credentials\":{\"microsoftOutlookOAuth2Api\":\"Micrsoft Outlook Credentials\"},\"typeVersion\":1},{\"name\":\"Microsoft Outlook2\",\"type\":\"n8n-nodes-base.microsoftOutlook\",\"position\":[1050,300],\"parameters\":{\"resource\":\"draft\",\"messageId\":\"={{$node[\\\"Microsoft Outlook\\\"].json[\\\"id\\\"]}}\",\"operation\":\"send\",\"additionalFields\":{\"recipients\":\"abc@example.com\"}},\"credentials\":{\"microsoftOutlookOAuth2Api\":\"Micrsoft Outlook Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"Microsoft Outlook1\",\"type\":\"main\",\"index\":0}]]},\"Microsoft Outlook\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"Microsoft Outlook1\":{\"main\":[[{\"node\":\"Microsoft Outlook2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft Outlook\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Discover emails published on the Internet with uProc", "output": "{\"id\":\"117\",\"name\":\"Get Emails by Domain\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,510],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Create Domain Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[640,510],\"parameters\":{\"functionCode\":\"item.domain = \\\"uproc.io\\\";\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Get Emails\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[850,510],\"parameters\":{\"page\":1,\"tool\":\"getEmailListByDomain\",\"domain\":\"={{$node[\\\"Create Domain Item\\\"].json[\\\"domain\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Email Generic Found?\",\"type\":\"n8n-nodes-base.if\",\"position\":[1050,510],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Get Emails\\\"].json[\\\"message\\\"][\\\"generic\\\"]}}\",\"value2\":\"@\",\"operation\":\"contains\"}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Get Emails\":{\"main\":[[{\"node\":\"Email Generic Found?\",\"type\":\"main\",\"index\":0}]]},\"Create Domain Item\":{\"main\":[[{\"node\":\"Get Emails\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Domain Item\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Find a new book recommendations", "output": "{\"id\":\"12\",\"name\":\"Find a New Book\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[40,140],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Every Friday at 11:00 AM\",\"type\":\"n8n-nodes-base.cron\",\"position\":[20,330],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":11,\"mode\":\"everyWeek\",\"weekday\":\"5\"}]}},\"typeVersion\":1},{\"name\":\"Set Subject\",\"type\":\"n8n-nodes-base.set\",\"position\":[220,330],\"parameters\":{\"values\":{\"string\":[{\"name\":\"subject\",\"value\":\"juvenile_literature\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Retrieve Book Count\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[420,330],\"parameters\":{\"url\":\"=http://openlibrary.org/subjects/{{$json[\\\"subject\\\"]}}.json\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"0\"}]}},\"typeVersion\":1},{\"name\":\"Check Book Count\",\"type\":\"n8n-nodes-base.if\",\"position\":[620,330],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Retrieve Book Count\\\"].json[\\\"work_count\\\"]}}\",\"operation\":\"larger\"}]}},\"typeVersion\":1},{\"name\":\"Select Random Book\",\"type\":\"n8n-nodes-base.function\",\"position\":[820,330],\"parameters\":{\"functionCode\":\"var retrieve_book = 0;\\nvar book_count = items[0].json.work_count;\\n\\nretrieve_book = Math.floor(Math.random() * book_count) + 1\\n\\nitems[0].json.retrieve_book = retrieve_book;\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Retrieve Detailed Book Info\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1260,330],\"parameters\":{\"url\":\"=http://openlibrary.org.{{$node[\\\"Retrieve Basic Book Info\\\"].json[\\\"works\\\"][0][\\\"key\\\"]}}.json\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"1\"}]}},\"typeVersion\":1},{\"name\":\"Retrieve Basic Book Info\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1040,330],\"parameters\":{\"url\":\"=http://openlibrary.org/subjects/{{$json[\\\"name\\\"]}}.json\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"limit\",\"value\":\"1\"},{\"name\":\"offset\",\"value\":\"={{$json[\\\"retrieve_book\\\"]}}\"},{\"name\":\"detail\",\"value\":\"true\"}]}},\"typeVersion\":1},{\"name\":\"Book Recommendation\",\"type\":\"n8n-nodes-base.set\",\"position\":[1830,330],\"parameters\":{\"values\":{\"string\":[{\"name\":\"msgSubject\",\"value\":\"=Book Recommendation: {{$node[\\\"Create Author String\\\"].json[\\\"title\\\"]}}\"},{\"name\":\"msgBody\",\"value\":\"=

    {{$node[\\\"Create Author String\\\"].json[\\\"title\\\"]}}

    \\n

    By {{$node[\\\"Create Author String\\\"].json[\\\"authors\\\"]}}
    \\n{{$node[\\\"Create Author String\\\"].json[\\\"description\\\"]}}

    \"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Filtered Book Info\",\"type\":\"n8n-nodes-base.set\",\"position\":[1460,330],\"parameters\":{\"values\":{\"string\":[{\"name\":\"authors\",\"value\":\"={{$node[\\\"Retrieve Basic Book Info\\\"].json[\\\"works\\\"][0][\\\"authors\\\"]}}\"},{\"name\":\"title\",\"value\":\"={{$node[\\\"Retrieve Basic Book Info\\\"].json[\\\"works\\\"][0][\\\"title\\\"]}}\"},{\"name\":\"description\",\"value\":\"={{$node[\\\"Retrieve Detailed Book Info\\\"].json[\\\"description\\\"][\\\"value\\\"]}}\"},{\"name\":\"URL\",\"value\":\"=https://openlibrary.org{{$node[\\\"Retrieve Basic Book Info\\\"].json[\\\"works\\\"][0][\\\"key\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Create Author String\",\"type\":\"n8n-nodes-base.function\",\"position\":[1630,330],\"parameters\":{\"functionCode\":\"var arrAuthors = items[0].json.authors;\\n\\nvar arrNames = arrAuthors.map(function(author) {\\n return \\\"\\\" + author['name'] + \\\"\\\";\\n});\\n\\nvar names = arrNames.join(\\\", \\\");\\n\\nitems[0].json.authors = names;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Send No Book Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[830,520],\"parameters\":{\"html\":\"=

    Unfortunately, there are no books available for the subject of {{$node[\\\"Check Book Count\\\"].json[\\\"name\\\"]}}. Please update your n8n workflow with a different subject.

    \\n\\n

    A list of all available subjects can be found at the Open Library.

    \",\"options\":{},\"subject\":\"=Book not found in {{$node[\\\"Check Book Count\\\"].json[\\\"name\\\"]}}\",\"toEmail\":\"john.doe@example.com\",\"fromEmail\":\"john.doe@example.com\"},\"credentials\":{\"smtp\":\"Gmail Creds\"},\"typeVersion\":1},{\"name\":\"Send Book Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[2030,330],\"parameters\":{\"html\":\"={{$node[\\\"Book Recommendation\\\"].json[\\\"msgBody\\\"]}}\",\"options\":{},\"subject\":\"={{$node[\\\"Book Recommendation\\\"].json[\\\"msgSubject\\\"]}}\",\"toEmail\":\"john.doe@example.com\",\"fromEmail\":\"john.doe@example.com\"},\"credentials\":{\"smtp\":\"Gmail Creds\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set Subject\":{\"main\":[[{\"node\":\"Retrieve Book Count\",\"type\":\"main\",\"index\":0}]]},\"Check Book Count\":{\"main\":[[{\"node\":\"Select Random Book\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send No Book Email\",\"type\":\"main\",\"index\":0}]]},\"Filtered Book Info\":{\"main\":[[{\"node\":\"Create Author String\",\"type\":\"main\",\"index\":0}]]},\"Select Random Book\":{\"main\":[[{\"node\":\"Retrieve Basic Book Info\",\"type\":\"main\",\"index\":0}]]},\"Book Recommendation\":{\"main\":[[{\"node\":\"Send Book Email\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Book Count\":{\"main\":[[{\"node\":\"Check Book Count\",\"type\":\"main\",\"index\":0}]]},\"Create Author String\":{\"main\":[[{\"node\":\"Book Recommendation\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set Subject\",\"type\":\"main\",\"index\":0}]]},\"Every Friday at 11:00 AM\":{\"main\":[[{\"node\":\"Set Subject\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Basic Book Info\":{\"main\":[[{\"node\":\"Retrieve Detailed Book Info\",\"type\":\"main\",\"index\":0}]]},\"Retrieve Detailed Book Info\":{\"main\":[[{\"node\":\"Filtered Book Info\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an SMS to a number whenever you go out", "output": "{\"id\":\"92\",\"name\":\"Send an SMS to a number whenever you go out\",\"nodes\":[{\"name\":\"Pushcut Trigger\",\"type\":\"n8n-nodes-base.pushcutTrigger\",\"position\":[470,300],\"webhookId\":\"\",\"parameters\":{\"actionName\":\"Leaving Home\"},\"credentials\":{\"pushcutApi\":\"Pushcut Credentials\"},\"typeVersion\":1},{\"name\":\"Twilio\",\"type\":\"n8n-nodes-base.twilio\",\"position\":[670,300],\"parameters\":{\"to\":\"123\",\"from\":\"123\",\"message\":\"=I'm {{$node[\\\"Pushcut Trigger\\\"].json[\\\"input\\\"]}}\"},\"credentials\":{\"twilioApi\":\"twilio\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Pushcut Trigger\":{\"main\":[[{\"node\":\"Twilio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "N8N Español - Tratamiento de textos", "output": "{\"id\":\"29\",\"name\":\"N8N Español - Ejemplos\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Minúsculas\",\"type\":\"n8n-nodes-base.executeCommand\",\"color\":\"#E31515\",\"notes\":\".toLowerCase()\",\"position\":[650,-10],\"parameters\":{\"command\":\"=echo Minúsuclas: {{$node[\\\"Set\\\"].json[\\\"mensaje\\\"].toLowerCase()}}\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Mayúsculas\",\"type\":\"n8n-nodes-base.executeCommand\",\"color\":\"#0BA1ED\",\"notes\":\".toUpperCase()\",\"position\":[800,90],\"parameters\":{\"command\":\"=echo Mayúsculas: {{$node[\\\"Set\\\"].json[\\\"mensaje\\\"].toUpperCase()}}\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[440,180],\"parameters\":{\"values\":{\"string\":[{\"name\":\"mensaje\",\"value\":\"Un León pasea por la Sabana Africana\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Replace\",\"type\":\"n8n-nodes-base.executeCommand\",\"color\":\"#0BA1ED\",\"notes\":\".replace - .replace('Un León', 'Una Jirafa')\",\"position\":[800,290],\"parameters\":{\"command\":\"=echo Replace: {{$node[\\\"Set\\\"].json[\\\"mensaje\\\"].replace('Un León', 'Una Jirafa')}}\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"notes\":\"Junta las salidas\",\"position\":[960,10],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Resultado\",\"type\":\"n8n-nodes-base.merge\",\"color\":\"#F41C0D\",\"notes\":\"Junta las salidas\",\"position\":[1070,240],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Minúsculas\",\"type\":\"main\",\"index\":0},{\"node\":\"Mayúsculas\",\"type\":\"main\",\"index\":0},{\"node\":\"Replace\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Resultado\",\"type\":\"main\",\"index\":0}]]},\"Replace\":{\"main\":[[{\"node\":\"Resultado\",\"type\":\"main\",\"index\":1}]]},\"Mayúsculas\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Minúsculas\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "N8N Español - Telegram Welcome Bot", "output": "{\"id\":\"27\",\"name\":\"N8N Español - BOT\",\"nodes\":[{\"name\":\"Saludos-IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[450,450],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Saludos-TelegramTrigger\\\"].json[\\\"message\\\"][\\\"new_chat_member\\\"][\\\"first_name\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"Saludos-IF1\",\"type\":\"n8n-nodes-base.if\",\"position\":[490,630],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Saludos-TelegramTrigger\\\"].json[\\\"message\\\"][\\\"left_chat_member\\\"][\\\"first_name\\\"]}}\",\"operation\":\"isEmpty\"}]}},\"typeVersion\":1},{\"name\":\"S-Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[700,660],\"parameters\":{\"text\":\"=✖️ {{$node[\\\"Saludos-TelegramTrigger\\\"].json[\\\"message\\\"][\\\"left_chat_member\\\"][\\\"first_name\\\"]}} DEP. 🙏 Que los Dioses te protejan.\",\"chatId\":\"=@comunidadn8n\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"N8N Español - BOT\"},\"typeVersion\":1},{\"name\":\"Saludos-TelegramTrigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[260,560],\"webhookId\":\"4ef8c98e-e617-4d36-9c6d-04fae7e9298c\",\"parameters\":{\"updates\":[\"*\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"N8N Español - BOT\"},\"typeVersion\":1},{\"name\":\"S-Telegram2\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[730,460],\"parameters\":{\"text\":\"=✔️ {{$node[\\\"Saludos-TelegramTrigger\\\"].json[\\\"message\\\"][\\\"new_chat_member\\\"][\\\"first_name\\\"]}}, ¡bienvenid@ a N8N en Españoll! 🙌\",\"chatId\":\"=@comunidadn8n\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"N8N Español - BOT\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Saludos-IF\":{\"main\":[[],[{\"node\":\"S-Telegram2\",\"type\":\"main\",\"index\":0}]]},\"Saludos-IF1\":{\"main\":[[],[{\"node\":\"S-Telegram\",\"type\":\"main\",\"index\":0}]]},\"Saludos-TelegramTrigger\":{\"main\":[[{\"node\":\"Saludos-IF1\",\"type\":\"main\",\"index\":0},{\"node\":\"Saludos-IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "N8N Español - Ejemplo Simplificado ", "output": "{\"id\":\"1\",\"name\":\"N8N Español - Ejemplo\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Resultado\",\"type\":\"n8n-nodes-base.set\",\"color\":\"#FF0000\",\"notes\":\"Resultado\",\"position\":[680,170],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Mayúsculas\",\"value\":\"={{$node[\\\"Mensaje\\\"].json[\\\"mensaje\\\"].toUpperCase()}}\"},{\"name\":\"Minúsculas\",\"value\":\"={{$node[\\\"Mensaje\\\"].json[\\\"mensaje\\\"].toLowerCase()}}\"},{\"name\":\"Replace\",\"value\":\"={{$node[\\\"Mensaje\\\"].json[\\\"mensaje\\\"].replace('Un León', 'Una Jirafa')}}\"},{\"name\":\"Substring\",\"value\":\"={{$node[\\\"Mensaje\\\"].json[\\\"mensaje\\\"].substr(-8)}}\"}]},\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Mensaje\",\"type\":\"n8n-nodes-base.set\",\"position\":[480,170],\"parameters\":{\"values\":{\"string\":[{\"name\":\"mensaje\",\"value\":\"Un León pasea por la Sabana Africana\"}]},\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Mensaje\":{\"main\":[[{\"node\":\"Resultado\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mensaje\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send tweets every minute to Mattermost", "output": "{\"id\":\"1\",\"name\":\"Twitter notifications\",\"nodes\":[{\"name\":\"Twitter\",\"type\":\"n8n-nodes-base.twitter\",\"position\":[610,260],\"parameters\":{\"operation\":\"search\",\"searchText\":\"n8n_io\",\"additionalFields\":{\"resultType\":\"recent\"}},\"credentials\":{\"twitterOAuth1Api\":\"Twitter\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[410,260],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[940,260],\"parameters\":{\"functionCode\":\"const new_items = [];\\nconst data = this.getWorkflowStaticData('node');\\n\\ndata.ids = data.ids || [];\\n\\nfor (var i=0; i item.json.id)\\nreturn new_items;\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[780,260],\"parameters\":{\"values\":{\"number\":[{\"name\":\"id\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"id\\\"]}}\"}],\"string\":[{\"name\":\"url\",\"value\":\"=https://twitter.com/{{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"screen_name\\\"]}}/status/{{$node[\\\"Twitter\\\"].json[\\\"id_str\\\"]}}\"},{\"name\":\"tweet\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"text\\\"]}}\"},{\"name\":\"username\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"screen_name\\\"]}}\"},{\"name\":\"photo\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"profile_image_url_https\\\"]}}\"},{\"name\":\"name\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"name\\\"]}}\"},{\"name\":\"color\",\"value\":\"={{$node[\\\"Twitter\\\"].json[\\\"user\\\"][\\\"profile_link_color\\\"]}}\"}]},\"options\":{\"dotNotation\":true},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[1110,260],\"parameters\":{\"message\":\"={{$node[\\\"Function\\\"].json[\\\"url\\\"]}}\",\"channelId\":\"c81pcft85byeipbp3nptbmicah\",\"attachments\":[{\"text\":\"={{$node[\\\"Function\\\"].json[\\\"tweet\\\"]}}\",\"color\":\"=#{{$node[\\\"Function\\\"].json[\\\"color\\\"]}}\",\"author_icon\":\"={{$node[\\\"Function\\\"].json[\\\"photo\\\"]}}\",\"author_link\":\"=https://twitter.com/{{$node[\\\"Function\\\"].json[\\\"username\\\"]}}\",\"author_name\":\"={{$node[\\\"Function\\\"].json[\\\"name\\\"]}} ({{$node[\\\"Function\\\"].json[\\\"username\\\"]}})\"}],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost\"},\"typeVersion\":1}],\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Twitter\",\"type\":\"main\",\"index\":0}]]},\"Twitter\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Monitor Strava and send email updates", "output": "{\"id\":\"14\",\"name\":\"Activity Encouragement\",\"nodes\":[{\"name\":\"Strava\",\"type\":\"n8n-nodes-base.strava\",\"position\":[640,300],\"parameters\":{\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"stravaOAuth2Api\":\"Strava OAuth2 Creds\"},\"typeVersion\":1},{\"name\":\"Accountability Settings\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"moveTime\",\"value\":1800}],\"string\":[{\"name\":\"actPartner1\",\"value\":\"john.doe@example.com\"},{\"name\":\"actPartner2\",\"value\":\"jane.doe@example.com\"},{\"name\":\"actPartner3\",\"value\":\"jill.doe@example.com\"},{\"name\":\"yourName\",\"value\":\"Jim\"},{\"name\":\"yourEmail\",\"value\":\"jim.doe@example.com\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Check Activity Level\",\"type\":\"n8n-nodes-base.if\",\"position\":[840,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Strava\\\"].json[\\\"moving_time\\\"]}}\",\"value2\":\"={{$node[\\\"Accountability Settings\\\"].parameter[\\\"values\\\"][\\\"number\\\"][0][\\\"value\\\"]}}\",\"operation\":\"largerEqual\"}]}},\"typeVersion\":1},{\"name\":\"Enough Activity\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1050,220],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1050,390],\"parameters\":{\"text\":\"=Hey Accountability Team,\\n\\nLooks like {{$node[\\\"Accountability Settings\\\"].json[\\\"yourName\\\"]}} has been spending a bit too much time inactive! How about sending them a quick word of encouragement?\\n\\nThanks!\\n{{$node[\\\"Accountability Settings\\\"].json[\\\"yourName\\\"]}}'s Heart\",\"options\":{},\"toEmail\":\"={{$node[\\\"Accountability Settings\\\"].parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}; {{$node[\\\"Accountability Settings\\\"].parameter[\\\"values\\\"][\\\"string\\\"][1][\\\"value\\\"]}}; {{$node[\\\"Accountability Settings\\\"].parameter[\\\"values\\\"][\\\"string\\\"][2][\\\"value\\\"]}}\",\"fromEmail\":\"={{$node[\\\"Accountability Settings\\\"].json[\\\"yourEmail\\\"]}}\"},\"credentials\":{\"smtp\":\"Email Creds\"},\"typeVersion\":1},{\"name\":\"Check Daily at 11:AM\",\"type\":\"n8n-nodes-base.cron\",\"position\":[260,300],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":11}]}},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Strava\":{\"main\":[[{\"node\":\"Check Activity Level\",\"type\":\"main\",\"index\":0}]]},\"Check Activity Level\":{\"main\":[[{\"node\":\"Enough Activity\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Check Daily at 11:AM\":{\"main\":[[{\"node\":\"Accountability Settings\",\"type\":\"main\",\"index\":0}]]},\"Accountability Settings\":{\"main\":[[{\"node\":\"Strava\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "N8N Español - Bot Multi Idioma NoCode", "output": "{\"id\":\"30\",\"name\":\"N8N Español - NocodeBot\",\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Lee los datos de Strapi\",\"position\":[630,350],\"parameters\":{\"url\":\"=http://s.covid-remote.work:1337/nocodes?Name={{$json[\\\"message\\\"][\\\"text\\\"].toLowerCase()}}\",\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[950,280],\"parameters\":{\"text\":\"=------------------------------------------------ \\n{{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"Name\\\"].toUpperCase()}} \\n------------------------------------------------\\n|-Descripción:\\n|
    {{$node[\\\"Execute Command\\\"].json[\\\"stdout\\\"]}}
    \",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"HTML\"}},\"credentials\":{\"telegramApi\":\"NocodeTranslateBot\"},\"typeVersion\":1},{\"name\":\"Telegram1\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[800,130],\"parameters\":{\"file\":\"={{$json[\\\"0\\\"][\\\"Img\\\"]}}\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"operation\":\"sendPhoto\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"NocodeTranslateBot\"},\"typeVersion\":1},{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[790,390],\"parameters\":{\"command\":\"=/usr/bin/translate --brief -t {{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"from\\\"][\\\"language_code\\\"]}} \\\"{{$json[\\\"0\\\"][\\\"Description\\\"]}}\\\"\"},\"typeVersion\":1},{\"name\":\"Telegram Trigger\",\"type\":\"n8n-nodes-base.telegramTrigger\",\"position\":[290,130],\"webhookId\":\"9673bd65-53ef-4561-bfe1-a55fab0f77b0\",\"parameters\":{\"updates\":[\"*\"],\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"NocodeTranslateBot\"},\"typeVersion\":1},{\"name\":\"Saludos-IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[450,270],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"text\\\"]}}\",\"value2\":\"/start\"}]}},\"typeVersion\":1},{\"name\":\"S-Telegram2\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[630,130],\"parameters\":{\"text\":\"=Hola, **{{$json[\\\"message\\\"][\\\"chat\\\"][\\\"first_name\\\"]}}** 🙌\\nEste bot ha sido desarrollado para @comunidadn8n\\nPuedes escribir el nombre de alguna herramienta No-Code y si la tenemos registrada en nuestra Base de datos te responderemos con la descripción en tu idioma.\\n\\nPuedes probar escribiendo alguno de estos nombres:\\n\\n- Airtable\\n- Stripe\\n- Webflow\",\"chatId\":\"={{$node[\\\"Telegram Trigger\\\"].json[\\\"message\\\"][\\\"chat\\\"][\\\"id\\\"]}}\",\"additionalFields\":{\"parse_mode\":\"Markdown\"}},\"credentials\":{\"telegramApi\":\"NocodeTranslateBot\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Saludos-IF\":{\"main\":[[{\"node\":\"S-Telegram2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Telegram1\",\"type\":\"main\",\"index\":0},{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]},\"Execute Command\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram Trigger\":{\"main\":[[{\"node\":\"Saludos-IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Access data from bubble application", "output": "{\"id\":\"15\",\"name\":\"Bubble Data Access\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[450,300],\"parameters\":{\"url\":\"https://n8n-lessons.bubbleapps.io/version-test/api/1.1/obj/user\",\"options\":{},\"authentication\":\"headerAuth\"},\"credentials\":{\"httpHeaderAuth\":\"Bubble n8n Lessons Token\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates of the position of the ISS every minute", "output": "{\"nodes\":[{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[1470,380],\"parameters\":{\"functionCode\":\"const new_items = [];\\n// Get static data stored with the workflow\\nconst data = this.getWorkflowStaticData(\\\"node\\\");\\ndata.timestamp = data.timestamp || [];\\nfor (var i = items.length - 1; i >= 0; i--) {\\n// Check if data is already present\\n if (data.timestamp.includes(items[i].json.timestamp)) {\\n break;\\n } else {\\n// if new data then add it to an array\\n new_items.push({\\n json: {\\n timestamp: items[i].json.timestamp,\\n latitude: items[i].json.latitude,\\n longitude: items[i].json.longitude\\n },\\n });\\n }\\n}\\ndata.timestamp = items.map((item) => item.json.timestamp);\\n// Check if array is empty\\nif (new_items.length === 0) {\\n return [{ json: { message: \\\"No new items\\\" } }];\\n} else {\\n// return new items if array is not empty\\nconsole.log(new_items);\\n return new_items;\\n}\\n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1270,380],\"parameters\":{\"values\":{\"number\":[{\"name\":\"latitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"longitude\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"timestamp\",\"value\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}],\"string\":[]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1070,380],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now();}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[870,380],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a custom audio speech with uProc and send notifications", "output": "{\"id\":\"127\",\"name\":\"audio\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[440,590],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get File\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[1010,590],\"parameters\":{\"url\":\"={{$node[\\\"Create Audio\\\"].json[\\\"message\\\"][\\\"result\\\"]}}\",\"options\":{},\"responseFormat\":\"file\",\"allowUnauthorizedCerts\":true},\"typeVersion\":1},{\"name\":\"Create Audio\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[820,590],\"parameters\":{\"text\":\"={{$node[\\\"Create Text Item\\\"].json[\\\"text\\\"]}}\",\"group\":\"audio\",\"gender\":\"female\",\"language\":\"american\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Create Text Item\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[630,590],\"parameters\":{\"functionCode\":\"item.text = \\\"Hi Miquel. You have two messages in your inbox\\\";\\n\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Upload Audio\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1190,590],\"parameters\":{\"path\":\"/audios/sample_audio-mp3\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"dropbox-miquel\"},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[1370,590],\"parameters\":{\"file\":\"={{$node[\\\"Create Audio\\\"].json[\\\"message\\\"][\\\"result\\\"]}}\",\"chatId\":\"-1001235337538\",\"operation\":\"sendAudio\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"it-killia-bot\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Get File\":{\"main\":[[{\"node\":\"Upload Audio\",\"type\":\"main\",\"index\":0}]]},\"Create Audio\":{\"main\":[[{\"node\":\"Get File\",\"type\":\"main\",\"index\":0}]]},\"Upload Audio\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Create Text Item\":{\"main\":[[{\"node\":\"Create Audio\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Create Text Item\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Store the output of a phantom in Airtable", "output": "{\"id\":\"201\",\"name\":\"Store the output of a phantom in Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Phantombuster\",\"type\":\"n8n-nodes-base.phantombuster\",\"position\":[470,300],\"parameters\":{\"agentId\":\"\",\"operation\":\"getOutput\",\"additionalFields\":{}},\"credentials\":{\"phantombusterApi\":\"Phantombuster Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[670,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$node[\\\"Phantombuster\\\"].json[\\\"general\\\"][\\\"fullName\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$node[\\\"Phantombuster\\\"].json[\\\"details\\\"][\\\"mail\\\"]}}\"},{\"name\":\"Company\",\"value\":\"={{$node[\\\"Phantombuster\\\"].json[\\\"jobs\\\"][0][\\\"companyName\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[870,300],\"parameters\":{\"table\":\"\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Phantombuster\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Phantombuster\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Zabbix Voice Notification System with TWILIO and N8N", "output": "{\"id\":\"33\",\"name\":\"N8N Español - Sistema avisos voz TWILIO\",\"nodes\":[{\"name\":\"Webhook Zabbix\",\"type\":\"n8n-nodes-base.webhook\",\"color\":\"#F41505\",\"notes\":\"recibir datos de zabbix\",\"position\":[430,170],\"webhookId\":\"66c4e210-d0e5-4645-a8b0-9295cfa25bb1\",\"parameters\":{\"path\":\"916f4c31aaa35d6b867dae9a7f54270d\",\"options\":{},\"httpMethod\":\"POST\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"API Call\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Consume twilio API\",\"position\":[770,170],\"parameters\":{\"url\":\"={{$node[\\\"Set\\\"].json[\\\"APICALL\\\"]}}\",\"options\":{\"bodyContentType\":\"form-urlencoded\"},\"requestMethod\":\"POST\",\"authentication\":\"basicAuth\",\"responseFormat\":\"string\",\"bodyParametersUi\":{\"parameter\":[{\"name\":\"Twiml\",\"value\":\"=\\n{{$node[\\\"Set\\\"].json[\\\"Mensaje\\\"]}}\\n\"},{\"name\":\"To\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"phone\\\"]}}\"},{\"name\":\"From\",\"value\":\"={{$node[\\\"Set\\\"].json[\\\"From\\\"]}}\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"notes\":\"Configuración\",\"position\":[610,170],\"parameters\":{\"values\":{\"string\":[{\"name\":\"TWILIO_ACCOUNT_SID\",\"value\":\"TWILIO_ACCOUNT_SID\"},{\"name\":\"From\",\"value\":\"telefono\"},{\"name\":\"APICALL\",\"value\":\"= https://api.twilio.com/2010-04-01/Accounts/{{$parameter[\\\"values\\\"][\\\"string\\\"][0][\\\"value\\\"]}}/Calls.json\"},{\"name\":\"Mensaje\",\"value\":\"=Hola, hay una alerta en el servidor {{$node[\\\"Webhook Zabbix\\\"].json[\\\"body\\\"][\\\"server\\\"]}} , la alerta es {{$node[\\\"Webhook Zabbix\\\"].json[\\\"body\\\"][\\\"message\\\"]}}\"},{\"name\":\"phone\",\"value\":\"={{$node[\\\"Webhook Zabbix\\\"].json[\\\"body\\\"][\\\"phone\\\"]}}\"}]},\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"API Call\",\"type\":\"main\",\"index\":0}]]},\"Webhook Zabbix\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Daily COVID-19 newsletter", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[400,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Date\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[600,400],\"parameters\":{\"functionCode\":\"\\nconst date = new Date(new Date().setDate(new Date().getDate() - 1)).toISOString().split(\\\"T\\\")[0].split(\\\"-\\\");\\nitem.date = `${date[1]}-${date[2]}-${date[0]}`;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Fetch Script\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[800,400],\"parameters\":{\"url\":\"=https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/{{$json[\\\"date\\\"]}}.csv\",\"options\":{},\"responseFormat\":\"file\",\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Convert 2 JSON\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1000,500],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Filter region\",\"type\":\"n8n-nodes-base.function\",\"position\":[1200,500],\"parameters\":{\"functionCode\":\"items[0].json.myVariable = 1;\\nreturn items.filter(item => item.json.Combined_Key == \\\"Berlin, Germany\\\");\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1400,500],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Get Date\":{\"main\":[[{\"node\":\"Fetch Script\",\"type\":\"main\",\"index\":0}]]},\"Fetch Script\":{\"main\":[[{\"node\":\"Convert 2 JSON\",\"type\":\"main\",\"index\":0}]]},\"Filter region\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Convert 2 JSON\":{\"main\":[[{\"node\":\"Filter region\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get Date\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "COVID-19 newsletter version 2", "output": "{\"id\":\"9\",\"name\":\"COVID\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[400,400],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Get Date\",\"type\":\"n8n-nodes-base.functionItem\",\"position\":[600,400],\"parameters\":{\"functionCode\":\"\\nconst date = new Date(new Date().setDate(new Date().getDate() - 1)).toISOString().split(\\\"T\\\")[0].split(\\\"-\\\");\\nitem.date = `${date[1]}-${date[2]}-${date[0]}`;\\nreturn item;\"},\"typeVersion\":1},{\"name\":\"Fetch Script\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[800,400],\"parameters\":{\"url\":\"=https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/{{$json[\\\"date\\\"]}}.csv\",\"options\":{},\"responseFormat\":\"file\",\"queryParametersUi\":{\"parameter\":[]},\"headerParametersUi\":{\"parameter\":[]}},\"typeVersion\":1},{\"name\":\"Convert 2 JSON\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[1000,500],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Filter region\",\"type\":\"n8n-nodes-base.function\",\"position\":[1200,500],\"parameters\":{\"functionCode\":\"items[0].json.myVariable = 1;\\nreturn items.filter(item => item.json.Combined_Key == \\\"Berlin, Germany\\\");\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1400,500],\"parameters\":{\"options\":{}},\"typeVersion\":1}],\"active\":false,\"settings\":{\"timezone\":\"Europe/London\",\"executionTimeout\":-1},\"connections\":{\"Get Date\":{\"main\":[[{\"node\":\"Fetch Script\",\"type\":\"main\",\"index\":0}]]},\"Fetch Script\":{\"main\":[[{\"node\":\"Convert 2 JSON\",\"type\":\"main\",\"index\":0}]]},\"Filter region\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}]]},\"Convert 2 JSON\":{\"main\":[[{\"node\":\"Filter region\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Get Date\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get data from Hacker News and send to Airtable or via SMS", "output": "{\"id\":\"7\",\"name\":\"Daily Language Learning\",\"nodes\":[{\"name\":\"Daily trigger\",\"type\":\"n8n-nodes-base.cron\",\"position\":[620,750],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":8}]}},\"typeVersion\":1},{\"name\":\"Get top 3 articles\",\"type\":\"n8n-nodes-base.hackerNews\",\"position\":[820,750],\"parameters\":{\"limit\":3,\"resource\":\"all\",\"additionalFields\":{\"tags\":[\"front_page\"]}},\"typeVersion\":1},{\"name\":\"Extract words\",\"type\":\"n8n-nodes-base.function\",\"position\":[1020,750],\"parameters\":{\"functionCode\":\"const words = [];\\nconst regex = /\\\\d/g;\\nconst newItems = [];\\n\\n// Splits titles into words and removes numbers\\n// using regular expressions\\n\\nfor(let i=0; i < items.length; i++) {\\n let split_titles = []; \\n split_titles = items[i].json.title.split(' ');\\n for(let j=0; j < split_titles.length; j++) {\\n if(regex.test(split_titles[j])) {\\n continue;\\n } else {\\n words.push(split_titles[j]);\\n }\\n }\\n}\\n\\n// Removes all duplicate words by converting the\\n// array into a set and then back into an array\\n\\nconst uniqueWords = [...new Set(words)];\\n\\n// Transform the array to the data structure expected\\n// by n8n\\n\\nfor(let k=0; k < uniqueWords.length; k++) {\\n newItems.push({json: { words: uniqueWords[k] }});\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"Translate\",\"type\":\"n8n-nodes-base.lingvaNex\",\"position\":[1220,750],\"parameters\":{\"text\":\"={{$node[\\\"Extract words\\\"].json[\\\"words\\\"]}}\",\"options\":{},\"translateTo\":\"de_DE\"},\"credentials\":{\"lingvaNexApi\":\"LingvaNex\"},\"typeVersion\":1},{\"name\":\"Filter data \",\"type\":\"n8n-nodes-base.set\",\"position\":[1420,750],\"parameters\":{\"values\":{\"string\":[{\"name\":\"English word\",\"value\":\"={{$node[\\\"Translate\\\"].json[\\\"source\\\"]}}\"},{\"name\":\"Translated word\",\"value\":\"={{$node[\\\"Translate\\\"].json[\\\"result\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Save today's words\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1620,850],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"app4Y6qcCHIO1cYNB\"},\"credentials\":{\"airtableApi\":\"Airtable\"},\"typeVersion\":1},{\"name\":\"Craft message\",\"type\":\"n8n-nodes-base.function\",\"position\":[1620,650],\"parameters\":{\"functionCode\":\"const number_of_words = 5;\\nconst words = [];\\n\\n// Crafts the words to be sent in en_word : translated_word format\\n// and adds them to an array\\n\\nfor(let i=0; i < number_of_words; i++) {\\n words.push(items[i].json['English word'] + ' : ' + items[i].json['Translated word']);\\n}\\n\\n// Takes all the items from the array and converts them into a comma\\n// separated string\\n\\nconst words_of_the_day = words.join(', ');\\n\\nreturn [{json: {words_of_the_day: words_of_the_day}}];\"},\"typeVersion\":1},{\"name\":\"Send SMS\",\"type\":\"n8n-nodes-base.vonage\",\"position\":[1820,650],\"parameters\":{\"to\":\"+4915225152610\",\"from\":\"Vonage APIs\",\"message\":\"=Good morning, here are your words for today\\n{{$node[\\\"Craft message\\\"].json[\\\"words_of_the_day\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"vonageApi\":\"Vonage\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Translate\":{\"main\":[[{\"node\":\"Filter data \",\"type\":\"main\",\"index\":0}]]},\"Filter data \":{\"main\":[[{\"node\":\"Craft message\",\"type\":\"main\",\"index\":0},{\"node\":\"Save today's words\",\"type\":\"main\",\"index\":0}]]},\"Craft message\":{\"main\":[[{\"node\":\"Send SMS\",\"type\":\"main\",\"index\":0}]]},\"Daily trigger\":{\"main\":[[{\"node\":\"Get top 3 articles\",\"type\":\"main\",\"index\":0}]]},\"Extract words\":{\"main\":[[{\"node\":\"Translate\",\"type\":\"main\",\"index\":0}]]},\"Get top 3 articles\":{\"main\":[[{\"node\":\"Extract words\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "excel-all-sheets-test", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Microsoft Excel\",\"type\":\"n8n-nodes-base.microsoftExcel\",\"position\":[450,300],\"parameters\":{\"filters\":{},\"operation\":\"getAll\"},\"credentials\":{\"microsoftExcelOAuth2Api\":\"ms-oauth-creds\"},\"typeVersion\":1}],\"connections\":{\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Microsoft Excel\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Read in an Excel spreadsheet file", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,320],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Spreadsheet File\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[650,320],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[450,320],\"parameters\":{\"filePath\":\"/data/sample_spreadsheet.csv\"},\"typeVersion\":1}],\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Transfer Google Analytics data to Airtable database", "output": "{\"id\":\"205\",\"name\":\"Get analytics of a website and store it Airtable\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Google Analytics\",\"type\":\"n8n-nodes-base.googleAnalytics\",\"position\":[470,300],\"parameters\":{\"viewId\":\"\",\"additionalFields\":{\"metricsUi\":{\"metricValues\":[{\"alias\":\"Sessions\",\"expression\":\"ga:sessions\"}]},\"dimensionUi\":{\"dimensionValues\":[{\"name\":\"ga:country\"}]},\"dateRangesUi\":{\"dateRanges\":{\"endDate\":\"2020-08-30T18:30:00.000Z\",\"startDate\":\"2019-12-31T18:30:00.000Z\"}}}},\"credentials\":{\"googleAnalyticsOAuth2\":\"analytics-dev\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[670,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"Metric\",\"value\":\"={{$json[\\\"total\\\"]}}\"}],\"string\":[{\"name\":\"Country\",\"value\":\"={{$json[\\\"ga:country\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[870,300],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Google Analytics\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Google Analytics\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an alert for overdue Todoist tasks", "output": "{\"id\":\"3\",\"name\":\"todoist alerting - every 10 minutes\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Due Filter\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Filter out tasks without due tine\",\"position\":[650,290],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$json[\\\"due\\\"][\\\"datetime\\\"] ? true : false}}\",\"value2\":true}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Pushcut\",\"type\":\"n8n-nodes-base.pushcut\",\"position\":[1340,110],\"parameters\":{\"additionalFields\":{\"text\":\"\",\"input\":\"={{$json[\\\"url\\\"]}}\",\"title\":\"={{$json[\\\"content\\\"]}}\"},\"notificationName\":\"Outstanding Todoist Tasks\"},\"credentials\":{\"pushcutApi\":\"iPhone\"},\"typeVersion\":1},{\"name\":\"Do not process\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1150,310],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"If past due\",\"type\":\"n8n-nodes-base.if\",\"position\":[810,150],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{Date.parse($json[\\\"due\\\"][\\\"datetime\\\"]) + 50000}}\",\"value2\":\"={{Date.now() + 50000}}\"}]}},\"typeVersion\":1},{\"name\":\"Todoist 10 minutes\",\"type\":\"n8n-nodes-base.todoist\",\"notes\":\"Get all tasks that repeat every 5 minutes or don't have a date label\",\"position\":[440,300],\"parameters\":{\"filters\":{\"filter\":\"today & @repeat-10-minutes\"},\"operation\":\"getAll\"},\"credentials\":{\"todoistApi\":\"Todoist\"},\"notesInFlow\":false,\"typeVersion\":1},{\"name\":\"Every 10 minutes\",\"type\":\"n8n-nodes-base.cron\",\"position\":[250,460],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"*/10 * * * *\"}]}},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Due Filter\":{\"main\":[[{\"node\":\"If past due\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do not process\",\"type\":\"main\",\"index\":0}]]},\"If past due\":{\"main\":[[{\"node\":\"Pushcut\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Do not process\",\"type\":\"main\",\"index\":0}]]},\"Every 10 minutes\":{\"main\":[[{\"node\":\"Todoist 10 minutes\",\"type\":\"main\",\"index\":0}]]},\"Todoist 10 minutes\":{\"main\":[[{\"node\":\"Due Filter\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Todoist 10 minutes\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create new member in Mailchimp from Airtable", "output": "{\"id\":\"1\",\"name\":\"Create entry in Mailchimp from Airtable\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[450,450],\"parameters\":{\"triggerTimes\":{\"item\":[{}]}},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[650,450],\"parameters\":{\"table\":\"Users\",\"operation\":\"list\",\"application\":\"=apprZs8g4tIGDUtqQ\",\"additionalOptions\":{\"fields\":[\"Name\",\"Email\",\"Interest\"]}},\"credentials\":{\"airtableApi\":\"claudiajanebates@gmail.com\"},\"typeVersion\":1},{\"name\":\"Mailchimp\",\"type\":\"n8n-nodes-base.mailchimp\",\"position\":[840,450],\"parameters\":{\"list\":\"777b2643d4\",\"email\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Email\\\"]}}\",\"status\":\"subscribed\",\"options\":{\"tags\":\"Interest\"},\"mergeFieldsUi\":{\"mergeFieldsValues\":[{\"name\":\"FNAME\",\"value\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Name\\\"]}}\"}]}},\"credentials\":{\"mailchimpApi\":\"claudiajanebates@gmail.com\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Mailchimp\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get email on Chargebee payment failure", "output": "{\"nodes\":[{\"name\":\"Chargebee Trigger\",\"type\":\"n8n-nodes-base.chargebeeTrigger\",\"position\":[250,500],\"parameters\":{\"events\":[\"payment_failed\"]},\"typeVersion\":1},{\"name\":\"Mailgun\",\"type\":\"n8n-nodes-base.mailgun\",\"position\":[450,500],\"parameters\":{\"text\":\"=Customer: {{$node[\\\"Chargebee Trigger\\\"].data[\\\"content\\\"][\\\"customer\\\"][\\\"first_name\\\"]}}{{$node[\\\"Chargebee Trigger\\\"].data[\\\"content\\\"][\\\"customer\\\"][\\\"last_name\\\"]}} - {{$node[\\\"Chargebee Trigger\\\"].data[\\\"content\\\"][\\\"customer\\\"][\\\"company\\\"]}}\\nEmail: {{$node[\\\"Chargebee Trigger\\\"].data[\\\"content\\\"][\\\"customer\\\"][\\\"email\\\"]}}\\nCountry: {{$node[\\\"Chargebee Trigger\\\"].data[\\\"content\\\"][\\\"card\\\"][\\\"issuing_country\\\"]}}\\n\\nAmount: {{$node[\\\"Chargebee Trigger\\\"].data[\\\"content\\\"][\\\"invoice\\\"][\\\"total\\\"]/100}}\",\"subject\":\"Subscription Payment failed\",\"toEmail\":\"\",\"fromEmail\":\"\"},\"credentials\":{\"mailgunApi\":\"\"},\"typeVersion\":1}],\"connections\":{\"Chargebee Trigger\":{\"main\":[[{\"node\":\"Mailgun\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a datapoint to Beeminder on Strava activity update", "output": "{\"id\":\"208\",\"name\":\"Add a datapoint to Beeminder when new activity is added to Strava\",\"nodes\":[{\"name\":\"Strava Trigger\",\"type\":\"n8n-nodes-base.stravaTrigger\",\"position\":[470,300],\"webhookId\":\"2b0c6812-ac24-42e5-b15e-8d1fb7606908\",\"parameters\":{\"event\":\"create\",\"options\":{}},\"credentials\":{\"stravaOAuth2Api\":\"strava\"},\"typeVersion\":1},{\"name\":\"Beeminder\",\"type\":\"n8n-nodes-base.beeminder\",\"position\":[670,300],\"parameters\":{\"goalName\":\"testing\",\"additionalFields\":{\"comment\":\"={{$json[\\\"object_data\\\"][\\\"name\\\"]}}\"}},\"credentials\":{\"beeminderApi\":\"Beeminder credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Strava Trigger\":{\"main\":[[{\"node\":\"Beeminder\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add contacts to SendGrid automatically", "output": "{\"id\":\"209\",\"name\":\"Create, update and get a contact using the SendGrid node\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SendGrid\",\"type\":\"n8n-nodes-base.sendGrid\",\"position\":[470,300],\"parameters\":{\"email\":\"\",\"resource\":\"contact\",\"additionalFields\":{\"firstName\":\"\"}},\"credentials\":{\"sendGridApi\":\"SendGrid Credentials\"},\"typeVersion\":1},{\"name\":\"SendGrid1\",\"type\":\"n8n-nodes-base.sendGrid\",\"position\":[670,300],\"parameters\":{\"email\":\"={{$node[\\\"SendGrid\\\"].parameter[\\\"email\\\"]}}\",\"resource\":\"contact\",\"additionalFields\":{\"lastName\":\"\"}},\"credentials\":{\"sendGridApi\":\"SendGrid Credentials\"},\"typeVersion\":1},{\"name\":\"SendGrid2\",\"type\":\"n8n-nodes-base.sendGrid\",\"position\":[870,300],\"parameters\":{\"by\":\"email\",\"email\":\"={{$node[\\\"SendGrid\\\"].parameter[\\\"email\\\"]}}\",\"resource\":\"contact\",\"operation\":\"get\"},\"credentials\":{\"sendGridApi\":\"SendGrid Credentials\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"SendGrid\":{\"main\":[[{\"node\":\"SendGrid1\",\"type\":\"main\",\"index\":0}]]},\"SendGrid1\":{\"main\":[[{\"node\":\"SendGrid2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"SendGrid\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Discover Professional Emails with uProc and Send via Telegram", "output": "{\"id\":\"144\",\"name\":\"Discover Email\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[370,470],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[940,470],\"parameters\":{\"text\":\"=User {{$node[\\\"Get Email\\\"].json[\\\"params\\\"][\\\"firstname\\\"]}} {{$node[\\\"Get Email\\\"].json[\\\"params\\\"][\\\"lastname\\\"]}} has next email on {{$node[\\\"Get Email\\\"].json[\\\"params\\\"][\\\"domain\\\"]}}: {{$node[\\\"Get Email\\\"].json[\\\"message\\\"][\\\"email\\\"]}} ({{$node[\\\"Get Email\\\"].json[\\\"message\\\"][\\\"confidence\\\"]}} - {{$node[\\\"Get Email\\\"].json[\\\"message\\\"][\\\"score\\\"]}})\",\"chatId\":\"-1001235337538\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"it-killia-bot\"},\"typeVersion\":1},{\"name\":\"Get Email\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[750,470],\"parameters\":{\"mode\":\"verify\",\"tool\":\"getEmailRecipient\",\"domain\":\"={{$node[\\\"Set Tool Parameters\\\"].json[\\\"domain\\\"]}}\",\"lastname\":\"={{$node[\\\"Set Tool Parameters\\\"].json[\\\"lastname\\\"]}}\",\"firstname\":\"={{$node[\\\"Set Tool Parameters\\\"].json[\\\"firstname\\\"]}}\",\"additionalOptions\":{}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1},{\"name\":\"Set Tool Parameters\",\"type\":\"n8n-nodes-base.set\",\"position\":[570,470],\"parameters\":{\"values\":{\"string\":[{\"name\":\"firstname\",\"value\":\"Miquel\"},{\"name\":\"lastname\",\"value\":\"Colomer\"},{\"name\":\"domain\",\"value\":\"uproc.io\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Get Email\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Set Tool Parameters\":{\"main\":[[{\"node\":\"Get Email\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set Tool Parameters\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add a comment to a new GitHub issue", "output": "{\"nodes\":[{\"name\":\"GitHub Trigger\",\"type\":\"n8n-nodes-base.githubTrigger\",\"position\":[450,300],\"webhookId\":\"15664a3a-25b4-46da-ab32-fcaf54274205\",\"parameters\":{\"owner\":\"hirejuniors-dev\",\"events\":[\"issues\"],\"repository\":\"front-end\"},\"credentials\":{\"githubApi\":\"GitHub Access Token\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[650,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"GitHub Trigger\\\"].json[\\\"body\\\"][\\\"action\\\"]}}\",\"value2\":\"opened\"},{\"value1\":\"={{$node[\\\"GitHub Trigger\\\"].json[\\\"body\\\"][\\\"issue\\\"][\\\"user\\\"][\\\"login\\\"]}}\",\"value2\":\"harshil1712\",\"operation\":\"notEqual\"}]}},\"typeVersion\":1},{\"name\":\"Add Comment\",\"type\":\"n8n-nodes-base.github\",\"position\":[850,200],\"parameters\":{\"body\":\"=Thanks, @{{$node[\\\"GitHub Trigger\\\"].json[\\\"body\\\"][\\\"issue\\\"][\\\"user\\\"][\\\"login\\\"]}} for opening this issue. Let me know if you want to work on this 🙂\",\"owner\":\"={{$node[\\\"GitHub Trigger\\\"].parameter[\\\"owner\\\"]}}\",\"operation\":\"createComment\",\"repository\":\"={{$node[\\\"GitHub Trigger\\\"].parameter[\\\"repository\\\"]}}\",\"issueNumber\":\"={{$node[\\\"GitHub Trigger\\\"].json[\\\"body\\\"][\\\"issue\\\"][\\\"number\\\"]}}\"},\"credentials\":{\"githubApi\":\"GitHub Access Token\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[850,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Add Comment\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"GitHub Trigger\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Compress binary files to zip format", "output": "{\"nodes\":[{\"name\":\"Dropbox\",\"type\":\"n8n-nodes-base.dropbox\",\"position\":[1090,290],\"parameters\":{\"path\":\"/images.zip\",\"binaryData\":true},\"credentials\":{\"dropboxApi\":\"Dropbox Tokens Test\"},\"typeVersion\":1},{\"name\":\"Compression\",\"type\":\"n8n-nodes-base.compression\",\"position\":[890,290],\"parameters\":{\"fileName\":\"images.zip\",\"operation\":\"compress\",\"outputFormat\":\"zip\",\"binaryPropertyName\":\"logo, workflow_image\"},\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[690,290],\"parameters\":{\"url\":\"https://n8n.io/n8n-logo.png\",\"options\":{},\"responseFormat\":\"file\",\"dataPropertyName\":\"logo\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[490,290],\"parameters\":{\"url\":\"https://docs.n8n.io/assets/img/final-workflow.f380b957.png\",\"options\":{},\"responseFormat\":\"file\",\"dataPropertyName\":\"workflow_image\"},\"typeVersion\":1},{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[290,290],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Compression\":{\"main\":[[{\"node\":\"Dropbox\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"Compression\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Execute multiple Command Lines based on Text File Inputs", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[440,300],\"parameters\":{\"filePath\":\"/home/n8n/filelist.txt\"},\"typeVersion\":1},{\"name\":\"Move Binary Data\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[610,300],\"parameters\":{\"options\":{},\"setAllData\":false},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[810,300],\"parameters\":{\"functionCode\":\"items[0].json.arrData = items[0].json.data.split(\\\"\\\\n\\\");\\nitems[0].json.data = {};\\nitems[0].json.dataSize = items[0].json.arrData.length-2;\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"position\":[1040,300],\"parameters\":{\"command\":\"=echo \\\"The file name is {{$node[\\\"Function\\\"].json[\\\"arrData\\\"][$runIndex]}}\\\" >> /home/n8n/n8n-output.txt\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1250,520],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"Function\\\"].json[\\\"dataSize\\\"]}}\",\"value2\":\"={{$runIndex}}\",\"operation\":\"larger\"}],\"string\":[]}},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1450,540],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]},\"Execute Command\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Move Binary Data\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Move Binary Data\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Store responses from Typeform into Airtable", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[590,300],\"webhookId\":\"c8e53100-0616-4d3c-95b8-261eb0d1632b\",\"parameters\":{\"formId\":\"dpr2kxSL\"},\"credentials\":{\"typeformApi\":\"Typeform Access Token\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[790,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"Let's start with your name.\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"What's your email address?\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[990,300],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Slack\",\"type\":\"n8n-nodes-base.slack\",\"position\":[1190,300],\"parameters\":{\"text\":\"=*New Submission* 🙌\\nName: {{$node[\\\"Set\\\"].json[\\\"Name\\\"]}}\\nEmail: {{$node[\\\"Set\\\"].json[\\\"Email\\\"]}}\",\"channel\":\"general\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"slackApi\":\"Slack Bot Credentials\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Slack\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive updates of the position of the ISS and add it to a table in TimescaleDB", "output": "{\"nodes\":[{\"name\":\"TimescaleDB\",\"type\":\"n8n-nodes-base.timescaleDb\",\"position\":[1110,260],\"parameters\":{\"table\":\"iss\",\"columns\":\"latitude, longitude, timestamp\"},\"credentials\":{\"timescaleDb\":\"TimescaleDB\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[910,260],\"parameters\":{\"values\":{\"string\":[{\"name\":\"latitude\",\"value\":\"={{$json[\\\"0\\\"][\\\"latitude\\\"]}}\"},{\"name\":\"longitude\",\"value\":\"={{$json[\\\"0\\\"][\\\"longitude\\\"]}}\"},{\"name\":\"timestamp\",\"value\":\"={{$json[\\\"0\\\"][\\\"timestamp\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[710,260],\"parameters\":{\"url\":\"https://api.wheretheiss.at/v1/satellites/25544/positions\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"timestamps\",\"value\":\"={{Date.now()}}\"}]}},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[510,260],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyMinute\"}]}},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"TimescaleDB\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Generate, retrieve and download a report using the SecurityScorecard", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"SecurityScorecard\",\"type\":\"n8n-nodes-base.securityScorecard\",\"position\":[450,300],\"parameters\":{\"report\":\"full-scorecard-json\",\"resource\":\"report\",\"operation\":\"generate\",\"scorecardIdentifier\":\"n8n.io\"},\"credentials\":{\"securityScorecardApi\":\"SecurityScorecard Credentials\"},\"typeVersion\":1},{\"name\":\"SecurityScorecard1\",\"type\":\"n8n-nodes-base.securityScorecard\",\"position\":[650,300],\"parameters\":{\"limit\":1,\"resource\":\"report\"},\"credentials\":{\"securityScorecardApi\":\"SecurityScorecard Credentials\"},\"typeVersion\":1},{\"name\":\"SecurityScorecard2\",\"type\":\"n8n-nodes-base.securityScorecard\",\"position\":[850,300],\"parameters\":{\"url\":\"={{$json[\\\"download_url\\\"]}}\",\"resource\":\"report\",\"operation\":\"download\"},\"credentials\":{\"securityScorecardApi\":\"SecurityScorecard Credentials\"},\"typeVersion\":1}],\"connections\":{\"SecurityScorecard\":{\"main\":[[{\"node\":\"SecurityScorecard1\",\"type\":\"main\",\"index\":0}]]},\"SecurityScorecard1\":{\"main\":[[{\"node\":\"SecurityScorecard2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"SecurityScorecard\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send LinkedIn messages with uProc", "output": "{\"id\":\"163\",\"name\":\"uproc_message_to_profile\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[440,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"profile\",\"value\":\"https://www.linkedin.com/in/ana-canal-nuri-53498a30/\"},{\"name\":\"message\",\"value\":\"Hi {{first}},\\n\\nDo you know that you can send LinkedIn messages from https://uproc.io/#/?\\nCheck it out!\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[640,300],\"parameters\":{\"tool\":\"sendLinkedinMessage\",\"message\":\"={{$node[\\\"Set\\\"].json[\\\"message\\\"]}}\",\"profile\":\"={{$node[\\\"Set\\\"].json[\\\"profile\\\"]}}\",\"additionalOptions\":{\"dataWebhook\":\"https://uproc.free.beeceptor.com\"}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a post with comments in Reddit automatically", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,340],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Reddit\",\"type\":\"n8n-nodes-base.reddit\",\"position\":[470,340],\"parameters\":{\"text\":\"This post was created using the Reddit node in n8n\",\"title\":\"Created from n8n\",\"subreddit\":\"n8n\"},\"credentials\":{\"redditOAuth2Api\":\"Reddit OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Reddit1\",\"type\":\"n8n-nodes-base.reddit\",\"position\":[670,340],\"parameters\":{\"postId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"get\",\"subreddit\":\"={{$node[\\\"Reddit\\\"].parameter[\\\"subreddit\\\"]}}\"},\"credentials\":{\"redditOAuth2Api\":\"Reddit OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Reddit2\",\"type\":\"n8n-nodes-base.reddit\",\"position\":[870,340],\"parameters\":{\"postId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"postComment\",\"commentText\":\"This comment was added from n8n!\"},\"credentials\":{\"redditOAuth2Api\":\"Reddit OAuth Credentials\"},\"typeVersion\":1}],\"connections\":{\"Reddit\":{\"main\":[[{\"node\":\"Reddit1\",\"type\":\"main\",\"index\":0}]]},\"Reddit1\":{\"main\":[[{\"node\":\"Reddit2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Reddit\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update and get a post via Discourse", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Discourse\",\"type\":\"n8n-nodes-base.discourse\",\"position\":[470,300],\"parameters\":{\"title\":\"[Created] Discourse node\",\"content\":\"Thank you Ricardo for creating the Discourse node.\",\"additionalFields\":{\"category\":4}},\"credentials\":{\"discourseApi\":\"n8n Discourse Credentials\"},\"typeVersion\":1},{\"name\":\"Discourse1\",\"type\":\"n8n-nodes-base.discourse\",\"position\":[670,300],\"parameters\":{\"postId\":\"={{$json[\\\"id\\\"]}}\",\"content\":\"Thank you Ricardo for creating the Discourse node. We can now create, update and retrieve posts using n8n.\",\"operation\":\"update\",\"updateFields\":{}},\"credentials\":{\"discourseApi\":\"n8n Discourse Credentials\"},\"typeVersion\":1},{\"name\":\"Discourse2\",\"type\":\"n8n-nodes-base.discourse\",\"position\":[870,300],\"parameters\":{\"postId\":\"={{$json[\\\"id\\\"]}}\",\"operation\":\"get\"},\"credentials\":{\"discourseApi\":\"n8n Discourse Credentials\"},\"typeVersion\":1}],\"connections\":{\"Discourse\":{\"main\":[[{\"node\":\"Discourse1\",\"type\":\"main\",\"index\":0}]]},\"Discourse1\":{\"main\":[[{\"node\":\"Discourse2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Discourse\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add subscribed customers to Airtable automatically", "output": "{\"nodes\":[{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1090,340],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[890,340],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"contact_name\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"contact_email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"GetResponse Trigger\",\"type\":\"n8n-nodes-base.getResponseTrigger\",\"position\":[690,340],\"webhookId\":\"4bdfc1fa-44bc-4293-987c-fb512327e845\",\"parameters\":{\"events\":[\"subscribe\"],\"listIds\":[\"qtPk7\"],\"options\":{}},\"credentials\":{\"getResponseApi\":\"GetResponse API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"GetResponse Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Insert and retrieve data from a table in Stackby", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[450,300],\"parameters\":{\"values\":{\"number\":[{\"name\":\"ID\",\"value\":1}],\"string\":[{\"name\":\"Name\",\"value\":\"n8n\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Stackby\",\"type\":\"n8n-nodes-base.stackby\",\"position\":[650,300],\"parameters\":{\"table\":\"Table 1\",\"columns\":\"ID, Name\",\"stackId\":\"stbgReRhlmmAgT2suT\"},\"credentials\":{\"stackbyApi\":\"Stackby API credentials\"},\"typeVersion\":1},{\"name\":\"Stackby1\",\"type\":\"n8n-nodes-base.stackby\",\"position\":[850,300],\"parameters\":{\"table\":\"={{$node[\\\"Stackby\\\"].parameter[\\\"table\\\"]}}\",\"stackId\":\"={{$node[\\\"Stackby\\\"].parameter[\\\"stackId\\\"]}}\",\"operation\":\"list\",\"additionalFields\":{}},\"credentials\":{\"stackbyApi\":\"Stackby API credentials\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Stackby\",\"type\":\"main\",\"index\":0}]]},\"Stackby\":{\"main\":[[{\"node\":\"Stackby1\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Check for preview for a link ", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[310,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Peekalink\",\"type\":\"n8n-nodes-base.peekalink\",\"position\":[510,300],\"parameters\":{\"url\":\"https://n8n1.io\",\"operation\":\"isAvailable\"},\"credentials\":{\"peekalinkApi\":\"Peekalink API Credentials\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[710,300],\"parameters\":{\"conditions\":{\"string\":[],\"boolean\":[{\"value1\":\"={{$json[\\\"isAvailable\\\"]}}\",\"value2\":true}]}},\"typeVersion\":1},{\"name\":\"Peekalink1\",\"type\":\"n8n-nodes-base.peekalink\",\"position\":[910,200],\"parameters\":{\"url\":\"={{$node[\\\"Peekalink\\\"].parameter[\\\"url\\\"]}}\"},\"credentials\":{\"peekalinkApi\":\"Peekalink API Credentials\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[910,400],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Peekalink1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Peekalink\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Peekalink\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add the affiliate to a program automatically", "output": "{\"nodes\":[{\"name\":\"Tapfiliate2\",\"type\":\"n8n-nodes-base.tapfiliate\",\"position\":[870,300],\"parameters\":{\"resource\":\"programAffiliate\",\"programId\":\"testing-program-5\",\"affiliateId\":\"={{$node[\\\"Tapfiliate\\\"].json[\\\"id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"tapfiliateApi\":\"Tapfiliate API credentials\"},\"typeVersion\":1},{\"name\":\"Tapfiliate1\",\"type\":\"n8n-nodes-base.tapfiliate\",\"position\":[670,300],\"parameters\":{\"resource\":\"affiliateMetadata\",\"metadataUi\":{\"metadataValues\":[{\"key\":\"tag\",\"value\":\"n8n\"}]},\"affiliateId\":\"={{$json[\\\"id\\\"]}}\"},\"credentials\":{\"tapfiliateApi\":\"Tapfiliate API credentials\"},\"typeVersion\":1},{\"name\":\"Tapfiliate\",\"type\":\"n8n-nodes-base.tapfiliate\",\"position\":[470,300],\"parameters\":{\"email\":\"n8ndocsburner@gmail.com\",\"lastname\":\"Ryan\",\"firstname\":\"Jack\",\"additionalFields\":{}},\"credentials\":{\"tapfiliateApi\":\"Tapfiliate API credentials\"},\"typeVersion\":1},{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[270,300],\"parameters\":{},\"typeVersion\":1}],\"connections\":{\"Tapfiliate\":{\"main\":[[{\"node\":\"Tapfiliate1\",\"type\":\"main\",\"index\":0}]]},\"Tapfiliate1\":{\"main\":[[{\"node\":\"Tapfiliate2\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Tapfiliate\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Expand your LinkedIn network visiting profiles with uProc", "output": "{\"id\":\"169\",\"name\":\"n8n_visit_linkedin_profile\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[740,410],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set Profile\",\"type\":\"n8n-nodes-base.set\",\"position\":[940,410],\"parameters\":{\"values\":{\"string\":[{\"name\":\"profile\",\"value\":\"https://www.linkedin.com/in/miquelcolomersalas/\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"uProc\",\"type\":\"n8n-nodes-base.uproc\",\"position\":[1140,410],\"parameters\":{\"url\":\"={{$node[\\\"Set Profile\\\"].json[\\\"profile\\\"]}}\",\"tool\":\"sendLinkedinVisit\",\"additionalOptions\":{\"dataWebhook\":\"https://uproc.free.beeceptor.com\"}},\"credentials\":{\"uprocApi\":\"miquel-uproc\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set Profile\":{\"main\":[[{\"node\":\"uProc\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Set Profile\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Excel para postgre", "output": "{\"nodes\":[{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[450,650],\"parameters\":{\"filePath\":\"spreadsheet.xls\"},\"typeVersion\":1},{\"name\":\"Spreadsheet File1\",\"type\":\"n8n-nodes-base.spreadsheetFile\",\"position\":[600,650],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Insert Rows1\",\"type\":\"n8n-nodes-base.postgres\",\"position\":[750,650],\"parameters\":{\"table\":\"product\",\"columns\":\"name,ean\"},\"credentials\":{\"postgres\":\"postgres\"},\"typeVersion\":1}],\"connections\":{\"Read Binary File\":{\"main\":[[{\"node\":\"Spreadsheet File1\",\"type\":\"main\",\"index\":0}]]},\"Spreadsheet File1\":{\"main\":[[{\"node\":\"Insert Rows1\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Register users to an event on Demio via Typeform", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[510,260],\"webhookId\":\"1cbca674-78fb-402e-b225-2aa6f92b5338\",\"parameters\":{\"formId\":\"\"},\"credentials\":{\"typeformApi\":\"Typeform Burner Account\"},\"typeVersion\":1},{\"name\":\"Demio\",\"type\":\"n8n-nodes-base.demio\",\"position\":[710,260],\"parameters\":{\"email\":\"={{$json[\\\"What's your email address?\\\"]}}\",\"eventId\":357191,\"firstName\":\"={{$json[\\\"Let's start with your name.\\\"]}}\",\"operation\":\"register\",\"additionalFields\":{}},\"credentials\":{\"demioApi\":\"Demio API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Typeform Trigger\":{\"main\":[[{\"node\":\"Demio\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Sleep Function Node", "output": "{\"nodes\":[{\"name\":\"Sleep 5 Seconds\",\"type\":\"n8n-nodes-base.function\",\"position\":[850,510],\"parameters\":{\"functionCode\":\"function sleep(milliseconds) {\\n return new Promise(\\n resolve => setTimeout(resolve, milliseconds)\\n );\\n}\\n\\nawait sleep(5000);\\n\\n// Output data\\nreturn items;\"},\"typeVersion\":1}],\"connections\":{}}" }, { "input": "Create a customer and send the invoice automatically", "output": "{\"nodes\":[{\"name\":\"QuickBooks2\",\"type\":\"n8n-nodes-base.quickbooks\",\"position\":[870,300],\"parameters\":{\"email\":\"\",\"resource\":\"invoice\",\"invoiceId\":\"={{$json[\\\"Id\\\"]}}\",\"operation\":\"send\"},\"credentials\":{\"quickBooksOAuth2Api\":\"QuickBooks OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"QuickBooks1\",\"type\":\"n8n-nodes-base.quickbooks\",\"position\":[670,300],\"parameters\":{\"Line\":[{\"Amount\":100,\"itemId\":\"1\",\"DetailType\":\"SalesItemLineDetail\",\"Description\":\"Consulting service\"}],\"resource\":\"invoice\",\"operation\":\"create\",\"CustomerRef\":\"={{$json[\\\"Id\\\"]}}\",\"additionalFields\":{}},\"credentials\":{\"quickBooksOAuth2Api\":\"QuickBooks OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"QuickBooks\",\"type\":\"n8n-nodes-base.quickbooks\",\"position\":[470,300],\"parameters\":{\"operation\":\"create\",\"displayName\":\"Jack Ryan\",\"additionalFields\":{\"PrimaryEmailAddr\":\"jack@ryan.com\"}},\"credentials\":{\"quickBooksOAuth2Api\":\"QuickBooks OAuth Credentials\"},\"typeVersion\":1}],\"connections\":{\"QuickBooks\":{\"main\":[[{\"node\":\"QuickBooks1\",\"type\":\"main\",\"index\":0}]]},\"QuickBooks1\":{\"main\":[[{\"node\":\"QuickBooks2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Delete old tracks after a given time from Spotify playlist ", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[250,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Spotify Get Tracks\",\"type\":\"n8n-nodes-base.spotify\",\"position\":[480,300],\"parameters\":{\"id\":\"spotify:playlist:6LhcKhGWWYg350vz9fP0FA\",\"resource\":\"playlist\",\"operation\":\"getTracks\",\"returnAll\":true},\"credentials\":{\"spotifyOAuth2Api\":\"N8N\"},\"typeVersion\":1},{\"name\":\"added_at -> timestamp\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[680,300],\"parameters\":{\"value\":\"={{$json[\\\"added_at\\\"]}}\",\"custom\":true,\"options\":{},\"toFormat\":\"X\",\"dataPropertyName\":\"timestamp\"},\"typeVersion\":1},{\"name\":\"Get Current Date\",\"type\":\"n8n-nodes-base.function\",\"position\":[890,300],\"parameters\":{\"functionCode\":\"const newItems = [];\\nvar current = new Date();\\n\\nfor(let i=0; i timestamp\",\"type\":\"n8n-nodes-base.dateTime\",\"position\":[1080,300],\"parameters\":{\"value\":\"={{$json[\\\"current\\\"]}}\",\"custom\":true,\"options\":{},\"toFormat\":\"X\",\"dataPropertyName\":\"timestampcurrent\"},\"typeVersion\":1},{\"name\":\"IF (Entry Older Than)\",\"type\":\"n8n-nodes-base.if\",\"position\":[1280,300],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$json[\\\"timestampcurrent\\\"] - $json[\\\"timestamp\\\"]}}\",\"value2\":2592000,\"operation\":\"largerEqual\"}]}},\"typeVersion\":1}],\"connections\":{\"Get Current Date\":{\"main\":[[{\"node\":\"current date -> timestamp\",\"type\":\"main\",\"index\":0}]]},\"Spotify Get Tracks\":{\"main\":[[{\"node\":\"added_at -> timestamp\",\"type\":\"main\",\"index\":0}]]},\"IF (Entry Older Than)\":{\"main\":[[{\"node\":\"Spotify Delete Old Tracks\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Spotify Get Tracks\",\"type\":\"main\",\"index\":0}]]},\"added_at -> timestamp\":{\"main\":[[{\"node\":\"Get Current Date\",\"type\":\"main\",\"index\":0}]]},\"current date -> timestamp\":{\"main\":[[{\"node\":\"IF (Entry Older Than)\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a collection and create, update, and get a bookmark in Raindrop", "output": "{\"nodes\":[{\"name\":\"Raindrop\",\"type\":\"n8n-nodes-base.raindrop\",\"position\":[470,320],\"parameters\":{\"title\":\"n8n-docs\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"raindropOAuth2Api\":\"Raindrop OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Raindrop1\",\"type\":\"n8n-nodes-base.raindrop\",\"position\":[670,320],\"parameters\":{\"link\":\"https://docs.n8n.io\",\"resource\":\"bookmark\",\"operation\":\"create\",\"collectionId\":\"={{$json[\\\"_id\\\"]}}\",\"additionalFields\":{\"title\":\"Documentation\"}},\"credentials\":{\"raindropOAuth2Api\":\"Raindrop OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Raindrop2\",\"type\":\"n8n-nodes-base.raindrop\",\"position\":[870,320],\"parameters\":{\"resource\":\"bookmark\",\"operation\":\"update\",\"bookmarkId\":\"={{$json[\\\"_id\\\"]}}\",\"updateFields\":{\"title\":\"n8n Documentation\"}},\"credentials\":{\"raindropOAuth2Api\":\"Raindrop OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"Raindrop3\",\"type\":\"n8n-nodes-base.raindrop\",\"position\":[1070,320],\"parameters\":{\"resource\":\"bookmark\",\"bookmarkId\":\"={{$json[\\\"_id\\\"]}}\"},\"credentials\":{\"raindropOAuth2Api\":\"Raindrop OAuth Credentials\"},\"typeVersion\":1}],\"connections\":{\"Raindrop\":{\"main\":[[{\"node\":\"Raindrop1\",\"type\":\"main\",\"index\":0}]]},\"Raindrop1\":{\"main\":[[{\"node\":\"Raindrop2\",\"type\":\"main\",\"index\":0}]]},\"Raindrop2\":{\"main\":[[{\"node\":\"Raindrop3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create, update, and get a webinar in GoToWebinar", "output": "{\"nodes\":[{\"name\":\"GoToWebinar2\",\"type\":\"n8n-nodes-base.goToWebinar\",\"position\":[930,280],\"parameters\":{\"resource\":\"webinar\",\"webinarKey\":\"={{$node[\\\"GoToWebinar\\\"].json[\\\"webinarKey\\\"]}}\"},\"credentials\":{\"goToWebinarOAuth2Api\":\"GoToWebinar OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"GoToWebinar1\",\"type\":\"n8n-nodes-base.goToWebinar\",\"position\":[730,280],\"parameters\":{\"resource\":\"webinar\",\"operation\":\"update\",\"webinarKey\":\"={{$json[\\\"webinarKey\\\"]}}\",\"updateFields\":{\"description\":\"Get started with n8n and create your first automation workflow\"}},\"credentials\":{\"goToWebinarOAuth2Api\":\"GoToWebinar OAuth Credentials\"},\"typeVersion\":1},{\"name\":\"GoToWebinar\",\"type\":\"n8n-nodes-base.goToWebinar\",\"position\":[520,280],\"parameters\":{\"times\":{\"timesProperties\":[{\"endTime\":\"2021-03-02T10:00:00.000Z\",\"startTime\":\"2021-03-02T09:00:00.000Z\"}]},\"subject\":\"Getting started with n8n\",\"resource\":\"webinar\",\"operation\":\"create\",\"additionalFields\":{}},\"credentials\":{\"goToWebinarOAuth2Api\":\"GoToWebinar OAuth Credentials\"},\"typeVersion\":1}],\"connections\":{\"GoToWebinar\":{\"main\":[[{\"node\":\"GoToWebinar1\",\"type\":\"main\",\"index\":0}]]},\"GoToWebinar1\":{\"main\":[[{\"node\":\"GoToWebinar2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create a campaign, add a contact, and get the campaign from Emelia", "output": "{\"nodes\":[{\"name\":\"Emelia\",\"type\":\"n8n-nodes-base.emelia\",\"position\":[530,310],\"parameters\":{\"operation\":\"create\",\"campaignName\":\"n8n-docs\"},\"credentials\":{\"emeliaApi\":\"Emelia API Credentials\"},\"typeVersion\":1},{\"name\":\"Emelia1\",\"type\":\"n8n-nodes-base.emelia\",\"position\":[730,310],\"parameters\":{\"operation\":\"addContact\",\"campaignId\":\"603dfd70cbe34c3c9730fd09\",\"contactEmail\":\"email@example.com\",\"additionalFields\":{\"firstName\":\"NAME\"}},\"credentials\":{\"emeliaApi\":\"Emelia API Credentials\"},\"typeVersion\":1},{\"name\":\"Emelia2\",\"type\":\"n8n-nodes-base.emelia\",\"position\":[930,310],\"parameters\":{\"campaignId\":\"={{$node[\\\"Emelia\\\"].json[\\\"_id\\\"]}}\"},\"credentials\":{\"emeliaApi\":\"Emelia API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Emelia\":{\"main\":[[{\"node\":\"Emelia1\",\"type\":\"main\",\"index\":0}]]},\"Emelia1\":{\"main\":[[{\"node\":\"Emelia2\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Analyze feedback using AWS Comprehend and send it to a Mattermost channel", "output": "{\"nodes\":[{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[810,300],\"parameters\":{\"message\":\"=You got new feedback with a score of {{$json[\\\"SentimentScore\\\"][\\\"Negative\\\"]}}. Here is what it says:{{$node[\\\"Typeform Trigger\\\"].json[\\\"What did you think about the event?\\\"]}}\",\"channelId\":\"h7cxrd1cefr13x689enzyw7xhc\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[800,500],\"parameters\":{},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[600,400],\"parameters\":{\"conditions\":{\"number\":[],\"string\":[{\"value1\":\"={{$json[\\\"Sentiment\\\"]}}\",\"value2\":\"NEGATIVE\"}]}},\"typeVersion\":1},{\"name\":\"AWS Comprehend\",\"type\":\"n8n-nodes-base.awsComprehend\",\"position\":[400,400],\"parameters\":{\"text\":\"={{$json[\\\"What did you think about the event?\\\"]}}\",\"operation\":\"detectSentiment\"},\"credentials\":{\"aws\":\"AWS Comprehend Credentials\"},\"typeVersion\":1},{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[200,400],\"webhookId\":\"ad8a87ef-d293-4e48-8d36-838d69ebce0f\",\"parameters\":{\"formId\":\"DuJHEGW5\"},\"credentials\":{\"typeformApi\":\"typeform\"},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"AWS Comprehend\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Typeform Trigger\":{\"main\":[[{\"node\":\"AWS Comprehend\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send weather alerts to your mobile phone with OpenWeatherMap and SIGNL4", "output": "{\"meta\":{\"instanceId\":\"4e19bc4d542ebb7cc77dcbf34c0c6dca5062ae1e34fd327b055beb054230d539\"},\"nodes\":[{\"id\":\"beebd9ac-4021-4e45-9971-4205c37e3742\",\"name\":\"When clicking ‘Test workflow’\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[-500,40],\"parameters\":{},\"typeVersion\":1},{\"id\":\"61e48c99-fdd3-4db7-8e2e-67cb2c2dfd97\",\"name\":\"SIGNL4\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[60,-140],\"parameters\":{\"message\":\"=Weather alert ❄️ Temperature: {{ $json.main.temp }} °C\",\"additionalFields\":{\"title\":\"Weather Alert from n8n\",\"externalId\":\"weather-alert\",\"locationFieldsUi\":{\"locationFieldsValues\":{\"latitude\":\"={{ $json.coord.lat }}\",\"longitude\":\"={{ $json.coord.lon }}\"}}}},\"credentials\":{\"signl4Api\":{\"id\":\"EAiJUjPUA6kiAnG9\",\"name\":\"SIGNL4 Webhook account\"}},\"typeVersion\":1},{\"id\":\"739a31e4-d353-4c95-bb84-b36f6a5560cf\",\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[-320,-140],\"parameters\":{\"cityName\":\"Berlin\"},\"credentials\":{\"openWeatherMapApi\":{\"id\":\"oH1seTNeKu1d87wm\",\"name\":\"OpenWeatherMap account\"}},\"typeVersion\":1},{\"id\":\"95aab17d-c0eb-439c-81ff-7452794a514a\",\"name\":\"If\",\"type\":\"n8n-nodes-base.if\",\"position\":[-160,-140],\"parameters\":{\"options\":{},\"conditions\":{\"options\":{\"leftValue\":\"\",\"caseSensitive\":true,\"typeValidation\":\"strict\"},\"combinator\":\"and\",\"conditions\":[{\"id\":\"b95ba4e6-0749-4dd0-9830-14a6b0b5edcf\",\"operator\":{\"type\":\"number\",\"operation\":\"lt\"},\"leftValue\":\"={{ $json.main.temp }}\",\"rightValue\":25}]}},\"typeVersion\":2},{\"id\":\"ef813bf0-cd46-474e-9208-2efbd402782f\",\"name\":\"Schedule Trigger\",\"type\":\"n8n-nodes-base.scheduleTrigger\",\"position\":[-500,-140],\"parameters\":{\"rule\":{\"interval\":[{\"triggerAtHour\":6,\"triggerAtMinute\":15}]}},\"typeVersion\":1.2}],\"pinData\":{},\"connections\":{\"If\":{\"main\":[[{\"node\":\"SIGNL4\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"If\",\"type\":\"main\",\"index\":0}]]},\"Schedule Trigger\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"When clicking ‘Test workflow’\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Monitor a file for changes and send an alert", "output": "{\"id\":\"2\",\"name\":\"SIGNL4 Alert\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[350,500],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"everyHour\"}]}},\"typeVersion\":1},{\"name\":\"Write Binary File\",\"type\":\"n8n-nodes-base.writeBinaryFile\",\"position\":[880,500],\"parameters\":{\"fileName\":\"alert-data.json\"},\"typeVersion\":1},{\"name\":\"Read Binary File\",\"type\":\"n8n-nodes-base.readBinaryFile\",\"position\":[450,270],\"parameters\":{\"filePath\":\"alert-data.json\"},\"typeVersion\":1},{\"name\":\"Binary to JSON\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[630,270],\"parameters\":{\"options\":{}},\"typeVersion\":1},{\"name\":\"JSON to Binary\",\"type\":\"n8n-nodes-base.moveBinaryData\",\"position\":[720,500],\"parameters\":{\"mode\":\"jsonToBinary\",\"options\":{}},\"typeVersion\":1},{\"name\":\"Mark as Done\",\"type\":\"n8n-nodes-base.function\",\"position\":[560,500],\"parameters\":{\"functionCode\":\"items[0].json.Body = $node[\\\"Binary to JSON\\\"].json.Body;\\nitems[0].json.Done = true;\\nitems[0].json.eventId = $node[\\\"SIGNL4 Alert\\\"].json.eventId;\\nitems[0].json.lastId = $node[\\\"Binary to JSON\\\"].json.eventId;\\n\\nreturn items;\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[810,270],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":\"={{$node[\\\"Binary to JSON\\\"].json[\\\"Done\\\"]}}\"}]},\"combineOperation\":\"=all\"},\"typeVersion\":1},{\"name\":\"SIGNL4 Resolve\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[1040,500],\"parameters\":{\"operation\":\"resolve\",\"externalId\":\"={{$node[\\\"Binary to JSON\\\"].json[\\\"lastId\\\"]}}\"},\"credentials\":{\"signl4Api\":\"Team\"},\"typeVersion\":1},{\"name\":\"SIGNL4 Alert\",\"type\":\"n8n-nodes-base.signl4\",\"position\":[990,270],\"parameters\":{\"message\":\"={{$node[\\\"Binary to JSON\\\"].json[\\\"Body\\\"]}}\",\"additionalFields\":{\"externalId\":\"={{$node[\\\"Binary to JSON\\\"].json[\\\"eventId\\\"]}}\",\"locationFieldsUi\":{\"locationFieldsValues\":{\"latitude\":\"52.3984235\",\"longitude\":\"13.0544149\"}}}},\"credentials\":{\"signl4Api\":\"Team\"},\"typeVersion\":1}],\"active\":true,\"settings\":{\"timezone\":\"Europe/Berlin\"},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"SIGNL4 Alert\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SIGNL4 Resolve\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Read Binary File\",\"type\":\"main\",\"index\":0}]]},\"Mark as Done\":{\"main\":[[{\"node\":\"JSON to Binary\",\"type\":\"main\",\"index\":0}]]},\"SIGNL4 Alert\":{\"main\":[[{\"node\":\"Mark as Done\",\"type\":\"main\",\"index\":0}]]},\"Binary to JSON\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"JSON to Binary\":{\"main\":[[{\"node\":\"Write Binary File\",\"type\":\"main\",\"index\":0}]]},\"Read Binary File\":{\"main\":[[{\"node\":\"Binary to JSON\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an event in PostHog when a request is made to a webhook URL", "output": "{\"nodes\":[{\"name\":\"PostHog\",\"type\":\"n8n-nodes-base.postHog\",\"position\":[640,280],\"parameters\":{\"eventName\":\"={{$json[\\\"query\\\"][\\\"event\\\"]}}\",\"distinctId\":\"n8n\",\"additionalFields\":{}},\"credentials\":{\"postHogApi\":\"PostHog Credentials\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[440,280],\"webhookId\":\"f6d0071e-3cf9-49fd-8bbd-afdbea6b0c67\",\"parameters\":{\"path\":\"f6d0071e-3cf9-49fd-8bbd-afdbea6b0c67\",\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"PostHog\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an alert with an image of a surveillance camera", "output": "{\"meta\":{\"instanceId\":\"4e19bc4d542ebb7cc77dcbf34c0c6dca5062ae1e34fd327b055beb054230d539\"},\"nodes\":[{\"id\":\"7f8a6ff1-38f4-40b8-bc4a-e1499876fed3\",\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Get image.\",\"position\":[60,80],\"parameters\":{\"url\":\"http://192.168.2.103:8083/axis-cgi/jpg/image.cgi\",\"options\":{},\"authentication\":\"basicAuth\",\"responseFormat\":\"file\"},\"credentials\":{\"httpBasicAuth\":{\"id\":\"bScxI7EI1UqtCNWi\",\"name\":\"Unnamed credential\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"afe2775e-2016-4c71-9e2f-9246d410c0b9\",\"name\":\"Change File Extension\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Rename the file.\",\"position\":[260,80],\"parameters\":{\"functionCode\":\"items[0].binary.data.fileExtension = \\\"jpg\\\";\\nreturn items;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"144f2cb1-c881-49dc-8102-d43cd04bc108\",\"name\":\"SIGNL41\",\"type\":\"n8n-nodes-base.signl4\",\"notes\":\"Send alert.\",\"position\":[440,80],\"parameters\":{\"message\":\"Surveillance camera has detected an intruder.\\nLive Stream: http://192.168.2.103:8083/live\\n\",\"additionalFields\":{\"title\":\"Camera Alert\",\"attachmentsUi\":{\"attachmentsBinary\":{\"property\":\"=data\"}}}},\"credentials\":{\"signl4Api\":{\"id\":\"EAiJUjPUA6kiAnG9\",\"name\":\"SIGNL4 Webhook account\"}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"c3880067-f425-409e-b99c-ece981630137\",\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"notes\":\"Camera event.\",\"position\":[-160,80],\"webhookId\":\"a6ca3a45-8de5-48a8-989e-3671ca645cfc\",\"parameters\":{\"path\":\"a6ca3a45-8de5-48a8-989e-3671ca645cfc\",\"options\":{}},\"notesInFlow\":true,\"typeVersion\":1},{\"id\":\"046a3f10-d5f0-4c1d-871c-c4246de5f8f9\",\"name\":\"Sticky Note\",\"type\":\"n8n-nodes-base.stickyNote\",\"position\":[-160,-34],\"parameters\":{\"width\":367,\"height\":80,\"content\":\"Get an event from a surveillance camera, get the image, rename the file, and then send a SIGNL4 alert.\"},\"typeVersion\":1}],\"pinData\":{},\"connections\":{\"Webhook\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Change File Extension\",\"type\":\"main\",\"index\":0}]]},\"Change File Extension\":{\"main\":[[{\"node\":\"SIGNL41\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Message when Docker Hub has new images for containers", "output": "{\"id\":\"7\",\"name\":\"Notify when a Docker image update is available\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[90,230],\"parameters\":{},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Get latest images from DockerHub\",\"position\":[660,120],\"parameters\":{\"url\":\"=https://hub.docker.com/v2/repositories/{{$json[\\\"repo\\\"]}}/tags/{{$json[\\\"tag\\\"]}}/\",\"options\":{},\"queryParametersUi\":{\"parameter\":[{\"name\":\"ordering\",\"value\":\"last_updated\"},{\"name\":\"page_size\",\"value\":\"25\"},{\"name\":\"page\",\"value\":\"1\"}]},\"headerParametersUi\":{\"parameter\":[]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Execute Command\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"kubectl get pods\",\"position\":[290,230],\"parameters\":{\"command\":\"/home/node/.n8n/bin/kubectl get pod --namespace default -o json\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Parse kube images\",\"position\":[480,230],\"parameters\":{\"functionCode\":\"var newitems = [];\\njsonObject = JSON.parse(items[0].json.stdout);\\n\\nfor (i = 0; i < jsonObject.items.length; i++) {\\n for (s = 0; s < jsonObject.items[i].status.containerStatuses.length; s++) {\\n name = jsonObject.items[i].status.containerStatuses[s].name;\\n image = jsonObject.items[i].status.containerStatuses[s].image;\\n combined = jsonObject.items[i].status.containerStatuses[s].imageID;\\n \\n if (!image.match(/\\\\//)) {\\n repo = 'library/' + image.match(/([^\\\\:]+)/)[1];\\n } else {\\n if (image.match(/([^\\\\:]+)/)) {\\n repo = image.match(/([^\\\\:]+)/)[1];\\n }\\n }\\n tagCapture = /[^\\\\:]+\\\\:(.*)/\\n if (image.match(tagCapture)) {\\n tag = image.match(tagCapture)[1];\\n } else {\\n tag = 'latest';\\n }\\n\\n digestCapture = /@(.*)/\\n digest = combined.match(digestCapture)[1];\\n\\n newitems.push({ \\\"json\\\": { \\\"name\\\": name, \\\"repo\\\": repo, \\\"tag\\\": tag, \\\"digest\\\": digest } });\\n }\\n}\\n\\nnewitems = newitems.filter((thing, index, self) =>\\n index === self.findIndex((t) => (\\n t.json.image === thing.json.image && t.json.digest === thing.json.digest && !t.json.repo.match(/[^\\\\/]+\\\\..*\\\\//)\\n ))\\n)\\n\\nreturn newitems;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Function1\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"Get out of date images for each repo/image:tag\",\"position\":[1000,210],\"parameters\":{\"functionCode\":\"returnItems = [];\\n\\nfor (item = 0; item < items.length; item++) {\\n currentItemJson = items[item].json;\\n for (imageIndex = 0; imageIndex < currentItemJson.images.length; imageIndex++) {\\n if (currentItemJson.images[imageIndex].architecture == \\\"amd64\\\") {\\n break;\\n }\\n }\\n latestDigest = currentItemJson.images[imageIndex].digest;\\n if (currentItemJson.digest != latestDigest) {\\n returnItems.push({\\\"json\\\": { \\n \\\"name\\\": currentItemJson.name,\\n \\\"out_of_date_image\\\": currentItemJson.repo, \\n \\\"tag\\\": currentItemJson.tag, \\n \\\"out_of_date_digest\\\": currentItemJson.digest,\\n \\\"dockerhub_digest\\\": latestDigest\\n }});\\n }\\n}\\n\\nreturn returnItems;\\n\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Discord\",\"type\":\"n8n-nodes-base.discord\",\"notes\":\"Send notification\",\"position\":[650,900],\"parameters\":{\"text\":\"=```\\n{{$json[\\\"name\\\"]}}\\n```\\nNew image available for **{{$json[\\\"out_of_date_image\\\"]}}:{{$json[\\\"tag\\\"]}}**\\nCluster digest:`{{$json[\\\"out_of_date_digest\\\"]}}`\\nDocker Hub digest: `{{$json[\\\"dockerhub_digest\\\"]}}`\",\"webhookUri\":\"CHANGEME\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[90,90],\"parameters\":{\"triggerTimes\":{\"item\":[{\"mode\":\"custom\",\"cronExpression\":\"24 */6 * * *\"}]}},\"typeVersion\":1},{\"name\":\"Merge\",\"type\":\"n8n-nodes-base.merge\",\"position\":[830,210],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Check if the digest from Docker Hub is the same as what's on disk\",\"position\":[650,490],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"stdout\\\"]}}\",\"value2\":\"={{$json[\\\"dockerhub_digest\\\"]}}\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[840,420],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Execute Command1\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"Read previously saved digests\",\"position\":[290,510],\"parameters\":{\"command\":\"=cat '/home/node/.n8n/storage/checkDockerHubForNewImages/{{$node[\\\"Function1\\\"].json[\\\"out_of_date_image\\\"]}}/{{$node[\\\"Function1\\\"].json[\\\"tag\\\"]}}.txt'\",\"executeOnce\":false},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Execute Command2\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"Save Docker Hub digest so we don't alert next time\",\"position\":[650,750],\"parameters\":{\"command\":\"=mkdir -p '/home/node/.n8n/storage/checkDockerHubForNewImages/{{$json[\\\"out_of_date_image\\\"]}}'\\necho '{{$json[\\\"dockerhub_digest\\\"]}}' > '/home/node/.n8n/storage/checkDockerHubForNewImages/{{$json[\\\"out_of_date_image\\\"]}}/{{$json[\\\"tag\\\"]}}.txt'\",\"executeOnce\":false},\"notesInFlow\":true,\"typeVersion\":1,\"continueOnFail\":true},{\"name\":\"Execute Command3\",\"type\":\"n8n-nodes-base.executeCommand\",\"notes\":\"Reset notifications\",\"position\":[380,50],\"parameters\":{\"command\":\"=rm -rf /home/node/.n8n/storage/checkDockerHubForNewImages/*\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Merge1\",\"type\":\"n8n-nodes-base.merge\",\"position\":[480,490],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"IF1\",\"type\":\"n8n-nodes-base.if\",\"notes\":\"Check if the digest from Docker Hub is the same as what's on disk\",\"position\":[480,800],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$json[\\\"out_of_date_digest\\\"]}}\",\"value2\":\"={{$json[\\\"docker-content-digest\\\"]}}\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTTP Request1\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Get a Dockerhub token\",\"position\":[840,580],\"parameters\":{\"url\":\"=https://auth.docker.io/token?service=registry.docker.io&scope=repository:{{$json[\\\"out_of_date_image\\\"]}}:pull\",\"options\":{}},\"executeOnce\":false,\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"HTTP Request2\",\"type\":\"n8n-nodes-base.httpRequest\",\"notes\":\"Get Manifests\",\"position\":[1170,530],\"parameters\":{\"url\":\"=https://registry-1.docker.io/v2/{{$json[\\\"out_of_date_image\\\"]}}/manifests/{{$json[\\\"tag\\\"]}}\",\"options\":{},\"requestMethod\":\"HEAD\",\"headerParametersUi\":{\"parameter\":[{\"name\":\"Authorization\",\"value\":\"=Bearer {{$json[\\\"token\\\"]}}\"}]}},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Merge2\",\"type\":\"n8n-nodes-base.merge\",\"position\":[290,800],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1},{\"name\":\"Merge3\",\"type\":\"n8n-nodes-base.merge\",\"position\":[1000,530],\"parameters\":{\"mode\":\"mergeByIndex\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}],[{\"node\":\"HTTP Request1\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge2\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge3\",\"type\":\"main\",\"index\":0}]]},\"IF1\":{\"main\":[[{\"node\":\"Execute Command2\",\"type\":\"main\",\"index\":0}],[{\"node\":\"Execute Command2\",\"type\":\"main\",\"index\":0},{\"node\":\"Discord\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]},\"Merge\":{\"main\":[[{\"node\":\"Function1\",\"type\":\"main\",\"index\":0}]]},\"Merge1\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"Merge2\":{\"main\":[[{\"node\":\"IF1\",\"type\":\"main\",\"index\":0}]]},\"Merge3\":{\"main\":[[{\"node\":\"HTTP Request2\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge\",\"type\":\"main\",\"index\":1}]]},\"Function1\":{\"main\":[[{\"node\":\"Execute Command1\",\"type\":\"main\",\"index\":0},{\"node\":\"Merge1\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"Merge\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request1\":{\"main\":[[{\"node\":\"Merge3\",\"type\":\"main\",\"index\":1}]]},\"HTTP Request2\":{\"main\":[[{\"node\":\"Merge2\",\"type\":\"main\",\"index\":1}]]},\"Execute Command\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"Execute Command1\":{\"main\":[[{\"node\":\"Merge1\",\"type\":\"main\",\"index\":1}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Execute Command\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Get daily poems in Telegram", "output": "{\"id\":\"3\",\"name\":\"Daily poems in Telegram\",\"nodes\":[{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[-250,400],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":10}]}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[350,400],\"parameters\":{\"text\":\"=✒️ Poem of the day:\\n{{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"title\\\"]}} by {{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"poet\\\"][\\\"name\\\"]}}\\n\\n{{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"content\\\"]}}\\n☁️\",\"chatId\":\"123456789\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"telegram_bot\"},\"typeVersion\":1},{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[-50,400],\"parameters\":{\"url\":\"https://www.poemist.com/api/v1/randompoems\",\"options\":{}},\"typeVersion\":1},{\"name\":\"LingvaNex\",\"type\":\"n8n-nodes-base.lingvaNex\",\"position\":[150,400],\"parameters\":{\"text\":\"={{$node[\\\"HTTP Request\\\"].json[\\\"0\\\"][\\\"content\\\"]}}\",\"options\":{},\"translateTo\":\"en_GB\"},\"credentials\":{\"lingvaNexApi\":\"lingvanex_API\"},\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Cron\":{\"main\":[[{\"node\":\"HTTP Request\",\"type\":\"main\",\"index\":0}]]},\"LingvaNex\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"HTTP Request\":{\"main\":[[{\"node\":\"LingvaNex\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send an email if there is rain forecasted for the day", "output": "{\"id\":\"4\",\"name\":\"Email me if it's going to rain\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[360,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[530,300],\"parameters\":{\"zipCode\":\"90210\",\"operation\":\"5DayForecast\",\"locationSelection\":\"zipCode\"},\"credentials\":{\"openWeatherMapApi\":\"OpenWeatherMap API Key\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[840,300],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"=rain\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"snow\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"sleet\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"hail\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"storm\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"drizzle\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}},{{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"value2\":\"downpour\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"Send Email\",\"type\":\"n8n-nodes-base.emailSend\",\"position\":[1030,200],\"parameters\":{\"text\":\"=Forecast:\\n{{$node[\\\"Function\\\"].json[\\\"list\\\"][0][\\\"hour\\\"]}} - {{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][0][\\\"weather\\\"][0][\\\"description\\\"]}}\\n{{$node[\\\"Function\\\"].json[\\\"list\\\"][1][\\\"hour\\\"]}} - {{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][1][\\\"weather\\\"][0][\\\"description\\\"]}}\\n{{$node[\\\"Function\\\"].json[\\\"list\\\"][2][\\\"hour\\\"]}} - {{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][2][\\\"weather\\\"][0][\\\"description\\\"]}}\\n{{$node[\\\"Function\\\"].json[\\\"list\\\"][3][\\\"hour\\\"]}} - {{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][3][\\\"weather\\\"][0][\\\"description\\\"]}}\\n{{$node[\\\"Function\\\"].json[\\\"list\\\"][4][\\\"hour\\\"]}} - {{$node[\\\"OpenWeatherMap\\\"].json[\\\"list\\\"][4][\\\"weather\\\"][0][\\\"description\\\"]}}\",\"options\":{},\"subject\":\"It's going to rain today\",\"toEmail\":\"changeme@example.com\",\"fromEmail\":\"n8n@example.com\"},\"credentials\":{\"smtp\":\"Amazon SES\"},\"typeVersion\":1},{\"name\":\"Cron\",\"type\":\"n8n-nodes-base.cron\",\"position\":[360,160],\"parameters\":{\"triggerTimes\":{\"item\":[{\"hour\":7}]}},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[680,300],\"parameters\":{\"functionCode\":\"for (let i = 0; i < items[0].json.list.length; i++) {\\n var h = new Date(items[0].json.list[i].dt * 1000).getHours();\\n var m = new Date(items[0].json.list[i].dt * 1000).getMinutes();\\n h = (h<10) ? '0' + h : h;\\n m = (m<10) ? '0' + m : m;\\n\\n var output = h + ':' + m;\\n items[0].json.list[i].hour = output;\\n}\\nreturn items\\n\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[1030,370],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Send Email\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Cron\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Load data into spreadsheet or database", "output": "{\"id\":\"1028\",\"name\":\"Loading data into a spreadsheet\",\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[160,300],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Name\",\"value\":\"={{$json[\\\"properties\\\"][\\\"firstname\\\"][\\\"value\\\"]}} {{$json[\\\"properties\\\"][\\\"lastname\\\"][\\\"value\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"identity-profiles\\\"][0][\\\"identities\\\"][0][\\\"value\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Mock data (CRM Contacts)\",\"type\":\"n8n-nodes-base.function\",\"notes\":\"\\\"Get contacts\\\" data from Hubspot node. \",\"position\":[400,300],\"parameters\":{\"functionCode\":\"var newItems = [];\\nnewItems.push({json:{\\n \\\"addedAt\\\": 1606827045601,\\n \\\"vid\\\": 1,\\n \\\"canonical-vid\\\": 1,\\n \\\"merged-vids\\\": [],\\n \\\"portal-id\\\": 8924380,\\n \\\"is-contact\\\": true,\\n \\\"profile-token\\\": \\\"AO_T-mMZqmgHPI5CLLlw2qE24AlgWOJUL0LdMb2CegxeMzQK1LXyh7iZAgjNd-00ZdPAfnFU9Lv_7nq6qlrKvfAh8hr_cw-VBH1RCCMgHHYQ06DOXoIGAlViWmMKY-0lF9dv7lBVOMf5\\\",\\n \\\"profile-url\\\": \\\"https://app.hubspot.com/contacts/8924380/contact/1\\\",\\n \\\"properties\\\": {\\n \\\"firstname\\\": {\\n \\\"value\\\": \\\"Maria\\\"\\n },\\n \\\"lastmodifieddate\\\": {\\n \\\"value\\\": \\\"1606827057310\\\"\\n },\\n \\\"company\\\": {\\n \\\"value\\\": \\\"HubSpot\\\"\\n },\\n \\\"lastname\\\": {\\n \\\"value\\\": \\\"Johnson (Sample Contact)\\\"\\n }\\n },\\n \\\"form-submissions\\\": [],\\n \\\"identity-profiles\\\": [\\n {\\n \\\"vid\\\": 1,\\n \\\"saved-at-timestamp\\\": 1606827045478,\\n \\\"deleted-changed-timestamp\\\": 0,\\n \\\"identities\\\": [\\n {\\n \\\"type\\\": \\\"EMAIL\\\",\\n \\\"value\\\": \\\"emailmaria@hubspot.com\\\",\\n \\\"timestamp\\\": 1606827045444,\\n \\\"is-primary\\\": true\\n },\\n {\\n \\\"type\\\": \\\"LEAD_GUID\\\",\\n \\\"value\\\": \\\"cfa8b21f-164e-4c9a-aab1-1235c81a7d26\\\",\\n \\\"timestamp\\\": 1606827045475\\n }\\n ]\\n }\\n ],\\n \\\"merge-audits\\\": []\\n }});\\nnewItems.push({json:{\\n \\\"addedAt\\\": 1606827045834,\\n \\\"vid\\\": 51,\\n \\\"canonical-vid\\\": 51,\\n \\\"merged-vids\\\": [],\\n \\\"portal-id\\\": 8924380,\\n \\\"is-contact\\\": true,\\n \\\"profile-token\\\": \\\"AO_T-mMX1jbZjaachMJ8t1F2yRdvyAvsir5RMvooW7XjbPZTdAv8hc24U0Rnc_PDF1gp1qmc8Tg2hDytOaRXRiWVyg-Eg8rbPFEiXNdU6jfMneow46tsSiQH1yyRf03mMi5ALZXMVfyA\\\",\\n \\\"profile-url\\\": \\\"https://app.hubspot.com/contacts/8924380/contact/51\\\",\\n \\\"properties\\\": {\\n \\\"firstname\\\": {\\n \\\"value\\\": \\\"Brian\\\"\\n },\\n \\\"lastmodifieddate\\\": {\\n \\\"value\\\": \\\"1606827060106\\\"\\n },\\n \\\"company\\\": {\\n \\\"value\\\": \\\"HubSpot\\\"\\n },\\n \\\"lastname\\\": {\\n \\\"value\\\": \\\"Halligan (Sample Contact)\\\"\\n }\\n },\\n \\\"form-submissions\\\": [],\\n \\\"identity-profiles\\\": [\\n {\\n \\\"vid\\\": 51,\\n \\\"saved-at-timestamp\\\": 1606827045720,\\n \\\"deleted-changed-timestamp\\\": 0,\\n \\\"identities\\\": [\\n {\\n \\\"type\\\": \\\"EMAIL\\\",\\n \\\"value\\\": \\\"bh@hubspot.com\\\",\\n \\\"timestamp\\\": 1606827045444,\\n \\\"is-primary\\\": true\\n },\\n {\\n \\\"type\\\": \\\"LEAD_GUID\\\",\\n \\\"value\\\": \\\"d3749acc-06e1-4511-84fd-7b0d847f6eff\\\",\\n \\\"timestamp\\\": 1606827045717\\n }\\n ]\\n }\\n ],\\n \\\"merge-audits\\\": []\\n } });\\nreturn newItems;\"},\"notesInFlow\":true,\"typeVersion\":1},{\"name\":\"Replace me\",\"type\":\"n8n-nodes-base.noOp\",\"notes\":\"Google Sheet/ Airtable/ Database with an \\\"append\\\" or \\\"Add row\\\" operation\",\"position\":[910,300],\"parameters\":{},\"notesInFlow\":true,\"typeVersion\":1}],\"active\":false,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Replace me\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Mock data (CRM Contacts)\",\"type\":\"main\",\"index\":0}]]},\"Mock data (CRM Contacts)\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Gender inclusive language bot for Mattermost", "output": "{\"id\":\"18\",\"name\":\"Gender Inclusive Language\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[150,450],\"parameters\":{\"path\":\"webhook\",\"options\":{},\"httpMethod\":\"POST\"},\"typeVersion\":1},{\"name\":\"Mattermost1\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[550,300],\"parameters\":{\"message\":\"May I suggest \\\"folks\\\" or “y'all”? We use gender inclusive language here. 😄\",\"channelId\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"channel_id\\\"]}}\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"n8n Mattermost - Bot\"},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[340,450],\"parameters\":{\"conditions\":{\"string\":[{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"guys\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"Guys\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"bros\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"Bros\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"dudes\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"Dudes\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"gals\",\"operation\":\"contains\"},{\"value1\":\"={{$node[\\\"Webhook\\\"].json[\\\"body\\\"][\\\"text\\\"]}}\",\"value2\":\"Gals\",\"operation\":\"contains\"}]},\"combineOperation\":\"any\"},\"typeVersion\":1},{\"name\":\"NoOp\",\"type\":\"n8n-nodes-base.noOp\",\"position\":[550,550],\"parameters\":{},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Mattermost1\",\"type\":\"main\",\"index\":0}],[{\"node\":\"NoOp\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add new leads in Lemlist from Airtable", "output": "{\"nodes\":[{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[440,320],\"parameters\":{\"operation\":\"list\",\"additionalOptions\":{}},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1},{\"name\":\"Lemlist\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[640,320],\"parameters\":{\"email\":\"={{$json[\\\"fields\\\"][\\\"Email\\\"]}}\",\"resource\":\"lead\",\"campaignId\":\"cam_H5pYEryq6mRKBiy5v\",\"additionalFields\":{\"firstName\":\"={{$json[\\\"fields\\\"][\\\"Name\\\"]}}\"}},\"credentials\":{\"lemlistApi\":\"Lemlist API Credentials\"},\"typeVersion\":1},{\"name\":\"Lemlist1\",\"type\":\"n8n-nodes-base.lemlist\",\"position\":[840,320],\"parameters\":{\"email\":\"={{$node[\\\"Airtable\\\"].json[\\\"fields\\\"][\\\"Email\\\"]}}\",\"resource\":\"lead\",\"operation\":\"get\"},\"credentials\":{\"lemlistApi\":\"Lemlist API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Lemlist\":{\"main\":[[{\"node\":\"Lemlist1\",\"type\":\"main\",\"index\":0}]]},\"Airtable\":{\"main\":[[{\"node\":\"Lemlist\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Send a message on Mattermost when a lead replies to your Lemlist email", "output": "{\"nodes\":[{\"name\":\"Lemlist Trigger\",\"type\":\"n8n-nodes-base.lemlistTrigger\",\"position\":[410,160],\"webhookId\":\"e1e29f99-7222-488a-826f-5af50ffe7505\",\"parameters\":{\"event\":\"emailsReplied\",\"options\":{\"campaignId\":\"cam_H5pYEryq6mRKBiy5v\"}},\"credentials\":{\"lemlistApi\":\"Lemlist API Credentials\"},\"typeVersion\":1},{\"name\":\"Mattermost\",\"type\":\"n8n-nodes-base.mattermost\",\"position\":[610,160],\"parameters\":{\"message\":\"={{$json[\\\"firstName\\\"]}} has replied back to your {{$json[\\\"campaignName\\\"]}}. Below is the reply:\\n> {{$json[\\\"text\\\"]}}\",\"channelId\":\"qx9yo1i9z3bg5qcy5a1oxnh69c\",\"attachments\":[],\"otherOptions\":{}},\"credentials\":{\"mattermostApi\":\"Mattermost Credentials\"},\"typeVersion\":1}],\"connections\":{\"Lemlist Trigger\":{\"main\":[[{\"node\":\"Mattermost\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Weather check workflow for bash-dash", "output": "{\"nodes\":[{\"name\":\"OpenWeatherMap\",\"type\":\"n8n-nodes-base.openWeatherMap\",\"position\":[900,300],\"parameters\":{\"cityName\":\"={{ $json[\\\"city\\\"] }}\",\"language\":\"en\"},\"credentials\":{\"openWeatherMapApi\":\"\"},\"typeVersion\":1},{\"name\":\"Webhook GET\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[500,300],\"webhookId\":\"a31f0bbd-a583-470e-9a1e-29a9ce778122\",\"parameters\":{\"path\":\"weather\",\"options\":{\"responsePropertyName\":\"data\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Set City\",\"type\":\"n8n-nodes-base.set\",\"position\":[700,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"city\",\"value\":\"={{ $json[\\\"query\\\"][\\\"parameter\\\"] || 'berlin,de' }}\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Create Response\",\"type\":\"n8n-nodes-base.set\",\"position\":[1100,300],\"parameters\":{\"values\":{\"string\":[{\"name\":\"data\",\"value\":\"=It has {{$json[\\\"main\\\"][\\\"temp\\\"]}}\\\\xE2\\\\x84\\\\x83 and feels like {{$json[\\\"main\\\"][\\\"feels_like\\\"]}}\\\\xE2\\\\x84\\\\x83 in {{$json[\\\"name\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Set City\":{\"main\":[[{\"node\":\"OpenWeatherMap\",\"type\":\"main\",\"index\":0}]]},\"Webhook GET\":{\"main\":[[{\"node\":\"Set City\",\"type\":\"main\",\"index\":0}]]},\"OpenWeatherMap\":{\"main\":[[{\"node\":\"Create Response\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create Asana Ticket from Terminal Bash-dash", "output": "{\"nodes\":[{\"name\":\"Asana\",\"type\":\"n8n-nodes-base.asana\",\"position\":[450,500],\"parameters\":{\"name\":\"={{$json[\\\"query\\\"][\\\"parameter\\\"]}}\",\"workspace\":\"\",\"authentication\":\"oAuth2\",\"otherProperties\":{\"projects\":[\"\"]}},\"credentials\":{\"asanaOAuth2Api\":\"\"},\"typeVersion\":1},{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[250,500],\"webhookId\":\"b43ae7e2-a058-4738-8d49-ac76db6e8166\",\"parameters\":{\"path\":\"asana\",\"options\":{\"responsePropertyName\":\"response\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[650,500],\"parameters\":{\"values\":{\"string\":[{\"name\":\"response\",\"value\":\"=Created Asana Task: {{$json[\\\"permalink_url\\\"]}}\"}]},\"options\":{}},\"typeVersion\":1}],\"connections\":{\"Asana\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Webhook\":{\"main\":[[{\"node\":\"Asana\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Telegram messaging for bash-dash", "output": "{\"id\":\"5\",\"name\":\"bash-dash telegram\",\"nodes\":[{\"name\":\"Webhook\",\"type\":\"n8n-nodes-base.webhook\",\"position\":[450,450],\"webhookId\":\"b43ae7e2-a058-4738-8d49-ac76db6e8166\",\"parameters\":{\"path\":\"telegram\",\"options\":{\"responsePropertyName\":\"response\"},\"responseMode\":\"lastNode\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,450],\"parameters\":{\"values\":{\"string\":[{\"name\":\"response\",\"value\":\"=Sent message to {{$node[\\\"Telegram\\\"].json[\\\"result\\\"][\\\"chat\\\"][\\\"first_name\\\"]}}: \\\"{{$node[\\\"Telegram\\\"].parameter[\\\"text\\\"]}}\\\"\"}]},\"options\":{}},\"typeVersion\":1},{\"name\":\"Telegram\",\"type\":\"n8n-nodes-base.telegram\",\"position\":[650,450],\"parameters\":{\"text\":\"={{$node[\\\"Webhook\\\"].json[\\\"query\\\"][\\\"parameter\\\"]}}\",\"chatId\":\"123456789\",\"additionalFields\":{}},\"credentials\":{\"telegramApi\":\"telegram_bot\"},\"typeVersion\":1}],\"active\":true,\"settings\":{},\"connections\":{\"Set\":{\"main\":[[]]},\"Webhook\":{\"main\":[[{\"node\":\"Telegram\",\"type\":\"main\",\"index\":0}]]},\"Telegram\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Create an invoice based on the Typeform submission", "output": "{\"nodes\":[{\"name\":\"Typeform Trigger\",\"type\":\"n8n-nodes-base.typeformTrigger\",\"position\":[490,280],\"webhookId\":\"6c4b1aa0-226a-4875-bdc3-85bf2313085b\",\"parameters\":{\"formId\":\"dpr2kxSL\",\"simplifyAnswers\":false},\"credentials\":{\"typeformApi\":\"Typeform Burner Account\"},\"typeVersion\":1},{\"name\":\"APITemplate.io\",\"type\":\"n8n-nodes-base.apiTemplateIo\",\"position\":[690,280],\"parameters\":{\"options\":{\"fileName\":\"invoice.pdf\"},\"download\":true,\"resource\":\"pdf\",\"pdfTemplateId\":\"96c77b2b1ab6ac88\",\"jsonParameters\":true,\"propertiesJson\":\"={\\n \\\"company\\\": \\\"n8n\\\",\\n \\\"email\\\": \\\"{{$json[\\\"1\\\"][\\\"email\\\"]}}\\\",\\n \\\"invoice_no\\\": \\\"213223444\\\",\\n \\\"invoice_date\\\": \\\"18-03-2021\\\",\\n \\\"invoice_due_date\\\": \\\"17-04-2021\\\",\\n \\\"address\\\": \\\"Berlin, Germany\\\",\\n \\\"company_bill_to\\\": \\\"{{$json[\\\"0\\\"][\\\"text\\\"]}}\\\",\\n \\\"website\\\": \\\"https://n8n.io\\\",\\n \\\"document_id\\\": \\\"889856789012\\\",\\n \\\"items\\\": [\\n {\\n \\\"item_name\\\": \\\"{{$json[\\\"2\\\"][\\\"text\\\"]}}\\\",\\n \\\"price\\\": \\\"EUR {{$json[\\\"3\\\"][\\\"number\\\"]}}\\\"\\n },\\n {\\n \\\"item_name\\\": \\\"{{$json[\\\"4\\\"][\\\"text\\\"]}}\\\",\\n \\\"price\\\": \\\"EUR {{$json[\\\"5\\\"][\\\"number\\\"]}}\\\"\\n } \\n ]\\n}\"},\"credentials\":{\"apiTemplateIoApi\":\"APITemplate Credentials\"},\"typeVersion\":1}],\"connections\":{\"Typeform Trigger\":{\"main\":[[{\"node\":\"APITemplate.io\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage contacts via Autopilot", "output": "{\"nodes\":[{\"name\":\"Autopilot\",\"type\":\"n8n-nodes-base.autopilot\",\"position\":[470,320],\"parameters\":{\"name\":\"n8n-docs\",\"resource\":\"list\"},\"credentials\":{\"autopilotApi\":\"Autopilot API Credentials\"},\"typeVersion\":1},{\"name\":\"Autopilot1\",\"type\":\"n8n-nodes-base.autopilot\",\"position\":[670,320],\"parameters\":{\"email\":\"\",\"additionalFields\":{\"autopilotList\":\"={{$json[\\\"list_id\\\"]}}\"}},\"credentials\":{\"autopilotApi\":\"Autopilot API Credentials\"},\"typeVersion\":1},{\"name\":\"Autopilot2\",\"type\":\"n8n-nodes-base.autopilot\",\"position\":[870,320],\"parameters\":{\"email\":\"={{$node[\\\"Autopilot1\\\"].parameter[\\\"email\\\"]}}\",\"additionalFields\":{\"Company\":\"n8n\"}},\"credentials\":{\"autopilotApi\":\"Autopilot API Credentials\"},\"typeVersion\":1},{\"name\":\"Autopilot3\",\"type\":\"n8n-nodes-base.autopilot\",\"position\":[1070,320],\"parameters\":{\"listId\":\"={{$node[\\\"Autopilot\\\"].json[\\\"list_id\\\"]}}\",\"resource\":\"contactList\",\"operation\":\"getAll\",\"returnAll\":true},\"credentials\":{\"autopilotApi\":\"Autopilot API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Autopilot\":{\"main\":[[{\"node\":\"Autopilot1\",\"type\":\"main\",\"index\":0}]]},\"Autopilot1\":{\"main\":[[{\"node\":\"Autopilot2\",\"type\":\"main\",\"index\":0}]]},\"Autopilot2\":{\"main\":[[{\"node\":\"Autopilot3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Add new contacts from Autopilot to Airtable", "output": "{\"nodes\":[{\"name\":\"Autopilot Trigger\",\"type\":\"n8n-nodes-base.autopilotTrigger\",\"position\":[470,200],\"webhookId\":\"d7aa9691-49cb-4b01-8ecc-9a38fd708cf2\",\"parameters\":{\"event\":\"contactAdded\"},\"credentials\":{\"autopilotApi\":\"Autopilot API Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[670,200],\"parameters\":{\"values\":{\"string\":[{\"name\":\"First Name\",\"value\":\"={{$json[\\\"contact\\\"][\\\"FirstName\\\"]}}\"},{\"name\":\"Last Name\",\"value\":\"={{$json[\\\"contact\\\"][\\\"LastName\\\"]}}\"},{\"name\":\"Email\",\"value\":\"={{$json[\\\"contact\\\"][\\\"Email\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[870,200],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"appflT9EkWRGsSFM2\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Autopilot Trigger\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Manage transfers automatically in Wise", "output": "{\"nodes\":[{\"name\":\"Wise\",\"type\":\"n8n-nodes-base.wise\",\"position\":[470,320],\"parameters\":{\"amount\":500,\"resource\":\"quote\",\"operation\":\"create\",\"profileId\":16138858,\"sourceCurrency\":\"EUR\",\"targetCurrency\":\"EUR\",\"targetAccountId\":147767974},\"credentials\":{\"wiseApi\":\"Wise API Credentials\"},\"typeVersion\":1},{\"name\":\"Wise1\",\"type\":\"n8n-nodes-base.wise\",\"position\":[660,320],\"parameters\":{\"quoteId\":\"={{$json[\\\"id\\\"]}}\",\"resource\":\"transfer\",\"operation\":\"create\",\"profileId\":16138858,\"targetAccountId\":147767974,\"additionalFields\":{\"reference\":\"Thank you for the contribution\"}},\"credentials\":{\"wiseApi\":\"Wise API Credentials\"},\"typeVersion\":1},{\"name\":\"Wise2\",\"type\":\"n8n-nodes-base.wise\",\"position\":[870,320],\"parameters\":{\"resource\":\"transfer\",\"operation\":\"execute\",\"profileId\":16138858,\"transferId\":\"={{$json[\\\"id\\\"]}}\"},\"credentials\":{\"wiseApi\":\"Wise API Credentials\"},\"typeVersion\":1},{\"name\":\"Wise3\",\"type\":\"n8n-nodes-base.wise\",\"position\":[1070,320],\"parameters\":{\"resource\":\"transfer\",\"transferId\":\"={{$node[\\\"Wise1\\\"].json[\\\"id\\\"]}}\"},\"credentials\":{\"wiseApi\":\"Wise API Credentials\"},\"typeVersion\":1}],\"connections\":{\"Wise\":{\"main\":[[{\"node\":\"Wise1\",\"type\":\"main\",\"index\":0}]]},\"Wise1\":{\"main\":[[{\"node\":\"Wise2\",\"type\":\"main\",\"index\":0}]]},\"Wise2\":{\"main\":[[{\"node\":\"Wise3\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Receive transfer updates from Wise and add to Airtable", "output": "{\"nodes\":[{\"name\":\"Wise Trigger\",\"type\":\"n8n-nodes-base.wiseTrigger\",\"position\":[450,280],\"webhookId\":\"df8c0c06-7d40-4e57-aaff-60f458e6997c\",\"parameters\":{\"event\":\"tranferStateChange\",\"profileId\":16138858},\"credentials\":{\"wiseApi\":\"Wise API Credentials\"},\"typeVersion\":1},{\"name\":\"Wise\",\"type\":\"n8n-nodes-base.wise\",\"position\":[650,280],\"parameters\":{\"resource\":\"transfer\",\"transferId\":\"={{$json[\\\"data\\\"][\\\"resource\\\"][\\\"id\\\"]}}\"},\"credentials\":{\"wiseApi\":\"Wise API Credentials\"},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[850,280],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Transfer ID\",\"value\":\"={{$json[\\\"id\\\"]}}\"},{\"name\":\"Date\",\"value\":\"={{$json[\\\"created\\\"]}}\"},{\"name\":\"Reference\",\"value\":\"={{$json[\\\"reference\\\"]}}\"},{\"name\":\"Amount\",\"value\":\"={{$json[\\\"sourceValue\\\"]}}\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1},{\"name\":\"Airtable\",\"type\":\"n8n-nodes-base.airtable\",\"position\":[1050,280],\"parameters\":{\"table\":\"Table 1\",\"options\":{},\"operation\":\"append\",\"application\":\"\"},\"credentials\":{\"airtableApi\":\"Airtable Credentials n8n\"},\"typeVersion\":1}],\"connections\":{\"Set\":{\"main\":[[{\"node\":\"Airtable\",\"type\":\"main\",\"index\":0}]]},\"Wise\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}]]},\"Wise Trigger\":{\"main\":[[{\"node\":\"Wise\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Split In Batches node noItemsLeft example", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[430,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[630,310],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (let i=0;i<10;i++) {\\n newItems.push({json:{i}});\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[830,310],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1030,460],\"parameters\":{\"conditions\":{\"boolean\":[{\"value1\":true,\"value2\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"noItemsLeft\\\"]}}\"}]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1230,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Message\",\"value\":\"No Items Left\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Split In Batches node currentRunIndex example", "output": "{\"nodes\":[{\"name\":\"On clicking 'execute'\",\"type\":\"n8n-nodes-base.manualTrigger\",\"position\":[430,310],\"parameters\":{},\"typeVersion\":1},{\"name\":\"Function\",\"type\":\"n8n-nodes-base.function\",\"position\":[630,310],\"parameters\":{\"functionCode\":\"const newItems = [];\\n\\nfor (let i=0;i<10;i++) {\\n newItems.push({json:{i}});\\n}\\n\\nreturn newItems;\"},\"typeVersion\":1},{\"name\":\"SplitInBatches\",\"type\":\"n8n-nodes-base.splitInBatches\",\"position\":[830,310],\"parameters\":{\"options\":{},\"batchSize\":1},\"typeVersion\":1},{\"name\":\"IF\",\"type\":\"n8n-nodes-base.if\",\"position\":[1030,460],\"parameters\":{\"conditions\":{\"number\":[{\"value1\":\"={{$node[\\\"SplitInBatches\\\"].context[\\\"currentRunIndex\\\"];}}\",\"value2\":5,\"operation\":\"equal\"}],\"boolean\":[]}},\"typeVersion\":1},{\"name\":\"Set\",\"type\":\"n8n-nodes-base.set\",\"position\":[1230,360],\"parameters\":{\"values\":{\"string\":[{\"name\":\"Message\",\"value\":\"Loop Ended\"}]},\"options\":{},\"keepOnlySet\":true},\"typeVersion\":1}],\"connections\":{\"IF\":{\"main\":[[{\"node\":\"Set\",\"type\":\"main\",\"index\":0}],[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"Function\":{\"main\":[[{\"node\":\"SplitInBatches\",\"type\":\"main\",\"index\":0}]]},\"SplitInBatches\":{\"main\":[[{\"node\":\"IF\",\"type\":\"main\",\"index\":0}]]},\"On clicking 'execute'\":{\"main\":[[{\"node\":\"Function\",\"type\":\"main\",\"index\":0}]]}}}" }, { "input": "Translate cocktail instructions using DeepL", "output": "{\"nodes\":[{\"name\":\"HTTP Request\",\"type\":\"n8n-nodes-base.httpRequest\",\"position\":[510,320],\"parameters\":{\"url\":\"https://www.thecocktaildb.com/api/json/v1/1/random.php\",\"options\":{}},\"typeVersion\":1},{\"name\":\"DeepL\",\"type\":\"n8n-nodes-base.deepL\",\"position\":[710,320],\"parameters\":{\"text\":\"={{$json[\\\"drinks\\\"][0][\\\"strInstructions\\\"]}}\",\"translateTo\":\"FR\",\"additionalFields\":{}},\"credentials\":{\"deepLApi\":\"DeepL API Credentials\"},\"typeVersion\":1}],\"connections\":{\"HTTP Request\":{\"main\":[[{\"node\":\"DeepL\",\"type\":\"main\",\"index\":0}]]}}}" } ]