'Using Azure service bus to send message to Salesforce

I am working on a POC where I have a publisher which is publishing message to Azure Service Bus using Topics. Multiple subscribers have subscribed to the topic.

One of the subscriber wants to send message to Salesforce. What is the best way to send message to Salesforce

I have following options in mind:

  1. Use Azure function to listen to Service bus and then connect with Salesforce to send data. Not sure if a connector already exists.
  2. Read data from Service bus using a .net client and then send message to Azure Logic Apps. From Logic app use Salesforce connector to send message to Salesforce. Not sure if Logic apps can directly subscribe to Service bus.

What are pros can cons of both the options ?



Solution 1:[1]

Both approaches are valid but the one to chose depends on the level of comfort you have with the aforementioned technologies.

Integration with Salesforce is done via REST API. The LogicApps connector simplifies it quite a bit. Except, I would not read data from Service Bus message using a .NET client and then send message to Azure Logic Apps, but rather trigger Logic Apps with an incoming message using Service Bus connector and invoke Salesforce connector. This way there will be less moving parts.

In case you’re comfortable with Salesforce REST API, Function is a valid approach as well.

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 Sean Feldman