Connectors

/

WooCommerce

/

Launch a WooCommerce win-back offer through Constant Contact
Write
Cross-Connector

Pair a WooCommerce win-back coupon with a Constant Contact draft

For marketers who want a one-use win-back coupon and a matching Constant Contact email draft set up together by their AI assistant.

Try PopdockAI free
Get a live demo
Launch a WooCommerce win-back offer through Constant Contact
Set up a 15 percent win-back offer for WooCommerce customers who have not ordered in 180 days, with a Constant Contact email.
There are 286 lapsed paying customers, and about 80 percent of a sample are reachable in Constant Contact. - Coupon: COMEBACK15, 15 percent off, unused - Expiry: 30 days from creation - Limit: one use per customer - Email: a Constant Contact draft quoting the code and expiry Shall I create the coupon and the draft? Nothing will be sent.
WooCommerce
Sample figures. Your results come from your own account.
woocommerce-get-customer
woocommerce-get-order
constant-contact-get-contact
woocommerce-get-coupon
woocommerce-add-coupon
constant-contact-add-campaign
constant-contact-add-contact
constant-contact-update-contact
constant-contact-add-contact-note
constant-contact-add-contact-list
constant-contact-update-contact-list
constant-contact-add-contact-tag
constant-contact-update-contact-tag
constant-contact-update-campaign
constant-contact-resend-campaign-to-non-openers

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

WooCommerce

WooCommerce
Run it on your own WooCommerce data.

Connect WooCommerce, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Win-back offers that fall flat on the details

Winning back lapsed buyers takes three jobs: finding customers who stopped ordering, creating a coupon that cannot be abused and writing an email that quotes it correctly. Get the coupon wrong or the email out of step and the offer falls flat.

Without PopdockAI

  • Work out who has stopped ordering
  • Create a coupon and hope it has the right limits
  • Write the email and retype the code and expiry
  • Send an offer that does not match the coupon

With PopdockAI

  • Lapsed customers are sized and a sample checked in Constant Contact
  • An unused code with a 30 day expiry and one use per customer is proposed
  • The coupon is created first, then the draft quotes it exactly
  • Existing coupons are never changed, and nothing is sent

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** For paying WooCommerce customers who have not ordered in `{lapsed-days}` days (default 180), create a `{discount-percent}` percent (default 15) win-back coupon in WooCommerce and draft a Constant Contact campaign carrying its code, sent from `{from-email}`. Nothing is sent.

**Step 1: Size the lapsed audience**

Call `woocommerce-get-customer` with `paying-customer` = true, `max-records` 1000. Call `woocommerce-get-order` with `created-date.from` = today minus `{lapsed-days}` days, `max-records` 1000, and collect the distinct `customer-email` values. Lapsed customers are paying customers whose `email` is not in that set. If there are none, say so and stop.

**Step 2: Check how many you can reach**

For up to 100 lapsed customers, call `constant-contact-get-contact` with `email-address` = their email and count how many exist with `permission-to-send` allowing email. Report reachable versus not in Constant Contact, as a sample if you checked fewer than all.

**Step 3: Confirm the offer**

Propose a coupon code (uppercase, for example `COMEBACK15`) and check it is free with `woocommerce-get-coupon` filtered by `code`. Show the user: lapsed count, reachable count, the code, percent off, an expiry 30 days from today, one use per customer. Wait for confirmation.

**Step 4: Create the coupon**

Call `woocommerce-add-coupon` with `code`, `discount-type` = `percent`, `amount` = `{discount-percent}`, `expiry-date`, `usage-limit-per-user` = 1 and `individual-use` = true. If this fails, stop: do not draft an email for a coupon that does not exist.

**Step 5: Draft the email**

Call `constant-contact-add-campaign` with a campaign name naming the code, a subject and preheader, short HTML stating the offer, code and expiry, `from-email` = `{from-email}`, `reply-to-email` = `{from-email}` and `from-name` taken from the user (ask if unknown). This creates a draft only.

**Step 6: Report**

Lapsed and reachable counts, the coupon created (code, amount, expiry), the campaign draft name, and the remaining manual step: choose the audience in Constant Contact (there is no tool here to add existing contacts to a list) and schedule the send.

**Rules & Guidelines:**

