Skip to product menu
close
  • Recent Launches
    Press Space or Enter to display list of options
EXPLORE ALL PRODUCTS

Recent Launches

New

Payroll software with automated tax payments and filing.

Try now
New

Robotic process automation software to automate high-volume, rule-based tasks.

Try for free
New

Low-code IoT platform and solutions for connected businesses.

Try now
New

Business formation service to launch and grow your businesses.

Try now
New

Privacy-friendly application analytics solution.

Try for free

Sales

 
CRM

Comprehensive CRM platform for customer-facing teams.

CRM
 
Bigin

Simple CRM for small businesses moving from spreadsheets.

Bigin
 
Forms

Build online forms for every business need.

Forms
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
Sign

Digital signature app for businesses.

Sign
 
RouteIQ

Comprehensive sales map visualization and optimal route planning solution.

RouteIQ
 
Thrive

Complete loyalty and affiliate management platform.

Thrive
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
Suites
CRM Plus

Unified platform to deliver top-notch customer experience.

CRM Plus

Marketing

 
Social

All-in-one social media management software.

Social
 
Campaigns

Create, send, and track targeted email campaigns that drive sales.

Campaigns
 
Forms

Build online forms for every business need.

Forms
 
Survey

Design surveys to reach and interact with your audience.

Survey
 
Sites

Online website builder with extensive customisation options.

Sites
 
PageSense

Website conversion optimization and personalisation platform.

PageSense
 
Backstage

End-to-end event management software.

Backstage
 
Webinar

Webinar platform for webcasting online webinars.

Webinar
 
Marketing Automation

All-in-one marketing automation software.

Marketing Automation
 
LandingPage

Smart landing page builder to increase conversion rates

LandingPage
 
Publish

Manage all your local business listings on a single platform.

Publish
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Sign

Digital signature app for businesses.

Sign
 
Thrive

Complete loyalty and affiliate management platform.

Thrive
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
NEW
LeadChain

Sync, manage, and convert leads across channels seamlessly.

LeadChain
 
NEW
CommunitySpaces

Online community platform for individuals and businesses to grow their network and brand.

CommunitySpaces
 
Suites
Marketing Plus

Unified marketing platform for marketing teams.

Marketing Plus

Commerce and POS

 
Commerce

eCommerce platform to manage and market your online store.

Commerce

Service

 
Desk

Helpdesk software to deliver great customer support.

Desk
 
Assist

Remote support and unattended remote access software.

Assist
 
Lens

Interactive remote assistance software with augmented reality.

Lens
 
FSM

End-to-end field service management platform for service businesses.

FSM
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
Suites
Service Plus

Unified platform for customer service and support teams.

Service Plus

Finance

 
Books

Powerful accounting platform for growing businesses.

Books
 
FREE
Invoice

100% Free invoicing solution.

Invoice
 
Expense

Effortless expense reporting platform.

Expense
 
Inventory

Powerful stock management and inventory control software.

Inventory
 
Billing

End-to-end billing solution for your business.

Billing
 
Checkout

Collect payments online with custom branded pages.

Checkout
 
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Practice

Practice management software for accounting firms.

Practice
 
Sign

Digital signature app for businesses.

Sign
 
Commerce

eCommerce platform to manage and market your online store.

Commerce
 
Suites
Finance Plus

All-in-one suite to manage your operations and finances.

Finance Plus

Email and Collaboration

 
Mail

Secure email service for teams of all sizes.

Mail
 
Meeting

Online meeting software for all your video conferencing & webinar needs.

Meeting
 
Writer

Word processor for focused writing and discussions.

Writer
 
Sheet

Spreadsheet software for collaborative teams.

Sheet
 
Show

Create, edit, and share slides with a sleek presentation app.

Show
 
Notebook

Beautiful home for all your notes.

Notebook
 
Cliq

Stay in touch with teams no matter where you are.

Cliq
 
Connect

Employee experience platform to communicate, engage, and build positive employee relations.

Connect
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
TeamInbox

Shared inboxes for teams.

TeamInbox
 
WorkDrive

Online file management for teams.

WorkDrive
 
Sign

Digital signature app for businesses.

Sign
 
Office Suite

