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

Email, push & SMS setup

For admins

Heartisan sends on your behalf using your own accounts, so messages come from your domain and your number. All of this is on Settings → Messaging.

The Messaging settings tab with email, push and SMS provider settings.
The Messaging tab — email, push and SMS in one place, each field carrying its own explanation.

Email (SMTP)

Used for form notifications, follow-ups, giving statements and messages to members. Leave it blank and a platform default is used — but mail from your own domain is far more likely to land in an inbox.

You'll need these from your email provider:

SMTP host & port
Your provider's outgoing mail server. Port 587 is the common choice.
Username & password
The mailbox credentials. Many providers want an app password rather than the account password.
From address & name
What recipients see. Use a real, monitored address.
  1. Fill in the fields and save.
  2. Enter an address in Send a test email to and send one.
  3. Check it arrives — and check the junk folder if it doesn't.
If mail lands in spam, ask whoever manages your domain to add SPF and DKIM records for your sending provider. It makes a bigger difference than anything else.

The "we're live" announcement

Higher on the same tab, Going live controls the notification sent when a broadcast starts with Tell everyone when this starts ticked on the Go live page. Members choose for themselves whether it reaches them as a notification (the default), email or text.

Tell people when a service goes live
The master switch. Off, no broadcast announces itself however the Go live tick box is left, so you can silence it without anyone having to remember to untick something each week.
Who hears about it
Everyone, or Only people who can open it (the default, and the safe one). It only matters for a broadcast that is priced, on a subscription plan or limited to a group; a free service is open to everyone either way. Everyone also announces a group-only broadcast to people outside the group.
What it says
Leave blank for the built-in wording, or write your own using {title}, {host} and {event}. Anything in [square brackets] is dropped whole if a word inside it is empty, so We're live now[ with {host}] loses the word "with" when nobody is named. Keep it short: a lock screen shows about a line and a half.
Tapping it
Opens the broadcast straight away when on. Off, it opens the app at the home screen, where whatever is live already appears at the top.

Push notifications

Push is what makes a notification appear on a member's phone or PC. Heartisan sends it straight to Apple, Google and Microsoft, so all it needs here is your app's key for each platform — an APNs key for iPhone, a Firebase service account for Android, and the Store app's Package SID and secret for Windows.

Leave these blank and push is simply off — messages still go out by email and still appear in the app's own notification list. Nothing breaks.

See Push notifications setup for where each key comes from and how to check them with Send test push.

SMS

Optional, and uses your own provider account so you're billed directly at their rates. Choose one:

  • Twilio — needs your Account SID, Auth token and a from number.
  • Azure Communication Services — needs a connection string and a from number.
  • Teltonika router — sends on a SIM you already pay for, rather than per message. See below.

There's a Send a test SMS box to confirm it works before you rely on it.

Only text people who've agreed to be contacted. Standard per-message rates apply on your own account, and recipients can reply STOP to opt out. Texting people who haven't consented is both a legal problem and a fast way to lose trust.

Sending on your own SIM: a phone or a router

Settings → Messaging → SMS → provider "Your own SIM (Android phone or Teltonika router)". Texts go out on a SIM you already pay for instead of costing per message.

The easy way is a spare Android phone. Install Heartisan Agent on it by scanning a code, and manage it from the portal — see Agent phones: texts on your own SIM. The rest of this section is about a Teltonika router; the settings below apply to both.

With a router:

  1. Choose the provider. The dashboard generates a small script with the address and token already filled in, and shows the token once.
  2. Install that script on the router over SSH.
  3. Each router can be revoked again from the same page.

Choosing the provider reveals the router's own settings:

How Heartisan reaches the router
The router checks in with us works anywhere and is the normal choice, since a router on a mobile SIM usually has no address anything can dial. We call the router needs the router to be reachable from Heartisan (same network, a VPN or a fixed-IP SIM); then fill in Router address (with https://), and a Router username and password. Create a user on the router for this alone, not the admin account; the password is stored encrypted.
Modem
Which modem sends the text, in Teltonika's numbering: 1-1 unless the router has more than one SIM.
Default country code
Put in front of numbers stored without one, so 07700 900123 goes as +447700900123. Set it to your own country.
What the router carries
Conversations, check-in, follow-ups and small sends (the default), or Everything, including broadcasts. With the default, Up to this many recipients is the biggest send the SIM will be asked to do; larger ones go on the paid account.
If the router is offline
Send through Twilio, send through Azure, or don't send at all, after Wait this long first (seconds). Fill in the matching Fallback account below (Twilio's Account SID, Auth token and From number), or those texts won't go.
Replies to a conversation
Wait for the router keeps a thread on one number so the reply comes home, holding the message for up to Hold for up to (hours). Send them the other way is faster but the reply won't reach you.
Phones and routers
A table of every connected phone and router with its name, token start, when it was last seen and its signal. A phone has a Manage button that opens it on Agent phones. For a router, Revoke stops it; a revoked router can then be Removed. Texts waiting to go out are counted underneath. Add a router called (name it after where it is) gives you the one-time script.

Because a router is often switched off, the behaviour is deliberately cautious:

  • Texts wait for it, and fall back to your paid account if it doesn't come online.
  • Conversation replies can instead be held, so a thread stays on one number.
  • By default the router carries conversations, check-in alerts, follow-ups and small sends, while broadcasts stay on the paid account.
That default matters. Mobile plans treat bulk texting as abuse and can bar a SIM. There are no delivery receipts on the router, and recipients see a different sender number for router-sent versus fallback texts.

Replies, and STOP

With Collect replies from the SIM switched on, a reply from a number on someone's record appears as a message from them in Conversations, marked "by text", and reopens a closed thread. Staff can be notified by push and email so a reply isn't left unread.

  • Tell this team about a reply chooses who is notified when someone texts back: nobody, or a team you pick. Without it a reply is only an unread mark in Conversations that somebody has to be looking at to notice.
  • Texts from unrecognised numbers are held in a separate list to attach to a person (Attach to…) or Dismiss, rather than opening threads for wrong numbers and spam. Matching is by phone number, so someone texting from a second phone lands there. The opt-out list also shows anyone who has asked to opt back in.
  • Someone texting STOP is recorded as opted out and is never texted again on any provider. It used to be handled only by Twilio and Azure behind the scenes; you can now see who has opted out, and it works for the router SIM too. Only clearable by hand, after the person has asked to opt back in.
Reply collection only works with the router provider — Twilio and Azure replies have nowhere to arrive. STOP arriving on the router SIM needs reply collection switched on.

WhatsApp

Also on this page, and a channel of its own rather than another way of sending a text — it has its own consent, its own delivery record, and it can tell you when a message was read. It also has one rule the others don't: outside 24 hours of someone messaging you, every message must use a template Meta approved in advance.

It is enough of a setup to have its own guide: WhatsApp setup.

Where these get used

  • Flows — email, push, SMS and WhatsApp steps.
  • WhatsApp day to day — sending, replies and receipts.
  • Broadcast messages to your members.
  • Form notifications and follow-up tasks.
  • Giving statements.

Troubleshooting

  • Test email fails — check the host and port, and whether your provider needs an app password.
  • Mail sends but lands in spam — set up SPF and DKIM for your domain.
  • Push doesn't arrive — check the member allowed notifications on their device; the app has a Send test notification button.
  • SMS rejected — usually the from number isn't approved for the destination country on your provider account.