Generate Ad JSON to create a contextual entry into your chatbot via click-to-Messenger advertising. When the user clicks the ad, they are taken to Messenger to talk to your chatbot. The chatbot immediately starts the conversation by sending them the conversation and passage you specify.
You can also generate a custom entry point URL.
For more information on click-to-Messenger ads, see the Facebook developer documentation.
To generate Ad JSON:
- Open the team and chatbot you want to edit.
- Click Manage.
- Click Integrations.
- Open your chatbot's Facebook Messenger channel.
If your chatbot does not have a Facebook Messenger channel configured, click + Integration and click Facebook Messenger. You do not have to configure Facebook Messenger to generate the Ad JSON.
- Click Generate Ad JSON.
- Select the Conversation and Passage you want the chatbot to send the user when they click the ad.
The Ad JSON is automatically generated.
- Click the JSON Format field to copy the Ad JSON.
Article is closed for comments.