Home / Connectors / Slack connector

Slack connector

Create a channel or send a message to a channel or user

outbound io.camunda:slack:1

Required inputs

KeyLabelType
token OAuth token secret
data.channel Channel/user name/email FEEL expression
data.newChannelName New channel name FEEL expression
data.text Message FEEL expression
data.channelName Channel name FEEL expression
data.users Users FEEL expression

Optional inputs

KeyLabelType
method Method string
data.visibility Visibility string
resultVariable Result variable string
resultExpression Result expression FEEL expression
errorExpression Error expression FEEL expression

Apply this connector with @bpmnkit/connectors

import { applyConnectorTemplate } from "@bpmnkit/connectors" const result = applyConnectorTemplate("io.camunda.connectors.Slack.v1", { "token": "<your oauth token>", "data.channel": "= ...", "data.newChannelName": "= ...", "data.text": "= ...", "data.channelName": "= ...", "data.users": "= ...", "method": "chat.postMessage", "data.visibility": "PRIVATE", })