Skip to main content

Creating an Ask a question Step via Slack

  1. In the New section block, click to open the Action panel. Alternatively, you can drag Actions to your flow, from the menu on the left side of your Editor screen.

  2. Search and select the Ask a question via Slack option. This requires a Slack connection created with OAuth. If you do not have one already follow this link to create a connection.

  3. Enter the following parameters in your step.

    ParameterDescription
    ToThe recipient's email address or a Channel name
    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
  4. Next you need to create a connection with Slack. On the right-hand corner of your Step, go to Connection required then select create new connection and select the Slack option. Then proceed by clicking create connection.

Asking a question via 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. A question is then received via Slack.
Thumbnail
  1. 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}}.