Service hooks

Service hooks allow for easier integration of Sitefinity CMS with third party systems. With them you can run tasks on other services when an event happens in your Sitefinity CMS site. For instance, you can send a notification to an app when a news item has been published. 

With the appropriate license, you can create service hooks in the UI and add custom service hooks. To create service hooks, navigate to Administration » Service hooks. For more information, see Create service hooks

Service hooks utilize triggers and actions to subscribe to an event and then when the event is triggered to perform a pre-defined action.  

Trigger is an event or a set of events that will trigger the configured action.  

Actions define what happens when the trigger criteria are met. For instance, with the Webhook action, a post request is sent to the listening service.  Depending on your license you get access to the following Service hook actions: 

  • Webhooks 
  • Custom service hook actions

Webhooks are available for all licenses. With the webhook action, when a particular event is registered, the data for the event is sent to a URL that you have registered in the webhook.

The URL can be the URL of an external system or application that you want to integrate with Sitefinity CMS. The webhook action allows you to accomplish this without writing code in Sitefinity CMS.  
   
The Service hooks mechanism has its own module and configuration section in the Advanced settings. For more information, see Configure service hooks
 

 

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?