Since version 2.3, it is possible to integrate with the Slack platform, which allows automatic messaging directly from the Qalcwise application to Slack users.
Enabling Slack Integration
To activate the integrations:
- Go to: Administration panel -> External data sources
- Expand the list: “Select which data source you want to configure”
- Select options from the list: SlackApi
- Enter the required connection data
- Check the “enabled” checkbox
After saving the configuration, a new action step will appear in the workflow: SendMessageToSlac
Action Step: SendMessageToSlack
Where you can use the action:
Workflow
Parameters:
DataSourceName (type: Text) - identifier of the external data source.
ToEmail (type: Text) - email address of the recipient of the message e.g.
jak.kowalski@qalcwise.com
=section20.a
=section10.a1
ToSlackId (type: Text) - unique Slack user ID, used as an alternative to the email address for sending the message. e.g.
DR5GJUED52
=section1.a2
=section20.a
=array('DR5GJUED52,'GHSKW23NA')
Message (type: Text) - the content of the message to be selected to the recipient(s). E.g.
='The meeting will be held at 17'
section2.a2
=Concat(section3.a5,' additionally ',section10.b1)
Formatting messages in Slack
Formatting text
1 - Bold
To make the text bold, place it between the asterisks *.
Ex. *Note* meeting today at 5 pm.
2 - Italics
To italicize text, place it between the underscore characters _ ,
e.g. _This is just my suggestion_ - we can over-emphasize it
3 - Strikethrough
To strikethrough text, place it between the tilde ~ ,
e.g. ~Meeting at 2 p.m.~ rescheduled for 3:30 p.m.
4 - Line Code
To highlight a piece of code on a line, put it in single backtick ( ` ) characters.
e.g. `This is a test value`
5 - Code block
To insert code, put it between you need backticks (```)
e.g. ```This is a block of code```.
6 - Emoji
To insert an emoji type its name in colons, e.g. :rocker:, :white_check_mark:, :smile:,
e.g. Holy robot! :clap:
You can find all available emojis here:
https://www.webfx.com/tools/emoji-cheat-sheet/
7 - Link with description
To create a link with your own text, use with majority and minority characters <address|description>,
e.g.: ='<https://www.google.com/|Click here>'
8 - Quote
To create a quote, use the majority sign > at the beginning of the message,
e.g. >As agreed, the meeting moved.
9 - User mentions
To mention a user, use <@id_user>. Slack will display the username and the person will receive a notification,
e.g.<@UJP392MS2>
You can find detailed information about formatting here:
https://slack.com/help/articles/202288908-Format-your-messages
0 Comments