How to prefill the values of my chatbot?

You can pre-populate your inputs with some data by passing them to the URL or widget. So, for example if you know someone's name already, you can feed that into your chatbot, so it feels more personal. To do so, you need to set visibility of a column to public.

Set visibility of a column to public
  1. Open the builder and navigate to the Columns page.
  2. Find the column you want to set its value from URL and click the pencil button to start editing.
  3. In the "Edit Column" dialog, find Visibility setting and set it to "Public".
  4. Press the "Update Column" to close the dialog.
  5. Click "Save Changes" from topbar to persist changes.
Prefill values from URL

Let's assume you have a chatbot with ID of xyz and you have a text input to get names and its column ID is name. To pre-populate value of this column, simply add a URL parameter to you shareable link like below:

https://x.formito.com/app/xyz?values.name=John

As you can see, we prefixed the column ID with values.. You can easily prefill multiple values like below:

https://x.formito.com/app/xyz?values.name=John&values.userId=123456