Slack
Slack tasks
Tasks are executed after the job is triggered and are the main building blocks of a job. You can string together as many tasks as you want.
All tasks
postMessage
Post a message to a channel. Official Slack Docs
example.ts
Using the underlying client
If we don’t have the task you need listed above, you can use io.slack.runTask()
function, which lets you do anything that’s possible with the official Slack Node SDK. More information here.
Example usage:
How to post rich messages to Slack
Use their Block kit builder, and then use the blocks
property to send the message.
linearIssuesDailySlackAlert.ts
Was this page helpful?