Send Notification from SN to Third-Party through REST Message

AijaRe
Kilo Sage

Hello!

I need to send a notification from SN to an endpoint using REST message.
If you have implemented a similar request, maybe you can help?
Let's say, I'd like to send a message when a Case is closed that would contain User Name and a link to the Case in ESC, but it would also differ for different countries. So the trigger would be one, but messages would need to be different, depending on the country, and they need to contain information from SN.

The REST message itself is pretty simple. It's a POST that takes 3 parameters (User ID, Message Subject, Message Body).

What would be the best approach to fill the Message Subject and Message Body with information from SN? And also how to trigger the notification (is Business Rules the only way?)

Are there any SN plugins, tables that could be used in the process?

Any tips appreciated!

1 REPLY 1

AijaRe
Kilo Sage

I ended up doing the following things (considering that the instance has Integration Hub plugin):

  • create Credential & Connection alias, fill in the Connection endpoint and its credentials;
  • create REST message with variables and configure the headers and body that pulls in the variables;
  • trigger the sending using Business Rule that in its course triggers a Flow (but could be enough only with the flow);
  • created a flow action that received inputs from the flow, then uses a REST step that is populated with my Credential Alias and REST message layout.