Go to Heyflow

To make your flow even more dynamic, you can pass variables to it and use them throughout your flow.

For example, you might already know the name of your visitor. Continuing the example, we assume the variable is called fname.

To pass values to your flow via the URL, you can simply type a question mark ? after the flow ID followed by the variable name, an equal sign =, and the value.

For example, the following URL passes the variable fname with the value Greta to our flow: https://heyflow.id/flow-id?fname=Greta

Since fname is defined as the variable for the input field, the value is automatically inserted.

You might also want to pass values that are internal and should not be shown to the user โ€“ but still included in the response that you receive via email or another response handler. To achieve this, you set the input and variable up in the same manner as above and use the "Hide block" functionality.

For example, you might know the email address to identify the user. You can create an input field with the variable email and activate the 'Hide block' option. This way, the value will not be shown to the user but it will be included in the response to you.

Here, too, you can pass the value as a variable to your flow as a URL parameter like this: [email protected]

You can pass multiple values to your flow. To do so, you link the values with a & sign, e.g., heyflow.id/my-flow-id?fname=Greta&[email protected].

Note that the URL parameters are appended right after the flow ID and start with a ?. Before each following parameter stands a &-sign.

Did this answer your question?