Sync Salesforce report details to Outlook emails
ProductivitySales EnablementCRMMarketingData ParserUtilitiesRecipe Tools
What it does
When someone receives an email in Outlook from a specific sender, this automation fetches a Salesforce report and parses the data. It updates variables with each report item so the details are ready to use.
Who it's for
Sales operations teams who need Salesforce report data attached to incoming emails without manual lookups.
How teams use this
Enrich emails with live Salesforce data
When an email arrives from a key contact, pull their latest project report from Salesforce and store it in variables. The team sees all relevant data without switching apps.
Route emails based on report content
Extend this automation to check a specific field in the parsed report and route the email to different teams based on project status or owner. Add a condition after parsing to filter by that field.
Monitor reports from multiple senders
Retarget this automation to watch for emails from other stakeholders by adding more sender addresses to the condition. The report fetch and parsing steps remain the same.
How it works
- Monitor emails from specific sender. When an email arrives in Outlook from marcus.turner@gmail.com, this automation starts and captures the message details for processing.
- Fetch the Salesforce report. Run getProjects in Salesforce to retrieve the report data that matches the incoming email context and extract all available fields.
- Parse the report structure. Parse the JSON document from the Salesforce report so each field and value is extracted and ready to map into variables.
- Loop through report items. For each item in the report factMap, repeat the variable updates so all data points are processed and stored for downstream steps.
- Store report data in variables. Create and update variables with the report details, including the FE Name field, so the data persists for use in later steps.