Sync Salesforce opportunity and account revenue totals
Recipe ToolsCRMMarketing
What it does
When a scheduled interval arrives, this automation queries Salesforce opportunities and accounts to calculate revenue totals. It logs the sums and record counts to the job report so the team has current metrics.
Who it's for
RevOps teams who need to track revenue totals across opportunities and accounts on a schedule.
How teams use this
Track revenue on a schedule
Run the queries daily or weekly to log opportunity and account revenue totals in the job report. The team reviews the report to monitor trends without manual queries.
Alert when revenue falls below target
Extend this automation to check if the sum of revenue drops below a target amount and send a notification to Slack. Only the threshold condition and notification step need to be added.
Filter opportunities by stage or date
Modify the WHERE clause to include only opportunities in specific stages or with close dates in the current quarter. The rest of the flow remains the same.
How it works
- Run on a specified interval. This automation starts at the scheduled time you set, such as daily or weekly, and begins the revenue calculation process.
- Search opportunities and sum revenue. Query Salesforce opportunities with a WHERE clause to find active records and calculate the total revenue across all matching opportunities.
- Search accounts and sum revenue. Query Salesforce accounts with a WHERE clause to find active records and calculate the total revenue across all matching accounts.
- Log totals to job report. Write the sum of revenue on opportunities, sum of revenue on accounts, and record counts to the job report for visibility.