The Axsy Mobile App's Flow Engine supports a custom Axsy Component for Deep Linking, allowing users to be redirected to another application on the device as a part of a Flow.
This is implemented via the x-callback-url library, see their documentation here for more information
NOTE: Not all applications on your device may support Deep Linking so make sure to check their documentation
Adding the Deep Link Component in Flow
Included in Axsy's Managed Package is a custom Deep Link Flow Component. It is accessible in the Salesforce Flow Builder, and can be added to any Screen Flow as seen in Figure 1.
Figure 1 - Deep Link in Screen Flow Designer
In addition to the API Name field, the Deep Link Component can also take in more parameters:
(* = Required Field)
Parameter | Description |
Scheme * | The Target Application that will be opened after clicking the Deep Link |
Action | The action taken by the Target Application. Not all Deep Links will require an action, please refer to the applications documentation for more information |
Host | The host of the Deep Link. Leaving it blank will default to "x-callback-url". You can also define non-compliant schemes here |
Icon Name | Icon Displayed along with Deep Link. This is taken from the ionic icon library |
Label | Displayed Label for Actions |
Parameters | Any additional information that should be passed into the Target Application. The parameters can usually be found in the Target Application's Documentation. If there is more than one parameter, they will be separated by the '&' character |
Show Success Parameter | Output parameter whose value will be displayed on a successful Deep Link |
Source | The application that the Deep Link is run from (this will default to "Axsy Mobile" |
Table 1 - Deep Link Component Fields
Example of Deep Linking in Flows
The Figures below show an example of a working Deep Link in a Screen Flow. This has been created in accordance with the Google Maps Documentation. In this example, the user will be redirected to the Google Maps app to view a given location (in this case "Buckingham Palace")
Populated Parameters:
Not all fields will be populated, if they are not explicitly mentioned here assume they are blank/default.
Parameters | Value |
Scheme | comgooglemaps-x-callback |
Icon Name | pin-outline |
Label | Launch Google Maps |
Parameters | q="Buckingham Palace"¢er="51.5014,0.1419"&mapmode="standard" |
Table 2 - Deep Link Component Parameters Populated
Figure 2 - Deep Link in Flow in Axsy Mobile
Figure 3 - Redirect to Google Maps caused by Deep Link