Slack

Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.

Go to site

Integrate the Slack API with the MongoDB API

Setup the Slack API trigger to run a workflow which integrates with the MongoDB API. Pipedream's integration platform allows you to integrate Slack and MongoDB remarkably fast. Free for developers.

Send a Message

Send a message to a channel, group or user

 
Try it
Insert a document into a collection
 
Try it
Add Reaction

Adds a reaction (emoji) to a message.

 
Try it
Add Reminder

Adds a reminder

 
Try it
Find User By Email

Finds a single user by looking them up by their registered email address.

 
Try it

Connect Slack

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://slack.com/api/users.profile.get`,
  headers: {
    Authorization: `Bearer ${auths.slack.oauth_access_token}`,
  },
})

Connect MongoDB

const MongoClient = require('mongodb').MongoClient

const {
  database,
  hostname,
  username,
  password,
} = auths.mongodb

const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, { 
  useNewUrlParser: true, 
  useUnifiedTopology: true 
})

const db = client.db(database)
// Enter your target collection as a parameter to this step
this.res = await db.collection(params.collection).insertOne({ name: "Luke Skywalker" })

await client.close()
Save Zoom Cloud Recordings to Google Drive and Share on Slack
Save Zoom Cloud Recordings to Google Drive and Share on Slack
Save Zoom Cloud Recordings to Google Drive and Share on Slack.
Run a Pipedream workflow on PagerDuty on-call rotations
Run a Pipedream workflow on PagerDuty on-call rotations
Run common workflows, or any Node.js code you'd like, each time a new user rotates onto an on-call schedule.

Community Posts

Airtable Webhooks with Slack + Pipedream
Airtable Webhooks with Slack + Pipedream
We love Airtable here at Pipedream. But Airtable lacks one killer feature — webhooks. We took advantage of Airtable’s Slack notifications and built a way to send webhooks to an HTTP endpoint every time a record is created or updated in a base. It takes 10 minutes to setup and it’s free.