How to subscribe to Salesforce platform events from Azure logic app and post to Azure dev hub

Gana 6 Reputation points
2022-02-24T02:10:13.687+00:00

HI, I am new to Azure and try to do POC to connect Azure with Salesforce and subscribe to salesforce platform events and send them o Azure event hub. However, I am struck up with logic app creation itself. I am not able to redirect to logic app designer even though my logic has deployed successfully. Can I get step by step procedure for connecting salesforce with Azure and subscribing to salesforce events ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,312 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,796 Reputation points
    2022-02-24T11:16:46.617+00:00

    @Gana Thanks for reaching out. To make yourself comparable with the logic app I will suggest you to start with the different offerings in logic app i.e. Single tenant logic app (Standard SKU) and Consumption logic app. You can also refer to this document which talks about different environments in the logic app.

    I will also suggest you to get familiar with the trigger and action in logic app. This document covers all the connectors that the logic app supports and it would always be handy for your whenever you are designing any workflow with the different connectors in the logic app.

    If you want the logic to get triggered in any of the events that occurred then you need to always refer to the trigger section of any of the supported connector document. In your case, as you want to use trigger your logic app when an event occurs at the salesforce end then there are two triggers available as of now in the logic app and you can refer to trigger section for more details. Similarly, you can refer to the actions that salesforce connector supports.

    Once you have the record details you can pass the output/transform it according to your need to the next action i.e. event hub to send the event. You can leverage the send action of the event hub trigger to send the event.

    Workflow:
    When a record is created (Trigger) --> Send Event

    You can refer to Saleforce document how you can connect to the salesforce and Event Hub document to get familiar and steps on working on respective connectors.

    Feel free to get back to me if you need any assistance.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.