AppsPricingBlogTry it
MongoDB logo
Slack logo

Connect MongoDB to Slack

Build an AI agent that works across MongoDB and Slack, on a schedule or when you click Run.

9 source actions
24 target actions
Reverse direction supported

Why Connect MongoDB & Slack?

Read what you need from MongoDB

Your agent uses MongoDB's documented actions to pull the records it needs, each time it runs.

Run a Slack action

Then it uses one of 24 documented actions, such as Send Message to Channel, Add Emoji Reaction, Add Reaction.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

MongoDB logo

MongoDB

Triggers (4)

New Collection

Emit new an event when a new collection is added to a database

polling
New Database

Emit new an event when a new database is added

polling
New Document

Emit new an event when a new document is added to a collection

polling
New Field in Document

Emit new an event when a new field is added to a document

polling

Actions (9)

Create New Document

Create a new document in a collection of your choice. See the docs here

Delete a Document

Delete a single document by ID. See the docs here

Execute Aggregation

Execute an aggregation pipeline on a MongoDB collection. See the documentation

Find Document

Finds a document by a query filter. See the documentation

Find Document by Id

Retrieves a single document by ID. See the docs here

List Database Options

Retrieves available options for the Database field.

Search Documents

Search for specific documents or return all documents. See the docs here

Update a Document

Updates a single document by ID. See the docs here

Update Documents

Updates many documents by query filter. See the documentation

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

Integration Features

9 documented MongoDB actions
24 documented Slack actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported Slack to MongoDB direction

Capability Examples

MongoDB trigger → Slack action

Catalog example
MongoDBMongoDB

New Collection

SlackSlack

Send Message to Channel

Slack trigger → MongoDB action

Reverse direction
SlackSlack

New Channel Created (Instant)

MongoDBMongoDB

Create New Document

How It Works

1

Connect Apps

Authenticate your MongoDB and Slack accounts

2

Describe the Job

Say what to read from MongoDB and what to do in Slack

3

Choose an Action

Select the documented Slack operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live MongoDB events yet.

Automated Actions

Use 24 documented Slack actions each time the agent runs.

Provider Authentication

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

Guided Configuration

Describe the job in plain English. The agent picks theMongoDB and Slack actions it needs.

Your Own Accounts

You connect your own MongoDB and Slack accounts. App connections need a paid plan.

Execution Review

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

Slack logoMongoDB logo

Reverse Integration Available

Also connect Slack to MongoDB for bidirectional automation

View Integration
MongoDB logo

All MongoDB Integrations

Explore all available MongoDB connections

View All Integrations
Slack logo

All Slack Integrations

Explore all available Slack connections

View All Integrations

Ready to Connect MongoDB & Slack?

Build this agent in Mazaal AI and test it on your ownMongoDB and Slack data.

Start building

Rather not build it yourself? We set up one MongoDB to Slack agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod