Deployer Guide
Adding variables to embedded interfaces
Assign variables to your workflow even when embedded as an iframe
Exposed Inputs
You can assign variables to your flow by adding query parameters to the URL of your interface. Each query parameter must be the id of the input to assign, replace hyphens for underscores.
You can assign values to inputs such as in-1
by adding the query parameter
in_1
This leads to embeds with the following structure:
The following interfaces support variable assignment:
- Chat Interface
- Form
- Website Chatbot
As part of your workflows, you can specify the following values as inputs in the request body:
- Input nodes translating
in-
toin_
. - User ID for LLM Memory and Logs
user_id
- URL nodes translating
url-
tourl_
. - Image to Text translating
img2txt-
toimg2txt_
. - Audio to Text Voice translating
audio2text-
toaudio2text_
. - Youtube videos Voice translating
youtube-
toyoutube_
.
If the values for these inputs are not specified, the interface will use the values from the flow.