Skip to main content

Ask a Question via Slack

Creating a Workflow using the Ask a question via Slack Action

In the Workflow Editor, under the New section block, click to open the Action panel or drag actions from the left-hand menu into your step. Next, search for and select the Ask a question via Slack option.

Thumbnail
  1. Enter the following parameters in your step.
ParameterDescription
ToThe recipient's email address or a the name of a Slack channel.
QuestionQuestions to be answered
AnswersPossible answers separated by a comma
Response messageA message the space of the question will receive after responding
Thread timestamp (only if sent to a channel)The channel's timestamp
Keep question after user responseCheck the box to Keep the question in the channel after the user responds as well as user's response.
Include user infoCheck the box to include the user's information together with their response.
Add Answer in free textCheck the box to add an answer in free text.
Response messageA message the recipient of the question will receive after responding
Timeout in minutes (optional)Timeout in minutes for the recipient to respond
Default timeout response (optional)The default answer if the recipient does not respond
  1. Next, you need to create a connection with Slack. In the top-right corner of your Step, select Connection required. If you've already set up a Slack connection, choose one from the available options, or create a new one by selecting and configuring the Slack connection. Then, click Create connection to proceed.
Thumbnail
  1. Proceed by Running your Workflow , in order to send a your question to Slack.
Thumbnail
info

While the user is waiting for a response, the Step output shows Workflow execution paused.

The recipient will receive a Slack notification. An answer is then selected and the Workflow continues to run in accordance with the answer.

  1. Your question is then received via Slack.
Thumbnail
  1. You can then navigate back to your workflow where you can find the response to your question in the output of your Workflow.
Thumbnail
note

If the recipient does not respond before the timeout, the Workflow uses the default timeout response.

Using Ask a question- Advanced

The advanced version of Ask a question via Slack, is also very similar to Ask a question via Slack and works the exact same way.

Thumbnail

However, they have additional fields:

Thumbnail

The output (after the answer is submitted by the recipient) is similar to the one of Slack Interactivity.

Thumbnail
note
  • The answer will be found at {{steps.Sn.output.values.answer}}.

  • The reason value, if requested by the creator of the workflow and filled by the recipient, will be found at {{steps.Sn.output.values.reason}}.