Overview

This workflow collects user preferences via a web form (categories and email), scrapes MediaMarkt’s offers page through Bright Data, uses GPT-4o-mini to generate a filtered JSON list of recommended deals, formats those deals into an HTML email, and then sends the personalized deals to the user. Finally, it displays a confirmation page showing how many deals were sent.

Nodes Used

Workflow Steps

  1. User submits form The form trigger node captures the user’s category selections and email address.
  2. Scrape MediaMarkt offers The Bright Data node fetches the offers page from MediaMarkt’s Spanish site.
  3. Extract HTML content The HTML node parses out the <body> text from the fetched page.
  4. Generate filtered deals The OpenAI node sends the page text and selected categories to GPT-4o-mini, requesting a JSON-formatted list of deals.
  5. Split out deal items The Split Out node isolates each deal object from the JSON array.
  6. Build email HTML The Document Generator node applies a template, creating an HTML list of the recommended deals.
  7. Send personalized email The Email Send node emails the HTML content to the address provided by the user.
  8. Show confirmation The final Form node displays a “Thank you” page, indicating how many deals were sent.