2) Module's Configuration
Last updated
Last updated
Follow the steps below to finalize the connection of the app you created in step 1) with Perfex CRM, allowing it to send and receive WhatsApp messages directly from your CRM interface.
Get Your Business ID and Access Token Youβll find your Business ID in Meta Business Manager and create a long-lasting Access Token from the Developer Dashboard (you created them previously, following 1a guide).
Paste your credentials (created from the first step of this guide) into the CRM settings:
π± Business ID
π Access Token
π Meta App ID
π‘οΈ App Secret
π Webhook Token (you defined this during Meta's App creation)
Click βSave Settingsβ to store the values safely in Perfex CRM.
Click βConnectβ This will verify your credentials and automatically fetch your WhatsApp Business Account ID, phone numbers, and current webhook status.
β Confirms your access token is valid
π¦ Loads your WABA and linked phone numbers
Register Webhooks (Optional) If you've entered your App ID and App Secret, click βRegister Webhookβ to start receiving real-time WhatsApp messages in your CRM.
π Enables incoming message notifications
π₯ Delivers read receipts, status updates, and more
Notes:
If your Meta App ID and App Secret are provided, the webhook will be registered automatically via Metaβs API. If not, you can register it manually in the Meta Developer Console.
Your Access Token must come from a System User with the correct permissions: whatsapp_business_management
and webhooks
.
π’ What the Buttons Do
Save Settings β Stores your credentials in Perfex CRM securely.
Connect β Validates your access token and fetches WABA and phone info.
Disconnect β Deletes all saved Meta credentials and disables the sync.
Use a long-lived token (valid for 60 days or more).
Make sure your Webhook URL and Webhook Token match exactly in Meta Developer settings.
Click Connect after saving to verify everything is working.
Keep your App Secret and Access Token safe. Never share them or expose them to users.
At the end of a successful connection, you will see a screen similar to this:
π
π
π
π