* Tools whose names start with woocommerce- are on the woocommerce MCP server; tools whose names start with constant-contact- are on the constant-contact MCP server. If a tool from either server is missing, stop and tell the user that both servers must be connected.
* Match records by email address only: WooCommerce `email` / `customer-email` against Constant Contact `email-address`. Trim and lower-case both sides before comparing. Never match on name alone.
* The only writes this prompt may make are `woocommerce-add-coupon` then `constant-contact-add-campaign`, in that order, each once, after the user confirms in Step 3. Do NOT call any other write tool: on WooCommerce none of `woocommerce-update-coupon`, `woocommerce-add-order`, `woocommerce-update-order`, `woocommerce-add-order-note`, `woocommerce-add-refund`, `woocommerce-add-customer`, `woocommerce-update-customer`, `woocommerce-add-product`, `woocommerce-update-product`, `woocommerce-update-product-variation`, `woocommerce-send-order-details`; on Constant Contact none of `constant-contact-add-contact`, `constant-contact-update-contact`, `constant-contact-add-contact-note`, `constant-contact-add-contact-list`, `constant-contact-update-contact-list`, `constant-contact-add-contact-tag`, `constant-contact-update-contact-tag`, `constant-contact-update-campaign`, `constant-contact-resend-campaign-to-non-openers`.

**Validation:**

* If the proposed code already exists, propose another; never update an existing coupon.
* State the discount and expiry in the email exactly as created on the coupon.

Who it's for

One answer, three teams that use it

Email marketers

Prepare a win-back campaign in one go

Get the coupon and a Constant Contact draft that quotes it exactly, ready for you to review and send.

Create a 20 percent win-back coupon for WooCommerce customers lapsed 120 days and draft the Constant Contact email.

Store owners

Offer a discount that cannot be abused

One use per customer and a 30 day expiry keep the offer to the people it was meant for.

Set up a win-back offer for WooCommerce buyers who have not ordered in a year, 10 percent off.

Retention managers

Size the opportunity first

See how many lapsed customers there are and how many are reachable before committing to the offer.

How many WooCommerce customers have lapsed for 180 days, and how many can we reach in Constant Contact?

How it works

What PopdockAI does when you ask

You set the lapsed period and discount, and your AI assistant prepares the coupon and the email draft together. Nothing is created until you confirm, and the send is left to you.

01

Ask

You set the lapsed period and the discount.

Your AI tool

02

Size

It sizes lapsed customers and checks a sample for reachable contacts.

woocommerce-get-customer
woocommerce-get-order
constant-contact-get-contact

03

Confirm

You approve an unused code with a 30 day expiry and one use per customer.

No items found.

04

Create

It creates the coupon, then the Constant Contact draft, sending nothing.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for WooCommerce and one secure connection to your AI tool. No code, no exports.

get-data

woocommerce-get-customer

Returns WooCommerce customer accounts with name, billing address, role and whether they have paid for an order. Filter by email, id, last name, billing country or state, role and created date range.
get-data

woocommerce-get-order

Returns WooCommerce orders with status, totals, discounts, shipping, payment method and paid date. Filter by status, customer email or id, order number, created date range, total range or billing last name.
get-data

constant-contact-get-contact

Returns Constant Contact contacts with their name, email, company, job title, phone, location, tags and email permission. Filter by email address or domain, last name, company, state, permission and created date.
get-data

woocommerce-get-coupon

Returns WooCommerce coupons with discount type, amount, usage limits, times used and expiry. Filter by code, discount type, times used, created date and expiry date ranges.
run-action

woocommerce-add-coupon

Creates a WooCommerce discount coupon with its code, discount type and amount, expiry date, minimum spend, usage limits and whether it can be combined with other coupons.
run-action

constant-contact-add-campaign

Creates a draft Constant Contact email campaign with a subject, preheader, sender details and custom HTML content. It does not send or schedule it.
run-action

constant-contact-add-contact

Creates a Constant Contact contact from an email address, name, company, job title, phone and email permission, optionally adding it to one contact list.
run-action

constant-contact-update-contact

Updates a Constant Contact contact's name, email, phone, job title, company or email permission. Values left out keep their current values.
run-action

constant-contact-add-contact-note

Adds a note to a Constant Contact contact.
run-action

constant-contact-add-contact-list

Creates a Constant Contact contact list with a name, description and favorite flag.
run-action

constant-contact-update-contact-list

Renames a Constant Contact contact list or changes its description or favorite flag.
run-action

constant-contact-add-contact-tag

Creates a Constant Contact tag that contacts can be labelled with, with an optional source.
run-action

constant-contact-update-contact-tag

Renames an existing Constant Contact tag.
run-action

constant-contact-update-campaign

Renames an existing Constant Contact email campaign.
run-action

constant-contact-resend-campaign-to-non-openers

Schedules a resend of a sent Constant Contact campaign to the contacts who did not open it, with a new subject line and a delay in days or minutes.
Read only.Nothing in WooCommerce Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

A win-back coupon and matching email, ready together

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation