Einstein monotile background

Article

How to add a conversational UI component

Find out how you can create a conversational UI across your website or product with conversation starters.

my image Some great alternative text

Let’s take a look at how you can create a conversational user interface (UI) across your website or product, taking it further than the floating button on the right bottom corner (assuming that you’ve already trained and configured your AI).

Using Unless components you can start conversations anywhere on your website, product, checkout, and more. Below is an example from the Unless homepage where we’ve placed a conversation starter per benefit. By clicking on these, website visitors can learn more about each benefit, ask questions and get answers right away.

Conversational UI component example from the Unless homepage

If you’d like to add a conversation starter somewhere on a page, the first step is to choose a component according to your needs. All components with a CTA button can be conversational. So you have a lot of options to choose from. Let’s now take a look at an example where we’ve selected an inline CTA button.

Selecting a component

After selecting a component, you can give it a name, adjust the settings, save, and open up the editor as usual. As with any inline component, you first have to use the radar icon to define where you want the component placed. In the screenshot below, you can see the element we selected and that the component was placed after it.

Placing the selected component

However, the button is showing up too close to the rest of the content. Luckily, this can easily be fixed using the margin settings under the Layout tab.

Adjusting the layout

Once the layout looks good, it's time to edit the component itself. You can start by inputting a conversation name. This name will show up on top of the chatbox to provide context to the reader. Additionally, each conversation is stored in your account and you can spot a conversation easily via the name it is listed under.

Then, you need to input a prompt that the AI will respond to with an answer. One of the things that set these components apart from a chatbot is that the website visitor doesn’t have to start the conversation by asking a question first. The components act as conversation starters that you can place across a UI to initiate dialogue. This is done with the help of prompts that tell the AI what they should tell more about.

Editing the component itself

Here you can define also what the text of the button should say, whether there should be an icon to go with the button, and what that icon should be.

Once you are done, you can save your experience as a draft, and create and publish as always. You can then go back and preview the experience, making sure it looks and works the way you want it to. Below is what the conversational component we created looks like.

Conversational UI component example set to live

That’s it! You can now go ahead and create your own conversational UI components.

Bonus: Conversation center

Did you know there is also a bigger version of the chatbot UI that you can insert anywhere as an inline component?

Conversation center component template

You can find the conversation center component via the templates list, configure it like any other component, and set it live. What does it look like once it’s live? Below is an example screenshot from our homepage where you can check it out, ask questions, and click around to review your previous conversations, all in one place.

Conversation center component template live on the Unless website

my image Some great alternative text

Friendly support from real people

We’re here to help

We are known for our quick responses if you have an issue. Feel free to ask us anything. But you can also ask our conversational AI a question, of course!