Connections
Connect your Meta (WhatsApp) and MSG91 accounts once — validated and encrypted — then reuse them across OTP, COD confirmation, and cart recovery.
A connection is one messaging account — a Meta WhatsApp number or an MSG91 account — that you add once. IndiSell validates it against the provider, stores the credentials encrypted, and makes it available everywhere a message goes out: OTP codes, COD confirmations, and abandoned-cart recovery.
Before connections, every feature asked for its own keys. Now you connect an account in one place and simply pick it wherever it's needed — rotate a token once and every feature keeps working.
Why connections
Add an account a single time. OTP, COD and recovery all reference the same connection — no re-entering keys per feature.
We check the credentials against Meta / MSG91 before saving. An account only lands in your list if it actually works.
Add several accounts and choose the right one per feature. Each shows a live Valid or Invalid status.
Add a connection
Click + Add connection and choose the provider — Meta WhatsApp (Cloud API) or MSG91.
The form shows only the fields that provider needs. Give the account a label you'll recognise (e.g. "WhatsApp — Orders").
We call the provider to confirm the credentials. If they're valid the account is saved and appears with a green status, its capabilities (WhatsApp / SMS) and account details.
Meta WhatsApp (Cloud API)
| Field | Where to find it |
|---|---|
| Permanent access token | Meta Business → System users → generate a token with whatsapp_business_messaging (and whatsapp_business_management to list templates). |
| Phone number ID | WhatsApp Manager → your number → API setup. |
| WhatsApp Business Account ID (optional) | WhatsApp Manager → account settings. Needed to list templates — see the note below. |
#100 error? Some tokens can't read the WhatsApp Business Account from the phone-number ID, so IndiSell can't fetch your templates automatically. Paste your WhatsApp Business Account ID into the connection (Connections → Edit) and the live template list works. You can always type a template name by hand instead.MSG91
| Field | Where to find it |
|---|---|
| Auth key | msg91.com → API → Auth keys. |
| Sender ID (optional) | Your approved DLT sender header. |
| WhatsApp number (optional) | Your MSG91-integrated WhatsApp number, if you use it for WhatsApp. |
Where connections are used
Once an account is connected, pick it inside each feature. The credentials never leave the connection — features just reference it.
| Feature | What you pick | Where |
|---|---|---|
| OTP delivery | One or more WhatsApp / SMS methods, each backed by a connection, in priority order | Settings → Integrations → OTP Verification |
| COD confirmation | A WhatsApp account + its approved template | Orders → COD confirmation → WhatsApp |
| Cart recovery | A WhatsApp account + its approved template | Abandoned → WhatsApp |
See OTP delivery for the methods model, COD confirmation for confirm/cancel messages, and cart recovery for resume-link messages.
Dynamic templates & variable mapping
When you pick a Meta connection, IndiSell loads that account's approved templates live — you choose one from a dropdown instead of typing a name that might reject. Selecting a template:
- auto-fills the variable rows to the template's
{{1}}…{{n}}body variables, and - shows a live preview of the message with sample values.
For each variable you map what fills it — the OTP code, your store name, the order number, the amount, a resume link, or custom text — so any approved template shape works without a mismatch rejection.
Manage a connection
Each connection in the list has:
- ✓ Valid / ✗ Invalid status with the reason, and the account details (number, WhatsApp Business Account, SMS balance).
- Edit — update the credentials (re-validated before saving, so a bad edit never replaces a working account) or rename it.
- Re-check — re-validate against the provider (catches a token that expired later).
- Remove — delete it. Features using it fall back to the platform default, or stop sending until you pick another.