Help home
Using the app
Heartisan Studio
Setup & settings
Back to heartisan.app
Client portal

WhatsApp setup

For admins

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.

The rule everything else follows. You may only write freely to someone for 24 hours after they message you. Outside that window, every message has to use a template that Meta approved in advance. That is why half of this guide is about templates — and why if you approve none, nothing sends.

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

  1. 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.
  2. At developers.facebook.com/apps, choose Create app → purpose Other → type Business, and pick that portfolio.
  3. On the app dashboard, find WhatsApp and press Set up.
  4. Follow the prompts to create a WhatsApp Business Account and add your phone number. Meta calls or texts it with a code.
The number has to be free. If it is signed in to the WhatsApp app on someone's phone, delete that account from inside the app first (Settings → Account → Delete my account). Otherwise verification fails and the reason given is not obvious.

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 HeartisanWhere it comes from
Phone number IDAPI setup, underneath your number
Access tokenA permanent one — see below, not the temporary one on that page
App secretApp dashboard → Settings → Basic → App secret → Show
Verify tokenYou invent it — any hard-to-guess phrase
Phone number ID is not the phone number. It is the long id underneath it. This is the most common mistake here, and it fails in the worst way: messages are accepted and never arrive.

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:

  1. business.facebook.com → Settings → Users → System users → Add.
  2. Name it (e.g. "Heartisan"), role Employee.
  3. Assign assets → your app → Full control; and your WhatsApp account → Full control.
  4. Generate new token → choose the app → tick whatsapp_business_messaging and whatsapp_business_management → expiry Never.
  5. 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_GB and en_US are 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.

RowWhat it covers
Anything elsethe fallback for every row left blank
Messages you sendfrom the Messages screen
Rotabeing put on a rota, reminders, chasing an unanswered one
Follow-upsassigned to someone, and due reminders
Automationsa Flow's notify step, or a Send WhatsApp step
Check-inmessages to a parent or guardian
We're live nowthe go-live announcement, for members who asked for it
Conversation repliesrarely 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 thisHeartisan fills in
{Name}the person's name
{Subject}the message's subject line
{Body}the message itself
anything elseused exactly as you typed it

For the example template above, that is {Name}, {Body}.

A row with a language or a fills-in list but no template name is refused when you save. It would silently do nothing, which is the one failure you would never spot.
Music suggestions have no row — they go out on push and in the app only, by design. A per-message charge for a song recommendation isn't something anyone asked for.

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.

One difference: Twilio wraps approved templates in its own Content API, so in the template table the Template name is Twilio's Content SID (starting 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.

  1. In Heartisan, Settings → Messaging → WhatsApp shows a Callback URL. Copy it.
  2. In your Meta app: WhatsApp → Configuration → Edit.
  3. 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.
  4. Verify and save.
  5. Then Manage the webhook fields and subscribe to messages.
That last step is the one people miss. Saving the URL subscribes you to nothing. Everything looks configured, and no reply ever arrives.

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.

The test always sends as plain text, never as a template. That is deliberate: a test that quietly fell back to a template would prove the template works and tell you nothing about whether the connection does.

If you did Step 8, that "hello" is also your check that replies work — it should appear in Conversations within a few seconds.

Only message people who have agreed to it. WhatsApp requires opt-in, and it arrives in the same place as someone's family. Messaging people who haven't consented is both a policy breach that can cost you the number and a fast way to lose trust.
  • 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 seeWhyFix
"Outside the 24-hour window and no WhatsApp template is set for … sends"No template named for that kind of messageFill in its row, or Anything else, in the template table
Everything worked, then stopped a day laterA temporary access token expiredMake a permanent system-user token (Step 4)
Messages accepted but nobody receives themThe Phone number ID field holds the phone numberPaste the long id from API setup instead
"Template name does not exist in the translation"Wrong language code, or not approved yetCheck 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 placeholdersMatch them one for one
Webhook won't verifyVerify token differs between Heartisan and MetaRe-paste both so they match exactly
Everything sends, but no reply ever arrivesThe URL was saved without subscribing to messagesMeta → Configuration → webhook fields → Manage → tick messages
Replies stopped after you changed the app secretSignatures no longer match, so every delivery is refusedPaste the new secret into Heartisan
Verification fails at Step 2The number is still on the WhatsApp phone appDelete that account from inside the app, then retry

Next