Tailwind Logo

Sitecore Content Hub - Triggers and Actions

Digital Asset Management

Published: 2020-03-24

One of the basic features of the Sitecore Content Hub is the ability to set triggers and actions for entity changes. In this article, we will show you how to set up triggers and actions.

What is a Trigger?

The tool for setting Triggers can be accessed from the administration screen.

triggerhome.gif

In some cases, Triggers include standard settings by contract. In this screen, you can see that the triggers used by CMP are set.

Creating a new trigger screen is as follows. and then set the action associated with it.

triggercreate-2.gif

What is Action?

An action is defined as a process that you want to execute. Actions can also be accessed from the administration screen.

actionhome.gif

When creating a new action, the following dialog appears

actioncreate.png

The format in which the action can be executed is as follows

  • API Call
  • Azure Event Hub
  • Azure Service Bus
  • M Azure Service Bus
  • Action Script
  • Insights on Entity Generation Jobs
  • Start of state machine
  • Report Channel

One of the things we will be discussing frequently on this blog will be the integration with Azure Service Bus.

Triggers and Actions

The setup procedure is as follows. First, set the conditions in the trigger. Here we are creating a trigger when an automatic tag is generated for an asset.

autotagtrigger.png

The action that this trigger is calling is defined as follows

autotagaction.png

When a message is sent to the Azure Service Bus, a Logic App application is run to automatically change the English information set in the tag to Japanese using machine translation (how to make this will be introduced at a later date).

Summary

In this way, we have shown how a combination of triggers and actions can be used to perform automated processing in accordance with changes to entities in the Sitecore Content Hub. In the future, we will provide samples and other information using this mechanism.

Related article

Tags