A Button sends a short text message with one or more buttons the user can press. Buttons can:
- Start another passage.
- Open an external website.
- Open a your mobile app.
- Open a webview within the chat platform.
- Call a phone number.
- Send an email.
Buttons can also perform actions when a user presses them, such as storing data, scheduling event notifications and running scripts.
- Click Button to add a button to the passage.
- Click the text in the text bubble or the button to edit the text directly.
A button can have a maximum of 20 characters. - Type @ to add the placeholder chip for a variable or constant.
- Drag the handles on the left to re-order the passage content.
- Click the delete icon next to the button bubble to delete the button message.
- Click the button and click Remove to delete one button from the button message.
Button messages must have at least one button. The Remove option is only displayed if your button message has more than one button.
All message types have a default maximum length. If you use a placeholder chip and the value of the placeholder makes the total length of the message longer than the limit, the message is truncated to the limit. The default length for button titles is 20 characters, and 640 characters for button template text. The following channels use different limits:
- Google Business Messages: 25 characters for button titles, 2000 characters for button template text
- Smooch v2: 128 characters for button titles, 4096 characters for button template text
- Zendesk: 100 characters for button titles, 1000 characters for button template text
- Khoros:
- Google Business Manager subchannel: 3072 characters for button template text
- Subchannels other than Google Business Manager, Meta Messenger, and Brand Messenger: 128 characters for button titles, 4096 characters for button template text.
Configuring a button to start a passage
To configure the button to start another passage:
- Click the button and click Config.
- Select the Start Passage Button Type.
- Select the Conversation that contains the passage you want to go to.
- Select the Passage to go to, or create a new passage in that conversation.
A preview of the passage is displayed. Disabled passages are shown in red. You can also open the passage in a new tab. - Click Save.
If you select Create New Passage, the new passage is created with the title of the button label when you save the passage you are editing.
Configuring a button to open a web page
Buttons can open external websites, such as a store page, an external single-page app, or your organisation's webpage. The webpage is opened within the chat channel the user is using.
To configure a button to open a web page:
- Click the button and click Config.
- Select the Open Website Button Type.
- Type the Website URL of the website to open.
- Select the Webview Height the chat platform should use to display the web page.
- If this web page is a custom webview that uses Meta Messenger Extensions, turn Enable Meta Messenger Extensions on.
- If you don't want to track clicks to this web page for analytics, turn off Track Link Clicks.
- Click Save.
Configuring a button to open your mobile app
Buttons can deeplink into your mobile app if the chatbot user is chatting via the Meta Messenger channel on their mobile device. If the user does not have your app installed on their device, you can use the deeplink to direct them to the app's page on the appropriate app store to download it.
You'll need to configure your apps to receive the deeplinks. For more information on configuring deeplinks to your mobile apps, see the Facebook Developer Documentation on app links.
To configure a button to open your mobile app:
- Click the button and click Config.
- Select the Open Website Button Type.
- Type the Website URL of the website to open.
- Select the Webview Height the chat platform should use to display the web page.
- Click Enable Meta Messenger App Links.
- In the iOS URL field, paste the URL that corresponds to your iOS app deeplink.
- In the Android Package field, paste the URL where your android package is stored.
- In the Android URL, paste the URL that corresponds to your android app deeplink.
- Click Save.
Configuring a button to open a webview
Buttons can open webviews you have created in the inGenious AI platform. These webviews can streamline actions that might be tedious or difficult to manage via text alone, such as choosing an appointment time. The webview is opened within the chat platform the user is using.
You must have created the webview in the inGenious AI platform to configure a button to open it. For more information on creating webviews, see Create a webview.
To configure a button to open a webview:
- Click the button and click Config.
- Select the Open Webview Button Type.
- Select the Conversation and the Passage to start after the user has finished viewing the webview.
- Select the Webview Height the chat platform should use to display the webview.
- Click Save.
Configuring a button to call a phone number
To configure the button to call a phone number:
- Click the button and click Config.
- Select the Call Phone Number Button Type.
- Type the Phone number you want to call, including area codes.
Do not include spaces in the phone number. - Click Save.
Send an email
The send an email option is supported in the following channels:
- Smooch v2
- Zendesk Chat
- Khoros (Smooch 1 and Brand Messenger v2)
To configure a button to open the user's default email application to send an email:
- Click the button and click Config.
- Select the Send Email Button Type.
- Type the email address you want to send the email to in the To field.
If you want to send the email to multiple recipients, separate each address with a comma. - If you want to add carbon-copy (Cc) or blind-carbon-copy (Bcc) recipients, click the Cc Bcc button.
These email addresses will be visible to users when they send the email. - If you'd like to pre-fill a subject line for the email, type it in the Subject field.
Users can edit this before they send the email. - If you'd like to pre-fill suggested content for the email, type it in the Message field.
Users can edit this before they send the email. - Click Save.
Comments
Article is closed for comments.