The MeetAssist chatbot is integrated with Facebook Messenger, allowing users to interact naturally to book, update, or cancel appointments.


demo) and App Contact Email → Click “Next”





https://www.freeprivacypolicy.com/live/e7193dae-4bba-4482-876e-7b76d83a0676

Run the following AWS CLI commands to securely store your Facebook credentials:
# Facebook App ID
aws ssm put-parameter `
--name "/meetassist/facebook/app_id" `
--value "YOUR_FACEBOOK_APP_ID" `
--type "String" `
--description "Facebook App ID for MeetAssist" `
--region ap-northeast-1
# Facebook App Secret
aws ssm put-parameter `
--name "/meetassist/facebook/app_secret" `
--value "YOUR_FACEBOOK_APP_SECRET" `
--type "String" `
--description "Facebook App Secret for MeetAssist" `
--region ap-northeast-1
# Facebook Page Access Token (get this from step 4 below)
aws secretsmanager create-secret `
--name "meetassist/facebook/page_token" `
--description "Facebook Page Access Token for MeetAssist" `
--secret-string "YOUR_FACEBOOK_PAGE_ACCESS_TOKEN" `
--region ap-northeast-1
# Facebook Verify Token (create a random string, e.g., "my_secure_token_12345")
aws secretsmanager create-secret `
--name "/meetassist/facebook/verify_token" `
--description "Facebook Webhook Verify Token for MeetAssist" `
--secret-string "YOUR_CUSTOM_VERIFY_TOKEN_123456" `
--region ap-northeast-1
Replace YOUR_FACEBOOK_APP_ID, YOUR_FACEBOOK_APP_SECRET, YOUR_FACEBOOK_PAGE_ACCESS_TOKEN, and YOUR_CUSTOM_VERIFY_TOKEN_123456 with your actual values.



aws secretsmanager create-secret command aboveoutputs.json file (generated after CDK deployment)https://<your-api-gateway-url>/webhook (from outputs.json)YOUR_CUSTOM_VERIFY_TOKEN_123456)
messagesmessaging_postbacksmessaging_account_linking
(This step is automatically handled when you connect the page in Step 4, so you can skip this if already done)
After deployment, the chatbot automatically configures:
To manually update if needed:
# Set Get Started Button
curl -X POST "https://graph.facebook.com/v18.0/me/messenger_profile?access_token=<PAGE_ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"get_started": {"payload": "GET_STARTED"}
}'
# Set Greeting Text
curl -X POST "https://graph.facebook.com/v18.0/me/messenger_profile?access_token=<PAGE_ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"greeting": [
{
"locale": "default",
"text": "Xin chào! Mình là MeetAssist, trợ lý đặt lịch hẹn tư vấn hướng nghiệp. Hãy nhấn \"Bắt đầu\" để sử dụng dịch vụ! 👋"
}
]
}'
Development Mode: Your app is currently in development mode. Only you (the app developer) and testers you add can interact with the bot.
Public Access: To allow other users to use your bot, go to your app dashboard and switch the app to “Live Mode” by selecting “Post”

App Review: For full features and permissions, you must complete Facebook’s App Review process. For testing purposes only, App Review is not required.
Test your bot by:

If everything is configured correctly, the bot should respond to your messages!