Skip to main content

Creating a Chat from Script

You can create a new chat by exporting a script from an existing chat and then importing it. This is useful for reusing a chat structure, sharing it with colleagues, or creating a translated version.

Step 1: Export the Script from an Existing Chat

There are two ways to export:

  • From inside the chat: Click the Actions menu in the chat header. Select Export chat script (text only) or Export chat script with media references (includes image/video references).

  • From the All Chats table: Click the (Actions) menu on the chat row and select Export chat script or Export chat script with media references.

The script file will download to your computer.

Multi-lingual chats: The exported script file includes content for all locales configured on the chat - not just the locale you are currently viewing.

Step 2: Create a New Chat from the Script

  1. Navigate to the All Chats page.

  2. Click the CREATE NEW button

  3. Select New chat from script.

  4. The Create chat from script drawer will slide in. Fill in the following:

    • Chat name - give your new chat a name. (Required)

    • Language (Locale) - select the default locale. (Required)

    • Field in multiple locales - optionally check this to add secondary locales for a multi-lingual chat.

    • Chat category - select a category. (Required)

    • Chat script - drag and drop your exported script file into the upload area, or click SELECT FILE to browse. Only .yaml or .yml files are accepted.

  5. Click CREATE.

How Locales Are Handled During Import

  • If the new chat has matching locales to the exported script, locale-specific content is restored correctly for each locale.

  • If the new chat has different locales, matching locales copy their content and mismatched locales receive the default locale's text values.

  • If the source was single-locale and the new chat is multi-lingual, the default locale content is imported and secondary locales receive default translations where available.

Did this answer your question?