Cloud Workflow
Raise an IssueJoin Community
  • Getting Started
    • Introduction
    • Integration Basics
    • Sign Up and Get a License
    • Features and Benefits
  • DBSync Platform
    • Core Components
    • System Requirements
    • AppCenter
      • Company and User Management
    • Development Studio
    • Security Features
  • iPaaS
    • Home
    • Apps
    • Extend
      • Functions
    • Administration
      • User & Role Management
    • Logs
    • Remote Agent
    • Published Templates
  • Create your Workflow
    • Project
    • Task
    • Flow Builder
      • Standard Functions
    • Actions
      • Flow
      • Variable
      • Transform and Write
      • SQL
      • Restructure
      • Query
      • Debug
      • ReST
      • Conditions
        • If (Condition)
        • For (Loop)
      • Storage
        • Dropbox
        • File
        • CSV
        • Google Drive
        • FTP
        • S3
      • Flow Management
        • Flow
        • Logs
        • Notification
        • Schedule
        • API
        • Webhook
        • Forms
    • Configuring DBSync Environment
  • Connectors
    • Amazon S3
    • Authorize.NET
    • ChannelAdvisor
    • Database
    • Dropbox
    • FTP
    • Google Drive
    • Google Sheets
    • HubSpot
    • JIRA Cloud
    • JIRA Service Management
    • Linnworks
      • Creating the DBsync Application on Linnworks Developer Instance
    • Mailchimp
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics 365 Finance and Operations (D365 F&O)
    • Microsoft Dynamics CRM Online
    • Microsoft Dynamics GP
    • Microsoft Dynamics NAV
    • monday.com
    • Narvar
    • NetSuite
      • NetSuite Connector Settings
    • OpenAPI
    • PointClickCare
    • QuickBooks Desktop
    • QuickBooks Online
    • Sage Intacct
    • Salesforce
    • ShipStation
    • Shopify
    • SkuVault
    • WooCommerce
  • Template Library
    • Salesforce to QuickBooks Online Order to Cash
    • Salesforce to QuickBooks Desktop Order to Cash
    • Salesforce to FTP Integration
    • QuickBooks Online to Salesforce Accounts Receivable
    • QuickBooks Desktop to Salesforce Accounts Receivable
    • QuickBooks Online to Business Central Integration
    • QuickBooks Online to ShipStation Orders
    • QuickBooks Desktop to Shipstation Orders
    • QuickBooks Desktop to monday.com Integration
    • QuickBooks Online to monday.com Integration
    • Shopify to QuickBooks Online
    • Shopify to QuickBooks Desktop
    • Linnworks Orders to QuickBooks Online
    • Linnworks Orders to QuickBooks Desktop
    • Linnworks to Salesforce Integration
    • Salesforce Litify and QuickBooks Online
    • Salesforce Litify and QuickBooks Desktop
    • HubSpot to QuickBooks Online Order to Cash
    • HubSpot to QuickBooks Desktop Order to Cash
    • SkuVault Orders to QuickBooks Desktop
    • SkuVault Orders to QuickBooks Online
    • SkuVault and Salesforce
    • ChannelAdvisor Orders and Salesforce
    • ChannelAdvisor and QuickBooks Online
    • ChannelAdvisor and QuickBooks Desktop
    • Shopify Orders to Dynamics365 CRM
    • Shopify Orders to Salesforce
    • ShipStation to Dynamics 365 CRM
    • ShipStation Orders to Salesforce
    • ShipStation to QuickBooks Online Orders
    • ShipStation to QuickBooks Desktop
    • Target Recruit to QuickBooks Online
    • Target Recruit to QuickBooks Desktop
    • QuickBooks Online to Database
    • QuickBooks Desktop to Database
  • Troubleshooting
    • Common Errors & Fixes
    • Adding Trusted IP Address in Salesforce
    • Installing QuickBooks Web Connector
    • QuickBooks to Salesforce Data Migration
    • Setting Password in QuickBooks Web Connector
    • Starting QuickBooks Web Connector
    • Update Salesforce Password & Security Token in DBSync
  • Additional Resources
    • Billing Information - Auto Renewal
  • Tutorials
    • Salesforce and QuickBooks
      • Account Hierarchy in Salesforce and QuickBooks
      • Account Owner Mapping
      • Resolving Email Fields Sync Issues in QuickBooks Online
      • Mulitple Price Levels in Salesforce QuickBooks Integration
      • Multicurrency in QuickBooks to Salesforce Integration
      • Multicurrency in Salesforce - QuickBooks Desktop Integration
      • Multicurrency in Salesforce QuickBooks Online Integration
      • Product Hierarchy in QuickBooks and Salesforce
      • QuickBooks Data Extraction Queries
      • QuickBooks File Backup and Recovery Process
      • QuickBoooks Reports to Salesforce Integration
      • Recurring Transactions to Accounting System
      • Retrieve Value from custom Field of QuickBooks Online
      • Salesforce Opportunity to QuickBooks - Disabling Jobs
      • Salesforce QuickBooks Custom Mappings
        • Use Case
      • Salesforce QuickBooks Integration with Multiple QuickBooks
      • Syncing Standard Group Line Items in QuickBooks Desktop
    • Using Date Function in DBSync Integration
    • Salesforce and Database
      • Database to Salesforce Integration
    • Database to Database
      • Database to Database Integration
