On Opportunity Update, send Custom Notification using Flow #inSalesforce

On Opportunity Update, send Custom Notification using Flow #inSalesforce


Create a new custom notification

Name it like MessageToOwnerOnOpportunityUpdate, Desktop,Mobile, Save



Create a record triggered flow on update, object - Opportunity

entry criteria  - stageName equals sampleValue and Amount >=10000, select - only when a record...


DECISION ELEMENT:

RecordPrior.stageName equals Prospecting  & Record.stageName ischanged true


GET RECORDS:

getNotification

object - Notification

criteria > developer name equals MessageToOwnerOnOpportunityUpdate

select - first record, automatically store..


ASSIGNMENT: assignTOwner

create resource variable - collection - ownerCollector, datatype - text, allow multiple values 'ownerCollector' add 'record.ownerid'


ACTION: send customNotification

Fill up the label customNotification etc

Custom Notification Id = getNotification.id (from getrecord id)

Body - Stage updated from Prospecting to sampleValue for record.name

Title sampleTitle

Recipient Ids - collection variable - ownerCollector

Target Id - record.Id











Comments