This topic was automatically generated from Slack. You can find the original thread here.
Hello,
I wanted to ask for some advice regarding my workflow. Currently, I have it set up to notify the public channel in my Slack workspace using SSO and my work email account. However, I’m wondering if this is the best approach moving forward. I’m considering using a Slack channel webhook or exploring other methods.
I would appreciate any suggestions or recommendations you may have on how to optimize my workflow. Thank you.
Hi Alex, it sounds like you have the ability to install apps on your Slack workspace.
If that’s the case, you can get very far with the built in Slack integration on Pipedream.
You can use a plain webhook back to a Pipedream workflow and DIY it, but you’ll lose the automatic verification of the webhook and interactivity event support out of the box like you would with the Pipedream integration.
But a Slack Bot + normal webhook back to Pipedream I’ve found is the most flexible solution, if you have a very custom behavior set up.
For instance Mario, the bot in this channel uses a custom Slack bot + a combination of a pre-built actions and triggers with the official Pipedream Slack Integration and a normal Slack webhook.
Hi . Could you please point me to instructions on how and where in the workflow I can configure a Slack webhook? Also, what do you mean by losing automatic verification and interactive event support? Thank you
Here’s a couple of Pipedream Slack tutorials to help explain these concepts. Definitely recommend giving them a watch for a short practical intro to integrating the Slack app vs the Slack Bot approach:
Is there a video or step-by-step guide for using Pipedream with a Slack bot? I presume I need to create a custom app and then install it in order to generate a bot token. Thanks.
Good morning Is there a video or step-by-step guide for using Pipedream with a Slack bot? I presume I need to create a custom app and then install it in order to generate a bot token. Thanks.
To set up a Slack Bot connected account on Pipedream, follow these steps: 1. First, create a Slack Bot by following the instructions in the Slack API documentation. 2. Once you’ve created your Slack Bot, you’ll receive a Bot Token. Make sure to save this token, as you’ll need it to connect your bot to Pipedream. 3. Now, go to Pipedream and visit the Accounts section. 4. Click on the Connect An App button in the top-right corner. 5. Search for “Slack Bot” among the list of apps, and select it. 6. Enter your Slack Bot Token in the “Bot Token” field and click “Connect”. That’s it! Your Slack Bot connected account is now set up on Pipedream. You can use this account in your workflows to interact with the Slack API using your custom Slack Bot. Remember that using a Slack Bot connected account in Pipedream doesn’t provide access to the pre-built Slack triggers and actions. You’ll need to use the Slack API directly in your code steps to interact with Slack. SOURCES: https://pipedream.com/apps/slack-bot
That’s a pretty good summary. Essentially you’ll need to create the Bot within the Slack API, then define the OAuth scopes of the bot, and copy the bot token from the Slack App.
Then you paste the Slack bot token into the Pipedream Slack Bot connected account.