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
- Receives a GET or POST request on a webhook endpoint with a company domain provided in JSON, form-encoded fields, or the query string.
- Normalizes the input into a clean domain/brand and rejects invalid domains by returning a 400 JSON error response.
- 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.
- 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.
- Combines all lookup results into a single, fixed-shape company profile JSON that includes a checks object indicating which lookups succeeded.
- Sends the structured findings to OpenAI (GPT-5.6) to write a 40–70 word paragraph summary that stays within the retrieved evidence.
- Returns the enriched profile JSON (including the summary and timestamp) in the webhook response.
Setup
- Create a Bright Data Header Auth credential and provide access to a Web Unlocker zone and a SERP zone.
- Add an OpenAI credential for the Chat model used to generate the summary.
- Update the workflow settings for your Bright Data zone names and desired search country if they differ from the defaults.
- Activate the workflow, copy the webhook Production URL, and configure your calling app (or curl) to send a domain to that endpoint.