Your WhatsApp chatbot sends a button that opens your full website inside WhatsApp, already signed in as that customer. Switch it on and manage the secret on the Chat shopping links card.
Where to find itShopWhatsAppChat shopping links
Before you start
Every plan, once your website is live. Off until you switch it on. You need a chatbot that can call a web address, such as a Libromi chatbot.
Needs
You turn this on
Who can use this
Shop owner
Let customers shop your whole website without leaving WhatsApp. Your chatbot sends a button such as "Shop now". The customer taps it, and your website opens inside WhatsApp, already signed in as the customer of that phone number. There is no sign-up and no code to type.
It works with any chatbot that can call a web address: a Libromi chatbot, or another chat platform. The chatbot asks your shop for a link, and your shop answers with a one-time link for that customer.
What the customer gets
Your full website, inside WhatsApp's own browser: every product, your offers, delivery options and checkout.
Already signed in. The phone number of the chat is the customer. A customer who already has an account sees their saved addresses, their orders and their wallet. A new number gets an account at once, with the name from their WhatsApp profile, even if your shop otherwise takes no new sign-ups.
24 hours. The customer stays signed in for 24 hours from the moment they open the link. After that they ask the chat for a new link.
The wallet works. Customers can pay with their wallet balance.
A code only for sensitive changes. Changing their phone, e-mail or password, deleting the account, downloading their data and paying with or managing saved cards ask for a normal sign-in first. The website shows "Verify your phone to continue".
Each link works once, for 10 minutes. A link that was already opened or has expired shows "This link has expired" with "Ask the chat for a new one — links work once, for 10 minutes." Your chatbot can make a new link at any time.
Previews are safe: when WhatsApp shows a preview of the link, the link is not used up.
Three kinds of link
Link
Opens
Typical button
Shop
Your home page, or a page you choose, such as a collection
"Shop now", "See our fruits"
Checkout
The checkout, with the products the customer picked in the chat, for example in your WhatsApp catalogue
"Pay now"
Order again
The checkout, with the products of the customer's last order that can still be bought
"Order again"
Products that cannot be bought (out of stock, no longer sold, or more than can be ordered) are left out, and the chatbot is told which ones.
Before you start
Your website is live. Until it is, the card shows "Set up your website first." See Publish your website.
You are the shop owner. Only the owner can manage the card. Others see "Only the shop owner can manage chat shopping links."
Shops that approve new customers: a new number gets an account that waits for your approval, and its link is refused until you approve it. Existing approved customers are not affected.
Switch it on
Open Shop › WhatsApp and find the Chat shopping links card on the right.
Switch it on
Select Switch on. The card reads On and the page confirms "Chat shopping links are on."
Copy the API address
API address is the address your chatbot calls. It is the same for every request of your shop. (It is hidden in the picture above.)
Create the secret
Select Create secret. The secret appears once, in a yellow box: "Secret created. Copy it now: it is shown only once." Copy it and paste it into your chat platform straight away. Once a secret exists, this button reads Rotate secret, as in the picture. After you leave the page, only its last 4 characters are shown: "Ends in (4 characters), created (when)".
Test the set-up
Select Test the set-up. It checks that the links are on, that a secret exists and that your website is live. It creates no link and no customer. When all is well: "Everything is set up. Your chat platform can now create links."
Last used shows when your chatbot last asked for a link, and how: (simple key) or (signed). Never until the first link.
Example request opens a ready-made request for developers, with your API address filled in.
Simple key or signed requests
Your chatbot proves it is allowed to ask for links in one of two ways.
Signed requests (recommended)
Simple key
How
Each request carries a signature made from the secret, and the time
Each request carries the secret itself, in an Authorization header
Works with
Platforms and your own code that can compute a signature
Any chatbot that can add a fixed header, such as a Libromi Webhook block
Switch
Always allowed
Off until you switch on Allow simple key (no signature)
Limits
600 links a minute for your shop
120 links a minute for your shop
To allow the simple key, select Switch on next to Allow simple key (no signature) on the card. The page confirms "Simple key allowed. Your chat platform can send the secret as a Bearer key, without a signature." Switching it off answers "Simple key no longer allowed. Requests must be signed."
A Libromi chatbot cannot compute a signature, so Libromi uses the simple key. Treat the secret like a password either way.
Change or stop it
Rotate secret creates a new secret: "Create a new secret? The current one keeps working for 24 hours, then stops." Paste the new one into your chat platform within those 24 hours. The card shows "The previous secret keeps working until (when)." Rotating again within 24 hours stops the oldest secret at once.
Revoke secrets stops everything at once: "Revoke the secrets? Chat shopping links stop working at once." Links already sent stop working too. Create a new secret to start again.
Switch off stops new links and links already sent: "Chat shopping links are off. Links already sent stop working."
Customers who already opened a link stay signed in until their 24 hours end. Every change is kept in your shop's activity log.
Rotate the secret if you think someone else has seen it. Revoke it at once if you know they have.
Orders from chat links
Orders placed after opening a chat link are website orders with their own source, WhatsApp (web). They are kept apart from orders placed inside WhatsApp's own ordering, which show as WhatsApp.
Reports. Filter by WhatsApp (web) under Order Source in the Order report, and see the channel in Order channels.
WhatsApp order updates. When your WhatsApp is connected, these orders get the same WhatsApp order updates as WhatsApp orders: Order confirmed, Out for delivery, Order delivered and Order cancelled. They go to the chat's number. Free text can be sent for 24 hours from when the chatbot made the link; after that, only approved templates. See When WhatsApp order updates are sent.
Your chat platform. It can follow the order with your order webhooks. The reference your chatbot sent with the link comes back in them as chat.external_ref, so the platform knows which chat the order belongs to. Webhooks are in your plan from Growth.
Keep it safe
Keep the secret in your chat platform's secret or credential storage. Never put it in a message, a website or an app.
Only the chat's own phone number should be sent: whoever opens the link is signed in as that customer.
Send each link only to that customer, in that chat.