2
  • Can and How do I send an Outbound Message to Slack?
  • Or an Email Alert to Slack?
  • Or Other Options?

Outbound Message preferred, as I assume this would provide more detailed capability.

Example Business Process: Web-to-Case Case created with Priority 1, needs message sent to higher tier employees. Slack is the alerting tool of choice. Salesforce is the central system. Do not have Workflow (Have Process Builder)

4
  • 1
    Have you seen Slack and Salesforce Integration? It would be tricky with a Professional Edition org without the use of Apex for the callout. Aug 4, 2017 at 1:27
  • Just trying to get it working. Aug 4, 2017 at 1:38
  • I was hoping a Slack webhook would be an option with an outbound message. But not sure how to fire the outbound message in PE without WF. Assuming that is a dead end now. Aug 4, 2017 at 1:42
  • Salesforce have removed Visualforce Actions from Process Builder from Spring 16 Aug 4, 2017 at 4:45

2 Answers 2

1

There is the Slack app on the AppExchange. It sounds like you can link a Salesforce object to post to Slack.

The Slack app from the Salesforce AppExchange

  • Link Salesforce records with channels in your Slack workspace
  • Share messages between Slack and Chatter

Source

That might be a good option for a Professional Edition org.

Otherwise, if you did have Apex there are options in Slack and Salesforce Integration.

6
  • So Cannot use Outbound Messaging in PE? Aug 4, 2017 at 1:39
  • @NZDev what would receive the custom Outbound Message SOAP request? Do you have another server that could act as an intermediary and relay the messages over to the Slack web hook? Aug 4, 2017 at 1:41
  • Yes I do have that worst case. but want more simple architecture. I was hoping to format the message according to Slack Webhook: Send a JSON string within a parameter of a standard POST request api.slack.com/incoming-webhooks Aug 4, 2017 at 1:49
  • @NZDev All very doable with Apex. But in a professional edition org I think you will need to cobble something together from the available parts. The AppExchange package seems like a good way to get some level of integration. Aug 4, 2017 at 1:54
  • If you want to go hardcore you could make your own app exchange package that would then run in a Professional Edition org. Aug 4, 2017 at 1:55
0

I'm a bit late to this one, but for anyone looking at this now, here is an article about an unmanaged package that allows you to send Slack Messages from a Record-Triggered flow. Additionally it supports mrkdwn in the message so that you can format the message as desired. Not to mention it's completely free.

Article Link

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .