Back to Academy

How to Automate WhatsApp Messages for Your Online Store, Step by Step

Automating WhatsApp messages from an online store to a customer's phone

If you still copy order numbers and tracking links into WhatsApp by hand, you already know why stores want to automate WhatsApp messages. Doing it by hand works while orders are few. In a busy week, someone forgets a customer or sends the wrong link.

To automate WhatsApp messages for a store, connect your WhatsApp account, get message templates approved by Meta, and then link each template to a trigger such as a new order, an abandoned cart, or a delivery update. Collect opt-in before you send marketing messages. Test every flow before it goes live.

Seven steps to automate WhatsApp messages for an online store

Can you automate WhatsApp messages, and what can a store automate?

Yes. WhatsApp allows automated messages from businesses, as long as they go through Meta’s official WhatsApp Business Platform and follow its rules on opt-in and templates. For an online store, that covers order and shipping updates, abandoned cart reminders, review requests, reorder reminders, and scheduled campaigns, most of them triggered by what the customer does in your store.

Here are the messages worth automating:

  • Order confirmation, right after purchase
  • Dispatch notice with a tracking link
  • Delivery confirmation when the package arrives
  • Abandoned cart reminder with a link back to checkout
  • Post-delivery follow-up asking for a quick rating
  • Next-purchase reminder when a product is likely to run out
  • Campaigns to a segment, like a launch or a seasonal offer, scheduled ahead as part of your WhatsApp marketing

All of these are messages the store starts. Replies to customers who message you first, such as greeting and away messages or AI answers, work differently. Our guide to AI agents for ecommerce covers how an AI agent answers them. If you are still deciding which flows your store needs at all, start with our map of ecommerce automation flows, then come back here to build them.

ThreadPlusAI, a WhatsApp marketing and automation platform for online stores, comes with the order, cart, delivery, and reorder flows ready to switch on, so you edit the message and the timing instead of building each trigger from scratch. The steps below apply on any platform, and we’ll point out where ThreadPlusAI fits as we go.

Do you need the WhatsApp Business app or the official API to automate?

Stores usually try one of five routes. Only the official API works for a store, and you can use it in two ways.

  1. The WhatsApp Business app. It has greeting messages, away messages, and quick replies. Those help with replies, but the app can’t send a message when an order is placed or a cart is abandoned. It doesn’t know your store exists.
  2. No-code automation tools. Tools like Zapier or Make can connect your store to WhatsApp, but for sending messages to customers they still need the official API underneath.
  3. Scripts and browser extensions that drive a personal or app account. They can send messages, but they break WhatsApp’s terms, and accounts that send automated bulk messages this way risk getting banned.
  4. Building on the official WhatsApp Business API yourself. Meta’s WhatsApp Business Platform, usually through its Cloud API, is built for this. It supports event triggers, approved templates, many agents on one number, and integrations with your store. It has no screens of its own, so a developer has to build the triggers, templates, and store connection on top of it.
  5. Connecting to a platform like ThreadPlusAI. You connect your number and your store and get ready-made order updates, cart reminders, approved templates, a shared inbox, and an AI agent, with the same official API underneath. No developer needed.

For automation, use one of the last two.

Are WhatsApp bots illegal? No. Automated messages and chatbots are allowed when they run through official tools and stay within Meta’s WhatsApp Business policies: marketing goes only to customers who opted in, the message uses an approved template when required, and the customer can opt out. What gets numbers restricted is unofficial automation and messages people didn’t ask for.

1. Connect your number to the official WhatsApp Business API

You need three things before you start:

  1. A phone number that isn’t active on another WhatsApp account. If it’s on the Business app today, it has to be migrated from the app or deleted from it first.
  2. A Meta Business account (Business Manager), which you can create during setup.
  3. A display name that matches your business, which Meta reviews. Meta may also ask you to verify your business.

In ThreadPlusAI it’s self-serve: click Connect to Facebook, then choose your existing number or a new one. The Help Center walks through connecting a phone number, and support helps if the connection fails.

Connect to Facebook button to link a number to the official WhatsApp Business API

2. Collect opt-in before the first marketing message

