WhatsApp setup
WhatsApp lets you reach members where most of them already read their messages. It is a channel of its own in Heartisan — not a different way of sending a text — so it has its own consent and its own delivery record, and it carries one rule that shapes everything below. All of this is on Settings → Messaging → WhatsApp.
Before you start
- A phone number that is not currently signed in to WhatsApp or WhatsApp Business on anyone's phone. Putting a number onto the Business Platform takes it off the phone app.
- A Facebook account, and a card for the WhatsApp Business account.
- Around a day of slack — template approval is the slow part, so start it early.
Step 1 — Choose who carries your messages
Two routes, chosen in the Provider dropdown:
- Meta (WhatsApp Business Platform) — the direct route and the cheapest. More setup, all of it in Meta's own consoles.
- Twilio — fewer steps if you already send texts through Twilio, and one bill. Twilio's fee sits on top of Meta's rates.
Pick Meta unless you are already on Twilio for SMS. The rest of this guide covers Meta; the Twilio differences are in Step 7.
Step 2 — Create the WhatsApp Business account
- Go to business.facebook.com and sign in. Create a Business portfolio for your organisation if there isn't one — its name is visible, so use your real name, not a slogan.
- At developers.facebook.com/apps, choose Create app → purpose Other → type Business, and pick that portfolio.
- On the app dashboard, find WhatsApp and press Set up.
- Follow the prompts to create a WhatsApp Business Account and add your phone number. Meta calls or texts it with a code.
Step 3 — Name what people will see
In WhatsApp Manager → Account tools → Phone numbers, set the display name. Meta reviews it and rejects names that don't plainly match the business, so use your actual name. This is what members see, so it is worth getting right rather than fast.
Step 4 — Copy the four values Heartisan needs
From your app's WhatsApp → API setup page:
| Field in Heartisan | Where it comes from |
|---|---|
| Phone number ID | API setup, underneath your number |
| Access token | A permanent one — see below, not the temporary one on that page |
| App secret | App dashboard → Settings → Basic → App secret → Show |
| Verify token | You invent it — any hard-to-guess phrase |
A token that doesn't expire
The token shown on the API setup page dies after 24 hours and everything stops with no warning. Make a permanent one:
- business.facebook.com → Settings → Users → System users → Add.
- Name it (e.g. "Heartisan"), role Employee.
- Assign assets → your app → Full control; and your WhatsApp account → Full control.
- Generate new token → choose the app → tick
whatsapp_business_messagingandwhatsapp_business_management→ expiry Never. - Copy it straight away. It is shown once and cannot be retrieved afterwards.
Paste all four into Heartisan and save. The first two send; the last two receive.
Step 5 — Get your templates approved
In WhatsApp Manager → Account tools → Message templates → Create template:
- Category — Utility for anything the member expects (a rota ask, a reminder, a follow-up). Marketing only for something promotional. Utility costs less and is approved more readily; a utility template that reads like an advert gets rejected or re-categorised.
- Name — lowercase with underscores, e.g.
hb_rota_reminder. You need this exactly later. - Language — the code matters.
en_GBanden_USare two different templates. - Body — write it with
{{1}},{{2}}where the changing parts go. Meta rejects a body that is only variables, so keep some fixed wording around them.
One general-purpose template to start with, which Heartisan can use for everything:
Hi {{1}}, a message from us:
{{2}}
Approval usually takes minutes to a day. Wait until it says Active.
Step 6 — Say which template carries what
Settings → Messaging → WhatsApp → Approved templates is a table, one row per kind of message. Fill in Anything else first — one approved general-purpose template there covers everything — and name the others only when you have written a template specially for them.
| Row | What it covers |
|---|---|
| Anything else | the fallback for every row left blank |
| Messages you send | from the Messages screen |
| Rota | being put on a rota, reminders, chasing an unanswered one |
| Follow-ups | assigned to someone, and due reminders |
| Automations | a Flow's notify step, or a Send WhatsApp step |
| Check-in | messages to a parent or guardian |
| We're live now | the go-live announcement, for members who asked for it |
| Conversation replies | rarely needed — a reply usually sits inside the 24-hour window |
Each row takes three things:
- Template name — exactly as in WhatsApp Manager.
- Language — the code you had it approved under.
- Fills in — what goes into the template's
{{1}},{{2}}and so on, in order, separated by commas.
| Write this | Heartisan fills in |
|---|---|
{Name} | the person's name |
{Subject} | the message's subject line |
{Body} | the message itself |
| anything else | used exactly as you typed it |
For the example template above, that is {Name}, {Body}.
Step 7 — The Twilio route instead
You still need Step 2, Step 3 and Step 5 — Twilio connects to the same Meta account. Then in the Twilio Console, Messaging → Senders → WhatsApp senders, add your number and complete Twilio's sender onboarding.
In Heartisan, set Provider to Twilio and fill in the WhatsApp sender number. The account SID and auth token come from your existing SMS settings on the same page — nothing extra to paste.
HX) rather than
the template's name.
Step 8 — Switch on replies
Without this, WhatsApp is an announcement channel: everything you send has to be a template, and anything a member writes back vanishes. With it, replies land in Conversations — and a member messaging you opens the 24 hours in which you can write back in your own words.
- In Heartisan, Settings → Messaging → WhatsApp shows a Callback URL. Copy it.
- In your Meta app: WhatsApp → Configuration → Edit.
- Paste the URL into Callback URL, and your verify token from Step 4 beside it. They have to match exactly — Meta checks by asking us, and we refuse if they differ.
- Verify and save.
- Then Manage the webhook fields and subscribe to messages.
Step 9 — Check it works
Settings → Messaging → WhatsApp → Send a test message to. Enter a number that has messaged your WhatsApp number in the last 24 hours — send it a "hello" from your own phone first.
If you did Step 8, that "hello" is also your check that replies work — it should appear in Conversations within a few seconds.
Consent, and who you may message
- Someone replying STOP is opted out of WhatsApp and is never messaged there again. It says nothing about their texts — they are separate promises.
- Who has opted out, and which channel, is listed on Settings → Messaging → People who have asked you to stop. Only clearable by hand, after they've asked.
- Go-live announcements are different again: members choose for themselves in the app whether a service starting reaches them on WhatsApp, and it is off unless they ask.
Troubleshooting
| What you see | Why | Fix |
|---|---|---|
| "Outside the 24-hour window and no WhatsApp template is set for … sends" | No template named for that kind of message | Fill in its row, or Anything else, in the template table |
| Everything worked, then stopped a day later | A temporary access token expired | Make a permanent system-user token (Step 4) |
| Messages accepted but nobody receives them | The Phone number ID field holds the phone number | Paste the long id from API setup instead |
| "Template name does not exist in the translation" | Wrong language code, or not approved yet | Check en_GB vs en_US, and that it says Active |
| "Number of parameters does not match" | The fills-in list is a different length from the template's placeholders | Match them one for one |
| Webhook won't verify | Verify token differs between Heartisan and Meta | Re-paste both so they match exactly |
| Everything sends, but no reply ever arrives | The URL was saved without subscribing to messages | Meta → Configuration → webhook fields → Manage → tick messages |
| Replies stopped after you changed the app secret | Signatures no longer match, so every delivery is refused | Paste the new secret into Heartisan |
| Verification fails at Step 2 | The number is still on the WhatsApp phone app | Delete that account from inside the app, then retry |
Next
- Using WhatsApp day to day — sending, replying, receipts and reminders.
- Email, push & SMS setup — the other channels.