- 16 Nov 2023
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Use the URL embed format for Flows
- Updated On 16 Nov 2023
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
The URL format for Whatfix Flows is a convenient option to reply to support queries via email, chat, or a tweet. It enables you to send a Flow URL to your user, which, when clicked, triggers the respective Flow on your application. This URL can also be embedded on your application in the form of a button, an image, or as Text.
-
You can generate Whatfix URL for a Flow in any stage, be it in Draft, Ready, or Production. To generate the URL, Go to the respective stage and follow the steps mentioned in this article.
-
For Flows that require manual input by the user, Whatfix enables you to pass variables as part of the URL that can be leveraged for the autocompletion of the Flow.
-
To pass variable data as part of the URL, you have to append a query parameter in the URL for auto-execution data, as shown in the following example:
https://whatfix.com/........?_wfx_input_data={1:"step_1_input_will_go_here",3:"step_3_auto_input"}
Use the following steps to retrieve the embed URL:
-
On the Whatfix dashboard, go to the Production tab.
-
Open the Flow you want to embed, and then click the Embed dropdown menu.
-
Click URL from the dropdown.
-
Copy and share the URL located at the end of the pop-up message to the desired medium.
- If you have dynamic URL enabled, then the URL is in the following format:
In this case, you need to append the website URL where the Flow is supposed to start before the given URL.
For example, if the Flow is to start from google.com and google.in, then the URL has to be modified as shown in the following snippet:
**https://www.google.com**?_wfx_=34f656a0-b799-11ea-a4eb-82ae84f41eba
and
**https://www.google.co.in/**?_wfx_=34f656a0-b799-11ea-a4eb-82ae84f41eba
-
The user might be asked to install the Whatfix plugin if the Flows are not integrated with the intended website.
-
Instructions are triggered only once using this format. Refreshing the page does not trigger the instructions again. Users need to click the URL again to launch the instructions.