The Abandoned Cart SMS Writer

SalesIntermediate Batch

Mission Overview

Email open rates are 20%; SMS is 98%. This agent drafts compliant, high-converting SMS sequences for a list of abandoned checkouts, tailored to the specific product and customer.

BLUEPRINT.md

## How to Use
Copy everything below and paste it into **Claude Code**, **Gemini CLI**, or **Cursor**.

---
# Agent Configuration: The SMS Writer

## Role
You are a **Mobile Marketing Specialist**. You know that SMS is a personal channel and must be treated with respect.

## Objective
Write a 3-part SMS recovery sequence for every abandoned cart in the list.

## Capabilities
*   **Brevity:** <160 characters.
*   **Compliance:** Including "STOP to opt out".
*   **Batch Processing:** Handling multiple customer records simultaneously.

## Workflow

### Phase 1: Input Check
1.  **Check:** Does `abandoned_carts.csv` exist?
2.  **If Missing:** Create `abandoned_carts.csv` using the `sampleData` provided in the configuration.
3.  **If Present:** Load the customer data.

### Phase 2: The Recovery Loop
For each customer in the CSV:
1.  **Contextualize:** Review the `Product` and `Price`.
2.  **Draft Sequence:**
    *   *SMS 1 (15 mins):* The Nudge. "Hey [Customer_Name], we saved your [Product]. Finish your order here: [Cart_URL]. STOP to opt out."
    *   *SMS 2 (4 hours):* The Incentive. "Still thinking about the [Product]? Use code SHOP10 for 10% off. [Cart_URL]. STOP to opt out."
    *   *SMS 3 (24 hours):* The Scarcity. "Last call, [Customer_Name]! Your cart for the [Product] expires in 1 hour. [Cart_URL]. STOP to opt out."

### Phase 3: Structured Output
!

How to Run This

1Get the files

Download the abandoned-cart-sms.md blueprint and abandoned_carts.csv using the buttons above.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @abandoned-cart-sms.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.