For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Lake to Salesforce

This guide describes how to consolidate customer data from multiple sources and write it to Salesforce using Dataworkz. By scheduling a recurring job, you can keep Salesforce up to date automatically.

The process has three steps.

Step 1: Configure a New Salesforce Connection

  • Configure a new Salesforce connection to the GCS bucket from which you want to enable write-backs.

  • Select your preferred authentication method.

  • Add the workspace and collection for the Salesforce app.

After completing the configuration, you are prompted to sign in to your Salesforce developer account. Dataworkz securely saves your configuration.

Your Salesforce connection then appears on the Dataworkz Salesforce configuration page:

Step 2: Establish Configuration Between Dataworkz and Salesforce

After connecting, go to the Configuration tab. Click the configuration name you created, then open the Writeback Permissions tab. Select the Salesforce (SFDC) objects you want to support for write-back:

  • From the dropdown, select the SFDC objects for which you want to enable write-back.

  • Click Save.

Step 3: Write Back to Salesforce

To write datasets from a workspace and collection back to Salesforce:

  • Open the GCS dataset in Dataworkz that you want to write back to Salesforce.

  • Click Transform in the top right of the dataset screen to apply any required transformations before writing to Salesforce.

  • After defining all transformations, click Execute in the top right and define the target.

  • Select the SaaS destination workspace. The collection name matches the Salesforce configuration name — in this example, dw_writebacks_sfdc.

  • Map the unique identifier key, then map all columns from the dataset that you want to move to Salesforce.

  • Select the job frequency — one-time or recurring. In this example, the recurring frequency is set to once every 24 hours.

  • Click Submit. Dataworkz writes your data back to Salesforce. Because the job is configured as recurring, new data is automatically written to the SFDC entity once per day.

Monitoring Write-Back Jobs

  • Use the monitoring screen to view details about all records written to Salesforce. When errors occur, Dataworkz captures the error message along with the data passed to Salesforce for follow-up action. In this example, 5 of the 9 records being updated in Salesforce failed. You can view the input message and the detailed error message for each failed record.

Last updated