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.
{count} votes

2 answers

Sort by: Most helpful
  1. Satyajith, Vaidya Manthani 5 Reputation points
    2025-08-19T08:15:25.9066667+00:00

    Even after 3 years of such a request I don't see the integration option with Salesforce - Platform events using a connector from Azure. however still the better way is only to integrate them with a Function App using the CometD REST API for consuming any messages pushed from Salesforce as platform events and from there handling these in Asynchronous manner as we plan to always use high number of platform events from Salesforce.

    1 person found this answer helpful.
    0 comments No comments

  2. MayankBargali-MSFT 70,996 Reputation points Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.