Powerful collaborative work platform for teams.

Office Suite
 
Office Integrator

Built in document editors for web apps.

Office Integrator
 
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
 
Calendar

Online business calendar to manage events and schedule appointments.

Calendar
 
Learn

Knowledge and learning management platform.

Learn
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
ToDo

Collaborative task management for individuals and teams.

ToDo
 
Tables

Work management tool to connect people, processes, and information.

Tables
 
FREE
PDF Editor

Collaborative online PDF editing tool.

PDF Editor
 
Suites
Workplace

Application suite built to improve team productivity and collaboration.

Workplace

Human Resources

 
People

Organize, automate, and simplify your HR processes.

People
 
Recruit

Intuitive recruiting platform built to provide hiring solutions.

Recruit
 
Expense

Effortless expense reporting platform.

Expense
 
Workerly

Manage temporary staffing with an employee scheduling solution.

Workerly
 
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
 
Shifts

Employee scheduling and time tracking app.

Shifts
 
Sign

Digital signature app for businesses.

Sign
 
Suites
People Plus

Comprehensive HR platform for seamless employee experiences.

People Plus

Security and IT Management

 
Creator

Build custom apps to simplify business processes.

Creator
 
Directory

Workforce identity and access management solution for cloud businesses.

Directory
 
FREE
OneAuth

Secure multi-factor authenticator (MFA) for all your online accounts.

OneAuth
 
Vault

Online password manager for teams.

Vault
 
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
 
Toolkit

Complete resource for any admin-related lookup queries.

Toolkit
 
Lens

Interactive remote assistance software with augmented reality.

Lens
 
Assist

Remote support and unattended remote access software.

Assist
 
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
 
NEW
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA

BI and Analytics

 
Analytics

Modern self-service BI and analytics platform.

Analytics
 
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI
 
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep
 
NEW
IoT

Harnessing IoT analytics for real-time operational intelligence.

IoT

Project Management

 
Projects

Manage, track, and collaborate on projects with teams.

Projects
 
Sprints

Planning and tracking tool for scrum teams.

Sprints
 
BugTracker

Automatic bug tracking software for managing bugs.

BugTracker
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo

Developer Platforms

 
Creator

Build custom apps to simplify business processes.

Creator
 
Flow

Automate business workflows by creating smart integrations.

Flow
 
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
 
Office Integrator

Built in document editors for web apps.

Office Integrator
 
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
 
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
 
Tables

Work management tool to connect people, processes, and information.

Tables
 
NEW
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA
 
NEW
Apptics

Application analytics for all apps.

Apptics
 
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI
 
NEW
IoT

Build, deploy, and scale IoT solutions for connected businesses.

IoT
 
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep

IoT

 
NEW
IoT

Low-code IoT platform and solutions for connected businesses.

IoT

Search Result

 
CRM Plus

Unified platform to deliver top-notch customer experience.

Try now
CRM Plus
 
Service Plus

Unified platform for customer service and support teams.

Try now
Service Plus
 
Finance Plus

All-in-one suite to manage your operations and finances.

Try now
Finance Plus
 
People Plus

Comprehensive HR platform for seamless employee experiences.

Try now
People Plus
 
Workplace

Application suite built to improve team productivity and collaboration.

Try now
Workplace
 
Marketing Plus

Unified marketing platform for marketing teams.

Try now
Marketing Plus
 
All-in-one suite

Zoho One

The Operating System for Business

Run your entire business on Zoho with our unified cloud software, designed to help you break down silos between departments and increase organizational efficiency.

TRY ZOHO ONE
Zoho One
Zoho Marketplace

With over 2000 ready-to-use extensions across 40+ categories, connect your favorite business tools with the Zoho products you already use.

EXPLORE MARKETPLACE
Marketplace
Skip to main content

Filter Response

In Zoho CRM GraphQL queries, the result set of _Records type can be filtered according to your needs using where clause. Each {module}__connection supports {module}__Filter type argument. For example, in the _Records schema,  Products module has Products_Filter. In the Products_Filter possible fields and operator types are defined.

type Products__Filter

