> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openemails.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompts that work

> Copy-paste prompts for the jobs merchants run most, each mapped to the tools your agent uses.

Paste these into your AI once it's connected ([Connect your AI](https://docs.openemails.com/setup/connect-your-ai.md)). Replace the parts in square brackets with your own. You don't need to name tools, because your agent picks them. Each prompt lists the tools it uses, so you know what to expect in Activity.

> [!TIP]
>
> A prompt that changes something needs a connection with write access. Anything that means more email, such as a campaign or a new flow version, ends with a link. You approve on that page in the Shopify admin. A reply in chat is never an approval.

## Every day

**The daily check**

```text wrap theme={"dark"}
Run my daily email check. Read the status and tell me, in a short list:
any holds on sending, sending health warnings, paused campaigns, flow steps
that stopped, approvals waiting for me, and how much of my sending limits is
used. End with what I need to do, if anything.
```

Uses `get_status`, `get_campaigns`, `get_flow`, `get_approval`. See [The daily check](https://docs.openemails.com/run/the-daily-check.md).

**Why is sending held?**

```text wrap theme={"dark"}
Is anything holding my email right now? For each hold, explain why in plain
words and tell me who needs to act: me, you, or nobody (it lifts by itself).
```

Uses `get_status`. See [Holds and sending limits](https://docs.openemails.com/run/holds-and-sending-limits.md).

**What changed this week**

```text wrap theme={"dark"}
Summarize what agents and staff did in my email app since Monday: approvals,
campaigns, flows, list changes and new connections. Group it by who did it.
```

Uses `list_activity`.

## Reports

**How did email do?**

```text wrap theme={"dark"}
How did our email do in the last 30 days compared with the 30 days before?
Give me revenue from email, its share of store revenue, delivered, open
rate, click rate and unsubscribes. Then name the three campaigns and flows
that earned the most.
```

Uses `get_status`, `get_campaigns`, `get_flow`. Revenue goes to the last email that the contact opened or clicked in the five days before the order, and refunds are not subtracted. See [Reports](https://docs.openemails.com/use/reports.md).

**Top customers**

```text wrap theme={"dark"}
Who are my top [20] customers by spend in the last [90 days]? Show their
order count, total spend and whether I can email them.
```

Uses `get_top_customers`.

## Contacts, lists and segments

**Find a contact**

```text wrap theme={"dark"}
Find [Ana Lee] in my contacts. Tell me her email address, whether she's
subscribed to email, and whether she agreed to open and click tracking.
If more than one person matches, show me the matches and ask which one.
```

Uses `look_up_contacts`. A name search returns at most 10 contacts, so a full email address is the most reliable search.

**Build a list**

```text wrap theme={"dark"}
Create a list called [VIP customers] and add these people:
[email addresses, one per line]. Tell me anyone you couldn't find.
```

Uses `look_up_contacts`, `edit_list`. See [Contacts and lists](https://docs.openemails.com/use/contacts-and-lists.md).

**Build a segment**

```text wrap theme={"dark"}
Make a segment called [Lapsed buyers]: contacts who ordered at least once
and have no order in the last [60] days. Tell me how many match and how
many of them are subscribed.
```

Uses `edit_list`, `get_lists`. A segment rule can look at engagement, one campaign, email consent, orders or list membership. There are no product, browse or RFM rules.

**Stop emailing someone**

```text wrap theme={"dark"}
[jane@example.com] asked us to stop emailing her. Unsubscribe her now and
confirm she's on the do-not-email list.
```

Uses `look_up_contacts`, `stop_emailing`. See [Unsubscribes and the do-not-email list](https://docs.openemails.com/use/unsubscribes-and-do-not-email.md).

**Export one person's data**

```text wrap theme={"dark"}
Export everything we hold on [jane@example.com] and give me the file link.
```

Uses `export_contacts`. The link lasts 24 hours.

## Emails and campaigns

**Set your brand voice**

```text wrap theme={"dark"}
Save our brand guidance for future emails. Voice: [tone, words we use and
avoid]. Colors: [background, text, accent, buttons]. Logo: [logo URL].
Footer: [footer wording]. Then show me what you saved.
```

Uses `save_brand`, `get_email`. You can see the result in **Settings > Brand**.

**Write an email about a product**

```text wrap theme={"dark"}
Write an email announcing [product name]. Look the product up in Shopify for
its price and whether it's in stock, follow our brand guidance, and save it.
Then send a test to my test addresses and give me the preview link.
```

Uses `get_email`, `look_up_products`, `save_email`, `send_test_email`. See [Emails and preview](https://docs.openemails.com/use/emails-and-preview.md).

**Draft and test a campaign**

```text wrap theme={"dark"}
Draft a campaign called [Fall restock] using the [Fall restock] email, to
[All contacts], sending [Thursday at 9 AM]. Preview it: how many people get
it, how many are left out and why, and when it should finish. Send me a
test. If it all looks right, ask me for approval and give me the link.
```

Uses `save_campaign`, `preview_campaign`, `send_test_email`, `request_approval`. See [Campaigns](https://docs.openemails.com/use/campaigns.md).

**Check on a campaign**

```text wrap theme={"dark"}
Where does the [Fall restock] campaign stand? Tell me its approval state,
its schedule, how far it got, and how many emails are still queued.
```

Uses `get_campaigns`.

**Pause a send**

```text wrap theme={"dark"}
Pause the campaign that's going out right now and tell me how many emails
are still queued.
```

Uses `get_campaigns`, `pause_campaign`. Pausing needs no approval.

## Flows

**Build a welcome series**

```text wrap theme={"dark"}
Build a welcome series for people who join our [Newsletter] list. Send
three emails: one at once, one 1 day later and one 3 days after that.
Each contact gets the series once. Write each email in our brand voice and
send me a test of each. Then ask me to approve the flow.
```

Uses `get_lists`, `get_email`, `save_email`, `send_test_email`, `save_flow`, `request_approval`. The flow starts only for subscribers who join the list after it goes live. To put each new subscriber on the list, ask your agent to turn on **New subscribers join this list**.

**Build a post-purchase flow**

```text wrap theme={"dark"}
Build a post-purchase flow that starts when an order is fulfilled. Send a
thank-you email [3 days] later and a second email [14 days] after that.
Give first-time buyers a different first email. Send me a test of each
email, then ask me to approve the flow.
```

Uses `get_email`, `save_email`, `send_test_email`, `save_flow`, `request_approval`.

**Build the abandoned checkout flow**

```text wrap theme={"dark"}
Build our abandoned checkout flow with three emails: the first 1 hour after
the checkout is abandoned, the second 1 day later, the third 3 days after
that. Write each email in our brand voice, send me a test of each, then ask
me to approve the flow.
```

Uses `get_email`, `save_email`, `send_test_email`, `save_flow`, `request_approval`. See [Flows](https://docs.openemails.com/use/flows.md).

> [!NOTE]
>
> Welcome, abandoned checkout, order confirmation, shipping, post-purchase and app-event flows work today. Abandoned cart, browse abandonment and win-back flows are not ready yet.

**Turn a flow off**

```text wrap theme={"dark"}
Turn off the abandoned checkout flow now, then read it back and confirm
it's off.
```

Uses `get_flow`, `turn_off_flow`. No approval is needed to turn a flow off. A new approval is needed to turn it on again.

## Moving from Klaviyo

**Migrate**

```text wrap theme={"dark"}
I connected Klaviyo under Settings > Klaviyo. Read my Klaviyo account and
show me what would come over: do-not-email entries, contacts arriving
subscribed, lists and segments, and designs. Then ask me to approve the
migration.
```

Uses `get_klaviyo_migration`, `prepare_klaviyo_migration`, `request_approval`. See [Move from Klaviyo](https://docs.openemails.com/use/move-from-klaviyo.md).

**Rebuild a Klaviyo email**

```text wrap theme={"dark"}
List the Klaviyo designs we brought over. Turn our most recent campaign
email into a new email here, name it after that campaign, and tell me
anything you had to rewrite.
```

Uses `get_email`, `save_email`.

**Rebuild a Klaviyo flow**

```text wrap theme={"dark"}
My Klaviyo flows don't come over by themselves. Read the cutover checklist
and list my live Klaviyo flows. Then build our welcome flow again here with
the emails we brought over, and ask me to approve it.
```

Uses `get_klaviyo_migration`, `get_email`, `save_email`, `save_flow`, `request_approval`.

**What's still on in Klaviyo**

```text wrap theme={"dark"}
What do I still need to switch off in Klaviyo? List the live flows,
scheduled campaigns and signup forms from the cutover checklist.
```

Uses `get_klaviyo_migration`.

## When something goes wrong

**Why didn't someone get a campaign?**

```text wrap theme={"dark"}
Why didn't [jane@example.com] get the [Fall restock] campaign? Check her
consent, the do-not-email list, the campaign's audience and what it left
out, and any messages we have on record for her.
```

Uses `look_up_contacts`, `get_campaigns`, `preview_campaign`, `export_contacts`. See [Emails don't arrive](https://docs.openemails.com/help/emails-dont-arrive.md).

**Why didn't someone get the abandoned checkout email?**

```text wrap theme={"dark"}
[jane@example.com] abandoned a checkout yesterday but didn't get our email.
Was the flow live at the time, is she subscribed, and did a run start for
her? If a step stopped, tell me why.
```

Uses `look_up_contacts`, `get_flow`, `export_contacts`, `get_status`.

> [card] [What your agent can do](https://docs.openemails.com/ai/what-your-agent-can-do.md)
>
> Every tool behind these prompts.

> [card] [What stays with you](https://docs.openemails.com/ai/what-stays-with-you.md)
>
> The decisions your agent can't make for you.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.