Query
Learn more about querying a workflow automation
Introduction
A query allows you to select a target based on specific criteria. You can associate a segment code with the query results and insert additional data into it. By customizing the search parameters, you can obtain query results tailored to your criteria for work items. A query consists of various conditions that define your search, bringing results in line with the set parameters.
Query Creation Process
Example Query: Get Salesforce Accounts and print using Debug.
Configure the Query: Drag and drop a Flow action. Click Configure and provide a description for the flow (e.g., Get SF Accounts Information).

Drag and drop a Query action. Click Configure, select the Source as Salesforce, and Object as Account.

In the configure query section, select All fields or choose individual Salesforce fields. Select All Fields.
Preview the Results: Click Preview from the Configure Query section. The Salesforce objects will be displayed as Rows in the Result section.
Debug the Query: Drag and drop a Debug action. Click Configure and define the variable.

Click the fx icon to access the schema, then drag and drop the name schema onto the debug panel. Select the correct Name field to display the Salesforce account names.
Run the Integration:
Click the Close icon and Save.

Click the Run icon to execute the integration.
The console will display the executed query and print the Salesforce Account Names.

Related Content
Log Management - This section explains how to manage and view logs in DBSync, helping you troubleshoot and monitor integration processes.
Transformation Examples - This page offers examples of how to use query transformations in your integration projects within DBSync.
Last updated