Data Engineering

Streamlining Salesforce Data Integration: A Quick Guide with Dataworkz

A quick guide to moving data into Salesforce with write-backs, scheduled and monitored, with no custom code.

Key takeaways

  • The guide shows how to move data from a Google Cloud Storage (GCS) bucket into Salesforce with write-backs, letting you combine customer data from multiple sources and keep an up-to-date view in Salesforce.
  • The process breaks into three steps: configure a new Salesforce connection to the GCS bucket (choosing an authentication method and adding the workspace/collection), establish write-back permissions for selected SFDC objects in the Configuration tab, and write datasets back to Salesforce.
  • During write-back you can apply transformations to a GCS dataset, define the target SaaS destination and collection, and map a unique identifier key plus the columns you want moved to Salesforce.
  • Jobs can run one time or on a recurring schedule (the example uses every 24 hours), so new data is automatically written back to the SFDC entity.
  • A monitoring screen reports on records written to Salesforce; for failures, Dataworkz captures the detailed error message and the data passed to Salesforce (in the example, 5 of 9 records failed) for follow-up.
On this pagesections

    In just two minutes, we’ll guide you through the steps to effortlessly move data from a Google Cloud Storage (GCS) bucket to Salesforce with the added benefit of write backs. By leveraging Dataworkz, you can efficiently combine customer data dumps from multiple sources and effortlessly push them into Salesforce. Better yet, by scheduling a recurring job, you’ll always have an up-to-date view of all your customer data within the Salesforce platform.

     

    Let’s break down the process into three simple steps:

    Step 1: Configure a New Salesforce Connection

    • Begin by configuring a new Salesforce connection to the GCS bucket from which you need to enable write backs.
    • Select your preferred authentication method.
    • Add the workspace and collection for the Salesforce app.

    Upon completing the process, you will receive a prompt to sign in to your Salesforce developer account, and Dataworkz will securely save your configuration.

    Once you return to the Dataworkz salesforce configuration page, you should see your salesforce connection:

    Step 2: Establish Configuration between Dataworkz and Salesforce

    Once connected, head to the Configuration tab. Click on the configuration name that has been created, and go to the writeback permissions tab. Here you can select the SFDC objects that you wish to support writeback. Follow these steps:

    • From the drop down select the SFDC objects for which you want to support writeback
    • Once you have configured the writeback permissions, click save

    Step 3: Write Back to Salesforce

    To write the datasets within the workspace and collection back to Salesforce, follow these simple steps:

    • Go to the GCS dataset within Dataworkz that you want to write back to Salesforce
    • Find the “Transform” option in the top right of the dataset screen, where you can perform any necessary transformation functions on the dataset before pushing it to SFDC
    • After defining all of the transformations, click “Execute” in the top right corner and define the target. 
    • Find the SaaS destination workspace, and the collection will be the name of the salesforce configuration that was given, in this case ‘dw_writebacks_sfdc’.
    • Map the unique identifier key, and then map all existing columns from the dataset that you would like to move to salesforce

    • Choose the frequency on which you want the job to run – you can either run this as a one time job, or you can run this as a recurring job. For this example we set the recurring frequency to be once every 24 hours

    • After completing the process, click “submit,” and Dataworkz will write your data back into Salesforce. Because the job is configured as recurring, any new data that arrives will automatically be written back to the SFDC entity once per day.

          Monitoring write back jobs:

    • Utilize the monitoring screen to retrieve details about all the records written to Salesforce. In the event of errors, Dataworkz captures the detailed error message along with the data passed to Salesforce for follow-up action. In this example, 5 out of the 9 records being updated in Salesforce failed, and you can view the input message along with the detailed error message for one of the failed records.

    By following these steps, you can seamlessly integrate your data between GCS and Salesforce, ensuring a smooth and up-to-date flow of information. Dataworkz empowers business users to manage this process efficiently, making Salesforce data integration a breeze no matter the data source.

    Frequently asked questions

    What does this guide help you accomplish?

    It walks through moving data from a Google Cloud Storage (GCS) bucket into Salesforce with write-backs, so you can combine customer data from multiple sources and maintain an up-to-date view within Salesforce.

    What are the three steps to set up the Salesforce integration?

    Configure a new Salesforce connection to the GCS bucket, establish write-back permissions for the SFDC objects you want to support, and write the datasets back to Salesforce.

    Can the data integration run automatically on a schedule?

    Yes. The write-back job can be run as a one-time job or as a recurring job; in the example it is set to run once every 24 hours, automatically writing new data back to Salesforce.

    How are write-back errors handled?

    A monitoring screen retrieves details about records written to Salesforce, and for failed records Dataworkz captures the detailed error message along with the data passed to Salesforce for follow-up.

    See what your engineers can ship in production

    Dataworkz is the agentic AI platform enterprises trust to put AI agents into production. Teams build production-ready agents in days, every decision stays traceable, and every agent has ROI attached.

    Explore the platform