Add Slack to Your Product

Give your customers access to Slack from within your product & agents. Use viaSocket to manage authentication, execute actions, and receive events from connected accounts.

Paste it into Cursor, Claude Code or Codex.
Integration Infrastructure

Everything You Need to Manage Slack Integrations

Add Slack to your product & agents today. viaSocket runs the infrastructure; your AI coding assistant does the setup.

Managed Authentication

Let your customers connect their Slack accounts without building and maintaining OAuth flows yourself.

Customer-Specific Connections

Manage separate Slack connections for each customer in your product & agents.

Actions, Triggers and Webhooks

Execute supported Slack actions and receive events through a consistent integration interface.

Managed Data Mapping

Map data between your product & agents and the formats expected by Slack.

Monitoring and Debugging

Track executions, inspect errors, and troubleshoot integration issues.

Your Product & Agents, Your Experience

Offer Slack integrations under your own branding and within your existing product & agents.

Available Actions and Triggers for Slack

What You Can Do with Slack

Explore available actions to let your product & agents interact with Slack.

  • Send MessagePosts a message to one or more channels, sends it as a direct message to one or more users, or replies inside a thread, now or at a scheduled time. Channel names and IDs both work. Returns Slack's response: one object for a single target, an array for several; a scheduled send returns a scheduled_message_id. A failure such as an unknown channel or missing access throws Slack's error code.
  • Send Interactive MessagePosts a message to a Slack user (direct message) or channel with either action buttons (Send Action Button) or one button that opens a form you describe as Block Kit JSON (Submit a Form), now or scheduled. Send now returns the channel and message ts (buttons: block_actions shape with the buttons list; form: view_submission shape with the form fields); scheduled returns scheduled_message_id and post_at. Fails with Slack's error (for example channel_not_found) if the post is rejected.
  • Send Block/buttons/Intractive message using AIPosts a Slack message built from a Block Kit JSON string (sections, buttons, forms) to one channel as the connected account. Only the blocks array is sent, with no plain-text fallback. Returns Slack's response (ok, channel id, ts of the posted message, message); any Slack error, such as not_in_channel or invalid_blocks, is thrown as an error. Note: this action only posts the message; it does not read button clicks or form replies.
  • Open Modal with Block Kit JSONOpen a Slack modal from Block Kit JSON, using the trigger_id of a live Slack interaction; it expires after 3 seconds.
  • Update Message by TimestampReplaces the text, and the blocks when Message Blocks is given, of an existing Slack message found by channel and timestamp. Only messages posted by this connection's app or user can be updated. Returns Slack's response (ok, channel, ts, text, message); a Slack error such as message_not_found or cant_update_message fails the step.
  • Send Message as ThreadPosts a reply inside an existing Slack thread, now or at a scheduled Unix time, with an optional bot name and icon. Returns Slack's response ({ ok, channel, ts, message }), or { ok, channel, scheduled_message_id, post_at } when scheduled; a Slack error such as channel_not_found or thread not found is thrown as an error. Link previews are never expanded.
  • Create ChannelCreates a new public channel in the connected Slack workspace and returns Slack's response with the new channel's id, name and creator. The name is lowercased and spaces are removed, not turned into hyphens. Fails with Slack's error code (for example name_taken or invalid_name_specials) if the channel cannot be created. Note: for a private channel use Create Private Channel.
  • Set Channel TopicSets the topic of one Slack channel to the text you give, replacing the current topic. The connected user is joined to the channel first if they are not a member (public channels; a private channel they are not in fails). Returns Slack's response: ok and the updated channel object. A Slack failure such as channel_not_found, not_in_channel or too_long (topic over 250 characters) is thrown as an error with Slack's error code.
  • Message Private ChannelPosts a plain-text message to one private Slack channel as the connected account. Needs the channel's Slack ID, and the connected account must be a member of the channel. Returns Slack's response (ok, channel id, message ts, message); a Slack error such as channel_not_found or not_in_channel is thrown as an error. Note: for several channels, direct messages, threads, blocks or scheduled sends use Send Message.

Respond to Events in Slack