Marketing messages need the customer’s agreement before you send them. Technical messages, like an order confirmation or an abandoned cart reminder, don’t. To get it, ask at the points where customers already give you their number:

  • A checkbox at checkout, near the phone field
  • A setting in the customer’s account
  • A signup form on the site
  • The start of a chat, when the customer messages you first, for example from a WhatsApp button on your site

Say what they’re signing up for. “Get order updates and occasional offers on WhatsApp” is clear. A pre-ticked box hidden under the terms is not. Keep transactional and marketing consent apart: wanting tracking updates isn’t agreeing to promotions.

3. Create and approve message templates

Any message your store starts has to use a template that Meta has approved. A template is fixed text with placeholders for details like the customer’s name or order number.

When you submit a template, you tell Meta what kind of message it is. Some messages are transactional and tied to something the customer did, like an order confirmation or a dispatch update. Others are promotional, like an offer or a product launch. Label each one honestly. A promotion dressed up as an order update tends to get rejected, and customers notice the difference too.

Common reasons templates get rejected:

  • Placeholders with no text around them, or a message that starts or ends with a variable
  • Vague content that doesn’t say what the message is about
  • Promotional wording in a template meant for order updates
  • Spelling problems, broken formatting, or misleading links

Replies follow different rules. When a customer is talking with you in an active conversation, you or your AI agent answer in normal, free-written messages. Messages your store starts on its own use approved templates, so plan on a template for every automated store message.

In ThreadPlusAI, templates are managed in the Template Manager. The Help Center shows how to manage message templates and connect each one to an integration.

Write a template the way you’d write to one customer, not the way a system logs an event. People read messages that sound like a person sent them, and they mute the ones that read like a receipt printer.

The ThreadPlusAI team

4. Set the trigger for each message

Stores use three kinds of trigger:

  • Event triggers come from the store: order created, order fulfilled or dispatched, order delivered, checkout abandoned.
  • Time-based triggers count from an event, such as three days after delivery or thirty days after purchase.
  • External triggers come from other systems through webhooks: your email tool, a CRM, a form, or an automation tool like Make, Zapier, or n8n.
Trigger Template Typical delay
Order created Order confirmation Immediately
Order dispatched Shipping update with tracking Immediately
Order delivered Delivery note or follow-up with rating Same day to a few days
Checkout abandoned Cart reminder with checkout link A few hours
Days since purchase Reorder reminder When the product usually runs out
Webhook from another system Any approved template As defined

Of these, the cart reminder needs the most care with timing and copy, and both decide whether abandoned cart recovery brings the order back.

5. Personalize with dynamic fields

Dynamic fields fill in each customer’s details when the message is sent. The useful ones for a store:

  • Customer first name
  • Order number
  • Product name
  • Tracking link
  • Cart or checkout link

Plan for empty fields. If a customer’s first name is missing, “Hi ,” looks broken. Set a fallback value (“Hi there”) or write the sentence so it still works without the field. ThreadPlusAI’s guide to dynamic fields shows the available fields.

Adding dynamic fields like customer name and checkout link to a WhatsApp message

6. Schedule and pace your messages

Send in the customer’s time zone, during reasonable hours. Set quiet hours for marketing messages, and decide whether transactional updates should also wait.

Leave real gaps between the messages in a flow.

Use stop conditions. A cart reminder should stop if the customer completes the purchase. A sequence should stop if the customer replies, so a person or AI can take over. Anyone who unsubscribes must stop getting marketing messages at once. These are good practice with any tool; check which ones your platform handles for you.

Cap frequency across flows. Count everything one customer could get in a week from all your automations together, not flow by flow.

What about sending to a large list at once? Volume follows quality. Meta watches how customers react to your messages, and a number whose messages keep getting blocked or reported can be restricted. Messages people asked for, sent at a sensible pace, keep you in good standing. Meta updates its rules on sending volume, templates, and pricing from time to time, so check the official WhatsApp Business Platform documentation for the current version.

7. Test before you go live

