Salesforce - Export new/updated records trigger

This trigger monitors Salesforce for newly created or updated records that match the SOQL WHERE clause you provide and retrieves them as a CSV stream.

There is an expected delay when this trigger creates a job. The job processes after a query is completed in Salesforce. You can't test recipes using this trigger due to the processing delay.

This trigger uses V2.0 of the Salesforce Bulk API. Refer to the Salesforce bulk operations guide for more information about bulk operations.

REPLICATE DATA TO A DATA WAREHOUSE

You can use this trigger with the Get object schema action to fetch schema information from a Salesforce object and replicate it to a data warehouse.

Refer to the ETL/ELT documentation for more information about bulk triggers and ELT/ETL processes.

Input

Input fieldsDescription
ObjectSelect the standard or custom object type to monitor.
Fields to retrieveSelect the fields to retrieve from the object. Workato retrieves all fields by default. Entering specific fields to retrieve improves recipe performance and mitigates schema errors.
SOQL WHERE clauseEnter a SOQL query to filter records by. For example: StageName = 'Closed Lost' AND IsClosed = false. Refer to the SOQL guide for more information.
Schedule settingsConfigure the trigger schedule. Refer to the scheduler trigger to configure this section.
When exporting records to form the CSV, fetch them in batches ofEnter the maximum number of records to process in each batch. Defaults to 10000.
Include deleted records?Select whether to include deleted records in the results. Defaults to No.
When first started, this recipe should pick up events fromSet the date and time to start picking up trigger events. This enables your recipe to capture past events. Refer to Triggers to learn more about this input field.

Output

Output fieldsDescription
All records successfully processed?Whether all records were processed successfully.
Number of records processedThe number of records processed.
Number of records failedThe number of records that failed to process.
Number of retried recordsThe number of records Workato retried processing.
CSV contentDatapill that contains the output of the trigger. Take note to utilize it primarily alongside streaming compatible actions like S3 upload file streaming action.
Object nameName of the object being retrieved.
Object schemaThe schema of the object being retrieved, based on the fields the user has selected. Each field has with it the associated name, label, original datatype, and mapped datatype. This allows for easy processing with database uploads and any additional transformations required.
Created or updated fromThe time and date the record was created or updated.

Last updated: