CentraSite Documentation : Working with the CentraSite Business UI : API Management Solutions : Working with Email Notifications : Custom Email Template : Create Email Templates for Workflow Notifications
Create Email Templates for Workflow Notifications
You can use a specific email template for each workflow that you create. For example, if you have an API Consumption Approval workflow, you can use an email template that was written specifically for the API consumption approval.
Complete the following procedures to create a custom email template.
1. Create your own custom HTML email template.
Your HTML document should include the <html> and <label> tags as shown in the example below.
Example of a Notify API Key Generation Email Template
<html>
Congratulations! ${policycontext.consumer.name},<br/><br/>
Your Consumption Request for the API ${entity.name} on ${request.date}
has been processed successfully. <br/>
You can now access the API using the API Key -
<b> ${policycontext.apikey} </b>.
The key expires on <b> ${apikey.expirationdate} </b><br/><br/>
<b>Information about API usage:</b>
<br>${api.usage}</br>
</html>
2. Specify the key parameters.
Set this parameter...
To specify...
{policycontext.consumer.name}
Name of the consumer.
{entity.name}
Name of the API.
{request.date}
Date of the request for API consumption.
{policycontext.apikey}
The API key.
{apikey.expirationdate}
Expiration date of the API key.
{api.usage}
Usage tips for the API key.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback