What it is

Olark tells the right person about an important chat while the visitor is still there. Describe a moment in plain English, like the visitor asks about our promotion, and when a chat matches, Olark can tag it, notify the agent in the chat, email the transcript, or post to Slack. You hear about it during the conversation, not after it’s over.

It’s included on every plan and works with or without an Ai Assistant. You’ll find it on your Behavior settings page, between Routing to Team Members and After the chat.

The Real-time Tags & Alerts section on the Behavior page, with four templates

Start from a template

Click a template to open a pre-filled rule, adjust it, and click Save rule.

  • Help buyers while they’re ready: tags the chat sales, alerts the agent in the chat, and emails your team when a visitor wants to buy or book a demo.
  • Contact leads immediately: tags contact-captured and emails your team when a visitor shares an email address or phone number.
  • Catch broken promos during a launch: tags campaign-issue and emails your team when a visitor says a code, offer, or link isn’t working.
  • Never leave a visitor waiting for a person: tags wants-person and emails your team so someone can step in.

Want more examples? See More rule ideas at the bottom of this page.

Create a rule

  1. On the Behavior page, click New rule, or pick a template.
  2. Under When, describe the moment in one sentence (up to 100 characters).
  3. Under Then, choose at least one action, then click Save rule.

The rule editor with When and Then sections

You can have up to 4 rules. Need more? Email support@olark.com. To change a rule, click it. To delete it, open it and click Remove rule.

The actions

  • Apply a tag: letters, numbers, _ or -, with no spaces. Rules can share a tag.
  • Notify the agent in the chat: a message of up to 200 characters, shown in the chat to the team member handling it. If your Ai Assistant is chatting on its own, no one sees it, so pair it with Slack or email.
  • Email the transcript: the chat so far, with the visitor’s details, sent to one address. Use a shared inbox to reach a team.
  • Send a Slack message: a message of up to 200 characters, posted to the channel set under Send transcripts to this channel on your Slack integration page. The rule editor tells you if Slack isn’t connected or has no channel.

Here’s how a note to the agent looks in the chat:

A visitor asks for a quote, and a notification in the chat tells the agent the visitor may be ready to buy

Tag, alert, or both?

Alert when someone should act now. Tag when you want to find or count chats later. Filter tagged chats with the Tags dropdown on your Transcripts page, or count them with the Olark MCP server.

How rules run

  • Each rule is checked on its own, so one chat can match several. A tag already on a chat isn’t added again.
  • Rules start checking once the visitor sends their first message, so an Ai Assistant greeting, an agent’s opening message or a page change won’t trigger a rule on its own. After that, rules check after each Ai Assistant reply or new chat message. A form the visitor submits is checked with the next message; once a person has taken over the chat, that’s usually the agent’s reply.
  • Offline messages (when no one is online) aren’t checked. They go to your follow-up email under After the chat.
  • After the chat emails still arrive when a chat ends, so one chat can send you two emails. See Ai Assistant Follow-up Emails.

Tips for writing a good “When”

  • Describe what the visitor asks, not keywords: asks for a quote also catches “can you price this out?”
  • Say what doesn’t count: Do not count questions about existing orders.
  • Choose things visitors say, not moods.
  • Keep to one idea per rule.

What if an alert didn’t arrive?

  • Slack: check that Slack is connected and a transcript channel is chosen on your Slack integration page.
  • Agent note: check that a team member was in the chat when it matched.
  • Email: check the address on the rule and your spam folder.

Still stuck? Email support@olark.com with the chat’s transcript link.

More rule ideas

Copy the When text into a new rule and adjust it to fit your business.

Goal When Then
Send each chat to the right team The visitor asks about an invoice or a charge on their account. Email your billing team · tag billing
Catch a visitor nobody is answering The visitor says no one is responding or asks if anyone is there. Send a Slack message · tag no-response
Save a cancellation The visitor asks to cancel, close their account, or get a refund. Email your customer success lead · tag churn-risk
Hear about competitors The visitor names a competitor or compares us to another product. Tag competitor

Rules are checked separately, so you can give each team its own rule: sales questions to sales, billing questions to billing, and urgent issues to Slack.