Powered by GitBook
On this page
  • Introduction
  • Use Case
  • Prerequisites
  • Step-by-Step Process
  • Related Content
  1. Create your Workflow
  2. Actions

Transform and Write

Learn how to modify a Query

PreviousVariableNextSQL

Last updated 27 days ago

Introduction

DBSync Cloud Workflow allows users to modify queries and seamlessly integrate them within workflows. The Transform and Write action enables query customization or alteration without the need to recreate the entire flow. This feature is particularly useful for transforming data from one format to another and writing it to a different application.

Use Case

In this tutorial, we will demonstrate how to use the Transform and Write action to pull Salesforce Accounts and transform this data to insert all Salesforce Accounts as Customers in QuickBooks.

Prerequisites

Before you begin, ensure you have the following:

  • A sample flow, query, and debug setup. Refer to the Query documentation for more information on query creation.

  • The Salesforce application connector is configured.

  • The QuickBooks application connector is configured.

Step-by-Step Process

  1. Create or Access Your Project: Click on Create to start a new project or select an existing project where you want to implement the transformation.

  2. Add a Query Action: Drag and drop a Query action into your workflow.

  1. Click Configure and set the source to Salesforce and the object to Account. You can choose All Fields or specific fields as required.

  2. Preview Query Results: Click on Preview to display the results of the query. Ensure that the query returns the expected data.

  3. Add Transform and Write Action: Drag and drop the Transform and Write action into your workflow.

  4. Click Configure and select the operation as Insert, the target as QuickBooks and the object as Customer.

  5. Mapping Fields: defines how data fields from the source system are transformed and transferred to corresponding fields in the target system during integration.

  6. Drag and drop the necessary fields from the Salesforce Account object to the corresponding QuickBooks Customer fields. For example, map the Display Name field in QuickBooks to the Name field from Salesforce.

  7. Save the Mapping: After completing the mapping, click Save to save the mapping configuration.

  8. Save the Transform and Write Workflow: Click Save to save the entire Transform and Write workflow.

  1. Run the Integration: Click the Run icon to execute the integration. The console will display the executed query, and it will insert the Salesforce Accounts as Customers in QuickBooks.

  2. Debugging: If needed, add a Debug action before the Transform and Write action to verify the data being processed. Configure the debug action to display relevant fields to confirm that the data is correct before it is written to QuickBooks.

  3. Review Console Output: After running the integration, check the console output for any errors or confirmation messages to ensure the process completed successfully.

  1. Iterate and Optimize: Based on the results and any errors encountered, make necessary adjustments to the mapping or query as needed. Repeat the process until the workflow operates as expected.

PRO TIP

When mapping fields in the 'Transform and Write' action, ensure that the data types between the source and target fields are compatible. This prevents data conversion issues and ensures smooth data transfer.

Frequently Asked Questions (FAQ)

1. Can I transform data before writing it to the target application?

Yes, the 'Transform and Write' action allows you to transform data, such as changing formats or applying calculations, before writing it to the target application.

2. Is it possible to use multiple queries in a single Transform and Write action?

Yes, you can use multiple queries and combine their data in a single 'Transform and Write' action to write comprehensive data sets to the target application.

3. How do I handle errors encountered during the Transform and Write process?

Use the console output and debug actions to identify and troubleshoot errors. Check for issues like data type mismatches, missing fields, or incorrect mappings.

4. Can I schedule the Transform and Write action to run automatically?

Yes, DBSync Cloud Workflow allows you to schedule flows, including the Transform and Write actions, to run automatically at specified times.

Related Content

: Creating and Managing Queries in DBSync CloudWorkflow

: Automating Workflows with Scheduled Tasks

: Troubleshooting Common Errors in DBSync Integrations

Query
Flow
Logs