Data queries may be utilized in several features.
As an administrator, you can test data queries from Setup » Developers » Data Query Tester.
Data queries can be used to build visualizations on dashboards.
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.
Data queries can be run from the API using the /data/query endpoint.
GET the query should be provided in the
q query parameter.
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.