Skip to content

Slack

Slack messaging — send notifications, alerts, and messages to channels and threads.

Property Value
Type http
Authentication oauth2
Category Communication
Field Type Required Description
bot_token string Yes Slack Bot User OAuth Token (xoxb-…)

Send a message to a Slack channel or DM.

Endpoint POST /api/chat.postMessage
Method POST

Send a threaded reply to an existing message.

Endpoint POST /api/chat.postMessage
Method POST

Update an existing message in a channel.

Endpoint POST /api/chat.update
Method POST

List public and private channels the bot has access to.

Endpoint GET /api/conversations.list
Method GET

Create a new public or private channel.

Endpoint POST /api/conversations.create
Method POST

Upload a file to a channel or DM.

Endpoint POST /api/files.upload
Method POST
name: salesforce-closed-won-to-slack
description: Notify #sales-wins when a Salesforce opportunity is closed-won
trigger:
connector: salesforce
event: opportunity.closed_won
steps:
- name: format-deal-summary
action: transform
transform:
template: |
:tada: *Deal Closed!*
*Account:* {{ trigger.payload.account_name }}
*Amount:* ${{ trigger.payload.amount | number_format }}
*Owner:* {{ trigger.payload.owner_name }}
*Close Date:* {{ trigger.payload.close_date }}
- name: post-to-sales-wins
action: slack.send-message
params:
channel: "#sales-wins"
text: "{{ steps.format-deal-summary.output }}"