Writing the perfect marketing email takes time—often days. Personalizing it for 130,000 contacts? That seems impossible. Or is it?
I’m a data scientist, and I’m here to show you, it is, with GenAI!
With Generative AI (GenAI), you can analyze vast datasets in real time, uncover customer insights, and generate highly personalized email content at scale.
In this article, I'll show you how to build a data science application that:
- Accesses a database of 130,000 wine reviews (variety, location, winery, price, description).
- Uses natural language queries to extract insights (e.g., Which wine is most popular among women in California?).
- Generates customized email copy for each reviewer.
You’ll create this solution using the free, open-source KNIME Analytics Platform—no coding required! KNIME’s visual drag-and-drop interface makes it easy for anyone to automate personalized marketing at scale.
Download KNIME Analytics Platform and my example workflow to follow along.
Let’s get started! 🚀
Build a targeted marketing campaign using GenAI in KNIME
Let’s walk through the steps to build a GenAI workflow to optimize a targeted marketing campaign. You can download the workflow here to use yourself.
We use a dataset of over 130,000 wine reviews which includes attributes like reviewer name, description of wine, region, and price. This dataset is available for download here, and we’ll use it to identify and segment specific customer groups, allowing tailored marketing campaign outreach.

The workflow has five main components that take care of these steps:
