Skip to main content
Pre-Chat Form configuration showing qualification questions and options

Pre-Chat Form

The pre-chat form asks widget users one question (for example “Who are you?”) before they start chatting. Each answer either gives the user a permission, which decides the agents they can talk to, or sends them to a URL.

How It Works

  1. A widget user without any permission opens the chat.
  2. The form shows your question and its options.
  3. The user selects an option.
  4. A permission option gives the user its permission and opens the chat with the matching agents. A redirect option opens its URL instead.
  5. The answer to a permission option lasts until midnight (UTC). Returning users go straight to the chat until then, and see the form again the next day.

Prerequisites

For permission options, first create the permissions in Agents → Permissions. Redirect options only need a destination URL.

Configuring the Pre-Chat Form

Navigate to Support → Settings → Client portal → Pre-Chat Form in the admin panel.

Enable/Disable

Use the Enabled toggle to turn the form on or off. When it’s off, widget users go straight to the chat.

Question Text

Enter the question shown to widget users. For example:
  • “Who are you?”
  • “What best describes your role?”
  • “How can we help you today?”

Options

Each option is a possible answer. For every option, set:
  • Label: The text displayed to the user (e.g., “Customer”, “Partner”, “Employee”).
  • Type: Permission or Redirect.
  • Permission: For a permission option, select the permission to assign. This determines which agents the user can access.
  • Redirect URL: For a redirect option, enter the destination URL. This option does not assign a permission.
  • Order: The display order of the option in the form (lower numbers appear first).
Click Add Option to add more options and the trash icon to remove one. The form is only shown when it has at least one option. Click Save to apply your changes.

Users Who Already Have a Permission

The form is skipped for users who already have a permission, for example through JWT authentication, an auth token, access control rules, or the default permissions set in Agents → Permissions. If you set default permissions for anonymous users, anonymous users never see the form.

Deleting the Form

To remove the form, click Delete Form in the page header and confirm. This removes the question and all its options.