Docs »

Data Querues »

Using Data Queries

Data queries may be utilized in several features.

Setup

As an administrator, you can test data queries from Setup » Developers » Data Query Tester.

Dashboard widgets

Data queries can be used to build visualizations on dashboards.

Bot behaviors

All bot behaviors can use the Execute » Data Query action to run a data query and retrieve the results.

This is a much simpler way to exchange information between bots and APIs.

API

Data queries can be run from the API using the /data/query endpoint.

For a GET the query should be provided in the q query parameter.

For a POST the query should be provided as text in the HTTP request body.

The results will always be in JSON format. This is now the recommended way to extract data from worklists and bots for use in other applications.