Before you start
- The chatbot owner is on the Growth plan or above. See Plans and limits.
- You have the Manager, Admin, or Super Admin role on the chatbot.
- You are an admin of the Facebook Page.
- You have a Meta developer account at developers.facebook.com.
- Your chatbot is not in a HIPAA workspace. Integrations are not available there. See HIPAA.
Connect Messenger
You work in two places: SiteGPT and your Meta app. Keep both open. SiteGPT shows the callback URL for Meta only after you paste a Page access token. So you connect your Page and copy its token in Meta first, and add the webhook in Meta after that.Create a Meta app
pages_messaging. You do not need to add other permissions for SiteGPT.Open the Messenger settings of the use case
Connect your Page
Copy the Page access token
Open the Messenger card in SiteGPT
Connect in SiteGPT
Add the callback URL in Meta
Add the subscriptions
- messages
- messaging_postbacks
- message_echoes
Check that it works
- In Messenger, start a conversation with your Facebook Page. Use a Facebook account that has a role on your Meta app, for example your own admin account.
- Send a question. The chatbot replies with an answer from your content.
Make the chatbot answer everyone
Until Meta reviews your app, the chatbot can only reply to people who have a role on your Meta app (administrator, developer, or tester). You can test everything with these accounts. To let everyone on Messenger chat with the chatbot:- Request the
pages_messagingpermission in Meta’s App Review. Start the request from the Complete App Review section of the use case, or go to Review > App Review in the menu on the left. - When Meta approves it, publish the app. Select Publish in the menu on the left.
Reply later than 24 hours (optional)
Meta accepts a normal reply only within its messaging window, which is 24 hours after the person’s last message in most cases. A person on your team can reply for up to 7 days with Meta’s Human Agent tag. Your Meta app needs Meta’s approval for Human Agent. Request it from Meta in App Review. If your team always replies within 24 hours, you do not need it. See Reply from the dashboard and Meta’s Send a message.How it works in Messenger
The bot answers first
The chatbot answers each message from your content. Answers show quick replies for your follow-up suggestions, links, and escalation, and 👍 and 👎 feedback. If you have no follow-up suggestions, the quick replies show your conversation starters. When human support is on, answers that use your content show your Positive Feedback Prompt and Request Human Support Prompt quick replies instead of follow-up suggestions and conversation starters. The feedback quick replies do not show if you hide feedback buttons. When Meta verifies your callback URL, SiteGPT adds a Get Started button to your Page in Messenger. When a person taps it, the chatbot sends your welcome message with a Continue Conversation button. If you set new conversations to start in human mode, the chatbot does not answer. One exception: outside your working hours, with Your team answers later, the chatbot sends your away message one time. If the conversation starts with Get Started, the away message comes after your welcome message. See Set up human support. Messenger does not ask the question of Let the Visitor Choose. With that option, new conversations start with the AI.Hand-off to your team
A conversation goes to your team when:- Someone on your team replies or takes over in Chat History. See Reply from the dashboard.
- Someone on your team replies from the Page inbox (for example in Meta Business Suite). SiteGPT shows the reply in the conversation, and the chatbot stops replying there.
- The person taps an escalation quick reply. These come from follow-up suggestions of the Escalate type, or from the Request Human Support Prompt when human support is on. See Follow-up suggestions.
- The chatbot decides that the person needs a human. This needs human support to be on. See Set up human support.
Reply from the dashboard
Replies that you send from Chat History go to the person in Messenger. They come from your Facebook Page. SiteGPT does not also email your reply to the person. When you reply, the conversation switches to human mode, and the chatbot stops answering it. A reply alone does not lock the conversation: the person can still choose Restart The conversation to get the chatbot back. To prevent that, select Take over the chat before you reply. See Reply to visitors and take over conversations. Meta limits when a Page can reply:- Within 24 hours of the person’s last message: the reply is delivered. For a few cases, such as a conversation that started from a Click-to-Messenger ad, Meta allows longer.
- After that, for up to 7 days: SiteGPT sends the reply again with Meta’s Human Agent tag. Meta delivers it only if your Meta app has Meta’s approval for Human Agent. See Reply later than 24 hours.
- Later than that: the reply is not delivered.
reply_to_conversation MCP tool also go to Messenger, the same way. See API conventions and MCP tools.
You can still reply from the Page inbox. SiteGPT shows those replies in the conversation, and they stop the chatbot as well. This needs the message_echoes subscription.
Getting the chatbot back
- Select Release to AI in the dashboard. The chatbot answers the person’s next message in the same conversation.
- Resolve the conversation in the dashboard. The person’s next message starts a new conversation.
- The person can open the Messenger menu and choose Restart The conversation. The chatbot answers again. This menu item shows only for people who tapped Get Started.
- Restart The conversation does not work if a team member selected Take over the chat in the SiteGPT dashboard, or if the conversation is resolved in SiteGPT.
Messages without text
The chatbot ignores messages that have no text, for example a photo or a sticker.Check webhook calls (optional)
You can make SiteGPT check that calls really come from Meta.Find the Messenger row
Add the app secret
Turn on the check
- Off: SiteGPT does not check calls. This is the setting after you connect.
- Log only: SiteGPT checks calls but still accepts calls that fail.
- Enforce: SiteGPT rejects calls that fail the check. You must add the credential first.
Disconnect Messenger
Open the integration
Disconnect
Troubleshooting
The chatbot does not reply
The chatbot does not reply
- Check the Page access token in SiteGPT. To change it, disconnect and connect again with the new token. You get a new Callback URL and Verify token. Add them to your Meta app again.
- Check that the callback URL and verify token in Meta match the values in SiteGPT.
- Check that the subscriptions are on for your Page.
- Check that the chatbot owner’s subscription is active. See Billing.
Only some people get replies
Only some people get replies
pages_messaging approved in App Review and publish the app. See Make the chatbot answer everyone.A reply from the dashboard did not reach the person
A reply from the dashboard did not reach the person
The chatbot keeps answering after your team replies
The chatbot keeps answering after your team replies
The chatbot stopped answering after you set Enforce
The chatbot stopped answering after you set Enforce