Salesforce Integration using Webhooks

In this post we will talk about how to do Salesforce Integration using webhooks. Salesforce supports webhooks for communicating with many other applications. Before getting started let understand what is webhooks?

What is WebHooks?

In Salesforce, we can define what action should happen when a specific event occurs. Triggers and flows can define before and after actions. Similarly, other applications provides event actions called webhooks, which is basically an HTTP POST to external URLs, which are registered under specific event actions. A Webhook will transfer (PUSH) information as soon as it has it.

Webhooks are the modern, web-oriented way for servers to receive notifications from other servers. There are multiple applications that currently support webhooks. Github, JIRA, ServiceNow, Twilio, Whatsapp are some examples.

Creation of Webhook supported URL

In Salesforce creating a webhook supported URL involves the below steps:

  1. Create Apex REST API
  2. Create a public Site
  3. Enable Apex class Access to the site

Salesforce – GitHub Integration using Webhook

Check below recording for step by step process to Salesforce and GitHub Integration using Webhook.

Other Supported events

Check out the our YouTube, and don’t forget to subscribe to our channel, so that you’re notified right away when a new video is available.

Amit Chaudhary

Amit Chaudhary

Amit Chaudhary is Salesforce Application & System Architect and working on Salesforce Platform since 2010. He is Salesforce MVP since 2017 and have 17 Salesforce Certificates. He is a active blogger and founder of Apex Hours.

Share this article


  • How is the URL being constructed ? you said in the video that the base URL should be of site created and then appended by the URL exposed in @RestResource urlmapping. But your URL seems to be different than that. When I’m trying to create same, getting error – 401 unauthorize

    • /services/apexrest/ — Defined in your apex class.
      Hope this helps

  • Hello, just looking to see if you have posted anywhere the source code for this?

  • Hello ,
    i’d like to push data from Salesforce to an external application using webhooks (i have only the web service for this application).How can i establish this ?

    Thank you

  • Hello ,

    How can i push data from salesforce to another external application using webhook.

    Thank you ,

Leave a reply

Subscribe for Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3,546 other subscribers

Our Supporter


Apex Hours

Apex Hours is one stop platform to learn Salesforce skills and technology

Join our Newsletter and get tips and tricks how to explore the salesforce for free!