Interacting with non-danger styled button The non-danger styled buttons, once clicked, records the button click immediately and triggers the second recipe with the New button action trigger. ![]() There are two available styles for buttons - non-danger and danger style. The buttons configured in this recipe show up in Slack as follows.Ĭorresponding buttons generated from the above configuration # Button styles: danger and non-danger The recipe we will be using can be found here (opens new window). We're going to add buttons configuration to the basic recipe (opens new window) we had above. # Example recipe #1A: recipe with a post message action with buttons configured Possible use cases for building your recipe via IF conditional recipe steps would be scenarios whereby you're okay with multiple clicks of the buttons, such as team polls. # Using IF conditions to build interactive Slack buttons recipes There are 2 ways we can build interactive Slack buttons recipes, either via IF conditions, or via the Slack action Respond to button. In the actions, there should be recipe logic that carries out actions depending on which button has been clicked. This recipe needs to specifically refer to the second recipe below in its button configuration.Ī button action handler recipe - a recipe with a New button action trigger, which picks up button clicks. To use Slack buttons in Slack, you need:Ī recipe with a Post message action that has buttons configured. You can interact with messages in Slack via Slack buttons (opens new window). Example recipe (opens new window) # Using Slack message buttons ![]() Post message action configuration - message with attachment. Also, the Message type has been configured to Good. The corresponding configuration of the action step can be seen below. As the Post message as and Icon image URL input fields have not been configured, the message displays as being posted by the Workato app.īasic example of the post message action with attachment The following shows an example of how the different fields show up in Slack. # Example message with attachment Learn how to format Slack messages in this video tutorial By default, the message will be posted as the authenticated user. The Post message action can be used to post a message to a channel or a direct message to a Slack user. ![]() Setting up the Slack connection # Working with the Slack connector # Using the post message action This will require you to log in to Slack and authorize the permissions that Workato requests. # How to connect to Slack on WorkatoĪuthorize Workato to access your Slack organization via the OAuth 2.0 standard. Workato connects to both Slack for Teams (for single workspaces) and Slack Enterprise Grid (for multiple workspaces). The Slack connector uses the Slack Web API (opens new window) with the endpoint URLs. If you envision a virtual assistant for your team that can perform complex tasks like approval workflows involving several steps, displaying dynamic menus & interactive elements, go for Workbot.Ī functional comparison table for both the Slack connector and the Workbot for Slack connector can be found here. ![]() Dynamically-rendered menus, buttons, and blocks are also easily built using Workbot. Your bot's messages, modals, app home, Shortcuts, and slash commands can chain fluidly into one another, using Workbot commands. With Workbot, you can build rich, interactive chat flows by giving you complete control over interactive elements such as buttons, select menus, radio buttons, date pickers, checkboxes, and more. Workbot for Slack allows you to design complex chat interactions on any Slack surface (messages, modals, app homes) using Slack's block kit. For example, you can automate the creation, naming, purpose, and invitees of private Slack channels (typically between members from Customer Success and customers), triggered by a ticket escalation in Jira. Using the Slack connector, you can subscribe to workspace-level events and manage channels, groups, and more. If you're a Slack administrator (or part of an administrative team) that needs to automate workflows on a workspace-level, then the Slack connector is what you need. Workato supports both the Slack connector and the Workbot for Slack connector. # Slack connector VS Workbot for Slack connector Transform your team's conversations into automated tasks in those apps - all without leaving your Slack workspace. Workato allows you to connect Slack with the enterprise and productivity apps used across your organization. Slack (opens new window) is a team collaboration platform that consolidates your team's communication and resources.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |