Skip to content
Start free
SectionAutomations

Show messages based on conditions

3 min readUpdated
In this article

Automations reach out to a customer at the right moment: on the delivery page, after a minute on the site or during a sale. They’re set up in “Settings” → “Automations”.

Create an automation

  1. Open “Settings” → “Automations”.
  2. In the list at the top, choose a type: “Message”, “Emails”, “Text messages”, “Pop-ups”, “Design” or “More”.
  3. Click “Add new automation”. In the “First name” field, set a name so you can find the automation in the list.
  4. Write the “Message”. For an email add a “Subject”, for a popup — a “Name” and a “Profile image”.
  5. Click “Add condition” and choose a condition. If there are several conditions, all of them must be met at once.
  6. Click “Save changes”.

What each type does

“Message”
Sends a chat message on behalf of the AI agent.
“Emails”, “Text messages”
An email or SMS to a customer whose email or phone is known. “Text messages” appears if SMS is set up.
“Pop-ups”
A window next to the chat button. “Message fallback” sends the text into the chat if the chat is already open.
“Design”
Changes the “Header title”, colors, header image and chat button icon.
“More”
Assigns the conversation a department (“Department ID”), an agent (“Agent ID”) and tags, or shows selected articles in the chat.

Conditions

“Current URL”
“Contains” or “Does not contain” part of the page address. Several parts — separated by commas, e.g. /delivery, /payment.
“Referring URL”
Which site the customer came from.
“Browsing time”
How many seconds the customer has been on the page.
“Scroll position”
How many pixels the customer has scrolled down the page.
“Date time”
“Is between” or “Is exactly” in the format dd/mm/yyyy hh:mm.
“Returning visitor”
“First time visitor” or “Returning visitor”.
“Country”, “Language”, “City”
Country codes, language codes or city names, separated by commas.
“User type”, “Email”, “Phone”, “Company”
Customer data: whether they’re a lead, whether they gave an email or phone.
“Custom variable”
variable=value: matches a JavaScript variable on the page. For developers.

In the text you can use the placeholders {user_name}, {user_email}, {utm_source}.

How to check

Open your site in incognito mode and meet the condition: go to the right page and wait the set time. The message or window should appear.

If it doesn’t work

It fired once and doesn’t appear again
That’s by design: each automation fires once per customer.
The message doesn’t arrive although the condition is met
The customer just wrote in the open chat — the automation waits so as not to interrupt. Or the customer isn’t in “Users” yet: messages, emails and SMS go only to customers the chat already knows.
The email or SMS didn’t arrive
The customer has no email or phone, or SMS isn’t set up.

A popup stays until the customer closes it. If the chat is open, there’s no popup — only a chat message, when “Message fallback” is on.

Was this article helpful?