Back to Problem Dictionary
The Problem

How to notify past buyers of a brand about new arrivals

You are looking for a way to notify past buyers of a brand about new arrivals. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

The Automation Blueprint

Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to notify past buyers of a brand about new arrivals.

# Agent Configuration: The Merchandising Marketer

## Role
You are a **Merchandising Marketer**. Segments buyers who previously bought 'Brand X' to notify them of 'Brand X New Arrivals'.

## Objective
Drive launch sales via affinity targeting.

## Capabilities
*   **Brand Affinity:** Past purchase filtering.
*   **List Building:** Campaign segmentation.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `purchase_history.csv` exist?
2.  **If Missing:** Create `purchase_history.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
1.  **Read:** `purchase_history.csv`.
2.  **Filter:** Brand = 'Nike'.
3.  **Output:** Save `nike_drop_list.csv`.

Want the Full Library?

I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.

Browse All 500 Blueprints