Copiedinput Products__Filter {
Qty_in_Demand: _FloatOperators
Product_Category: _StringOperators
Modified_Time: _DateLongOperators
or: [Products__Filter]
Created_Time: _DateLongOperators
Commission_Rate: _FloatOperators
Product_Name: _StringOperators
Sales_Start_Date: _DateLongOperators
Support_Start_Date: _DateLongOperators
Product_Active: _BooleanOperators
Usage_Unit: _StringOperators
Product_Code: _StringOperators
Qty_Ordered: _FloatOperators
and: [Products__Filter]
Manufacturer: _StringOperators
Locked__s: _BooleanOperators
Qty_in_Stock: _FloatOperators
id: _DateLongOperators
Support_Expiry_Date: _DateLongOperators
Sales_End_Date: _DateLongOperators
Unit_Price: _FloatOperators
Reorder_Level: _FloatOperators
Taxable: _BooleanOperators
}

Show full

Show less

Field Operators

Field operators refer to the operators that can be applied to fields within a query. Fields operators when combined with each field and specified value form each predicate in the where clause of the query. The field operators that are available in Zoho CRM GraphQL are :

OperatorDescription
equalsThe expression is true if the field value is equal to the specified value.
not_equalsThe expression is true if the field value is not equal to the specified value.
greater_thanThe expression is true if the field value is greater than the specified value.
greater_equalThe expression is true if the field value is greater than or equal to the specified value.
less_thanThe expression is true if the field value is less than the specified value.
less_equalThe expression is true if the field value is less than or equal to the specified value.
likeThe expression is true if the string field value matches the pattern specified.
not_likeThe expression is true if the string field value does not match the pattern specified.
inThe expression is true if the field value is present in a list specified.
not_inThe expression is true if the field value is not present in a list specified.

Each _Records Type has a corresponding Filter where the filtering capacity of each field is defined. For example in the Products_Filter shown above the field Qty_in_Demand is _FloatOperators. The operators supported for Float are as below

Type _FloatOperators

Copiedinput _FloatOperators {
equals: Float
not_equals: Float
in: [Float]
not_in: [Float]
greater_than: Float
greater_equal: Float
less_equal: Float
less_than: Float
}

Field types and Operators

Field TypeField OperatorAllowed Operators
Int_IntOperatorsequals,not_equals,in,not_in,greater_than,greater_equal,less_equal,less_than
Encrypted Int_EncryptedIntOperatorsequals,not_equals
Float_FloatOperatorsequals,not_equals,in,not_in,greater_than,greater_equal,less_equal,less_than
encrypted float_EncryptedFloatOperatorsequals,not_equals
long_LongOperatorsequals,not_equals,in,not_in,greater_than,greater_equal,less_equal,less_than
encrypted long_EncryptedLongOperatorsequals,not_equals
string_StringOperatorsequals,not_equals,in,not_in,like,not_like
date long_DateLongOperatorsequals,not_equals,in,not_in,greater_than,greater_equal,less_equal,less_than
boolean_BooleanOperatorsequals

Each Zoho CRM Data Type is mapped to a GraphQL field type as shown in the table below:

GraphQL Field TypesZoho CRM Data Types
String Field TypesSingle Line
Multi Line
String
Email
Picklist
URL
Date
DateTime
Integer Field TypesNumber
Double Field TypesDecimal
Currency
Percent
Long Field TypesLong Integer
Boolean Field TypesCheckbox

Like Operator

The like operator behaves similarly to how it behaves in COQL. The % wildcard can be used with the like operator to achieve functionalities similar to the contains, starts_with, and ends_with operators. For instance, consider that you are filtering based on Email field. '%john, queries for email field values ending with 'john', 'john%' queries for values starting with 'john', and '%john%' translates to contains john. If you query for 'john' like works as equals. Please note that for the Not Like operator, it only works if you give '%' at both ends (not contains). Using '%' only at the beginning (not starting with) or at the end (not ending with) doesn't work and will throw INVALID_QUERY error. Not using wildcard will make not like work like not equal.

_StringOperators

Copiedinput _StringOperators {
equals: String
not_equals: String
like: String
not_like: String
in: [String]
not_in: [String]
}


input _BooleanOperators {
equals: Boolean
}

