Automate Top MediaMarkt Deals with n8n and BrightData

Discover how to automatically fetch and email top MediaMarkt deals tailored to your preferences using n8n, BrightData, and OpenAI. This workflow saves you hours by delivering personalized deals directly to your inbox, eliminating manual searching and filtering hassle.
brightdata.brightData
document-generator.documentGenerator
splitOut
+5
Workflow Identifier: 1572
NODES in Use: BrightData, Document Generator, SplitOut, EmailSend, Form, HTML Extract, OpenAI LangChain, Form Trigger

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow fetches deals from MediaMarkt Spain automatically based on chosen categories and sends an email with the best offers.

It solves the problem of spending too much time looking for deals and missing discounts.

Users receive a clear email full of deals for their favorite categories without doing manual searching.


Tools and services used

  • n8n: Automation tool where the workflow runs.
  • BrightData: Web unlocking proxy to scrape MediaMarkt offers page.
  • OpenAI (GPT-4o-mini): Classifies and translates deal info into English JSON.
  • SMTP Email: Sends personalized deal emails to users.

Inputs, processing, and outputs

Inputs

  • User submits form selecting categories and entering email.
  • BrightData scrapes raw deals page HTML.

Processing steps

  • Extract HTML content from scraped data.
  • Pass HTML text and user categories to OpenAI for classification and translation into JSON.
  • Extract individual deal items from OpenAI JSON output.
  • Generate formatted HTML email content listing deals.
  • Send email via SMTP.

Outputs

  • Confirmation page shows count of deals emailed.
  • User receives a neat email with personalized deals.

Who should use this workflow

This workflow is for people who want to save time and effort finding daily MediaMarkt deals.

Non-technical users can get customized deal emails without manual searching or coding.

It works well for deal hunters focused on Appliances, Cameras, Cell Phones, and similar categories.


Beginner step-by-step: How to use this workflow in n8n production

Step 1: Import Workflow

  1. Download this workflow file using the Download button on this page.
  2. Inside n8n editor, click Import from File and select the downloaded file.

Step 2: Configure Credentials and Settings

  1. Add required API Keys and credentials for your BrightData, OpenAI, and SMTP email in n8n Credentials section.
  2. Check and update email addresses inside the EmailSend node, especially the From and dynamic To addresses.
  3. Verify URLs and zones in the BrightData node if needed.
  4. Copy and paste the OpenAI system prompt if you want to tweak classification behavior. The prompt is under the OpenAI LangChain node.

Step 3: Test the Workflow

  1. Submit a test form through the webhook URL shown in the Webhook node section with example categories and a real email.
  2. Check execution logs to ensure scraping, classification, and email sending are successful.

Step 4: Activate for Production

  1. Toggle the workflow to active in n8n.
  2. Share the webhook URL with real users so they can submit categories and emails.
  3. Monitor workflow runs and email delivery regularly.

For privacy or control, consider self-host n8n on a VPS.


Step-by-step workflow explanation

Input collection

The workflow starts with a Webhook node that opens a form for users.

Users pick deal categories such as Appliances, Cameras, or Cell Phones and enter their email address.

Scraping offers

The BrightData node accesses MediaMarkt’s campaign page while bypassing web restrictions.

The output is the raw HTML page content containing deals.

Parsing HTML content

An HTML Extract node grabs the page title and body text for further analysis.

Classifying and translating deals

The extracted body HTML and user category choices feed into the OpenAI LangChain node.

This node uses the GPT-4o-mini model with a specially crafted prompt to sort deals into categories and translate details into English JSON format.

Breaking down deals

A SplitOut node separates the returned JSON array of deals into individual entries to work with.

Generating email content

A Document Generator node uses a template listing each deal with category, link, name, and price in HTML.

<br>
These are our recommended deals today:<br>
<ul>
{{#each items}}
<li>{{category}}: <a href="https://www.bestbuy.com{{link}}">{{name}}</a> for {{price}}€</li>
{{/each}}
</ul>
<br>

This creates an easy-to-read email body showing the best offers.

Sending the email

The EmailSend node sends the deals email using SMTP.

It uses the user’s email from the form data as the recipient.

Showing confirmation

The final Form Completion node displays a thank-you page, telling users how many deals were emailed.


Edge cases and troubleshooting

  • Empty BrightData results: Check correct zone setup and BrightData API usage limits.
  • Malformed OpenAI JSON: Verify system prompt correctness and make sure the HTML input to OpenAI is well parsed.
  • Email delivery issues: Confirm SMTP settings and email sender address are valid; test with simple emails first.

Customization ideas

  • Add more categories like Smart Home or Wearables in the form trigger for more tailored deals.
  • Change the BrightData scraping URL to other retailer campaign pages with similar HTML.
  • Edit the Document Generator template to include images or discount percentages in deal emails.
  • Set up a timer trigger to run this workflow daily for automatic deal alerts.
  • Integrate Slack node to send notifications when new deal emails go out.

Summary of benefits

✓ Saves users many hours of manual searching weekly.

✓ Automatically gathers and sorts MediaMarkt deals by user interests.

✓ Sends neat, clear emails so users never miss a discount.

✓ Easy to install and operate inside n8n with minimal setup.

✓ Allows production use with real-time user input or scheduled runs.


Frequently Asked Questions

The workflow uses BrightData’s web unlocking proxy node in n8n to scrape the dynamic campaigns page of MediaMarkt Spain and retrieve raw HTML offers.
OpenAI GPT-4o-mini classifies the scraped HTML deal information into categories, translates details to English, and outputs structured JSON for email generation.
Download the workflow file, import it into n8n, add required BrightData, OpenAI, and SMTP credentials, update emails if needed, test with example input, then activate the workflow.
Check SMTP server settings and credentials, verify the sender email address, and test sending a simple email to confirm email configuration.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free