Selling on WhatsApp with a flow
How a flow bot runs a small shop on WhatsApp from your catalogue - the five shop steps, what your catalogue needs first, what a customer sees, how an order is placed and paid, and what is not switched on yet.
A flow bot can run a small shop on WhatsApp: the customer browses your catalogue, sends a cart, places an order and pays you, and your team sees the order in the Inbox. The whole path follows the script you write. It uses no AI, so it costs no AI usage and says the same words every time.
Not switched on yet. Kooday switches shop steps on for every account at once, after they have been checked with real WhatsApp and payment accounts. Until then, publishing a flow that uses a shop step is refused and says so, and nothing in this guide reaches a customer. You can read it now to get your catalogue and payment settings ready.
What you need first
- The Offerings add-on, because the shop sells your offerings.
- Your catalogue linked to your WhatsApp number as a Meta catalogue (see
Selling with cards). Your offerings reach it when a person presses
Sync now in the Sync to your Meta catalogue panel. Kooday does not yet send them on its own when you save, so press Sync now after a
change, and a
cataloguestep cannot be published until automatic syncing is switched on too. - A price on every offering you want to sell, and the item set to be visible to customers. An offering with no price, a price on request, a price by area, or one that is sold out is shown as unavailable and cannot be added to a cart.
- How customers pay. Open Payments and set a payment link, payment instructions, or your own payment account. See Taking payment for orders.
- If you deliver, a customer field for the address. The checkout step takes it from there.
A product with sizes or other options is sold as one product with a choice for each. Each option has its own price and its own stock, and a cart prices each at its own.
The five shop steps
catalogueshows the products you choose: a category, a list of item codes, or the whole catalogue. It sends a WhatsApp product list. If there is nothing to show it goes toon_empty.cartreads the cart the customer sends back, prices it from your catalogue (never from what the customer’s phone says), and asks them to place the order, change items or cancel.checkoutplaces the order from the confirmed cart, with the delivery details you give it. An item that sold out in the meantime goes toon_out_of_stock.paytells the customer how to pay and waits, up to the time limit you set, then goes to the step you name. The wait ends when the order is marked paid: you mark it paid in the Inbox, or, with your own payment account connected, payment is confirmed on its own. A customer who taps I have paid is told you will check. That is only their word, so the flow keeps waiting.order_statusshows a customer one of their own orders. Pair it with apickover the readermy_orders.
A flow can also start from the shop button on your WhatsApp business profile, with cart_entry.
start: browse
nodes:
browse:
type: catalogue
show: { category: Plants }
text: "Pick your plants, then send your cart."
next: review
on_empty: sold_out
on_error: team
fallback_next: to_whatsapp
review:
type: cart
text: "Your cart:\n{{vars.cart.summary}}\nTotal {{vars.cart.total}}"
confirm_title: "Place order"
change_title: "Change items"
cancel_title: "Cancel"
on_confirm: place
on_change: browse
on_cancel: bye
on_empty: sold_out
on_error: team
fallback_next: to_whatsapp
place:
type: checkout
payment: link
next: pay_now
on_out_of_stock: browse
on_unavailable: sold_out
on_error: team
pay_now:
type: pay
text: "Order {{vars.order.ref}}, total {{vars.order.total}}.\n{{vars.pay.link}}\n{{vars.pay.instructions}}\nTap the button once you have paid."
paid_title: "I have paid"
help_title: "Need help"
timeout: { after: 12h, then: pay_later }
on_paid: thanks
on_help: team
on_cancelled: bye
on_error: team
fallback_next: to_whatsapp
sold_out: { type: message, text: "Nothing is available to order right now.", next: team }
thanks: { type: message, text: "Payment received for order {{vars.order.ref}}.", next: done }
pay_later: { type: message, text: "We have not seen your payment yet. Message us any time.", next: done }
bye: { type: message, text: "No problem, your cart is cleared.", next: done }
team: { type: handoff, text: "Connecting you to our team.", on_refused: to_whatsapp }
to_whatsapp: { type: continue_on_whatsapp, text: "Let's finish this on WhatsApp.", next: left }
done: { type: end }
left: { type: end }
What the customer sees
The customer sees your products as a WhatsApp list with pictures and prices, adds what they want
in WhatsApp’s own cart, and sends it. Your flow replies with the cart as Kooday priced it. If a
price or a stock level changed since the customer opened the list, the reply says what changed
before they place the order. Shop steps work on WhatsApp only. On Instagram, Messenger and
website chat, a customer reaching a step goes to the step you name in its fallback_next, usually
a continue_on_whatsapp step.
Offers and codes
With offers: auto on the catalogue step, your best live advertised promotion is applied to the cart on its own, and the cart shows it (one promotion at a time). A discount code
is asked for by an offer_code step; a wrong code can be tried again, and after three wrong codes the flow
goes to the step you choose. Every wrong code gets the same reply, so a customer cannot tell a
spent code from a made-up one. See Offers and discounts.
Payment, and the message that follows
Kooday does not hold your money. The customer pays your own link, account or instructions. When the order is marked paid, your team can message the customer in the Inbox as usual, and the flow continues. If you have set a payment confirmation message, Kooday sends it once when a flow order is marked paid and no flow is waiting for that payment any more. A customer whose flow is still waiting is answered by the flow itself while the chat window is open. If that customer has been silent for more than 24 hours, the flow sends nothing and Kooday sends your approved confirmation template instead, once.
What you see in the Inbox
The order appears on the customer’s conversation with its items, total, delivery details and payment state. Mark paid records a payment you received; see Your inbox and taking over.
Try it before customers do
Try it shows a catalogue step as a description of the WhatsApp product message rather
than the message itself. It names each product by its retailer id, with no names or prices, and
a step that sends your whole catalogue shows only that the catalogue is sent. It sends nothing, places no order,
makes no payment link and calls neither WhatsApp nor your payment account. To walk the cart,
checkout and pay steps, press Send a sample cart: it sends up to two of your real products
as a cart, the way a customer’s phone does, and tells you to connect the catalogue when there is
no product to send. The order it places is a named sample, nothing is saved, and the pay step’s
own I have paid button is simulated. Try it has no Mark paid, because a try never settles a
payment. It cannot show what Meta does with a real cart, so check once on a real WhatsApp number
when shop steps are switched on. See Building flows.
What the shop does not do
- It does not take payment inside WhatsApp or collect money for you.
- It does not sell on Instagram, Messenger or website chat.
- It does not refund. Money you return, you return yourself.
- It does not change your Meta catalogue from Meta’s side: changes you make in Meta’s own tools are not read back.
Still stuck? We answer support mail the same working day.
Email support