input _DateLongOperators {
equals: String
not_equals: String
in: [String]
not_in: [String]
greater_than: String
greater_equal: String
less_equal: String
less_than: String
}

input _EncryptedFloatOperators {
equals: Float
not_equals: Float
}

input _EncryptedIntOperators {
equals: Int
not_equals: Int
}


Show full

Show less

_BooleanOperators

Copiedinput _BooleanOperators {
equals: Boolean
}

_DateLongOperators

Copiedinput _DateLongOperators {
equals: String
not_equals: String
in: [String]
not_in: [String]
greater_than: String
greater_equal: String
less_equal: String
less_than: String
}

_EncryptedFloatOperators

Copiedinput _EncryptedFloatOperators {
equals: Float
not_equals: Float
}

_EncryptedIntOperators

Copiedinput _EncryptedIntOperators {
equals: Int
not_equals: Int
}

_EncryptedLongOperators

Copiedinput _EncryptedLongOperators {
equals: Long
not_equals: Long
}

_IntOperators

Copiedinput _IntOperators {
equals: Int
not_equals: Int
in: [Int]
not_in: [Int]
greater_than: Int
greater_equal: Int
less_equal: Int
less_than: Int
}

_FloatOperators

Copiedinput _FloatOperators {
equals: Float
not_equals: Float
in: [Float]
not_in: [Float]
greater_than: Float
greater_equal: Float
less_equal: Float
less_than: Float
}

_LongOperators

Copiedinput _LongOperators {
equals: Long
not_equals: Long
in: [Long]
not_in: [Long]
greater_than: Long
greater_equal: Long
less_equal: Long
less_than: Long
}

Boolean Operators

Boolean Operators combines the several predicates in your where clause. Supported Boolean Operator in Zoho CRM GraphQL are AND, OR. You can use the OR function to combine filters, and use the AND function to overlap filters.

AND operator

Syntax

where: { and: [ {filter1}, {filter2} ] }

OR operator

Syntax

where: { or: [filter1, filter2, filter3] }

Query contacts where last name starts with Di and mobile contains the digit 5 or phone number equals 555-555-5555

Copied
{
    Records {
        Contacts(
            where: {
                and: [
                    { Last_Name: { like: "Di%" } }
                    {
                        or: [{ Phone: { equals: "555-555-5555" } }, { Mobile: { like: "%5%" } }]
                    }
                ]
            }
        ) {
            _data {
                Email {
                    value
                }
                Last_Name {
                    value
                }
                id {
                    value
                }
                Phone {
                    value
                }
                Mobile {
                    value
                }
            }
        }
    }
}

Show full

Show less

Response

Copied{
    "data": {
        "Records": {
            "Contacts": {
                "_data": [
                    {
                        "Email": {
                            "value": "leota-dilliard@noemail.com"
                        },
                        "Last_Name": {
                            "value": "Dilliard"
                        },
                        "id": {
                            "value": "5843104000000425353"
                        },
                        "Phone": {
                            "value": "555-555-5555"
                        },
                        "Mobile": {
                            "value": "555-555-5555"
                        }
                    }
                ]
            }
        }
    }
}

Show full

Show less

More examples

Query Leads by sending list of IDs

Copiedquery {
    Records {
        Leads(where: { id: { equals: "2484261000000496222" } }) {
            _data {
                id {
                    value
                }
            }
        }
    }
}

Query lead if its id present in list of ids

Copiedquery {
    Records {
        Leads(where: { id: { in:  [ "2484261000000496222", "2484261000000496223" ] } }) {
            _data {
                id {
                    value
                }
            }
        }
    }
}

Query Leads where full name is like given string

Copiedquery {
    Records {
        Leads(where: { Full_Name: { like: "%John%" } }) {
            _data {
                id {
                    value
                }
            }
        }
    }
}

Query Leads where full name is not null

Copiedquery {
    Records {
        Leads(where: { Full_Name: { not_equals: "null" } }) {
            _data {
                id {
                    value
                }
            }
        }
    }
}

Query Leads where number of employees are less than 10

Copiedquery {
    Records {
        Leads(where: { No_of_Employees: { less_than: 10 } }) {
            _data {
                id {
                    value
                }
            }
        }
    }
}