Automate Slack with TypeScript

Manage Slack messages, channels, members, files, reactions, bookmarks, Canvases, Lists, and user groups. Trigger automations from typed workspace activity.

react-to-message.automation.ts
import { automation } from "automate.ax"
import { slack } from "automate.ax/slack"

export default automation("React to Slack messages", () => {
  const message = slack.onMessagePosted()

  slack.addReaction({
    conversationId: message.conversationId,
    emoji: "eyes",
    timestamp: message.timestamp,
  })
})

What you can do

Actions

  • Manage messages, threads, reactions, pins, and bookmarks
  • Create and administer public and private channels
  • Read members, files, direct messages, and workspace details
  • Create and update Slack Canvases, Lists, and user groups

Triggers

  • Messages posted, replied to, changed, or deleted
  • Reactions, files, pins, and channel membership
  • Channels created, renamed, shared, or unshared
  • Workspace members joined or changed

Start automating with Slack today

Start building