Serve a company enrichment API with Bright Data and OpenAI GPT-5.6
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook
What it does
Quick overview This workflow exposes a webhook-based company enrichment API that accepts a domain, fetches the company website, pricing page, and Google search results via Bright Data, then uses OpenAI (GPT-5.6) to generate a short sales-ready summary and returns a fixed JSON profile response. How it works 1. Receives a GET or POST request on a webhook endpoint with a company domain provided in JSON, form-encoded fields, or the query string. 2. Normalizes the input into a clean domain/brand and rejects invalid domains by returning a 400 JSON error response. 3. In parallel, uses Bright Data Web Unlocker to fetch the company home page and /pricing page, and uses Bright Data SERP to run a Google search for the brand. 4. Extracts key signals from the site and pricing content (positioning, product cues, plans, prices, and whether it looks sales-led) and pulls profile links and recent mentions from search results. 5. Combines all lookup results into a single, fixed-shape company profile JSON that includes a checks object indicating which lookups succeeded. 6. Sends the structured findings to OpenAI (GPT-5.6) to write a 40–70 word paragraph summary that stays within the retrieved evidence. 7. Returns the enriched profile JSON (including the summary and timestamp) in the webhook response. Setup 1. Create a Bright Data Header Auth credential and provide access to a Web Unlocker zone and a SERP zone. 2. Add an OpenAI credential for the Chat model used to generate the summary. 3. Update the workflow settings for your Bright Data zone names and desired search country if they differ from the defaults. 4. Activate the workflow, copy the webhook Production URL, and configure your calling app (or curl) to send a domain to that endpoint.