All Integrations
Facebook Messenger Integration
Deploy your AI agent on Facebook Messenger. Reach customers where they already are with instant, intelligent responses.
How it works with Messenger
Three steps to launch your AI bot on Messenger.
Facebook App Setup
Facebook app created
Page connected
Messenger API enabled
What you get
Intelligent customer support on Facebook Messenger.
Instant Replies
Respond to customer messages instantly, 24/7, with AI-powered answers from your knowledge base.
Source Citations
Every answer includes a citation back to the source document so customers know where the info came from.
Conversation Logging
Every Messenger conversation is recorded in the InfoLens dashboard with full transcript and metadata.
Customer Insights
Track conversation analytics and common questions directly in InfoLens.
Quick setup
Customize Messenger handling with the Python SDK.
messenger.py
# Messenger with InfoLens SDK
# Webhook URL to set in Meta Dashboard:
# https://api.infolens.ai/v1/webhooks/messenger/{integration_id}
from infolens_rag import InfoLensClient
client = InfoLensClient(api_key='pk_live_...')
response = client.agents.chat(
api_key='pk_live_...',
message=incoming_message
)
# Send response['answer'] back to Messenger API