New Video: Step by Step: Scrape UNLIMITED Emails for FREE with n8n
Hey all! New video alert! ๐Ÿš€
Been pumping out videos quickly... I'll be out this weekend so will be roughly a week until my next upload. Was going to schedule upload them but I was too excited.
In this video, Iโ€™ll show you exactly how to do it using n8n! ๐Ÿ” From setting up the workflow to automating the entire process, Iโ€™ll guide you step-by-step to feed in custom searches, scrape the data, and optimize it. ๐Ÿ“Š Finally, weโ€™ll send everything straight to Google Sheets for easy access!
Enjoy the video, let me know your guys' thoughts!
Here are the code snippets:
Code Node #1:
const data = $input.first().json.data
const regex = /https?:\/\/[^\/]+/g
urls = data.match(regex)
return urls.map(url => ({json: {url: url}}))
Code Node #2
const data = $json.data
const emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.(?!png|jpg|gif|jpeg)[a-zA-Z]{2,}/g
emails = data.match(emailRegex)
console.log(emails)
return {json: {emails: emails}}
27
33 comments
Nate Herk
6
New Video: Step by Step: Scrape UNLIMITED Emails for FREE with n8n
AI Automation Society
skool.com/ai-automation-society
AI Automation Society: A community for mastering AI-driven automation and AI agents. Learn, collaborate, and optimize your workflows!
Leaderboard (30-day)
powered by