Extract emails from website HTMLs

Nodes

083a55c9-df56-4154-959f-52737890cad0f8a78d87-81e0-408b-9fb5-fb2c36ca21ae2cf69bf8-d025-41db-983e-898d5f3acf5a9dd572aa-e531-4ffe-a66c-58ac7003ac5d3b9f1b78-6b80-4575-aa6c-966987000389

Tags

Created by

ImImperol

Last edited 38 days ago

How to scrap emails from websites

This workflow shows how to quickly build an Email scraping API using n8n.

Email marketing is at the core of most marketing strategies, be it content marketing, sales, etc. As such, being able to find contacts in bulk for your business on a large scale is key. There are available tools available in the market that can do this, but most are premium; why not build a custom one with n8n?

Usage

The workflow gets the data from a website and performs an extraction based on the date around on the website

  1. Copy the webhook URL to your browser
  2. Add a query parameter eg ?Website=https://mailsafi.com . This should give you a URL like this {{$n8nhostingurl/webhook/ea568868-5770-4b2a-8893-700b344c995e?Website=https://mailsafi.com
  3. Click on the URL and wait for the extracted email to be displayed. 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.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!