Run through this list for every flow:

  • Place a test order using a staff member’s number that has opted in
  • Check that every dynamic field fills in correctly, and that the fallback appears when a field is empty
  • Click every link, including tracking and checkout links, and check UTM parameters if you use them
  • Confirm the message arrives at the time and in the time zone you expected
  • Reply to the message and see where the reply lands: the shared inbox, the AI agent, or nowhere
  • Unsubscribe from a marketing message and confirm no further marketing arrives
  • Complete a purchase after a cart reminder and make sure the next reminder doesn’t follow
  • After launch, check each template’s quality rating in Meta’s WhatsApp Manager during the first weeks

How to automate WhatsApp messages with ThreadPlusAI

ThreadPlusAI connects your store to WhatsApp on the official API, and the main ecommerce flows come ready-made in WhatsApp Workflow Automation:

  • Order confirmation.
  • Order ready or dispatched, with tracking.
  • A post-delivery follow-up with a one-tap rating.
  • An abandoned checkout reminder with a link back to checkout.
  • A next-purchase reminder.
  • A special offer.

You edit each message’s text and dynamic fields and set its timing (hours for the cart reminder, days for the reorder reminder and special offer) and its time zone. Freeze Time lets you set quiet hours, by day and time window, when no automated messages go out. You’ll find these options in the general automation settings.

Freeze Time quiet hours and time zone settings for automated WhatsApp messages

Shopify stores connect without code. See WhatsApp automation for Shopify for the full list of flows. WooCommerce stores connect through a webhook. ThreadPlusAI connects to any shipping provider through a custom integration, so dispatch messages can carry real tracking.

For anything the ready-made flows don’t cover, ThreadPlusAI has two-way webhooks secured with a secret key. Send a message when your CRM or email tool fires an event, or pass every WhatsApp conversation back to your other systems. The webhook integration guide covers Make, Zapier, n8n, and others.

When a customer replies to an automated message, the reply lands in your shared inbox, where your team or the AI agent picks it up.

ThreadPlusAI has been operating since 2025 and is an Official Meta Partner.

We judge an automated message by what happens after it arrives. If the customer replies with a question, it did its job, because now there is a conversation and someone on your side to continue it.

The ThreadPlusAI team

Common mistakes that get automated WhatsApp messages blocked

A few beliefs cause most of the trouble. Avoiding them won’t guarantee a number is never restricted, but it lowers the risk.

Myth Fact
More reminders mean more sales Past a point, extra reminders bring blocks and reports, which hurt your quality rating and can get your number restricted
Once a template is approved, it’s safe forever Meta keeps watching how customers react. A template whose messages often get blocked or reported can be paused or lose quality
Any customer phone number counts as opt-in A number given for delivery is not permission to send WhatsApp marketing. Ask explicitly
A script on a personal account does the same job It breaks WhatsApp’s terms and risks the number. The official API is the supported way to automate

Four myths that get automated WhatsApp messages blocked, and the facts behind them

Ready to set up your first automated flow? Start your 14-day free trial.

Frequently asked questions

Can I automate WhatsApp messages for free?

The WhatsApp Business app is free, and its greeting and away messages are automatic, but it can’t send messages triggered by your store. Store automation runs on the official API, which involves Meta’s own charges and a platform to manage it. ThreadPlusAI offers a free trial.

Can I automate WhatsApp messages on iPhone or Android without the API?

Only for replies. The Business app gives you greeting messages, away messages, and quick replies on either phone. Unofficial autoresponder apps and scripts can put the number at risk. For order updates and cart reminders, you need the API.

Can customers unsubscribe from automated WhatsApp messages?

They should always be able to. Give every marketing message a clear way out, like a STOP reply or an unsubscribe button, and stop marketing to that customer right away. Order updates can continue, since the customer still wants to know where the parcel is. An easy exit also keeps people from blocking your number.

Can I automate WhatsApp messages from Shopify or WooCommerce?

Yes. Both platforms can send order and checkout events to a WhatsApp platform connected to the official API. With ThreadPlusAI, Shopify stores connect without code, and WooCommerce stores connect through a webhook.

Do automated WhatsApp messages cost money?

Usually, in two parts: Meta’s own charges for messages on its platform, and the cost of the platform you use. Meta changes its pricing from time to time, so check Meta’s WhatsApp pricing page for its current terms and our pricing page for ThreadPlusAI.