Slack

<< Click to Display Table of Contents >>

Navigation:  Connectors >

Slack

Overview

The Slack connector for Bizagi is available for download at Bizagi Connectors Xchange.

Through this connector, you will be able to connect your Bizagi processes to a www.slack.com account in order to use Slack chat services.

For more information about this connector's capabilities, visit Bizagi Connectors Xchange.

 

Before you start

In order to test and use this connector, you will need:

1.Bizagi Studio previously installed.

2.This connector previously installed, via the Connectors Xchange as described at https://help.bizagi.com/platform/en/index.html?Connectors_Xchange.htm, or through a manual installation as described at https://help.bizagi.com/platform/en/index.html?Connectors_install.htm.

3.A workspace at www.slack.com.

4.Browse https://api.slack.com/docs/token-types and check which of the token types work best for you. We recommend you to use User tokens since they let you work directly on behalf of users.

5.Go to https://api.slack.com/apps and create an app on Slack.

Slack05

 

 

6.Fill out all the prompted details and click Create app.

 

Slack06

 

7.Go to OAuth & Permissions.

8.If it is a User app, enable the following scopes.

 

Slack07

 

9.If it is a Workspace app, enable the following scopes.

 

Slack08

 

10. Click Install app to workspace.

 

Slack09

 

11. Copy and keep the token to use it on the Connector’s configuration on Bizagi.

 

Slack10

 

Configuring the connector

In order to configure the connector (i.e its authentication parameters), follow the steps presented at the Configuration chapter in https://help.bizagi.com/platform/en/index.html?connectors_setup.htm.

For this configuration, consider the following authentication parameters:

Authentication method: Custom.

Token: The token obtained as per the previous procedure. It lets you use the API Services over your app.

 

 

Slack01

 

 

Using the connector

This connector features a set of available methods of Slack’s  API services.

To learn overall how/where to configure the use of a connector, refer to https://help.bizagi.com/platform/en/index.html?Connectors_Studio.htm.  

When using the connector, make sure you consider the following details for each of the available methods.

 

Complete reminder

Mark a reminder as complete.

 

Slack11

 

To configure its inputs, consider:

Reminder: ID of the reminder you wish to mark as complete. This parameter is required for a successful service invocation.

 

 

Slack12

 

To configure its outputs consider mapping:

 

Slack13

 

 

Delete reminder

Deletes an existent reminder.

 

Slack14

 

To configure its inputs, consider:

Reminder: ID of the reminder you wish to delete. This parameter is required for a successful service invocation.

 

 

Slack15

 

To configure its outputs consider mapping:

 

Slack16

 

 

Create reminder

Creates a new reminder.

 

Slack17

 

To configure its inputs, consider:

Text: Content of the reminder. This parameter is required for a successful service invocation.

Time: When the reminder should happen expressed in Unix timestamp format. This parameter is required for a successful service invocation.

User: ID of the user who will receive the reminder.

Slack18

 

To configure its outputs consider mapping:

 

Slack19

 

 

Get reminder list

Obtain a list of reminders.

 

Slack20

 

To configure its outputs consider mapping:

 

Slack21

 

 

 

Get conversation messages

Get the messages of a conversation

 

Slack22

 

To configure its inputs, consider:

Channel: ID of the channel from which you wish to get the messages from. This parameter is required for a successful service invocation.

 

 

Slack23

 

To configure its outputs consider mapping:

 

Slack24

 

Get conversation members

Obtain a list of the users of a specific conversation.

 

Slack25

 

To configure its inputs, consider:

Channel: ID of the channel from which you wish to get the list of users from. This parameter is required for a successful service invocation.

 

 

Slack26

 

To configure its outputs consider mapping:

 

Slack27

 

Unarchive conversation

Reverses a conversation’s archival.

 

Slack28

 

To configure its inputs, consider:

Channel: ID of the channel you wish to unarchive. This parameter is required for a successful service invocation.

 

 

Slack29

 

To configure its outputs consider mapping:

 

Slack30

 

Archive conversation

Archive a conversation.

 

Slack31

 

To configure its inputs, consider:

Channel: ID of the channel you wish to archive. This parameter is required for a successful service invocation.

 

 

Slack32

 

To configure its outputs consider mapping:

 

Slack33

 

Create conversation

Create a public or private channel.

 

Slack34

 

To configure its inputs, consider:

Name: Name of the channel (only lowercase letters allowed). This parameter is required for a successful service invocation.

User_ids: IDs of the users to be included in the new channel separated by commas.

Is_private: Boolean value indicating whether the channel is private.

 

Slack35

 

To configure its outputs consider mapping:

 

Slack36

 

Get list of internal conversations

Obtain all the internal conversations.

 

Slack37

 

To configure its outputs consider mapping:

 

Slack38

 

 

Get list of multipart internal conversations

Obtain all multipart internal conversations

 

Slack39

 

To configure its outputs consider mapping:

 

Slack40

 

 

Get list of private conversations

Obtain all private conversations

 

Slack41

 

To configure its outputs consider mapping:

 

Slack42

 

 

Get list of public conversations

Obtain all public conversations

 

Slack43

 

To configure its outputs consider mapping:

 

Slack44

 

Invite users to conversation

Invite users to a specific conversation.

 

Slack45

 

To configure its inputs, consider:

Channel: ID of the channel where the users are being ivited. This parameter is required for a successful service invocation.

User_ids: IDs of the users to be invited to the conversation separated by commas. This parameter is required for a successful service invocation.

 

Slack46

 

To configure its outputs consider mapping:

 

Slack47

 

Rename conversation

Change the name of a conversation.

 

Slack48

 

To configure its inputs, consider:

Channel: ID of the channel whose name you want to change. This parameter is required for a successful service invocation.

Name: New name for the specified conversation (Only receives lowercase letters). This parameter is required for a successful service invocation.

 

Slack49

 

To configure its outputs consider mapping:

 

Slack50

 

Set conversation purpose

Establish a purpose to a specific conversation.

 

Slack51

 

To configure its inputs, consider:

Channel: ID of the channel whose purpose you wish to set. This parameter is required for a successful service invocation.

Purpose: New purpose for the specified conversation. This parameter is required for a successful service invocation.

 

Slack52

 

To configure its outputs consider mapping:

 

Slack53

 

Set conversation topic

Establish a topic for a specific conversation.

 

Slack54

 

To configure its inputs, consider:

Channel: ID of the channel whose topic you wish to set. This parameter is required for a successful service invocation.

Topic: New topic for the specified conversation. This parameter is required for a successful service invocation.

Slack55

 

To configure its outputs consider mapping:

 

Slack56

 

 

Delete file

Deletes a file.

 

Slack57

 

To configure its inputs, consider:

File: ID of the file you want to delete. This parameter is required for a successful service invocation.

Slack58

 

To configure its outputs consider mapping:

 

Slack59

 

Get file list

Obtain the list of files.

 

Slack60

 

To configure its inputs, consider:

Channel: ID of the channel whose file you wish to obtain. This parameter is required for a successful service invocation.

 

Slack61

 

To configure its outputs consider mapping:

 

Slack62

 

 

Upload file

Upload a file to multiple channels.

 

Slack63

 

To configure its inputs, consider:

Channels: IDs of the channels to which you wish to add the file to, provide them separated by commas. This parameter is required for a successful service invocation.

filename: File name of the attachment This parameter is required for a successful service invocation.

file: Base64 file to upload. This parameter is required for a successful service invocation.

title: Title of the file.

token: If provided, the file is added on behalf of the user instead of the application.

 

Slack64

 

To configure its outputs consider mapping:

 

Slack65

 

 

 

Delete message

Deletes a message.

 

Slack66

 

To configure its inputs, consider:

Channel: ID of the channel where the message you want to delete was sent. This parameter is required for a successful service invocation.

TS: Timestamp of the message you wish to delete. This parameter is required for a successful service invocation.

 

Slack67

 

To configure its outputs consider mapping:

 

Slack68

 

Get conversation messages

Get the messages of a conversation.

 

Slack69

 

To configure its inputs, consider:

Channel: ID of the channel from which you wish to obtain the messages. This parameter is required for a successful service invocation.

 

Slack70

 

To configure its outputs consider mapping:

 

Slack71

 

Send message

Send a message to a public or private channel, on a direct conversation or IM channel.

 

Slack72

 

To configure its inputs, consider:

Channel: ID of the channel to which you wish to send the message. This parameter is required for a successful service invocation.

message: Text of the message you wish to send. This parameter is required for a successful service invocation.

 

Slack73

 

To configure its outputs consider mapping:

 

Slack74

 

Update message

Edit a message that has been sent to a channel.

 

Slack75

 

To configure its inputs, consider:

Channel: ID of the channel where the message you wish to update was sent to. This parameter is required for a successful service invocation.

ts: Timestamp of the message you want to edit. This parameter is required for a successful service invocation.

text: New text to be posted instead of the original message. This parameter is required for a successful service invocation.

 

Slack76

 

To configure its outputs consider mapping:

 

Slack77

 

Get user by email

Obtain a user by its email address.

 

Slack78

 

To configure its inputs, consider:

email: email of the user you wish to retrieve. This parameter is required for a successful service invocation.

 

Slack79

 

To configure its outputs consider mapping:

 

Slack80

 

Get users list

Obtain the list of users.

 

Slack81

 

 

To configure its outputs consider mapping:

 

Slack82

 

For more information about this method, refer to Slack's API official documentation at https://api.slack.com/methods.


Last Updated 10/27/2022 2:25:15 PM