Skip to main content

Custom launch button with a starter message

Add an Initiate Conversation button anywhere in your theme that opens Talkom with a pre-written message.

D
Written by David Kis

Overview

The Initiate Conversation block adds a button to any page of your store. When a shopper clicks it, the Talkom assistant opens and sends a starter message you've written, so the conversation begins exactly where you want it.

Use it next to content that raises questions: a hero banner (Help me find a gift), a size guide (Which size should I order?) or a shipping section (When will my order arrive?).

See it in action:

Before you start

The AI Assistant (Core) app embed must be on. See AI Assistant (Core) setup.

Add the button to your theme

  1. Open the theme editor: Online Store > Themes > Customize. Or go to Apps > Talkom AI > Appearance and click Activate on Initiate Conversation.

  2. Pick the page at the top of the editor, for example Home page.

  3. Click Add section where you want the button, or Add block inside an existing section.

  4. Open the Apps tab, search for Talkom and choose Initiate Conversation.

Customize the message and the look

Select the block to open its settings on the right.

  • Button text: the label on the button, for example Not sure which one? Ask us.

  • Starter message: the message sent for the shopper when they click. Write it the way a shopper would, for example Hello, I'm looking for…

  • Button background color, Button hover background color, Button text color and Button hover text color.

  • Font size, Padding X and Padding Y.

  • Border radius and Show border.

  • Margin X and Margin Y: the space around the button.

Both text fields can be connected to dynamic sources (the database icon next to them), for example a metafield, so the button text and starter message can change per page or product.

Position the button

Setting

What it does

Placement

Drag the block or its section in the left sidebar to move it up or down the page.

Alignment

When the block sits in its own section, use the section settings (direction, alignment, gap and padding) to center it or line it up with other content.

Spacing

Use Margin X and Margin Y on the block for fine adjustments.

Save and test

Click Save, open your store and click the button. The assistant should open with your starter message already sent.

Tip: add more than one button with different starter messages, for example one per collection page, and compare them in Conversations.


Need help?

Message us in the chat in the bottom right corner.

Did this answer your question?