Webhooks in Salesforce - How to Setup and Configure Integration | Lightning Web Components
Автор: Salesforce Bolt
Загружено: 2024-02-25
Просмотров: 11234
Hi there, in this blog we will learn about webhooks. In simple words webhooks are a kind of mechanism to alter system from another system.
Let's understand it using an example - Let's say there are two servers "Server A" and "Server B".
Server A is the source from where we need to send the data and Server B is the target destination for the data. But there is another server database "Server C" in between them, so in end to end integration Server A will be sending data to Server C and Server B will be fetching it from Server C.
To fetch the data Server B will be hitting API request to Server C and will check if the data is available then fetch the data or else return null. Now without webhooks Server B will be continuously hitting API after a timespan to check if Server C is having the data which is not an efficient way as each API will be costing you something.
As a solution we will create a webhook URL and will give it to Server C and tell it that whenever you are having data just send Server B a ping.
Now whenever Server B is receiving a ping it will hit the request to Server B and will fetch the data.
#webhook #webhooks #salesforce
Join me on Instagram : / iamkapilbatra
My journey : https://www.salesforcebolt.com/p/abou...
Blog / Code Snippet : https://www.salesforcebolt.com/2024/0...
Website : https://www.salesforcebolt.com
LinkedIn : / salesforcebolt
Twitter : / salesforcebolt
Facebook : / iamsalesforcebolt
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: