---
title: "Slack integration for AI agents | Langdock"
description: "Connect Slack to Langdock. Agents and workflows can use 17 actions, such as “Add reaction” and “Download file”."
url: "https://langdock.com/integrations/slack"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Slack integration for AI agents

Send messages, search conversations, and browse channels

Connect Slack to Langdock and use it in chat, in agents and in workflows.

17 actions · 4 triggers

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Slack actions

Each action is one step an agent or workflow can run in Slack.

- Add reaction · Adds an emoji reaction to an existing Slack message
- Download file

  Downloads a file shared in Slack, such as an image, PDF, or document. Use the file ID from the files array returned by Get conversation history, Get thread replies, or Search messages. The connected account must have access to the file's channel. Files larger than 100 MB are not downloaded.
- Edit message · Edits a Slack message sent by the connected user, including a reply in a thread
- Get channels · Lists Slack channels (public and private team channels only).
- Get channels by name

  Searches for channels in your Slack workspace by name (public and private team channels only).
- Get conversation history

  Fetches a conversation's history of messages and events. Returns message metadata including thread reply counts. To fetch the actual thread replies for specific messages, use the 'Get thread replies' action with the thread_ts_unix value. The showThreads option attempts to fetch all thread replies inline but may be incomplete for channels with many threads. All timestamps are in UTC.
- Get current user · Gets information about the authenticated user.
- Get people

  Lists Slack users in the workspace. Paginates through the full user list. By default each user includes id, real_name, profile.email, and profile.image_512. Only set includeFields when the user explicitly names additional fields to include in the response.
- Get thread replies

  Retrieves all replies in a specific Slack thread. Use this to fetch thread content reliably. Get the channelId and threadTs from 'Get conversation history' or 'Search messages' results (use the thread_ts_unix field).
- Get user groups

  Lists Slack user groups (for example @se-team) with their ID, name, handle, description, member count, and the mention markup needed to ping the group in a message. Use when you need a user group's ID or want to mention or look up a group by name or handle. Does not return the list of members.
- List user conversations

  Lists all conversations (channels, DMs, group DMs) that a specific user is a member of.
- Reply to message

  Replies to a message in a thread. Supports mrkdwn formatting in 'text' and Block Kit 'blocks' for rich layouts.
- Search emoji

  Lists Slack emoji: standard shortcodes plus custom workspace emoji when emoji:read is granted. Filter by name or by type (custom, standard, alias). Use the returned name with Add reaction
- Search messages

  Searches for messages matching a query. Returns message metadata and identifiers. Use 'Get thread replies' to retrieve replies for a thread.
- Search user by email · Looks up a Slack user by their email address.
- Send message · Sends a message to a channel.
- Update status

  Sets or clears the text and emoji next to your name in Slack, for example In a meeting. Does not change whether you look active or away.

## Slack triggers

A trigger starts a workflow when something happens in Slack.

- New message by search

  Triggers when a new message is found by searching for a specific keyword or other criteria.
- New message in channel · Triggers when a new message was posted in a channel (public, private, DM, etc.).
- New message in conversations

  Triggers when a new message is posted in a specific conversation (DM, group DM, or channel).
- New reaction in channel · Triggers when a new reaction is added to a message in a specific channel.

## Agent templates that use Slack

- [Collect Customer Info Looks at Slack, HubSpot, and Gmail to find context about a customer and then gives you a summary.](https://langdock.com/templates/collect-customer-info)

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
