Custom Deal Recommendations by Email Using Forms, Bright Data & GPT-4 Mini - n8n Workflow | Neura Market

    Custom Deal Recommendations by Email Using Forms, Bright Data & GPT-4 Mini

    ![image.png](fileId:1036) This **n8n workflow template** automates the process of collecting and delivering the **Top Deals of the Day from MediaMarkt**, tailored to user preferences. By combining **user-submitted forms**, **Bright Data web scraping**, **GPT-4-mini deal generation**, and **email delivery**, this workflow sends **personalized product recommendations** straight to a user's inbox. > Note: This workflow uses community nodes (Bright Data and Document Generator) which only work on **self-hosted n8n instances**. --- ### What It Does - Collects user preferences via a form (categories + email) - Scrapes MediaMarkt's deals page using [Bright Data](https://get.brightdata.com/ar8wlq0xkpv5) - Uses GPT-4-mini (OpenAI) to recommend top deals - Generates a structured HTML email using a template - Sends the personalized deals directly via email --- ### Community Node Integration We created and used the following community nodes: - **[Bright Data](https://www.npmjs.com/package/n8n-nodes-brightdata)** - to scrape MediaMarkt deals using proxy-based scraping - **[Document Generator](https://www.npmjs.com/package/n8n-nodes-document-generator)** - to generate a templated HTML document from deal data These nodes are **not available in n8n Cloud** and require **self-hosted n8n**. --- ### Step-by-Step Setup 1. **Install Community Nodes** Make sure you're on a self-hosted n8n instance. Install: - `n8n-nodes-brightdata` - `n8n-nodes-document-generator` 2. **Configure Credentials** - **Bright Data API Key** (Proxy + Scraping setup) - **OpenAI API Key** (GPT-4-mini access) - **SMTP Credentials** for sending emails 3. **Customize the Form** Adapt the form node to collect desired categories and email addresses. Typical categories include appliances, phones, laptops, etc. 4. **Design Your HTML Template** In the Document Generator node, you can tweak the HTML/CSS to change how deals appear in the final email. 5. **Test the Workflow** Submit the form with test data and check that the entire flow—from scraping to email—executes as expected. --- ### How It Works: Workflow Overview 1. **User Interaction via Form** Users select product categories and enter their email. This triggers the workflow. 2. **Data Extraction via Bright Data** Bright Data scrapes the [MediaMarkt offers page](https://www.mediamarkt.es/es/campaign/campanas-y-ofertas) and returns HTML content. 3. **HTML Parsing** Key elements like product names, prices, and links are extracted for processing. 4. **GPT-4-mini Recommendation Generation** The extracted data is sent to OpenAI (GPT-4-mini), which filters, ranks, and enhances deals based on the user's preferences. 5. **Data Structuring & Split** The result is split into individual deal items to be formatted. 6. **HTML Document Creation** Document Generator populates a clean HTML template with the top recommended deals. 7. **Email Delivery** The final document is emailed via SMTP to the user with a friendly message. --- ### Final Output Users receive a **custom HTML email** featuring a curated list of top MediaMarkt deals based on their selected categories. --- ### Credentials Used - **Bright Data API** - Web scraping with proxy support - **OpenAI API** - Generating personalized recommendations - **SMTP** - Sending personalized deal emails --- ### Customization Tips - **Change the Data Source**: You can adapt this to scrape other e-commerce sites. - **Update the Email Template**: Make it match your branding or include images. - **Extend the Form**: Add preferences like price range or specific brands. - **Add Scheduling**: Use Cron to run the workflow daily or weekly. --- ### Questions? Template and node created by [**Miquel Colomer**](https://www.linkedin.com/in/miquelcolomersalas/) and [**n8nhackers.com**](https://n8nhackers.com). Need help customizing or deploying? [**Contact us**](mailto:contact@n8nhackers.com) for consulting and support.

    Platform
    n8n
    Category
    E-commerce
    Price
    Free
    Creator
    Miquel Colomer
    • form
    • html
    • splitOut
    • emailSend
    • formTrigger
    • openAi
    • brightData
    • documentGenerator
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related E-commerce workflows

    • Automate AI-Generated Virtual Try-On Images for WooCommerceFree
    • Automate E-commerce Visual Content Creation with AI
    Free
  1. Automate Multilingual Shopify Product Descriptions with AI Vision AnalysisFree
  2. Automate 3D Product Video Creation from 2D Images for E-CommerceFree
  3. Automate Shopify SEO Content Creation with GPT-4 & Claude Multi-Agent SystemFree
  4. Create a Smart Shopping Assistant with Persistent Memory Using Zep, GPT-4, and Google SheetsFree
  5. More from Miquel Colomer

    • Generate Dynamic Content for Emails or HTML Pages
    • Discover Professional Emails with uProc and Send via Telegram
    • Parse Email Body Message
    All E-commerce workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.