Forum Discussion

asharifian's avatar
asharifian
Employee
9 years ago

Salesforce Outbound Message Notification

A key feature in Salesforce is the ability to send outbound notifications upon changes to assets - such as Accounts, Contacts, Leads, etc. This can be useful for real-time integrations with external systems.

To implement this feature, as a prerequisite, you should already have a Salesforce Developer account. This can be obtained for free. Also note that only new and modified records can be sent outbound. Deletions cannot be captured.

Attached is a sample pipeline that receives an outbound message from Salesforce and sends a response back.

Outbound Message Integration_2017_02_28.slp (6.5 KB)

12 Replies

  • grant_booker's avatar
    grant_booker
    New Contributor II

    Hi
    This example is exactly what I’m trying to do.

    Have downloaded the slp - but the “Read Ack and Respond” is a file reader.
    What should be in the file? Tried to go to the New Hire Training Documentation - but can’t access

    Thanks

    Grant

  • dmiller's avatar
    dmiller
    Former Employee

    The New Hire Training link will be removed.
    That is an internal training document.
    I’ll see what information we can grab from that though, that we can post here.

  • dmiller's avatar
    dmiller
    Former Employee

    The file needed in Read Ack and Respond:

    • The acknowledgement will be an XML file indicating that an acknowledgement has been made. After doing some research in Salesforce forums and viewing the Salesforce acknowledgement WSDL (found here), the XML file should look like the following:

    • grant_booker's avatar
      grant_booker
      New Contributor II

      Thanks - I did manage to structure the file myself, and it is responding to Salesforce successfully.

      Is there a way of not using a file reader - but an XML formatter or the like? Was trying to use it - but could not get the correct format back to Salesforce.

      We have an open issue at the moment where File Reader snap is timing out occasionally, so am worried that this will error occasionally.

  • ronnyr's avatar
    ronnyr
    New Contributor

    Hi All,
    Looks like the Snap is no longer available.
    Should we use REST GET Snap in order to integrate with Salesforce Outbound message?
    What is the Snaplogic EndPoint URL for Salesforce to call?

    Thanks in advance.

  • ronnyr's avatar
    ronnyr
    New Contributor

    The one it shows in this thread. Which SNAP do we use to receive SFDC message.
    Also, how can we import .slp file into our Snaplogic environment?
    I tried to convert it into .zip then imported, but then I received an error said that no required JSON file.

    Thanks.

  • dmiller's avatar
    dmiller
    Former Employee

    All of the Snaps in this pipeline are core Snaps with their names changed to explain what they are doing.

    The SnapLogic environment accepts the .slp file format as is. No need to zip it. Just click the Import Pipeline button (the up arrow next to the pipeline tabs) in Designer.

    • ronnyr's avatar
      ronnyr
      New Contributor

      Thank you - I’m able to import the pipeline.
      What is the Snaplogic Endpoint URL that I can share with Salesforce for outbound message?

  • dmiller's avatar
    dmiller
    Former Employee

    @asharifian can correct me if he meant this to be implemented in another way, but it’s likely available via a triggered task.

    • In Designer, on the far right of the toolbar, click the More Tools arrow.
    • On the expanded toolbar, click Create Task
    • Fill out the necessary details and save it. In the confirmation message should be a link to see tasks for this project in Manager.
    • Click that link, or go to Manager, find your project and look at your tasks.
    • Find the task you created, click the drop-down arrow and select Details. You should find the Cloud URL for there.
  • ronnyr's avatar
    ronnyr
    New Contributor

    @dmiller I created the Task and now should I add those task in the beginning of the Pipeline (before Receive SFDC Message snap). What snap should I use to attach that Task I created earlier?

    Thanks.