Skip to content

Slack

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

PropertyValue
Typehttp
Authenticationoauth2
CategoryCommunication
FieldTypeRequiredDescription
bot_tokenstringYesSlack Bot User OAuth Token (xoxb-…)

Send a message to a Slack channel or DM.

EndpointPOST /api/chat.postMessage
MethodPOST

Send a threaded reply to an existing message.

EndpointPOST /api/chat.postMessage
MethodPOST

Update an existing message in a channel.

EndpointPOST /api/chat.update
MethodPOST

List public and private channels the bot has access to.

EndpointGET /api/conversations.list
MethodGET

Create a new public or private channel.

EndpointPOST /api/conversations.create
MethodPOST

Upload a file to a channel or DM.

EndpointPOST /api/files.upload
MethodPOST
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 }}"