Text messaging setup
A one-off setup that lets BetterQ text your customers. Open a Vonage account, copy two values into BetterQ, and check it works before you rely on it.
Before you start
This page is for whoever administers BetterQ. You only need to do it once. Text messaging is optional — every other part of BetterQ works without it — but until it is set up, no customer is ever texted.
BetterQ sends its text messages through Vonage, a messaging company. The account is yours, not BetterQ’s: you open it, you top it up, and you pay for the messages sent from it. What you are doing on this page is telling BetterQ which account to send from.
By the end you will have two values to paste into BetterQ: an API key and an API secret.
What text messaging is used for
- Sending a customer their token number when they take one — see Getting a token.
- Confirming an appointment when one is booked — see Booking an appointment.
- Inviting a customer to rate their visit afterwards — see Service review.
Step 1 — Open a Vonage account
Skip this step if your organisation already has a Vonage account and you can sign in to it.
Step 2 — Copy your API key
The API key names your Vonage account. On its own it is not a password, but it is half of what BetterQ needs.
Step 3 — Create an API secret
The API secret is the password that goes with the key. Vonage will not show you an existing secret again, so the way to get one you can actually use is to create a new one.
Step 4 — Paste the values into BetterQ
In BetterQ, select your name at the bottom of the menu on the left and choose App Settings. A window opens over the screen you were on; choose SMS Delivery in the list down its left. The section is headed SMS delivery — “Required for SMS token delivery and service review messages.” — with a Read the setup guide button that opens this page, and a Save changes button. The card below begins SMS Provider: Vonage. Fill in the boxes with what you collected:
The marker in the top-right corner of the card turns from Not connected to Connected as soon as both boxes hold something — but nothing is kept until you choose Save changes. The message Organisation settings saved. Changes apply across every queue. confirms it. Close the window with the ×, the Esc key or by clicking outside it; anything you haven’t saved is lost.
Step 5 — Turn texting on for each queue
Saving the two values makes texting possible. It does not switch it on. Each queue decides for itself whether its own customers are texted, so a brand-new setup still sends nothing until you say which queues should use it.
A Service Hub has a switch of its own, which takes over from the queue’s setting for as long as a customer is going through that hub.
Step 6 — Check it worked
You don’t have to guess. In the SMS Delivery section, below the boxes you filled in, there is an SMS credit figure and a Check now button. Choosing it asks Vonage for the credit left on the account using the details you saved — so if a number comes back, the key and the secret are right.
| What you see | What it means |
|---|---|
| A number, with the date and time it was checked | The setup works. BetterQ reached Vonage and Vonage accepted your key and secret. |
| Save your API key and secret first, then check the credit | Nothing is saved yet, or you changed something on screen and haven’t saved it. The credit is always read using the saved details, never what is typed but not yet saved. Choose Save changes, then check again. |
| Could not read the credit. Check the saved key and secret, then try again. | Vonage refused the saved details, or could not be reached. Almost always the secret: it was mistyped, or it belongs to a different API key. Create a fresh secret (step 3), save it, and check again. |
| Not checked yet., with a dash in place of the figure | No reading has been taken since this was set up. Choose Check now to take one. |
| The figure is shown in red with Credit is running low. Top up your Vonage account, or customers will stop receiving text messages. | The credit is below 2. Top up the Vonage account — see Keeping the account in credit. |
For the last check, take a real token on a queue you turned on in step 5, using a mobile number you can look at, and confirm the message arrives.
Keeping the account in credit
When the credit runs out, every text stops at the same moment while the rest of BetterQ carries on as normal. Customers still get their tokens and their appointments — they simply have to read the number off the screen instead of receiving it. So that this never happens unnoticed, BetterQ keeps an eye on the account for you.
The remaining credit is shown in the SMS Delivery section with the date and time it was last read. BetterQ reads it again on its own every three hours, and Check now reads it there and then.
When the credit falls below 2, BetterQ emails your main administrator asking for the account to be topped up. You get one of these a day at most while the credit stays low, and the count starts again at midnight. There is nothing to configure for it.
A separate alert warns you when messages are actually failing rather than merely about to. See System configuration for that one and how many failures in a day trigger it.
If something isn’t working
| What’s happening | What to check |
|---|---|
| The SMS Delivery section still says Not connected | One of the two boxes is empty. Both an API key and an API secret have to be on file before BetterQ treats the account as usable. |
| The section says Connected but no customer is texted | The queue’s SMS to customers switch is off — see step 5. Check every queue you expected to text from, as the switch is set one queue at a time. |
| Texts were arriving and have suddenly stopped | Almost always the account has run out of credit. Choose Check now and top the account up on the Vonage dashboard. Nothing in BetterQ needs setting up again afterwards. |
| A customer says the sender name is wrong or unfamiliar | The From name box is blank, so BetterQ used your organisation’s name shortened to 11 characters. Set From name to something you would recognise as a customer. |
| You want to replace the API secret | Create a new one on the Vonage dashboard (step 3) and type it into the API secret box. Leaving the box blank keeps the old secret — clearing it is not how you replace it. |
| You want to stop texting altogether | Clear the API key box and choose Save changes. The section returns to Not connected and every text stops. Nothing is deleted on the Vonage side, so pasting the key back later brings texting straight back. |
| One particular number never receives anything | BetterQ hands the message to Vonage and reports whether Vonage accepted it. What happens after that is between Vonage and the mobile network. The Logs section of the Vonage dashboard shows what became of each individual message. |
| You’ve lost the API secret and cannot find it anywhere | It cannot be recovered, from Vonage or from BetterQ — BetterQ never shows a saved secret back either. Create a new secret and save that instead. It takes a minute and breaks nothing. |

