Skip to main content

Get Records

Description

Zoho CRM: Get Records step fetches records matching the criteria query.

No.Scope
1scope=ZohoCRM.coql.READ

(and)

scope=ZohoCRM.modules.all

OR

scope=ZohoCRM.modules.{module_name}.{operation_type}

References: • https://www.zoho.com/crm/developer/docs/api/v3/get-records.htmlhttps://www.zoho.com/crm/developer/docs/api/v3/Get-Records-through-COQL-Query.html

Configurations

General Tab:

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Connection:
2Base URLSpecify a base URL of the Zoho CRM instance.

For example: https://crm.zoho.in

The Base URL will change as per the Data Centre.
3Client IdSpecify the client Id that is created on Zoho Developer Console.

The data type is string. This field is mandatory.

Client Secret:
4Checkbox: Accept value as variable/staticLeave checkbox unchecked to accept Client Secret from a field in the previous steps using a drop down list, else enable checkbox for Client Secret field to appear as text box.
5Client SecretSpecify Client Secret that is created on Zoho Developer Console. The data type is string. This field is mandatory.If checkbox above is enabled Client Secret field appears as Text box and you may provide a static value or variable.

Else if checkbox above is disabled Client Secret field appears as a drop down containing fields from previous steps. You may select the field containing the Client Secret value.

Refresh Token:The process to get Refresh Token is available in Appendix 27: ZOHO CRM: Generate Refresh Token.
5Checkbox: Accept value as variable/staticLeave checkbox unchecked to accept Refresh Token from a field in the previous steps using a drop down list. Else enable checkbox for Refresh Token field to appear as Text box.
6Refresh TokenSpecify the Refresh Token with appropriate permissions.

The data type is string. This field is mandatory.

If checkbox above is enabled Refresh Token field appears as Text box and you may provide a static value or variable.

Else if checkbox above is disabled Refresh Token field appears as a drop down containing fields from previous steps. You may select the field containing the Refresh Token value.
7Test ConnectionVerifies the connection is established or not.

Note: The Test Connection button does not work for previous step variables. The button only works with static values and environment variables.

Input Tab

No.Field NameDescription
Input Fields:
1ModuleSpecify a module module whose records are to be fetched.The data type is string. This field is mandatory.
2GetOn click; if connection is successfully established it populates the list of modules.

Note: The Get button will not work for the previous step variables; the button will only work with static values and environment variables in the connection parameters.

3Criteria QueryProvide the Criteria Query to get the records.

Example:

1. Select Last_Name from Contacts where Last_Name is not null

2.Select Last_Name, Account_Name.Parent_Account, Account_Name.Parent_Account.Account_Name from Contacts where Last_Name is not null and Account_Name.Parent_Account.Account_Name is not null.

The data type is string. This field is mandatory.
4Fetch Record Batch SizeSpecify the batch size based on which the step will fetch the record.

Note: A numeric value between 1 to 200 is allowed.

The data type is string. This field is mandatory.

Output Tab

No.Field NameDescription
Output Fields:
1Record IDSpecify an output field to define the output variable name. The default output variable name is “RecordID”. On successful execution, it holds the Record ID.
2Field NameClick in the output table, and fields associated with the module will be populated.
3Output FieldSpecify an output field to define the output variable name. It holds the value of the respective field name.