Pre-populate input boxes using links!

A small but exciting update: it is now possible to edit the links to your deployments such that there will be text populating the chat or form input area!

How it works: if you’re adding a link to one of your deployments for your users to click on, you can add some text to the end of the existing link so that when it is clicked, the deployment is opened with the text already in the input box. See a gif of this in action below:

video-to-gif output image

You will need to use the correct syntax to get the words to populate correctly - see below for the syntax needed in chats and forms for different deployment types.

Pages with single agent:

Chat:`?agent_prefill=Write%20a%20welcome%20email`

Form:`?agent_prefill[userinput:]=Alice`

Pages with multiple agents:

Chat:`?agent_prefill[deployment-id]=Write%20a%20welcome%20email`

Form:`?agent_prefill[deployment-id][userinput:]=Alice`

Checkbox fields also support repeated parameters:

?agent_prefill[deployment-id][userinput:]=Sales&agent_prefill[deployment-id][userinput:]=Marketing

The first scope may also be a Pickaxe ID. Resolution priority is:

1. Deployment ID

2. Pickaxe ID

Please try it out - and as always, let us know if you have any questions :smiley: