Instagram and WhatsApp integrations via Meta
Step-by-step connection of Instagram Direct and WhatsApp to the contact center: access token, App Secret, Phone number ID, verify token, webhook and templates.
For roles:OwnerManager
Screen overview in words
What this page covers: What you need from Meta · Instagram card fields · WhatsApp card fields · Webhook and verify token · The 24-hour window and templates
Instagram and WhatsApp both belong to Meta, so they connect in a similar way. Almost all the difficulty waits for you in the Meta account, and the CRM only accepts the finished data. It is best to ask right away for help from the person who has access to the club's business accounts.
In Meta you need three things. The club's business portfolio, an app of the "Business" type, and an account: a professional one in Instagram, or a verified number in WhatsApp. From that account you take the access token and the App Secret, which is the app's secret key.
In the CRM you open "Connecting to messengers" and fill in the card. For Instagram that is the token, the App Secret and, if needed, the account ID and the Graph API host. For WhatsApp you add the Phone number ID, and also the WhatsApp Business Account ID, which is needed to subscribe the app to events.
After you connect, the CRM shows a verify token. This is a password that you paste into the webhook settings of the Meta app, together with the address of your server. There is a "Copy" button beside it. Then in the CRM you click "Set up webhook".
Now the rules of the game. You can answer a client within twenty-four hours after their message. After that, only approved templates work in WhatsApp: in the conversation there is a "WhatsApp template" button. Next to outgoing messages you see the delivery status, and a failure is marked in red.
One last thing. While the Meta app is in development mode, messages arrive only from people added to it. To serve all clients, you must switch it to live mode.
On this page
/settings/integrationsWho this is for: the owner or a technical administrator together with a person who has access to the club's Meta business accounts; later, the operator who answers clients in the "Chats" section.
Why this screen exists
The Instagram and WhatsApp cards connect the Direct inbox of your Instagram account and your WhatsApp number to the contact center. A client writes to the club in a familiar messenger, and the operator answers from the "Chats" section. The connection needs data from the Meta account, so go through the steps in order.
Without the connection, Instagram and WhatsApp messages do not reach the operators. After it is connected, a new person first appears as a guest contact. And if the number a WhatsApp message comes from belongs to exactly one client, the conversation goes straight into that client's card.

