'Adding button to Slack Channel Message using Zapier Integration

Does anyone know of a way to add interactive buttons to a slack channel messages that are created using the Zapier slack channel message integration?



Solution 1:[1]

There is a way to add buttons, but you need a premium account. It works by using the Zapier webhook function to send a POST request directly to the Slack API.

  1. You can follow this tutorial to prepare everything in Slack
  2. Then you need to add a custom request step in Zapier: Screenshot from Zapier
  3. Select method "POST" and paste the URL from your Slack application management tool
  4. Build your Slack message using the Slack Block Kit Builder
  5. Paste the JSON from the Block Kit Builder into the data field in Zapier
  6. Replace text from JSON with dynamic fields from Zapier where necessary

Likely if you want to have buttons, you would want to use them to trigger further Zapier events. For this, follow these steps:

  1. Create new Zap triggered by Webhooks by Zapier
  2. Select "Catch requests"
  3. Copy Request URL
  4. Navigate to your Zapier application management tool and find your app's Interactive Components section
  5. Paste Request URL from Zapier

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Justin Schmidt