Export S3 test files when Salesforce PDF is ready

CRMMarketingDeveloper Tool

What it does

When a Salesforce record has a Preparative Statement PDF Id and Test Run is true, this automation lists files in Amazon S3. Someone can review what test files are available without leaving Salesforce.

Who it's for

Data and analytics teams who need to access S3 test files when Salesforce records are prepared for testing.

How teams use this

Review test files when PDF is ready

When a Preparative Statement PDF is added to Salesforce with Test Run enabled, automatically list the corresponding S3 test files. The team sees what is available without manual S3 access.

Filter S3 results by file type

Extend the automation to filter the S3 file list to only show CSV or PDF files. Add a condition to check the file extension so the team sees only relevant test data.

Route test files to a Slack channel

Send the S3 file list to a dedicated Slack channel when the Salesforce record is flagged for testing. This keeps the team informed without checking Salesforce or S3 manually.

How it works

  1. Monitor for new Preparative Statement PDF. Watch Salesforce for a new or updated record that has a Preparative Statement PDF Id and Test Run set to true.
  2. List files in Amazon S3. Query Amazon S3 to retrieve and display all available test files so the team can see what is ready for testing without manual access.