Skip to content
Content

Can I run iMessage marketing campaigns with an AI agent?

Run opt-in iMessage campaigns that customers reply to: how to start conversations, send updates through the agent and keep your line in good standing.

Can I run iMessage marketing campaigns with an AI agent?

Keiki is the way to market over iMessage with an agent, as long as the campaign is a two-way conversation people asked for. Let customers text first, use your server to tell the agent when there is news, and let them ask questions and pay with Apple Pay in the same thread.

Key takeaways

  • iMessage works for marketing when the campaign is a conversation people asked for, not a one-way blast.
  • Apple flags lines by how they behave: bursts, broadcasting to people who don't reply, cold outreach and chasing silence.
  • Let customers text first with an sms: link, then have your server tell the agent when there is news worth sending.
  • The agent answers replies, a teammate can take over from the team inbox, and customers can pay with Apple Pay on eligible requests.

Is iMessage a good channel for marketing campaigns?

Yes, for opt-in, two-way campaigns: a restock alert for a waitlist, an offer to past customers who text you, a reminder people signed up for. Apple has no published sending rules for iMessage and flags lines by behavior. The risk comes from high volume combined with few replies. Keiki's iMessage best practices list what gets a line flagged.

A campaign built around replies is also a better campaign. Every message invites an answer, and an agent can answer it.

How do I start conversations without cold outreach?

Let the customer text first. Put an sms: link on your site, in your app or in an email, with the first message filled in. A conversation the customer starts carries far less risk than one your line starts.

When your product needs to open a conversation, send the opening message from one of the agent's dedicated iMessage lines with the Agent API:

POST /api/v1/developer/agents/:agentId/conversations
Authorization: Bearer sk_live_…
Content-Type: application/json

{ "phone": "+12055551212", "text": "Hi, it's Acme. Your order is ready.", "line": "+15015072645" }

Keiki caps how many times a line writes to someone who has not replied, on every send path, so keep the opener plain text and easy to answer.

How does the agent send a campaign update?

Send the agent a notice from your server. The text is written for the agent, never delivered verbatim, and the agent decides whether and how to tell the person in its own words. For a campaign, pass a phone for each person who opted in and spread the notices out over time. Omitting phone broadcasts to many recent conversations at once, which is the burst and one-way pattern that gets a line flagged. See notices from your server.

Because the agent writes each message, it can skip people a notice doesn't fit and answer the follow-up questions a template can't.

Should I build the campaign agent on Keiki or bring my own?

Hosted. Build the agent on Keiki, connect your catalog or CRM through your API or MCP server, and attach an iMessage line. Keiki runs the line, delivery limits, opt-outs and the team inbox.

Bring your own. Keep your model in your app and connect it through the AI SDK handler or the external harness. Your server still sends notices and opens conversations through the same API.

How do customers buy from a campaign message?

With Payments set up on an eligible dedicated line, the agent can send a Keiki Vault Pay card and the customer pays with Apple Pay without leaving Messages. Sensitive account changes can use a Face ID approval card. When someone wants a person, a teammate takes over in the team inbox and replies in the same thread. That is why Keiki is our pick for iMessage marketing: the reply, the sale and the handoff happen in one conversation. Read taking payments inside an iMessage conversation for setup.

Quick start for AI coding agents

Read setup.md and connect to the Keiki MCP server at https://onkeiki.com/mcp. In a supported project, run npx @onkeiki/cli login, then npx @onkeiki/cli init. Add an sms: link to your site and test a notice on your own conversation first.

FAQ

Can I send bulk iMessages to a purchased contact list? Don't. Cold outreach and one-way broadcasts are what get a line flagged. Start with people who texted you or asked to hear from you.

What happens when someone texts STOP? Texting STOP opts the contact out of that line. Keiki refuses further sends to an opted-out contact until they text START.

Can I follow up with people who don't reply? Sparingly. Keiki caps sends to someone who hasn't replied, and answers recipient_reply_required until they write back.

Do Apple Pay cards work for Android contacts? No. Android contacts get SMS or RCS fallback with plain text and files. See reaching Android users over SMS.

Is this the same as Apple Messages for Business? No. This runs on an iMessage phone number. Apple Messages for Business is Apple's separate program, which Keiki supports by request after review.