PPingloopDocs
Install channels

Facebook Messenger

1. Create a Meta app

In developers.facebook.com create an app of type Business and add the Messenger product.

2. Configure the webhook

FieldValue
Callback URLhttps://api.yourdomain.com/webhooks/meta
Verify tokenthe value of META_WEBHOOK_VERIFY_TOKEN
Subscriptionsmessages, messaging_postbacks, messaging_referrals, message_reads

3. Connect the page in Pingloop

Go to Channels → Connect → Messenger, paste the Page ID and a long-lived Page access token. Pingloop encrypts the token with AES-256-GCM.

4. Test

Send a message to the page. It appears in the inbox within a second, a contact is created, a ticket is auto-created, and the AI agent (if active) answers.

Ad clicks with a ref parameter arrive as referral events. Build a Flow with an Ad referral trigger to greet the customer with a product carousel.