AI agent that recovers abandoned checkouts over text
How an AI agent on a phone number sends one message to a shopper who left a cart, holds the conversation that follows, and does it with marketing consent and a registration the carriers will approve.

A shopper puts a $140 jacket in the cart on an apparel store, gets as far as the shipping page, sees the delivery estimate and leaves. Forty minutes later a text arrives, in a blue bubble: "Hey, it is Maya from Loam. Saw you were looking at the Field Jacket in olive. Anything I can answer on sizing or shipping?" She replies "does it run big?" and the agent answers from the size chart. She buys it.
Compare that with the version every store already runs: a 10% code by email, three times, then by text. The text is the one people screenshot to complain about.
One message, then it is a conversation
The rule is a single outbound message per abandoned cart. Not a sequence. The shopper either replies, in which case the agent is now in a conversation and can be as helpful as it likes, or they do not, in which case you leave them alone. Stores that send a second and third nudge are why carriers filter this category so hard.
Your store's abandoned checkout event fires after whatever delay you choose. Your handler calls POST /v1/messages once, and records the cart id so a retried event does not send twice.
curl https://api.agentphone.ai/v1/messages \-H "Authorization: Bearer $AGENTPHONE_API_KEY" \-H "Content-Type: application/json" \-d '{"number_id": "num_loam01","to_number": "+14155550133","body": "Hey, it is Maya from Loam. Saw you were looking at the Field Jacket in olive. Anything I can answer on sizing or shipping? Reply STOP to opt out."}'
The reply comes back as an agent.message event with recentHistory. Send the first text, take the conversation_id from the response, and write the cart contents into conversationState with PATCH /v1/conversations/{id}; from then on the agent knows what "does it run big" refers to. From there it answers product questions, gives the checkout link, and applies whatever discount policy you have given it if asked. It should not open with a discount. That is what trains people to abandon carts.
Marketing consent, not transactional
An abandoned cart text is marketing. The customer has not bought anything, so "we will text you order updates" at checkout does not cover it. You need a separate, unchecked box, usually on the phone field at checkout or in the account signup, that says something like "text me about my cart and occasional offers from Loam, message and data rates may apply, reply STOP to opt out". Keep a screenshot of it, unchecked and checked, for the registration.
The 10DLC registration for this number has to say marketing in the use case. A transactional registration used for cart recovery is the fastest route to a number getting filtered. We submit the registration for you, review it before the carriers see it, and approval is usually one to three business days. $25 once for a sole proprietor or standard brand, $70 for high volume.
STOP and HELP are recorded per number and enforced on every later send. The shopper who replies STOP does not get the next cart text, and you do not have to maintain that list.
iMessage changes the conversion
Most of your shoppers are on iPhones. A cart text from a dedicated iMessage line arrives as a blue bubble with read receipts, which reads as a person and gets replies at rates an SMS does not. The line is $250 a month, sends and receives, and nothing per message. One brand per line. iMessage lines need no carrier registration either, so a store can be texting carts the week it signs up while the 10DLC paperwork for the SMS fallback clears.
The same POST /v1/messages and webhook event cover both, so your code only branches on channel where you want a tapback counted as a reply.
Where the line is
- No cold texts. The shopper gave their number to you and ticked the marketing box. A guest checkout that never saw a consent box gets no text.
- One message per cart. If they ignore it, that cart is done.
- Honest sender. "Maya from Loam" is fine if that is the brand voice. "Your order is waiting" when there is no order is not.
- Quiet hours. Do not send at 3 a.m. local.
Stores that follow this keep a channel that stays deliverable for years.
What it costs
| Item | Price |
|---|---|
| Number | $3 per month |
| Recovery text sent | $0.02 per segment |
| Each reply, both directions | $0.02 per segment |
| iMessage line instead | $250 per month, nothing per message |
| Specific area code on the iMessage line | $75 once |
| 10DLC registration, marketing use case | $25 once for a sole proprietor or standard brand, $70 high volume |
A store with 1,500 abandoned carts a month and a 25% reply rate with four messages per conversation spends about $60 on SMS, or the flat $250 on an iMessage line. Prices are from the pricing page.
FAQ
Do I need marketing consent to send abandoned cart texts? Yes. Transactional checkout consent does not cover it. You need a separate unchecked box agreeing to marketing texts, and a screenshot of it for the 10DLC registration.
How many texts should the agent send per abandoned cart? One. If the shopper replies, the agent holds the conversation. If they do not, that cart gets nothing further.
Does abandoned cart recovery work on iMessage? Yes, on an AgentPhone iMessage line at $250 a month with no per-message charge. It needs no carrier registration and the same API and webhook apply.
What does the 10DLC registration need to say? That the use case is marketing, how consent is collected, and it needs the consent screenshot. AgentPhone submits it for $25 (sole proprietor or standard brand) and approval usually takes one to three business days.
Can the agent offer a discount? If you give it one in its instructions. We suggest leading with help on sizing, shipping and product questions, and holding the discount for when it is asked for.


