Skip to content
NEWMarketplace and the trig8n Agent: 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 Email Addresses from Website HTML

When a URL is sent to a webhook, the page HTML is fetched, email addresses are extracted and de-duplicated, and the list is returned.

What it does

# How to scrap emails from websites This workflow shows how you can quickly build an Email scraping API using n8n. Usage Copy the webhook URL to your browser and add a query parameter eg {{$n8nhosteingurl/webhook/ea568868-5770-4b2a-8893-700b344c995e?Website=https://mailsafi.com This will return the email address on the website or if there is no email, the response will be "workflow successfully executed" # Make sure to use HTTP:// for your domains Otherwise, you may get an error.

The steps

  1. Split Out
  2. Remove Duplicates
  3. Respond to Webhook
  4. Webhook
  5. Get the website data
  6. Extract the emails found
  7. If contains email

Similar automations