I have user attributes family_name and given_name I want to use this in my verification email template like
hi {given_name} {family_name} your verification code is {####}
but the placeholder is not being replaced by the value. how can I achieve that?
I discover that AWS Cognito allows certain placeholders to be used in the verification emails. I created new lambda that gets triggers at Cognito custom-message-events and parses the provided parameter from Cognito and returns back as an event which fixed my issue. below is the sample code for that.