Is there an option to enable notifications/emails only for a specific source

In our tenant we have disabled notifications completely and would like to keep it that way because we don’t wanna bombard users with emails. However, some of the new sources require self service password reset to be set up, for which we would need to send out emails to the users for new account creation.

Is there a way to enable the notifications/emails only for this particular source?

If you are saying that you want to send the default “New Account Provisioned” template to send an email to tell users that they have been provisioned to a specific source and instructions to reset their passwords, you can update the template with an if statement that checks to see if this is the source that you want. The source variable is available in the template.

New Account Provisioned Email Template - SailPoint Identity Services

Apache Velocity Engine - User Guide

If you are saying that you want to send the user a link to reset their password when the source is provisioned, you could create a workflow on the Provisioning Completed Trigger to check for the source and then make an HTTP Request to

send-identity-verification-account-token | SailPoint Developer Community

2 Likes

Well that would send out email for all the existing sources. Is there a way for the email trigger to happen only for this specific source?

Hi Vikram,

You can enable the email notifications on account creation by patching the source. This will then utilize the template that Alicia has mentioned above. Refer to this post on an example API call and body.

Thanks,

Liam

1 Like

@vikramsah This will work New Account Provisioned Email Template - SailPoint Identity Services
The email would only be sent if the source is updated with “accountCreateNotification”. Add this flag as mentioned by @liamkokeeffe to specific soucre you need to send emails for. The email template can be updated using velocity/HTML to send specific emails based on source name if there are multiple sources that are using this flag.

1 Like

Hi

You just update your source with notifications details what ever the source do you want to enable for the account creation email.
Check @agutschow shared link to update the required Source.

Other sources which you did not update it won’t trigger any emails.

You can also use VS code and their you can directly update the notification details in the connector attributes path.

Thanks,
Siva.K

hi @vikramsah,

You can use a workflow with Provisioning Completed trigger and with the following filter to trigger only for a specific source.

$.accountRequests[?((@.provisioningTarget == '<Replace with Your Source Name>') && @.accountOperation == 'Create')]

Then in the later steps you can retrieve the email address and send the email notification as per the business need.

Thanks,
Uday

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