Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Web Scraping & Research

Web Scraping & Research

Extract verified company details from website Impressum pages with OpenAI

Webhook receives a website URL, loads its legal notice page, and uses an LLM to extract company, address, contacts and VAT ID, dropping any value not found in the page text.

What it does

## Extract company data from a website's Impressum (legal notice) How it works - A webhook receives a website and optionally organization and reference_id. - The workflow loads the homepage, finds the Impressum or imprint link (HTML links, embedded JSON, /impressum fallback) and converts the page to clean text. - An LLM extracts company name, legal form, representatives, address, phone, email, VAT ID and commercial register entry. - A verification step drops every value that does not literally appear in the page text, so invented data never reaches your CRM. - The JSON response holds data, dropped_fields and the Impressum URL. Setup steps 1. Create an OpenAI credential and attach it to "Extract Company Data with AI". Any OpenAI-compatible endpoint works if you change URL and model. 2. Protect the webhook with Header Auth before you expose it. 3. POST {"website": "example.de", "organization": "Example GmbH"} to the webhook. Good to know - Business websites in Germany, Austria and Switzerland must publish an Impressum, which makes it a reliable source. - Sites that render the Impressum only with JavaScript return no_content. - Private and local addresses are rejected.

The steps

  1. Receive Website URL
  2. Validate Input
  3. Input Valid?
  4. Respond with Input Error
  5. Fetch Homepage
  6. Find Impressum URL
  7. Fetch Impressum Page
  8. Clean Page Text
  9. Page Has Content?
  10. Extract Company Data with AI
  11. Verify Against Page Text
  12. Respond with Company Data

Similar automations