Standard Approval Work Item (AWI) fields aren't always directly accessible within custom Content Definitions or email templates. To bridge this gap, you’ll need to copy the necessary data from the AWI record onto the related Quote record.
This process requires:
Custom fields on the Quote object to house the data.
A Record-Triggered Flow to automate the data transfer.
Lightning Email Templates to display the final values.
[!NOTE] Ensure you have Customize Application and Manage Flows permissions before starting.
Follow these steps to surface your approval data.
First, create the fields on the Quote object that will hold the information you want to see in your email.
Navigate to Setup > Object Manager > Quote.
In Fields & Relationships, click New.
Create fields based on your needs (e.g., "Last Approver" as a Text field, or "Approval Decision Date" as a Date/Time field).
Create a Record-Triggered Flow to send data from the Approval Work Item to your new Quote fields.
Go to Setup > Flows and select New Flow.
Choose Record-Triggered Flow and click Create.
Set the Object to Approval Work Item.
Set Trigger the Flow When to A record is updated.
Add a Get Records element to find the related Quote using the Quote ID from the triggering AWI record.
Optional: If you need the Approver's name, add a Get Records element for the User object to find the user associated with the AWI.
Add an Assignment element to map the AWI values to your Quote fields:
Example: Quote.Last_Approver__c Equals User.Name
Example: Quote.Approval_Decision_Date__c Equals $Record.Decision_Date__c
Add an Update Records element to save the changes to the Quote.
Save and Activate your flow.
Now that the data lives on the Quote, you can pull it into your notifications.
Open your Lightning Email Template.
Use the Merge Field Picker to find the custom fields you created on the Quote object.
Insert the merge fields (e.g., {{{Quote.Last_Approver__c}}}) into your email body.
Save the template.
Now, whenever an approval status changes, your Quote will update automatically, and your emails will reflect the most current approval details.
005347758

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.