How do I send deep links/actions using Custom Bots?
Using deep links you can add an action within a Custom Bot step to navigate users to specific app screens or web pages or provide 1-click call action within your messaging. This is particularly helpful if you have app screens that initiate certain flows like reset password. Additionally, if you have workflows where you’re directing customers to call you, then the call action can be set up to provide a better experience for your customers.
The ‘Send a Message’ step in Custom Bots have the capability to do the following:
- Redirect to specific app screens or web pages – end users can click on the message and get redirected to specific app screens or web pages.
- Start a phone call – end users can click on the message to start a phone call without leaving the app.
Setting up deep links
- The ‘Send a Message’ step has the capability to ‘Attach Link’.
2. For each of the messaging platforms, the following can be set up. This setup is called an Action Card in the Bot Builder.
- Link (Action) that the user will be navigated to (Either deep links or web links)
- Text that the user sees (Title)
- Images can also be configured optionally
3. The links can be added separately for iOS, Android, and Web Chat. This is optional – only if the link is added for a platform, will the user see the option and can tap on it. If the link is not added for a platform, the flow will proceed to the branch ‘Step not shown’.
4. Parameters can also be passed optionally along with the links.
– Example 1: Simple link can be https://www.sample_page.com or myApp://sample_page or or com.myApp://sample_page
– Parameters can be a part of the dynamic URL – https://www.sample_page.com/{{email}}
– Parameters can be added as key-value pairs appended to the URL – https://www.sample_page.com/?email=<email>
4. The links can be added separately for iOS, Android, and Web Chat. This is optional – only if the link is added for a platform, will the user see the option and can tap on it. If the link is not added for a platform, the flow will proceed to the branch ‘Step not shown’.
- Parameters can also be passed optionally along with the links.
– Example 1: Simple link can be https://www.sample_page.com or myApp://sample_page or or com.myApp://sample_page
Parameters can be a part of the dynamic URL – https://www.sample_page.com/{{email}}
Parameters can be added as key-value pairs appended to the URL – https://www.sample_page.com/?email=<email>
5. The Admin can customize the view of each Action to the user.
- Action Card with Action, Image, and Title
- Action Card with Action and Image
- Action Card with Action and Title
- Action Card with Action only
6. The Bot Builder preview will let you test the interaction of the Action Card.
Setting up calls
- The ‘Send a Message’ step has the capability to ‘Attach Call’ Action.
2. An Action Card can be set up that can provide the option to start a call to the user.
3. The Action Card will have the following:
- Text to be displayed
- Phone number to call
- Image to be displayed (optional)
- Title to be displayed (optional)
4. The Admin can customize the view of each Action to the user.
Action Card with Call Action, Image, and Title
Action Card with Call Action and Image
Action Card with Call Action and Title
Action Card with Call Action only
5. The Bot Builder preview will let you test the interaction of the Action Card.