How to find custom email template

@colin_mckibben

I’m trying to use the same logic with life cycle state change. I know there is already an existing template for lifecycle change. I don’t want to edit that, Instead I tried creating a new notification template with the same pattern with if condition that sends email only if lifecycle state is inactive.

But here, I’m not able to view the notification template which I created through API call. I can only see the default templates under global->Email templates.

Can you help me where to find the notification templates which we create.

Hey @chandramohan2706,

Thanks for posting!

I think you are looking for the Notifications API Endpoint:

It should allow you to perform all the operations needed.

Take a look, and Please let me know if you have any specific questions I can help out with.

Hi @LukeHagar

I tried creating a notification template through API call and I see it got created. But I’m not sure where to view the notification template which I created. I searched under global-> email templates. But i only see the default templates and not the custom created template.

You should be able to view the custom notifications using the list notifications endpoint here:

Thanks @LukeHagar

I can see the notification template i created, But it not sending notifications when user life cycle state moves to INACTIVE. could you please let me know if there is any steps i need to follow to enable this custom email notification.

Custom Notification Template :

[
    {
        "id": "7bd82c62-cefc-4cf4-85a3-d90d2e112a99",
        "created": "2023-02-05T17:43:47.926Z",
        "modified": null,
        "medium": "EMAIL",
        "key": "cloud_lifecycle_state_change",
        "name": "Cloud Lifecycle State INACTIVE",
        "description": "Notification for lifecycle state change to INACTIVE",
        "locale": "en",
        "subject": "Lifecycle state change to INACTIVE for ${identityName}",
        "header": null,
        "body": "<font face=\"helvetica,arial,sans-serif\"><p> The user ${identityName}&#39;s status has changed to $inactive. </p><p> Thanks,<br /> The ${PRODUCT_NAME} Team </p></font>",
        "footer": null,
        "from": "$__global.emailFromAddress",
        "replyTo": "$__global.emailFromAddress",
        "slackTemplate": null,
        "teamsTemplate": null
    }
]

Hi everyone,
I tried to create notification templet but it is not creating. Could you please let me know if there is any steps I need to follow to create this custom email notification. Here I am sharing the templet.
“key”: “Revoke_access_for_users”, this key is same for all email templets or different? if no how to get key for email templet

{
    "medium": "EMAIL",
    "key": "Revoke_access_for_users",
    "name": "Revoke access for user",
    "description": "To revoke the access to user who not logged on  for 90 days",
    "locale": "en",
    "subject": "Reminder: Revoke access due to non active for  server",
    "header": "Dear john,<br/><br/>",
    "body": "Your access to the Black : Approver Access Profile is scheduled to revoke on 2023-06-21T12:47:52.978924+00:00due to not logged on for 90 days.\nIf you still need access to Black : Approver you need to login to application before 2023-06-21T12:47:52.978924+00:00",
    "footer": "<br/>Thanks,<br/> The $__global.productName Team<br/>",
    "from": "$__global.emailFromAddress",
    "replyTo": "[email protected]",
    "slackTemplate": null,
    "teamsTemplate": null
}

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