How to inject custom parameters into your flow
To add in a custom parameter, you'll first need some Upflowy code installed on your website. If you're using triggers, you'll need our Upflowy SDK code embedded in the head tag of your website, or you can use our embedded flow in the body tag of your website. You can find both of these in the "Integrate" tab:
You'll want to enter the custom parameter in this line of code. It will contain two parts:
The name of the parameter where the data is stored (e.g. userID, userName, etc.)
The value of the parameter stored (e.g. 12345678, KayUpflowy)
Original code
<iframe src="https://my.upflowy.com/[UNIQUE FLOW ID HERE]?mode=standalone"/>
With custom parameter
(set variable: the custom parameter is always the same)
<iframe src="https://my.upflowy.com/[UNIQUE FLOW ID HERE]?mode=standalone&u-customParamName=1334"/>
With custom parameter
(dynamic variable: the custom parameter changes based on user information):
<iframe src="https://my.upflowy.com/[UNIQUE FLOW ID HERE]?mode=standalone&u-customParamName={{1334}}"/>
Then, add in an Embedded content component to your flow:
Add the below code to the Embedded content input:
<input name="customParamName" value={{customParamName}} style="visibility:hidden;height:1px;min-height:1px;" />
Once published, your custom parameter should come through the data stored by Upflowy.