Task: Lucas openai

n8n workflow:
{"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}]]}}}