How do I set up the WooCommerce M-Pesa Store on Autopilot template?
To set up WooCommerce M-Pesa Store on Autopilot, open the template, click Use this template, connect WooCommerce, M-Pesa, SMS, HubSpot, Airtable, WhatsApp and Paystack, fill in your own details, run a test and publish. It takes about 25 minutes and is made for the Basic plan.
What it does: A customer orders on your WooCommerce store and their phone gets an M-Pesa prompt for the exact total. Once they pay, the order is marked paid with the M-Pesa receipt, they get a PDF receipt by SMS, they go into HubSpot with a won deal and the sale lands in your Airtable sales log. Big orders get a personal AI note and you get a VIP alert; returning customers get a welcome-back SMS with a discount code. If they do not pay, they are texted a card payment link and the order is flagged.
Who is it for?
Section titled “Who is it for?”WooCommerce stores in Kenya that want M-Pesa checkout and after-sale follow-up without a plugin per job.
The problem it solves: every order means chasing payment, typing receipts, updating the CRM and the sales sheet, and remembering to thank the customer.
What do I need before I start?
Section titled “What do I need before I start?”- A CiraIQ account on the Basic plan or above (plans)
- Your WhatsApp, linked to CiraIQ
- Your M-Pesa Daraja app keys (Paybill or Till)
- An Africa’s Talking or Twilio account for SMS
- An Airtable personal access token
- A HubSpot private app token
- Your WooCommerce REST API keys
- Your Paystack secret key
How do I set up WooCommerce M-Pesa Store on Autopilot, step by step?
Section titled “How do I set up WooCommerce M-Pesa Store on Autopilot, step by step?”- Copy the template. Open WooCommerce M-Pesa Store on Autopilot and click Use this template. It opens on your canvas as your own copy.
- WooCommerce: in “New order” add your store URL and REST keys (WooCommerce → Settings → Advanced → REST API, Read/Write), tick “Order created” and click Register; pick the same store in the three other WooCommerce steps.
- M-Pesa: in “M-Pesa prompt on their phone” add your Daraja keys with the Lipa na M-Pesa passkey.
- SMS: add your Africa’s Talking keys in the three SMS steps.
- HubSpot: add a private-app token with CRM contacts and deals scopes in both HubSpot steps.
- Airtable: add a token and a table named Orders with the columns Order, Customer, Phone, Email, Total, M-Pesa Receipt, Receipt PDF and Status.
- Paystack: add your secret key in “Card payment link”.
- Replace the example business (Amani Fresh Produce) in “Make the receipt”, in the AI note and in the SMS texts, change the discount code KARIBU10 to one that exists in your store, and set your VIP amount in “Who is this customer?” (KES 10,000 by default).
- Link your WhatsApp, then turn it on.
- Test it: place a test order or payment in your store. Each step turns green when it works; click one to see its output.
- Publish to switch it on. It now shows ACTIVE on My workflows.
What does each step do?
Section titled “What does each step do?”| # | Step | What it does |
|---|---|---|
| 1 | WooCommerce Order Event | Starts the workflow on a WooCommerce order, customer or product change. |
| 2 | If / Else | Branch the workflow based on conditions. Routes to the true or false path. |
| 3 | M-Pesa | Send an M-Pesa payment prompt (STK push) to a customer’s phone and wait for them to pay, using your own Daraja app. Money goes straight to your Paybill or Till. |
| 4 | If / Else | Branch the workflow based on conditions. Routes to the true or false path. |
| 5 | WooCommerce | Look up and update orders, products, stock and customers in your WooCommerce store. |
| 6 | WooCommerce | Look up and update orders, products, stock and customers in your WooCommerce store. |
| 7 | PDF Document | Create a branded invoice, receipt, quote or document as a PDF, with an optional shareable download link. |
| 8 | SMS | Send SMS through your own Africa’s Talking or Twilio account. You add your own API keys - CiraIQ never pays for messages, your provider bills you directly. |
| 9 | HubSpot CRM | Create or update contacts, create and move deals, and log notes in your HubSpot CRM. |
| 10 | HubSpot CRM | Create or update contacts, create and move deals, and log notes in your HubSpot CRM. |
| 11 | Airtable | List, create, update, upsert and delete records in your Airtable bases. |
| 12 | Router | Split the flow into multiple branches, each with its own condition. |
| 13 | AI Assistant | Perform AI operations: generation, extraction, summarization, etc. |
| 14 | Send Email | Send emails via your authenticated Gmail account or Resend |
| 15 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent | |
| 16 | SMS | Send SMS through your own Africa’s Talking or Twilio account. You add your own API keys - CiraIQ never pays for messages, your provider bills you directly. |
| 17 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent | |
| 18 | Paystack | Create Paystack payment links, check payments and list transactions with your own key; refunds are guarded. |
| 19 | SMS | Send SMS through your own Africa’s Talking or Twilio account. You add your own API keys - CiraIQ never pays for messages, your provider bills you directly. |
| 20 | WooCommerce | Look up and update orders, products, stock and customers in your WooCommerce store. |
| 21 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent | |
| 22 | Error Trigger | Runs when this workflow fails. Wire it to a notification to be told. |
| 23 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent |
How can I change it?
Section titled “How can I change it?”It is your own copy, so change anything: the wording, the schedule, who gets alerts, or add steps with the + button. Changes save automatically; on a live workflow they wait as a draft until you click Publish changes. See test and publish and when a step fails.
Related
Section titled “Related”- WooCommerce M-Pesa Store on Autopilot on ciraiq.com: full description and live preview
- M-Pesa automation and templates
- WhatsApp automation and templates
- Paystack automation and templates
- More Online Store templates
Questions
What do I need to set up WooCommerce M-Pesa Store on Autopilot?
Your WhatsApp, linked to CiraIQ, your M-Pesa Daraja app keys (Paybill or Till), an Africa's Talking or Twilio account for SMS, an Airtable personal access token, a HubSpot private app token, your WooCommerce REST API keys and your Paystack secret key. It is made for the Basic plan.
How long does WooCommerce M-Pesa Store on Autopilot take to set up?
About 25 minutes: copy it, connect your accounts, fill in your details, test it and publish. No code is needed.
How do I know WooCommerce M-Pesa Store on Autopilot is working?
Place a test order or payment and check the run in Settings → Executions.