Extract emails from website HTMLs
Go to WorkflowDescription
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
Copy the webhook URL to your browser
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
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.
This workflow was created by Zacharia Kimotho and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.