Click Enable Interactive Messages, enter Request URL and click Enable Interactive Messages The Request URL must be publicly accessible and secure.
Click the Bot users link in the menu.
Click Add a Bot User, enter Display name and Default username and click Add a Bot User
Click the OAuth & Permissions link in the menu.
Go to Redirect URLs section click Add a new Redirect URL, enter Redirect URL and click save changes. The Redirect URL must be publicly accessible and secure.
Go to scopes section and select “Administer the workspace” scope and click save changes.
Click on the Install App to Team button found on the Install App If new permission scopes or Slack app features are added after an app has been installed, app has to be reinstalled to workspace for changes to take effect.
Once the app installed, the access token will be generated in OAuth & Permissions page
Expand
title
Configure through HipChat Add-on
Sign in to the hipchat account and click the Integrations link from top menu
Select a channel from the dropdown to which the approval flow configuration is to be made and click Build your own integration block to proceed further
Once Build your own integration is selected, name the integration and click create button to create the integration
when the integration is created, configuration can be added now. Select the checkbox Add a command enter your slash command (This command should be used for approving or rejecting an action)
Enter a post URL where the flow should be redirected
Click save to make the changes to come effect
Note
There should be two integration installed in order to handle the approval and rejection flow separately. Name the slash command such a way to identify whether it’s an approval flow command or rejection flow command
Expand
title
Mattermost
Mattermost doesn't need any extra configuration for approval flow othere than changing the admin channel details in workflow.json. For Approval flow, it is necessary that the AllowEditPost property in Mattermost config.json should be enabled (Refere here). This is required because the approval/rejection happens through attachments which are updated( or edited) after the approver clicks Approve/Reject button.