Use triggers to let your product & agents respond to events from connected Slack accounts.

  • New Message in ChannelsPolls the selected Slack channels on every run and fires once per new message posted since the previous poll, newest first, each with the sender's username added and the channel ID in channel. Includes bot messages; thread replies, edits and join/leave notices are not included. Reads at most 200 messages per channel per run; no new messages gives an empty list. Note: the connected account must be a member of each channel, and a channel it cannot read is skipped without an error.
  • New User Joined or Updated in Your OrgPolls Slack and fires once per user whose profile was created or changed since the previous poll (new members, profile edits, deactivations), newest first, filtered by User Filter. Returns an array of users with the chosen fields; no matching users gives an empty list. A Slack error is thrown. Note: Slack bumps a user's updated time on any profile change, so existing users fire again when they edit their profile; the window is the poll interval (15 minutes if none is given).
  • New Message on SlackRuns when a new message is posted in any channel or direct message of the connected workspace. It polls: thread replies, edits and bot or system messages are not included. Note: each poll joins the public channels it reads.
  • New Thread MessagePolls a Slack channel and fires once per new thread reply since the previous poll: replies in any thread of the channel, or only in the thread of the selected parent message. Each result is the reply (user, text, ts, thread_ts) plus channel and parent_message_text, the text of the thread's parent. Without a parent message, threads are found in the channel's 200 most recent messages; no new replies gives an empty list. Note: the connected account must be a member of the channel; a Slack error such as not_in_channel or channel_not_found is thrown. For instant delivery use New Thread Message Instant.
  • New member join/leave or updated in channelPolls the selected Slack channels and returns one item per event, newest first: a member who joined (subtype channel_join) or left (channel_leave) and, when enabled, a member whose profile changed (profile_updated). Each item holds the Slack user's fields plus the channel id. Public channels the connected account is not in are joined automatically so their history can be read.
  • New MentionPolls the chosen Slack channels on every run and fires once per new message or thread reply that mentions any Slack user (a <@U...> mention), not only the connected account. Each item has message_text, mentioned_user_ids, sender_user_id, channel_id, channel_name, channel_type, message_timestamp, thread_ts, is_thread_reply and message_link; no new mentions gives an empty list. A Slack error is thrown. Note: the connected account must be a member of each channel (others are skipped); a reply is found only when its parent message is also in the poll window; join notices such as '<@U...> has joined the channel' count as mentions, so filter on mentioned_user_ids and message_text.
  • New Thread Message InstantRuns instantly when someone replies in a thread of the chosen channel, or only in the thread of one chosen parent message. Returns Slack's event payload: the reply is under event (user, text, ts, thread_ts, channel). Human and bot replies fire; the parent message, edits, deletions and other message subtypes do not. For polling instead use New Thread Message.
  • New Message Posted in Channel InstantFires on a new message in chosen channels (all if blank). Includes bots; skips thread replies, edits, DMs, file posts.

About Slack

Slack is an AI-powered work platform for team communication, collaboration, project coordination, and workflow automation. It helps organizations centralize conversations, share files, manage channels, and integrate tools to keep work moving in one place.

Learn more
viaSocket

About viaSocket

Connect 2,300+ apps to your product & agents with one prompt. Auth, events and actions handled. Free to start.

Learn more
Frequently Asked Questions

FAQs about adding Slack to your product & agents

Find answers to common questions about integrating Slack into your product & agents, including authentication, supported actions, triggers, and implementation.

How can I integrate Slack into my product & agents?

You can use viaSocket to add Slack integration to your product & agents. viaSocket provides APIs, managed authentication, actions, and triggers to help you build integration features for your customers.

Do I need to build and maintain the integration infrastructure myself?

No. viaSocket manages the integration infrastructure, including authentication, customer connections, and supported actions and triggers.

Can my customers connect their own Slack accounts?

Yes. viaSocket supports customer-specific connections, allowing each customer to authorize their own Slack account.

Can I offer Slack integration under my own branding?

Yes. You can provide the integration experience under your own branding and within the existing interface of your product & agents.

Can I connect Slack with other apps?

Yes. viaSocket supports integrations with 2,300+ apps, allowing your product & agents to work with Slack and other supported services.

How do I execute actions in Slack?

Use viaSocket's supported actions and APIs to perform operations in connected Slack accounts. Available operations depend on the integration's supported capabilities and the permissions granted.

Can my product & agents respond to events from Slack?

Yes. You can use supported triggers and webhooks to receive events from Slack and respond within your product & agents.

Bring Slack Into Your Product & Agents

Paste it into Cursor, Claude Code or Codex.
  • Managed auth
  • Per-customer connections
  • Actions & triggers
  • Data mapping
  • Monitoring & logs
  • Your branding