Web hook in salesforce?

前端 未结 5 508
耶瑟儿~
耶瑟儿~ 2021-02-05 09:13

I want to get notified when a new lead is created in Salesforce. Is there something like webhook in Salesforce or some other way to achieve this ?

Any help is appreciat

5条回答
  •  不思量自难忘°
    2021-02-05 09:38

    Salesforce does support webhooks, but they are just called by a different name - Callouts.

    Here's a link to the Developer documentation on the topic:

    Invoking Callouts Using Apex

    Here's a description of the feature taken directly from the link above:

    An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending a HTTP request from Apex code and then receiving the response. Apex provides integration with Web services that utilize SOAP and WSDL, or HTTP services (RESTful services).

    (emphasis added)

    This is basically a webhook, commonly defined as "a user-defined callback over HTTP" 2

提交回复
热议问题