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)

ParameterDescription
Scheme *The Target Application that will be opened after clicking the Deep Link
ActionThe action taken by the Target Application. Not all Deep Links will require an action, please refer to the applications documentation for more information
HostThe host of the Deep Link. Leaving it blank will default to "x-callback-url". You can also define non-compliant schemes here
Icon NameIcon Displayed along with Deep Link. This is taken from the ionic icon library
LabelDisplayed Label for Actions
ParametersAny 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 ParameterOutput parameter whose value will be displayed on a successful Deep Link
SourceThe 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.


ParametersValue
Schemecomgooglemaps-x-callback
Icon Namepin-outline
LabelLaunch Google Maps
Parametersq="Buckingham Palace"&center="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