WhatsApp needs an access token, App Secret, Phone number ID and WhatsApp Business Account ID from the Meta dashboard; Instagram needs a long-lived token, App Secret and account ID. The Verify token is pasted into the Meta webhook settings.
- 1WhatsApp card: token, App Secret, Phone number ID, WhatsApp Business Account ID
- 2Instagram card: access token, App Secret, account ID
What is on the screen
Instagram card
- Access token («Токен доступу») and Meta app App Secret («App Secret застосунку Meta»)
- Account ID («ID акаунта») and Graph API host («Хост Graph API»)
- Verify token, read-only, with a copy button
WhatsApp card
- Access token, App Secret
- Phone number ID and WhatsApp Business Account ID
- Default template language («Мова шаблонів за замовчуванням»), Verify token
Channel controls
- Status: Connected («Підключено»), Disabled («Вимкнено»), Not configured («Не налаштовано»)
- Buttons Connect («Підключити»), Deactivate («Деактивувати»), Set up webhook («Налаштувати вебхук»)
What to prepare in Meta
- Create the club's business portfolio (or choose an existing one) at business.facebook.com and complete business verification.
- At developers.facebook.com create an app of the "Business" type. In its settings find the App secret: the CRM will need it.
- For Instagram you need a professional account (business or creator) with permission to access messages. Obtain a long-lived access token.
- For WhatsApp, connect and verify the club's number, which must not be used in regular WhatsApp. Create a system user and a permanent token, note the Phone number ID and the WABA ID (WhatsApp Business Account ID), and add a payment method.
Actions on the screen
How to connect a channel in the CRM
- In the Instagram or WhatsApp card, paste the Access token and the Meta app App Secret. Fields marked with an asterisk are required.
- For Instagram, enter the Account ID and the Graph API host if needed. For WhatsApp, the Phone number ID is required, and so is the WhatsApp Business Account ID.
- Click Connect. "Channel connected" («Канал підключено») appears, the App Secret field shows "Saved", and the Verify token field is filled in.
How to set up the webhook
A webhook is the address on your server to which Meta sends every new client message.
- Copy the Verify token with the copy button. The message "Verify token copied" («Verify token скопійовано») appears.
- In the webhook settings of the Meta app, enter the address of your server ending in /api/bot/instagram/webhook or /api/bot/whatsapp/webhook and paste the verify token. Subscribe to the messages field.
- Go back to the CRM and click Set up webhook. The result or the error text appears under the button.
For WhatsApp the button works only when the WhatsApp Business Account ID is filled in.
How to update a token or a secret
Leave the field empty to keep the stored value. Enter a new token or App Secret only when it has really been replaced. The system never shows the App Secret; next to it there is a badge Saved («Збережено») or Not set («Не задано»).
How replying to clients works
| Channel | Within 24 hours of the client's message | Later |
|---|---|---|
| A regular reply | Only an approved template, the "WhatsApp template" button in the conversation | |
| A regular reply | The system will not send the message and shows an explanation above the input field |
Next to an outgoing message you see its status: one tick (sent), two (delivered), two brighter ones (read), or a red "Not delivered" mark with the reason. Templates are created in WhatsApp Manager and you wait for their approval; the CRM does not show a list of templates, the operator types the template name.
Typical situations
Clients write but no messages arrive
Check that the channel is connected and active, that the webhook is confirmed in Meta, and that the app has been switched from development mode to live mode.
"24 hours have passed" in WhatsApp
Send an approved template or contact the client through another channel. As soon as the client replies, the window opens again for 24 hours.
"Not delivered" next to a reply
Hover over the mark: the reason from Meta is there. Most often the number does not use WhatsApp, 24 hours have passed, the template is not approved, or the token has expired.
When the system refuses
The system answers: «Для каналу whatsapp обовʼязковий App Secret застосунку Meta»
The App Secret of the Meta app is required for the WhatsApp channel. Without it the signature of Meta messages cannot be checked, so the channel is not created. Paste the secret from the Meta app settings.
The system answers: «Верифікацію вебхука не пройдено»
Webhook verification failed: the verify token in Meta does not match the one the CRM shows. Copy it again and paste it without spaces.
The system answers: «Невірний підпис вебхука»
The webhook signature is invalid: the Meta message failed the signature check. Make sure the CRM holds the correct App Secret of this exact app.
The system answers: «Інтеграція для каналу instagram вже існує. Використайте оновлення»
An integration for the Instagram channel already exists, so use update instead of creating a new one. The channel is already connected. Refresh the page and edit the existing card.
The system answers: «Для каналу ... реєстрація webhook не підтримується»
Webhook registration is not supported for this channel. It is not available here. For Telegram and Viber, use "Reinstall webhook" («Перевстановити вебхук»).
Who can see and do what
| Role | View | Actions |
|---|---|---|
| Owner | Both cards | Connects, changes, sets up the webhook |
| Manager | With the "Integrations" permission | Creating and changing depend on the permission |
| Operator | Conversations in "Chats" | Replies, sends WhatsApp templates |
Check on a live account
The channels were built following the official Meta documentation. Before launch, test them on the club's real account: a test message in both directions, a photo, a document and a template.
Did it not work? Write to support on Telegram or leave a request using the form at the bottom of the page.
Frequently asked questions
Where do I get the App Secret?
In the Meta developer account: in the app settings, the Basic section, the App secret field. The CRM stores it encrypted.
Why do I need a verify token?
It is a subscription password. You paste it into the webhook settings in Meta, and the CRM confirms the address only if the token matches.
Why do messages arrive from only a few people?
While the Meta app is in development mode, messages arrive only from people added to it. To serve all clients, switch the app to live mode.
What should I do after 24 hours in WhatsApp?
Send an approved template with the "WhatsApp template" button in the conversation. A regular reply is available only within the window.
Which location do the conversations go to?
All Instagram and WhatsApp conversations go to the location from the integration settings, and if none is set, to the club's first location.
Keep reading
- Connecting messengers: Telegram and Viber
- Chats: conversations from messengers and the website
- Rules editor: groups, search and multilingual texts
- CRM settings and integrations: rules, roles, importGYMS-CRM settings: hundreds of business rules with no programmer, roles, locations, translations, agreements, payment, fiscal receipts, import. See the screens.
- Gym access control: QR code, card or turnstile comparedHow to set up entry to a fitness club: QR code and club card, membership checks, turnstiles via an agent, anti-passback, debts and manual passes for guests.
- CRM data security for clubs: roles, login, backupsA security guide for club CRMs: least-privilege roles, two-step login, offboarding staff, the activity log, IP blocking and backups, with a practical checklist.
- Moving from Excel to a CRM: preparing and importing clientsHow to move from Excel or another system to a CRM without losing data: cleaning, duplicates, memberships and balances, a trial import, checks and launch.