OLD BUILDER - How to notify (an agent) in Slack, when Human Takeover is requested

This article corresponds to the V2 (Classic) of the app. You can check the equivalent for the new version V3 (Bricks) here

The Human Takeover has the possibility to notify you via email, that a visitor has arrived to a Human Takeover block. However many of us find Slack more handy for such notifications. Here we will show how to do it.

  1. Two blocks before the Human Takeover is going to be placed, set up a Slack Notification (from the power ups section)

Here we are going to build a message, with a direct link to the chat section and to this specific visitor:

A bot visitor has requested human assistance, is waiting in for you on:  https://app.landbot.io/gui/chats/@id

By using the default @id variable that Landbot offers you, the link will redirect to the chat.

Also, we will need to set up the Slack connection, to a a channel or a person (that can be an agent)

  1. After we set up a Send A Message, with a text that the visitor will see while waiting for the agent to takeover

  1. An finally our Human Takeover block

You will take the conversation from here!

How did we do?