Is Slack and Slack Bot integrations similar to the Discord one where the `Slack Bot` is my bot, where as the `Slack` one is the pipedream bot?

This topic was automatically generated from Slack. You can find the original thread here.

Dan Goodman : Is Slack and Slack Bot integrations similar to the Discord one where the Slack Bot is my bot, where as the Slack one is the pipedream bot?

Dan Goodman : Basically to get where I am coming at with these questions is I want to make a slack bot that listens for get a meet , then makes a quickAdd google calendar event, gets a hangouts meeting url, and posts it back to that message in the thread. I want to make my own bot do this but I really want to use pipedream to do it so I dont have to manage a VM or worry about deploying changes with Lambdas or something. i.e. exactly what pipedream is designed to do to make my life easier

Dylan Sather (Pipedream) : That’s correct re: the Slack vs. Slack Bot apps. The Slack Bot app can accept a token from your own bot that allows you to make API calls as that bot.

Just to confirm, do you want to listen for the message text “get a meet” within specific channels? You could use the Slack - New Message in Channel event source to listen for messages in a channel, running the workflow when you encounter the message text you want:

// pseudocode
if (event.message !== "get a meet") {
  $end("Not a meeting request")
}

// else we have a meeting, continue

The only issue with this approach is that you’ll incur more invocations than you’d like: the event source and workflow will run for every message in the selected channels, so if the message volume in that particular channel is high, this can yield a lot of false positive invocations.

The way I’ve configured the Discourse Bot, it listens only for app_mentions (see docs), and delivers the full text of the app mention event (e.g. “Discourse Bot this is a message”) to the endpoint I’ve configured in the Event Subscriptions section of my Slack app. So I can run a workflow anytime the Discourse Bot is mentioned.

Let me know if those options make sense and if you have any other questions.

Dan Goodman : yeah I was going to do mentions as well