Working with Communication Channels
Communication Channels in Kosmoy Studio provide the bridge between your Public Assistants and external platforms, enabling users to interact with your AI outside of the Kosmoy ecosystem. This section explains how to create, manage, and use Communication Channels.Prerequisites
Before creating a Communication Channel, you must have an active integration with the corresponding provider (e.g., Twilio for WhatsApp). Refer to the Integrations section for details on setting up integrations.Currently Supported Channels
Kosmoy Studio currently supports the following Communication Channel types:- WhatsApp (via Twilio): Deploy your Public Assistants to WhatsApp, making them accessible to users through this popular messaging platform.
Future Communication Channels
Kosmoy is continuously expanding its support for Communication Channels. Future integrations will include:- Phone PBX (via Twilio): Enable interaction with your Assistants through traditional phone systems.
- (And more to come)
Creating a Communication Channel
- Navigate to Communication Channels: From the Kosmoy Studio home page, click on the “Communication Channels” menu in the left-hand navigation bar.
- Add a New Channel: Click the ”+ ADD” button located in the upper right corner of the Communication Channels section.
- Select Channel Type: Choose the desired channel type from the dropdown menu. Currently, only “WhatsApp” is supported.
- Select Integration: Choose the relevant Twilio integration you have previously configured. This integration provides the necessary connection to your Twilio account.
-
Configure Channel Parameters: Enter the required parameters for the selected channel type. For WhatsApp, you need to provide:
- Phone Number: The WhatsApp phone number associated with your Twilio account.
- Click “Next”: Proceed to the next step.
- Name and Describe the Channel: Give your Communication Channel a unique name and an optional description.
- Click “Review”: Review the channel configuration.
- Click “Create”: Create the Communication Channel.
Communication Channel Cards
The Communication Channels section displays each created channel as a card. Each card shows:- Channel Type Icon: An icon representing the channel type (e.g., WhatsApp).
- Channel Name: The name you assigned to the channel.
- Description: The description you provided for the channel.
- Edit Icon (Pencil): Click this icon to update the channel’s configuration, name, or description (only if the channel is not in use).
- Delete Icon (Trash Bin): Click this icon to remove the channel (only if the channel is not in use).
Communication Channel Usage Restrictions
You cannot edit or delete a Communication Channel if it is currently referenced by other entities within Kosmoy Studio. This includes being used in:- Public Assistants
- Any other Kosmoy Studio component that references Communication Channels.
Updating a Communication Channel
You can update the configuration, name, and description of a registered Communication Channel, provided it is not currently referenced by a Public Assistant.- Navigate to Communication Channels: Click on the “Communication Channels” icon in the left-hand navigation bar.
- Locate the Channel Card: Find the card for the channel you want to update.
- Click the Edit (Pencil) Icon: This will open the update dialog.
- Modify Channel Parameters: Update the channel’s configuration as needed. For example, you can change the phone number for a WhatsApp channel. You can also modify the name and description.
- Click “Save”: Save the changes.
Removing a Communication Channel
You can remove a registered Communication Channel if it’s no longer needed. However, you cannot delete a channel that is currently referenced by a Public Assistant.- Navigate to Communication Channels: Click on the “Communication Channels” icon in the left-hand navigation bar.
- Locate the Channel Card: Find the card for the channel you want to remove.
- Click the Delete (Trash Bin) Icon: This will trigger a confirmation prompt.
- Confirm Deletion: Confirm that you want to delete the channel.