Sync Salesforce opportunities to Box weekly

CRMMarketingSalesUtilitiesCollaborationDocument Management

What it does

When a scheduled Salesforce opportunity search runs each week, this automation creates CSV lines from the results. The file uploads to Box and someone receives an email confirmation so the team knows the data loaded.

Who it's for

Sales operations teams who need weekly Salesforce opportunity exports in Box without manual downloads.

How teams use this

Export opportunities weekly to Box

Run the scheduled search each week to pull opportunities from Salesforce, format them as CSV, and upload to Box automatically. The team gets an email when the file is ready.

Filter opportunities by stage or amount

Modify the SOQL query WHERE clause to only include opportunities that meet specific criteria like stage or amount. The CSV and email flow stays the same with only the search condition changed.

Add opportunity owner to the CSV

Include the opportunity owner field in the CSV composition step so the exported file has owner information. This requires only adding the field to the CSV format.

How it works

  1. Search opportunities on schedule. Run a scheduled Salesforce opportunity search each week using a SOQL query to find records that match the criteria you define.
  2. Check if results exist. Evaluate whether the first batch of opportunities was returned so the next steps only run when there is data to process.
  3. Compose CSV from results. Format the opportunity records as CSV lines in Salesforce so the file is ready to upload to Box in the standard format.
  4. Upload file to Box. Send the CSV file to Box using the file contents so the team can access the weekly opportunity export from a central location.
  5. Send completion email. Notify someone via email that the weekly Salesforce opportunity data has been loaded to Box and is ready for review.