Tutorial10 min read · Core plan and above
How to Connect Appalix to Facebook Messenger
Automatically respond to every customer message on your Facebook Page with your AI bot. Once configured, Appalix intercepts every incoming Messenger message and replies within seconds — no manual monitoring needed.
What you'll need
- An Appalix account on Core plan or above
- A Facebook Page (must be a Page, not a personal profile)
- A Meta Developer account — free at developers.facebook.com
- Admin access to the Facebook Page
Step 1 — Create a Facebook Messenger integration in Appalix
- Go to Integrations → Add integration and choose Facebook Messenger.
- Name the integration and select a bot. Leave the token fields empty for now — you'll fill them in after creating the Meta app.
- Click Create integration, then open the setup page and note the webhook endpoint URL:
https://api.appalix.ai/webhooks/facebook/{your-integration-id}
Step 2 — Create a Meta app
- Go to developers.facebook.com/apps and click Create App.
- Choose Business as the app type. Enter a name and contact email.
- On the app dashboard, find Messenger and click Set up.
Step 3 — Generate a Page Access Token
- In the Messenger settings, under Access Tokens, click Add or Remove Pages and connect your Facebook Page.
- Click Generate Token next to your page. Copy the token — it's long and starts with
EAAB.
Step 4 — Set up the webhook
- In Messenger settings, scroll to Webhooks and click Add Callback URL.
- Paste your Appalix webhook URL in Callback URL.
- In Verify Token, enter the verify token from your Appalix integration config (found in the edit page). Appalix will respond to the verification challenge automatically.
- Click Verify and Save.
- Under Webhook Fields, subscribe to
messagesandmessaging_postbacks. - Click Subscribe next to your Page.
Step 5 — Save credentials in Appalix
- In Appalix, click Edit on the Facebook Messenger integration.
- Paste the Page Access Token from Step 3.
- Copy the App Secret from your Meta app's Basic Settings and paste it too.
- Click Save changes.
Step 6 — Test it
- Open your Facebook Page and click Send Message.
- Send a test message — the bot should reply within a few seconds.
- Check Conversations in Appalix — the message will appear with platform Facebook Messenger.
Note: while the Meta app is in Development mode, only Page admins and app testers can send messages to it. Submit the app for review to make it available to everyone.
Tips & best practices
- Enable lead capture — Appalix detects emails and phone numbers in Messenger conversations and pushes them to your CRM automatically.
- App review — for production use (non-admin users), you'll need to submit your Meta app for review and get the
pages_messagingpermission approved. - 24-hour rule — Meta's Messenger policy requires a human response within 24 hours for some message types. Configure human handoff in Appalix to ensure compliance.
💬
Connect your bot to Facebook Messenger
Create a Messenger integration in Appalix, set up your Meta app, and your bot will be replying to customers automatically.
Go to Integrations →