Menu
Get related records count
Get related records count
POST
/{moduleApiName}/{recordId}/actions/get_related_records_countUse it in a workflow
- Add a step and choose the Zoho CRM connector.
- Pick the Get related records count action (under Related Records).
- Fill in the fields below, then reference the result from later steps as
{{getRelatedRecordsCount.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"get_related_records_count": [
{
"related_list": {
"api_name": "string",
"id": "string"
},
"params": {
"filters": {
"comparator": "equal",
"field": {
"api_name": "api_name30"
},
"value": "string"
},
"approved": false,
"converted": false,
"category": "link",
"approval_state": "approved"
}
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{getRelatedRecordsCount.response.data.<field>}}.
{
"get_related_records_count": [
{
"count": 0,
"related_list": {
"api_name": "string",
"id": "string"
}
}
]
}
Need more? See the Zoho CRM guide for connection setup and behaviour shared by every action.
Was this page helpful?