Task: LoneScale - Job postings intent data to Hubspot

n8n workflow:
{"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\"] : \"\")}} <br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"company_domain\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"company_domain\"] : \"\")}} <br>\nJob name & link & number matched:<br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"job_offers\"][0][\"job_name\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"job_offers\"][0][\"job_name\"] : \"\")}}<br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"job_offers\"][0][\"job_link\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"job_offers\"][0][\"job_link\"] : \"\")}}<br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"matched_job_offers_company_count\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"matched_job_offers_company_count\"] : \"\")}}<br>\nJob Location:<br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"job_offers\"][0][\"job_location\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"job_offers\"][0][\"job_location\"]: \"\")}}\nCompany industry/labels:<br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"company_industry\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"company_industry\"] : \"\")}} <br>{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"company_labels\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"company_labels\"] : \"\")}} <br>\nId & Employees & tools:<br>\n{{$node[\"JobIntentLoneScale\"].json[\"body\"][\"company_linkedin_id\"]}}<br>\n{{$node[\"JobIntentLoneScale\"].json[\"body\"][\"company_staff_count\"]}}<br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"workflow_tools\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"workflow_tools\"] : \"\")}} <br>\n{{($node[\"JobIntentLoneScale\"].json[\"body\"][\"company_tools\"] ? $node[\"JobIntentLoneScale\"].json[\"body\"][\"company_tools\"] : \"\")}} <br>"}]},"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}]]}}}