🎯 Extract specific website data with form input, Gemini 2.5 flash and Gmail

⚑ 2,162 views · 🎯 AI Summarization & Classification

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

What this workflow does

This workflow creates an automated web scraper that accepts form submissions, extracts specific data from any website using AI, and emails the results back to you.

Step by step:

  1. Web Scraper Form Submission provides a web form interface where users submit a URL and specify what data to extract
  2. Get HTML from Source URL fetches the complete HTML content from the provided website
  3. HTML Extractor processes the raw HTML and extracts the body content for analysis
  4. Data Extractor LLM Chain uses Google Gemini AI to intelligently analyze the content and extract only the specific data requested by the user
  5. Structured Output Parser formats the AI response into clean JSON structure with standardized format
  6. Gmail Send Result delivers the extraction results via email including the source URL, extraction request details, and clean extracted results

How to set up

  1. Connect your Google Gemini API to the Google Gemini Chat Model node for AI-powered data extraction
  2. Connect your Gmail account to the Gmail node for sending result emails
  3. Update the recipient email in the Gmail node
  4. Customize the extraction prompt in the Data Extractor LLM Chain node based on your specific requirements

How to customize this workflow to your needs

Need help customizing?

Contact me for consulting and support:
πŸ“§ billychartanto@gmail.com

πŸ”— Nodes Used

HTTP Request, Gmail, Basic LLM Chain, Structured Output Parser, n8n Form Trigger, Google Gemini Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup