> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.flokzu.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Notifications with Slack (BETA)

Flokzu allows you to integrate with Slack and send notifications directly to your organization's channels. This integration gives your team the ability to receive instant alerts, key updates and important messages in the corresponding channel, facilitating transparent and efficient communication at every step of the process. 

Below are the steps to enable this functionality and optimize the management of your processes:

# Actions you will need to perform on a one-time basis

## In Slack

Connect your Flokzu account to your Slack workspace. You can do this by clicking on the following button

 [![Aregar Slack](https://platform.slack-edge.com/img/add_to_slack.png)](https://slack.com/oauth/v2/authorize?client_id=3544585990705.5186792390737&scope=channels:read,chat:write,groups:read,im:read,mpim:read,users:read&user_scope=chat:write)

2. If you are not logged in yet, Slack will ask you to log in and select your workspace.

3. To continue, you will need to confirm the access requested by Slack. 

4. Once the accesses have been confirmed, you will be shown a screen with two security tokens: _Bot Token_ and _User Token_.
* Bot Token:** Copy this Token if you want messages to be sent using **Flokzu Bot** as sender.
* **User Token**: Copy this Token if you want **your personal account** to be used as the sender of messages sent by Flokzu.

5. The sender of the message must be a member of the channel where the message will be published, whether it is your personal user or the Bot.
To add the bot go to your channel settings, in the _Integrations_ tab select _Add an App_ and there you will find the **Flokzu Slack app**.


![](https://storage.crisp.chat/users/helpdesk/website/ccc3fbb5dc442800/imagen_uiz92.png)

## In Flokzu

In Flokzu we will use the token to create an _Authentication_ which we will then use to configure the sending of the message.


|| You can create as many authentications as you need, for example to send notifications to different slack workspaces.


6. Open your Flokzu account as Administrator.
7. Go to _Settings_ → _Advanced_ → _Manage Web Service REST Authentications_.


| You can read more about Authentications in [this post](/en/article/rest-service-authentication-1o3pvoo/).


8. Create a **New Authentication** and choose the _Bearer Token Authentication_ option and copy the token chosen in step 4. Then save the configuration.


Flokzu is now ready to send messages to your slack account.




# Add Slack notifications in the workflow




To send a notification to a channel in your workspace simply drag a Message Task into the workflow and select the Slack option.
Enter the name of the channel you want to send the notification to and type your message. 


|| Remember that you can use the _moustaches_ to insert the content of your form fields. In the body of the message type _{_ to display the list of fields.


Finally in the tab _Authentications_ choose the one you created in point **8** to indicate to Flokzu the workspace with which it should be integrated.


Do not forget to save the changes and Publish your process.



## Formatting your messages

Slack supports markup language that you can send from Flokzu to format your messages


![](https://storage.crisp.chat/users/helpdesk/website/ccc3fbb5dc442800/imagen_yrdlzy.png)

## Pro Tip - Send messages to a specific user

Instead of sending the message to a Slack channel you can configure the Message Task to be sent to a specific user, to do this in the _Channel to send message_ parameter you must enter the ID of the user who will receive the message. 
In Slack you can get the ID from the user's profile.

![](https://storage.crisp.chat/users/helpdesk/website/ccc3fbb5dc442800/imagen_1mbcqov.png)