Sitecore Content Hub - Approved Asset Email
Today I am going to show you how you can have Content Hub send emails to users that belong to a certain user group when an asset is approved. There are a few steps that need to be followed to accomplish this: Create an Email Template Create a user group Create the script Create the action Create the trigger So let's get started. There's currently no way to create email templates using the Content Hub graphical interface, therefore, we will use the REST API to do this. We need to authenticate ourselves to make further calls using the API: POST: https://{hostname}/api/authenticate Body: { "user_name":"YourContentHubUsername", "password":"YourPassword" } The response will be something like this: { "token": "b9xxxfeac7fe41234544286e27f5xxxx" } Once you have the token, you can create the email template by using the entities endpoint: POST: https://{hostname}/api/entities Header:...