Log an email (Used Recipient ID) in record triggered flow #inSalesforce
When Oppty Stage is updated to Closed Won, Send an email to Contact Role in Opportunity
Create a record-triggered flow | Opportunity | Criteria: Stage equals Closed Won | Only when ... selected | Action and Related Records
GET:
getContactRoles
Opportunity Contact Role
Criteria: OpportunityId equals record.id
Only the first
DECISION:
Contact Role Exists or Not?
Yes: getContactRoles isnull False
No: End
Yes: Continue
Send Email Action:
Body: Text Template | emailBody | Dear, record.Name is Closed. Thank You
Log Email on Send: True
RecipientId : getContactRoles.ContactId (where email is logged)
Rich Text Formatted Body: True (as needed)
Subject: emailSubject(Text Template) Record.Name is Closed
Save, Debug and Activate
Comments
Post a Comment