After configuring the Slack node, double click on the function node and write the following javascript code to write the data streams to the desired slack channel. Here, you can also define custom rules, such as a threshold, to filter your data. In this tutorial, we simply concatenate each message with a string to form a sentence,