AppsPricingBlogTry it
Slack logo
api4ai logo

Connect Slack to api4ai

Use 9 documented Slack triggers to run 7 documented api4ai actions.

9 source triggers
7 target actions

Why Connect Slack & api4ai?

Start with a Slack event

Choose from 9 documented triggers, including New Channel Created (Instant), New Interaction Events (Instant), New Keyword Mention (Instant).

Run a api4ai action

Send the event into one of 7 documented actions, such as Alcohol Label Recognition, Background Removal, Brand Recognition.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

Slack logo

Slack

Triggers (9)

New Channel Created (Instant)

Emit new event when a new channel is created.

webhook
New Interaction Events (Instant)

Emit new events on new Slack interactivity events sourced from Block Kit interactive elements, Slash commands, or Shortcuts.

webhook
New Keyword Mention (Instant)

Emit new event when a specific keyword is mentioned in a channel

webhook
New Message In Channels (Instant)

Emit new event when a new message is posted to one or more channels

webhook
New Private Channel Created

Emit new event when a new private channel is created. See the documentation

polling
New Reaction Added (Instant)

Emit new event when a member has added an emoji reaction to a message

webhook
New Saved Message (Instant)

Emit new event when a message is saved. Note: The endpoint is marked as deprecated, and Slack might shut this off at some point down the line.

webhook
New User Added (Instant)

Emit new event when a new member joins a workspace.

webhook
New User Mention (Instant)

Emit new event when a username or specific keyword is mentioned in a channel

webhook

Actions (24)

Send Message to Channel

Send a message to a public or private channel. See the documentation

Add Emoji Reaction

Add an emoji reaction to a message. See the documentation

Add Reaction

Add an emoji reaction to a message. Accepts a channel ID or channel name (resolved automatically). Use **Get Channel History** or **Search** to find the message timestamp. Emoji name should be without colons (e.g. thumbsup, fire, heart). See the documentation

Approve Workflow

Suspend the workflow until approved by a Slack message. See the documentation

Archive Channel

Archive a channel. See the documentation

Browse Files

List files shared in a channel or across the workspace. Accepts a channel ID or channel name (resolved automatically). Filter by file type (e.g. images, pdfs, snippets). Returns file metadata including name, type, size, and download URL. See the documentation

Build and Send a Block Kit Message

Configure custom blocks and send to a channel, group, or user. See the documentation.

Create a Channel

Create a new channel. See the documentation

Create Reminder

Create a reminder. See the documentation

Delete File

Delete a file. See the documentation

Delete Message

Delete a message. See the documentation

Edit Message

Edit an existing message. Accepts a channel ID or channel name (resolved automatically). Requires the message timestamp (ts) from **Get Channel History** or **Post Message**. You can only edit messages posted by the same token/user. See the documentation

Find Message

Find a Slack message. See the documentation

Find User by Email

Find a user by matching against their email. See the documentation

Find User by ID

Find a user by their ID. Returns user profile information including name, email (requires users:read.email scope), timezone, and status. See the documentation

Get Channel Details

Retrieve details for a Slack channel by selecting it or providing an ID. See the documentation

Get Channel History

Read the recent message history from a specific channel. Accepts a channel ID or channel name (resolved automatically). Use this when you want to see a channel's latest messages — unlike **Search** which finds messages by keyword. Returns messages with text, timestamps (ts), reactions, and user IDs. Message timestamps can be used with **Get Thread Replies**, **Edit Message**, and **Add Reaction**. See the documentation

Get Current User

Retrieve comprehensive context about the authenticated Slack member, combining auth.test, users.info, users.profile.get, and team.info payloads. Returns the user’s profile (name variants, email, locale, timezone, status, admin flags), raw auth test data, and workspace metadata (domain, enterprise info, icons). Ideal when you need to confirm which user token is active, tailor messages to their locale/timezone, or ground an LLM in the member’s role and workspace before executing other Slack actions. See Slack API docs.

Get File

Return information about a file. See the documentation

Get Thread Replies

Retrieve all replies in a message thread. Accepts a channel ID or channel name (resolved automatically). Use **Get Channel History** or **Search** to find the parent message's timestamp (thread_ts). Returns the parent message followed by all replies in chronological order. See the documentation

Get User Details

Retrieve the authenticated user's identity and workspace context. Returns user ID, name, email, timezone, profile, and workspace metadata. Call this first in any session to establish who you are — other tools like **Search** and **List Channels** can then filter by your user ID. See the documentation

Invite User to Channel

Invite a user to an existing channel. See the documentation

Kick User

Remove a user from a conversation. See the documentation

List Channels

Return a list of all channels in a workspace. See the documentation

api4ai logo

api4ai

Actions (7)

Alcohol Label Recognition

Accurately identifies alcohol labels using advanced intelligent technologies. Powered by API4AI.

Background Removal

Automatically and quickly remove image background with high accuracy. Powered by API4AI.

Brand Recognition

The service processes input image and responds with a list of found brand logos. Powered by API4AI.

Car Image Background Removal

Remove Background for car images. Powered by API4AI.

Furniture & Household Item Recognition

This API provides identification of furniture & household items with advanced intelligent detection, categorization, and counting technologies. Powered by API4AI.

Image Anonymization

Performs actual image anonymization. Powered by API4AI.

NSFW Image Recognition

Content moderation solution for NSFW (Not Safe For Work) sexual images identification. Powered by API4AI.

Integration Features

9 documented Slack triggers
7 documented api4ai actions
Configurable field mapping
Conditional workflow steps
Execution monitoring

Capability Examples

Slack trigger → api4ai action

Catalog example
SlackSlack

New Channel Created (Instant)

api4aiapi4ai

Alcohol Label Recognition

How It Works

1

Connect Apps

Authenticate your Slack and api4ai accounts

2

Choose a Trigger

Select a documented Slack event

3

Choose an Action

Select the documented api4ai operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 9 documented Slack triggers.

Automated Actions

Run one of 7 documented api4ai actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Slack logo

All Slack Integrations

Explore all available Slack connections

View All Integrations
api4ai logo

All api4ai Integrations

Explore all available api4ai connections

View All Integrations

Ready to Connect Slack & api4ai?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free