cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Account Deletion Email Only for Lite Account Deletion

krishnakumar_1712
Participant
0 Kudos

Hi Team,

I need help.

Problem Statement:

I need to trigger the CDC Account deletion email for the Registered user, But account deletion email should not trigger while we delete Lite registred account.

Currently Account deletion email is triggering in both Lite account deletion and full registered account deletion.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

olehi941
Active Participant

Hi Eldhos,

Taking into account my observations, I don't see any OOTB option in CDC to split that logic separately for Fully registered and Lite registered accounts.

In Policies we have only Account deletion confirmation(sendAccountDeletedEmail) config flag.

In accounts.deleteAccount or accounts.deleteLiteAccount parameters we also cannot find anything that could help us to manage this.

olehi941
Active Participant

Hi again, Eldhos. One workaround came to my mind how you can manage this case, if you really need keep this requirement(I put it here in comments, but it is a part of the answer).

As I remember you follow this implementation:
Parent site group Brand
Child site Brand A
Child site Brand B

Proposal: add one more child site.

Parent site group Brand
Child site Brand A
Child site Brand B
Child site Deletion configuration

It will be only one difference for Deletion configuration site: Select Override parent settings and unselect Account deletion confirmation settings.

Customers share between sites as they are in the same parent group.
It gives you a capability to delete any of customers from each of sites.

So, before to delete customer you need to check:
1) If it is Fully registered - delete customer using Parent site group Brand API Key.
2) If it is Lite registered - delete customer using Child site Deletion configuration API Key.

In first case deletion email will be send for deletion of Full Account.
In second case deletion email will not be send for deletion of Lite Account.

Logic and implementation may be different for deletion, but the main point of configurations similar like highlighted above.

Hope it helped you.

SebastianSchuck
Active Participant

Another option would be to set up your own email sender implementation listening to account deletions via webhooks.

Answers (0)