Mattermost channel

Last update: 04.03.2024

The Mattermost channel is connected through a bot, which is added to your team so that all participants can write to it when they need help.

Important points

a. The integration works on both the cloud version of Mattermost and the self-hosted version (release 7.1 or later).

b. Only a team member with a System Admin access level can create bots. You can check and change the access level along the path: System Console → User Management → Users.

19795f695613ba2970ea38170b3b53e9.png

c. You need to enable the bot creation feature in the Mattermost account settings: System Console → Integrations → Bot Accounts → Enable Bot Account Creation → true.

36e652a9992d136b5a05890e5e7a1af9.png

d. A bot can only be added to the same Mattermost account in which it was created.

If you want to provide bot support to any of your customers who also use Mattermost internally, send them this instruction. They will create a bot, add it to their team, send you the data to connect the bot to Deskie, and will be able to reach you out for help through it.

Creating and connecting

To create a new bot and connect it to Deskie:

1.
In Mattermost follow the path: Integrations → Bot Accounts → Add Bot Account.

3e765474ed5b379aabba05ffba45715d.png
78606423e61ef33c3dd478a63a797989.png
31b9a38d9838bdbd50b7d5b0bdb6d74e.png

2. On the bot creation page, specify the bot's name, add an avatar, display name and description.

In the Role field, select the System Admin option and click on the Create Bot Account button.

1386656d8d5c03031dbebdc80cf5f373.png

3. Copy the bot token on the page that opens.

46c135d47e8e699274372a4a2d1f380a.png

4. In Deskie, open the form for adding a Mattermost bot → paste the copied token in the Bot Token field → in the Workspace domain, specify your Mattermost account URL.

2182fd76572651eb5d9cd66d9d1814fd.png

5. Determine additional settings in the form for adding a Mattermost bot.

1bf96b93e8de99068a0c710cce65f271.png

a. Select the default group that will receive all cases from Mattermost.

b. The bot can be contacted not only through private messages but also through channels. To do this, the bot must be added to the channel as a member.

Decide which messages you want to receive from channels:

  • if the checkbox is ticked, Deskie only receives messages that mention the bot;

  • if the checkbox is unticked, Deskie receives all messages from the channels, where the bot is added.

To get a detailed description of group chat logic, please, refer to our article.

c. In the case creation logic select one of the options:

  • when you select the "agents' responses are sent to the group chat with the bot" option, all messages go to the general chat with the bot, as it is implemented in all other messengers.

Tip

If a customer sends several questions at once, you can use quoting to make it clear what question the answer refers to.

d87b2287aa5ca34ba3fb9539a84c86ed.png
c095bc32bf7a79f7d7fa908f0b814921.png
  • when selecting the "agents' responses are sent to the thread" option, each user's message in the general chat creates a separate chat in Deskie, and agents' responses are sent right to the corresponding message threads in Mattermost.

0a47b7016e0e6f3f4890a67debf9ba68.png
460468b45477c42be89e5bb585e3afce.png
e563bdeff6366ff1594b72ee4951f5f1.png

Read more about the "agent's responses are sent to the thread" option here.

6. After selecting all the options, click on the "Connect" button to finish connecting the bot to Deskie.

7. In Mattermost, add the bot as a member of the team so that other members can contact it through private messages and add it to the channels.

1941135f512d686d03a6b326963eaa8d.png

What do Mattermost messages looks like in Deskie

All cases list displays only the cases coming from asynchronous channels — users on both sides reply when it's convenient for them. As for real-time chats, they are displayed and processed in a separate interface.

When you get a new chat (Mattermost, Slack, Telegram, FB messages, Whatsapp, Skype, Viber), a green icon appears in the upper right corner of the agent's account. It displays incoming chats and new chat responses:

d75021db9faace712838328ace4d8e58.gif

Chats are displayed in the all cases list too, but only after they were ended:

  • when an agent is ending the chat, clicking "end chat" in the lower right corner;

  • after 10 minutes (default value) of inactivity on both sides;

  • when one of the automated rules is applied, that has an "end chat and set status" action (for example, if you don’t plan to process chats and want to get them as cases in the all cases list):

bcaa39a7c3c3b14fd3d996f9c1b19f8d.png

We have separated synchronous and asynchronous communication on purpose because, if you want to provide first-class support, it is necessary to consider the specifics and expectations of customers, depending on the type of channel you use to carry out the communication.

For example, the user is ok to wait for a couple of hours to get a response to his/her email. However, even a 5-minute response delay in chats might seem like an eternity. If you do not take this point into account and treat cases from emails and chats equally, some customers will get an unpleasant experience interacting with the company.

Creating outgoing cases

In addition to working with incoming cases from users to the bot, agents can also create outgoing cases for specific users (team members) or in channels where the bot is added as a member.

To create an outgoing case in Mattermost, select the Mattermost bot in the "Send from" field on the page for creating a new case and then begin typing the name of the Mattermost user or channel in the "User" field. In the search results, you can easily identify users and channels by the notation in brackets (member and channel, respectively).

b42b732dd15541dfdc3ceb927ac7e1b5.png

Was this article helpful?