Start a chat with a user when an event has occurred on a website | Community
Skip to main content

Start a chat with a user when an event has occurred on a website

  • October 12, 2023
  • 1 reply
  • 0 views

Lotta

Hi, we would like to start a Zendesk chat with a user on our website. We would like the chat to automatically open when a user has created a group on our website. The chat should ideally open with a standard message (eg. "Hi! We noticed that you have created your first group. Can we help you?") and also give the user the option to talk to a live agent.

So basically, we want to send an external event to Zendesk and Zendesk should in turn react on this event and open the chat with a message.

Is this possible to do?

1 reply

Hi Lotta,
 
There isn't a live chat JS API that will start a new chat from the front end with an agent message.  But if your website can indicate that a new group was created in the page URL, you can leverage that to achieve your end goal using a proactive chat trigger.  You could configure the trigger to check visitor page URL for the "group created" page URL on widget load and send the standard message to the visitor.