In Morocco, online commerce suffers from a massive scourge: the abandoned cart rate. Very suspicious customers browse from Instagram, add to cart to see delivery costs, then leave the site (often Shopify).
If you use Klaviyo or Mailchimp to send an abandoned cart email to a Moroccan buyer, your chances of recovering this sale are tiny (less than 5% conversion on email).
On the other hand, an SMS lands directly in your pocket, vibrates, and displays an open rate of 98%. Automating this SMS reminder via Shopify is the most profitable “Quick-Win” for a local e-commerce brand.
Why SMS is superior to email for Moroccan Retail
The sociology of the Moroccan buyer is unique: the need for reassurance (trust) is enormous, and the transaction often resembles a discussion.
SMS creates urgency and proximity (Direct Customer Service effect).
"An email is seen as a machine that spams you. An SMS is seen as a warehouse worker who warns you that your product is going to be put back on the shelves."
How to set up dunning without expensive subscription (Shopify Flow)
Forget the miracle “Shopify Apps” which charge you $30 per month just for the right to send SMS, and which resell you SMS credit to Morocco at 0.80 MAD.
You can automate this for free if you use the appropriate Shopify plan, by connecting Shopify Flow (Shopify's free in-house automation tool) to the API of your Moroccan SMS platform (EnvoiSMS).
Configuration in Shopify Flow:
- Trigger: Select
Checkout abandoned. - Condition (Filter): Add a time condition:
Wait for 3 hours. - Action: Select
Send HTTP Request. - Configuration of the query:
- URL:
https://api.envoisms.ma/v1/sms/send - Method:
POST - Headers:
Authorization: Bearer YOUR_TOKEN - Body (JSON):```json
{
"recipient": "{{checkout.shippingAddress.phone}}",
"sender_id": "MA_BOUTIQUE",
"message": "Bonjour {{checkout.shippingAddress.firstName}}, vous avez oublié des articles dans votre panier ! Validez-le avant rupture de stock ici : {{checkout.abandonedCheckoutUrl}}"
}
Timing (The Golden Rule of the sequence)
Don't send the SMS 10 minutes after abandonment, the customer may just be looking for their credit card. Don't send the SMS 2 days later, he has already purchased from Jumia.
The optimal sequence (The Funnel):
- H+1 (Free Email): First send the native automatic follow-up by Email from Shopify. It's free. Give the customer time to come back on their own.
- H+3 or H+4 (The "Service" SMS): If the order is still not converted, Shopify Flow triggers the SMS via the EnvoiSMS API.
> [Brand] Your basket is waiting for you! Resume your order where you left it: bit.ly/panier.
- D+1 (The Ultimate SMS - Exceptional Discount): If the value of the basket is greater than 500 MAD (filter this in Shopify Flow), send a "Last Chance" SMS with a discount to kill hesitation.
> [Brand] We offer you delivery! Finalize your order from yesterday with the code LIVR-FREE (Valid for 4 hours): bit.ly/panier.
Measuring Recovered Revenue
Each SMS sent costs you around 0.65 MAD (Starter rate with a validated Sender ID). If you send 100 per month (65 MAD cost), and you collect even 3 baskets at 400 MAD (1,200 MAD turnover), the Return on Investment (ROI) of this simple technical automation is titanic.
Always make sure that the number entered by the customer in the Shopify telephone field is valid (International format +212) by activating strict verification in your checkout settings, otherwise you will pay for SMS messages that will never arrive due to erroneous formatting (Hard Bounce).
Frequently asked questions
What is the routing latency on the IAM, Inwi and Orange networks?
On our local routes to Maroc Telecom (IAM), Orange and inwi, the median time to carrier confirmation is 11–17 s (measured in October 2026).
How does the platform manage the format of Moroccan numbers?
EnvoiSMS automatically normalizes the numbers entered (06..., 07..., 00212...) to the E.164 standard (+212) to avoid any delivery failure.