How to access application account attributes in Email Templates

I need to add value of an attribute from an application account in the email template when a new account is provisioned in the application. We just have the account id available in the email template but we need some other attribute to be sent in the email. Any pointers will be highly appreciated.

You can find the documentation for email templates here.

Email templates have global variables that are common to all templates, including the user variable that provides access to the email recipients identity attributes.

In addition to global variables, each email template has its own set of variables. You can see these variables in the “Attributes” section at the bottom of an email template: New Account Provisioned Email Template - SailPoint Identity Services.

In your case, you can use the {identity} variable to reference additional identity attributes in the email. For example, if you need to display the department of the identity in the email, you can use {identity.department}.

I already checked global variables and email template specific attributes. I need a value from an application account which is neither account id nor account name . I am looking for a way to access it via user variable if its at all possible.

If the account attribute isn’t mapped in the identity profile, then I don’t believe you can access it in an email template. The email template can access all identity attributes through the user variable (ex. user.location or user.cloudLifecycleState).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.