Slack modules
- Topics:
- Workfront Fusion
In an Adobe Workfront Fusion scenario, you can automate workflows that use Slack, as well as connect it to multiple third-party applications and services.
For instructions on creating a scenario, see the articles under Create scenarios: article index.
For information about modules, see the articles under Modules: article index.
Access requirements
You must have the following access to use the functionality in this article:
New: Standard
Or
Current: Work or higher
Current: No Workfront Fusion license requirement
Or
Legacy: Workfront Fusion for Work Automation and Integration
New:
- Select or Prime Workfront package: Your organization must purchase Adobe Workfront Fusion.
- Ultimate Workfront package: Workfront Fusion is included.
Or
Current: Your organization must purchase Adobe Workfront Fusion.
For more detail about the information in this table, see Access requirements in documentation.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
Prerequisites
To use Slack modules, you must have a Slack account.
Slack API information
The Slack connector uses the following:
Slack modules and their fields
When you configure Slack modules, Workfront Fusion displays the fields listed below. Along with these, additional Slack fields might display, depending on factors such as your access level in the app or service. A bolded title in a module indicates a required field.
If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another.
Messages
Create a Message
This action module creates a new message.
Choose how you want to select the channel where you want to create a message.
-
Enter manually
In the Channel ID or name field, enter or map the Channel ID or name of the channel where you want to post the message.
Note: The Channel ID can be retrieved using the List Channels module.
-
Select from the list
Select the type of channel, then select the channel.
Enter the text content of the message you want to create.
Note: For detailed information about text formatting, see Formatting text for app surfaces in the Slack documentation.
Select Yes if both of the following apply:
-
The new message is a reply to another message
-
You want the new message to be visible to everyone in the channel
:icon-name:
.Enable this option to allow names and channels to use @username
or #channel
format.
For more information, see Formatting text for app surfaces in the Slack documentation.
Enable this option to allow automatic parsing.
For more information, see Formatting text for app surfaces in the Slack documentation.
Note: If you used Link names or Parse message text options in the original message, you should specify them when running the Update a Message module as well.
Enable this option to allow unfurling of primarily text-based content.
For more information about unfurling in Slack, see Unfurling links in messages in the Slack documentation.
Enable this option to allow unfurling of media content.
For more information about unfurling in Slack, see Unfurling links in messages in the Slack documentation.
Delete a Message
This action module deletes a specified message.
Enter or map the Channel ID.
Note: The Channel ID can be retrieved using the List Channels module.
Enter or map the time stamp of the message you want to delete.
Note: The time stamp can be retrieved using another module, such as the Watch Private Channel Messages Module.
Get a Private Channel Message
This action module retrieves the details of a message from a selected channel.
Enter (map) the Channel ID.
Note: The Channel ID can be retrieved using the List Channels module.
Enter or map the message time stamp of the message you want to retrieve information about.
Note: The time stamp can be retrieved using another module, such as the Watch Private Channel Messages module.
Get a Public Channel Message**
This action module returns a message with a given ID from a specified public channel.
Enter or map the Channel ID.
Note: The Channel ID can be retrieved using the List Channels module.
Enter or map the message time stamp of the message you want to retrieve information about.
Note: The time stamp can be retrieved using another module, such as the Watch Public Channel Messages module.
Update a Message
This action module allows you to edit an existing message.
Enter or map the ID of the channel that contains the message you want to update.
Note: The Channel ID can be retrieved using the List Channels module.
Enter or map the message time stamp of the message you want to retrieve information about.
Note: The time stamp can be retrieved using another module, such as the Watch Public Channel Messages module.
Enter the new text content of the message you want to update.
For more information, see Formatting text for app surfaces in the Slack documentation.
Enable this option to allow names and channels to use @username
or #channel
format.
For more information, see Formatting text for app surfaces in the Slack documentation.
Enable this option to allow automatic parsing.
For more information, see Formatting text for app surfaces in the Slack documentation.
Note: If you used Link names or Parse message text options in the original message, you should specify them when running the Update a Message module as well.
Watch Private Channel Messages
This trigger module starts the scenario when a new message is added to a private channel (group).
Watch Public Channel Messages
This trigger module starts the scenario when a new message is added to a public channel.
Conversations
Get a Channel
This action module returns information about a workspace channel.
List Channels
This search module returns a list of all channels in a workspace.
Enter or map the ID of the channel that you want to retrieve information about.
Note: The Channel ID can be retrieved using the List Channels module.
List Members in Channel
This search module returns a list of users in the selected channel.
Choose how you want to select the message you want to .
-
Enter manually
In the Channel ID or name field, enter or map the Channel ID or of the channel that you want to list the users from.
Note: The Channel ID can be retrieved using the List Channels module.
-
Select from the list
Select the type of channel, then select the channel.
Other
Make an API Call
This action module lets you make a custom authenticated call to the Slack API. This way, you can create a data flow automation that can’t be accomplished by the other Slack modules.
Select the HTTP request method you need to configure the API call. For more information, see HTTP request methods.
https://slack.com/api/
. Example: /users/identity
.Add the headers of the request in the form of a standard JSON object.
For example, {"Content-type":"application/json"}
Workfront Fusion adds the authorization headers for you.
Add the query for the API call in the form of a standard JSON object.
For example: {"name":"something-urgent"}
Add the body content for the API call in the form of a standard JSON object.
Note:
When using conditional statements such as if
in your JSON, put the quotation marks outside of the conditional statement.
Terminology
The following terminology may be useful when configuring Slack modules:
- DM: Direct Message
- IM: Instant Message
- Private Channel: formerly Group
- Direct Message: formerly IM
- Channel: Conversation in the API documentation, channel in the Slack app.