Slack offers many IRC-like features,including persistent chat rooms (channels) organized by topic, private groups, and direct messaging. Content, including files, conversations, and people, is all searchable within Slack. Users can add emoji buttons to their messages, on which other users can then click to express their reactions to messages.
Slack's free plan allows only the 10,000 most recent messages to be viewed and searched.
How to create a bot in Slack
Open the Slack API:
Go to Your Apps and press "Create an App":
Choose name for your app and select your workspace:
After it you will be redirected to your app page to "Basic information" page:
Scroll down to "App Credentials" section:
Bot Integration with Flow.ai
Select the project to which you would like to connect Telegram using the top left drop-down menu.
Go to the “Integrations” section and press the “+” sign:
Choose “Slack” option inside the opened modal window:
Before to set the URLs you need to save the "Slack Client ID", "Slack Client Secret", "Slack Signing Secret" fields for next configuration operations:
Copy the "OAuth URL" and go to "OAuth & Permissions" and press "Add New Redirect URL":
After it press "Save URLs":
Go to "Bot Users" and create new bot user:
Copy the "Events Request URL" and go to "Event Subscriptions" and toggle the "Enable Events" checkbox:
After it select "Subscribe to bot events" section and add all events as on the screenshot and press "Save Changes":
Go to "Incoming Webhooks" and toggle the "Activate Incoming Webhooks" checkbox:
Go to "OAuth & Permissions" and scroll down to "Scopes" section and set the "users:read" scope:
Go to "Interactive Components" and toggle "Interactivity" checkbox and set the "Request URL":
Go to "Install App" and press "Install App" and select a channel to post messages by bot:
Now you can see the bot is online:
Now you can test your Slack bot!
Create a flow:
Go to "Manage Distribution" and press "Add to Slack" button:
Select the bot:
After it you should see the success page:
Let's test it: