IntegrationsOptions

PropTypeDescription
createTicketCreateTicketIntegrationOptions

Allow users to create tickets in a support system from the chat.

CreateTicketIntegrationOptions

PropTypeDescription
enabledboolean

Enable the create ticket feature Default: false.

provider'salesforce' | 'zendesk'

The provider to use for creating tickets.

promptstring

The prompt to use to create a summary of the conversation between user and bot for the support agent Default: You act as an expert summarizer.\n\n- You must write in the first person, as if you were the user writing a support ticket. Failure to do so will result in severe penalties.\n- Your task is to generate a short and precise summary of the user's input only.\n- You focus on the user message, and omit assistant messages unless strictly needed.\n- You must not include any references to creating a support ticket.\n- You must write a standalone summary, with no greetings or other extra text.\n- The summary must not be longer than the user messages. You will be penalized if it is longer.\n- You must output your response in plain text.\n- You must stricly adhere to these rules to avoid penalties.\n\nExample:\n- I am having an issue with setting up my payment processor.\n- I can no longer log in to my account..

messageTextstring

Default text shown at the end of a chat message. Default: "Need more help?".

messageButtonCreateTicketIntegrationMessageButtonOptions

Options for the button shown at the end of a chat message.

formCreateTicketIntegrationFormOptions

Options for the create ticket form.

CustomCaseFormComponentType<{ summary?: string }>

Provide a custom case form component

chatCreateTicketIntegrationChatOptions

Options for the create ticket chat.

userCreateTicketIntegrationUserOptions

User options

CreateTicketIntegrationViewOptions

PropTypeDescription

CreateTicketIntegrationMessageButtonOptions

PropTypeDescription
textstring

Button text shown at the end of a message Default: "Create a support case".

hasIconboolean

Show icon? Default: true.

hasTextboolean

Show text? Default: true.