How to Send a Slack Message from Salesforce Marketing Cloud

Credits : Cameron Robert

In this video, Cameron Robert shows how to use the Slack Message API to send a message from Salesforce Marketing Cloud to a Slack Channel.

Key Moments:

  • Introduction to the Slack API (0:00)
  • Create an App in Slack (0:33)
  • Use Postman to test the Webhook API (1:23)
  • Webhook API in AMPscript on a CloudPage (2:42)
  • Webhook API in Server Side JavaScript on a CloudPage (3:16)
  • Webhook API in Server Side JavaScript in a Script Activity (3:39)
  • Marketing Cloud to Slack Channel Opportunities (4:08)
  • Delete the Slack App (4:44)
  • Summary (5:04)

📄 AMPscript Code: https://gist.github.com/camrobert/6bba18f60db678137cc1aa47470ceacf
📄 SSJS Code: https://gist.github.com/camrobert/4a40e5dfaf2ea27bc8a7c9c8f754f6d9

Responses

Popular Salesforce Videos