Skip to main content

[guide] How to Trigger a Slack Workflow with a Webhook

 

Credits

Troy Tessalone is a Certified Zapier Expert at Automation Ace.

 

Resources

Slack: https://slack.com/help/articles/360041352714-Create-more-advanced-workflows-using-webhooks

Zapier: https://zapier.com/apps/webhook/help

 

Slack

Q: What are Slack Workflows?

A: Workflows are automated multi-step tasks or processes that can run right in Slack, or connect with other tools and services. Workflows in Slack can be as simple or as complex as you’d like, and typically don’t require writing any code.

 

How to configure your Slack Workflow trigger...

 

Trigger: Webhook
oAdvanced]

Starts when an app or service sends a web request.

 

Add the desired variables to pass into the Slack Workflow that can be used as dynamic variables in the Slack Workflow steps.

Variable type options:

  1. Text
  2. Slack user email
  3. Slack user ID

 

NOTE: Make sure to configure your Slack Workflow actions, and then publish the Slack Workflow.

 

Once you publish the Slack Workflow, a unique webhook URL will be generated to be used in the Zap.

 

 

Zap

How to configure your Zap...

 

Steps

  1. Trigger: ???
    1. Up to you
  2. Action: Webhooks - POST
    1. URL: >add the webhook generated by the Slack Workflow trigger]
    2. Payload Type: json
    3. Data: Dconfigure your parameters and values to match what you configured on the Slack Workflow trigger]
    4. Headers
      1. Content-Type: application/json
    5. NOTE: Leave all other fields as is to their default configuration.