E-commerce integration
Integrate WhatsApp with Shopify
The WhatsApp and Shopify integration connects your online store to a WhatsApp number to fire automatic messages on every store event. Using ZapZap API, an unofficial, instance-based WhatsApp API, you provision a dedicated number and start sending order confirmations, tracking updates and abandoned cart reminders straight into the customer's conversation. Communication happens through HTTP requests from Shopify Flow or from store webhooks, with no template approval needed. The cost is R$15 per active number per month, prepaid, and you start with a welcome credit when you create the account, subject to the current campaign.
Why connect
A supplements store on Shopify wants to reduce abandoned carts and cut down on support tickets. With WhatsApp integrated, every order created fires a confirmation message with the order number and a purchase summary. Fifteen minutes after an abandoned checkout, the customer receives a friendly reminder with the link to complete the purchase. When the order is marked as shipped, the tracking code arrives automatically on WhatsApp. The result is higher conversion on stalled carts and fewer "where is my order" messages by email and chat.
Step by step
- 1
Create and connect your instance on ZapZap API
Go to the ZapZap API dashboard at app.zapzapapi.com, create a new instance, scan the QR Code with the WhatsApp of the number that will send the messages and copy your x-api-key and x-api-secret from the API credentials tab.
- 2
Install the Shopify Flow app on your store
In the Shopify admin, go to Settings and then Apps and sales channels. Search for Shopify Flow in the Shopify App Store and install it. Flow is free and is where you build the sending automations.
- 3
Create a flow with the Order created trigger
Open Shopify Flow, click Create workflow and select the Order created trigger. Then add the Send HTTP request action.
- 4
Point the HTTP request to ZapZap API
In the Send HTTP request action, use the POST method with the URL of ZapZap API's send endpoint, add the x-api-key and x-api-secret headers and build the JSON body with the customer's number and the message text, using order variables such as {{order.customer.phone}} and {{order.name}}.
- 5
Create the cart recovery flow and test
Repeat the process with a new flow using the Abandoned checkout created trigger for the cart reminder. Place a test order and run a test abandoned checkout, then confirm the messages arrive on WhatsApp.
Example
// Illustrative. Shopify Flow "Send HTTP request" action calling ZapZap API.
// Check the real endpoints and fields at https://api.zapzapapi.com/llms.txt
POST https://api.zapzapapi.com/api/v1/{instanceId}/send/text
Headers:
x-api-key: YOUR_API_KEY
x-api-secret: YOUR_API_SECRET
Content-Type: application/json
Body:
{
"number": "5511999999999",
"text": "Hello! Your order #1001 has been confirmed and is being prepared."
}
// Equivalent curl example:
curl -X POST https://api.zapzapapi.com/api/v1/{instanceId}/send/text \
-H "x-api-key: YOUR_API_KEY" \
-H "x-api-secret: YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{"number":"5511999999999","text":"Your cart is still waiting for you. Complete your purchase!"}'Illustrative. The exact fields and endpoints are in the documentation.
Frequently asked questions
Do I need an official WhatsApp Business API account to integrate with Shopify?
No. ZapZap API is an unofficial, instance-based WhatsApp API. You connect a regular number via QR Code and start sending messages without template approval or the official API process. All you need are the x-api-key and x-api-secret credentials.
How does abandoned cart recovery work on Shopify?
In Shopify Flow you create a flow with the Abandoned checkout created trigger. It fires when a customer starts checkout and does not finish. The Send HTTP request action calls ZapZap API and sends a WhatsApp reminder with the link to complete the purchase.
How much does it cost to keep the integration running?
ZapZap API charges R$15 per active number per month, on a prepaid balance model. You start with a welcome credit when you create the account, subject to the current campaign, so you can test the integration before investing. Each store normally uses one number, so the monthly cost is one active number.
Can I use Shopify order variables in the message?
Yes. Inside the Send HTTP request action in Shopify Flow you build the JSON body and insert variables such as {{order.name}}, {{order.customer.phone}} and {{order.total_price}}. That way each customer receives a personalized message with the real order data.
Where can I find the full list of ZapZap API endpoints and fields?
The official, always up-to-date reference is at https://api.zapzapapi.com/llms.txt. Check that file to confirm the endpoints for sending text, media and other features before building your automations in Shopify Flow.
Start now
Create your account, connect a number in minutes and test the API with warm-up and anti-ban. R$15 per active number/month, prepaid, no lock-in.
