Send Slack messages with a trigger

You can use triggers to send Slack messages to individual users or channels. Inside the trigger, create a message object with these fields:

  • to: A list of Slack users, channels and user groups.
  • body: The text to be sent. The text may contain macros and newlines (\n).

The example sends a message to a Slack channel and a user.

  - name: send_update
    type: button
    label: Send Deal Update
        to: "#sales-nyc, @june"
        body: "Deal update:\n${body}"

Connect. Collaborate. Conclude