0

Is there a way to automatically create a user in an external web application once the user is created in Salesforce?

What are the different ways to go about doing it?

If you have some examples that I can try out, it will be helpful.

Thanks

2
  • Take a look at SF Integration Patterns.
    – identigral
    Commented Nov 21, 2019 at 18:32
  • sure, thanks identigral! Is there any working examples that I can try in my developer editions? If so, kindly share them! Commented Nov 22, 2019 at 5:09

1 Answer 1

2

So there are a couple of different ways of being notified when an sObject (in your case User) is created in Salesforce.

  • Platform Events This allows you to create a Custom Event type, and then create an Event via an Apex trigger, which your third party application can subscribe to to receive these events
  • Change Data Capture This allows your third party applications to subscribe to create and update events on some standard and custom objects
  • Streaming API This allows to create a PushTopic which your third party application can then subscribe to events when the condition of the PushTopic has been met
  • Outbound Message can be called from a Workflow which can send a SOAP API call to a third party application when the conditions of your workflow are met (I.e. a user gets created)
5
  • 1
    thanks Bryan! I will try out these and see how they work with my specific use case. Commented Nov 21, 2019 at 17:44
  • Hi @BryanAnderson, I was looking into Streaming API and wanted to let you know that user object is not supported under push topics. Reference URL: developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/… medium.com/@grace_62874/… Commented Nov 22, 2019 at 6:17
  • I was able to create an Outbound Message and send the message to an external service (putsreq.com) when the user got created. In case of third party application, will they be able to use this message to create user at their end? Commented Nov 25, 2019 at 7:19
  • @user3810861 yes it should give you the information on the User you should need Commented Nov 25, 2019 at 13:58
  • 1
    thanks, this helps! Commented Nov 26, 2019 at 14:54

Not the answer you're looking for? Browse other questions tagged .