Connect WhatsApp, Cloud API or outbox only

VahiWise sends invoices, reminders, statements and payslips on WhatsApp through Meta's Cloud API, using templates Meta has approved. This guide shows the account form, the template names, and the outbox choice that sends nothing.

Applies to VahiWise 0.2.0Last updated 23-11-2026Accountantabout 15 minutes

Step-by-step guide

Before you start

  • Your company is open and you are signed in as an owner.
  • For a real connection you need a WhatsApp Business account at Meta, a Phone number ID and an access token from Meta for Developers. This guide does not connect one.
  • A business can start a WhatsApp chat only with a template Meta has approved. You make the templates in WhatsApp Manager, then give VahiWise their names.
  • The phone number ID used here, 100000000000000, is made up and is never saved.

Steps

1. Open WhatsApp, then Account & templates

In the left menu open Connect, then WhatsApp (marked 1). Along the top there are seven buttons: Send, Campaigns, Inbox, Documents, Account & templates, Meta: templates & profile, and Log & delivery. Press Account & templates (marked 2).

Until an account is saved, a line beside the buttons says "Not set up yet".

The WhatsApp page with the menu item marked 1 and Account & templates marked 2.
Sample data. The menu item is marked 1 and Account & templates is marked 2.

2. Read the Cloud API fields

In the box How (marked 1) the first choice is Meta's WhatsApp Cloud API. It asks for the Phone number ID (marked 2), which is the ID Meta shows under API Setup and not the phone number itself. The Business Account ID is optional. The API version (marked 3) is filled in as v23.0. The Access token (marked 4) is a password box: VahiWise keeps it encrypted and does not show it again. A system user's permanent token does not expire.

A last box, App secret (for receipts), is for delivery receipts and replies. The text under the form says that while the app is in development at Meta, messages reach only numbers on its allowed list, and shows the address requests go to.

The Cloud API fields with How marked 1, Phone number ID 2, API version 3 and Access token 4.
Sample data. How is marked 1, the phone number ID is 2, the API version is 3 and the token box is 4. The values are made up and were not saved.

3. Name your templates

Under Templates the table lists what each message is for: Invoices, Payment reminders, Payslips and Statements of account. For each, the last column gives the body to create in WhatsApp Manager, with its numbered variables in order, such as party, amount and due date.

In WhatsApp Manager, create each template with category Utility and a Document header, and that body. Then type its name (marked 1) and language (marked 2) into the table. The body to copy is marked 3. The sample uses made-up names such as invoice_doc and language en.

The template table with the name marked 1, the language marked 2 and the body marked 3.
Sample data. Template name is marked 1, language is marked 2 and the body is marked 3.

4. Choose Outbox only to try it safely

Scroll back up. In How choose Outbox only (don't send) (marked 1). The Cloud API boxes go away. The note (marked 2) says messages are kept as files, with the request WhatsApp would get and the PDF, and that nothing leaves this computer.

Use this to run the whole of Send reminders and documents by WhatsApp, and read the log and look at every preview before a real account is connected.

The How box set to Outbox only, with the note marked 1 and 2.
Sample data. The choice is marked 1 and the note is marked 2.

5. Press Save

Press Save at the foot of the templates. A green message says "Saved." (marked 1).

The Saved message marked 1.
Sample data. The message is marked 1.

6. Check the status line

The line beside the buttons now starts with Outbox and says messages are kept here, not sent (marked 1). With the Cloud API it would name the phone number ID instead.

The status line marked 1.
Sample data. The status line is marked 1.

Check it worked

  • The green message "Saved."
  • The line beside the buttons no longer says "Not set up yet".
  • With the outbox, the line says messages are kept here, not sent. With the Cloud API, it names the phone number ID.
  • On the Send button, the Send on WhatsApp card now works (see Send reminders and documents by WhatsApp, and read the log).

If something looks wrong

The line says "Not set up yet"

Nothing is saved for this company. Open Account & templates and press Save.

Send Meta's hello_world test is greyed out

It needs a saved account and a number in the box beside it, written like +91 98765 43210. It was not pressed here.

The Meta: templates & profile buttons are greyed out

The Sync and Load buttons need the Cloud API account with its token. With the outbox they stay off. WhatsApp message templates and the business profile covers them.

Next step

Send reminders and documents by WhatsApp, and read the log: see Send reminders and documents by WhatsApp, and read the log.

Could not verify

  • A real Cloud API account was not saved. No token was entered, so the status line with a phone number ID was not seen.
  • Send Meta's hello_world test was not pressed.
  • The webhook for receipts and replies (callback address, verify token, app secret) was not set up and its hint text did not appear on the screen in this run.
  • The "greyed out" cases for the hello_world test and the Meta buttons come from the screen's source and the screen's text.
  • Saving as a user who is not an owner was not tried.

Notices

Questions about this guide: write to us from the contact page. What the notices mean: notices.