---
title: Creating Queries
description: Webhooks include a payload. In Lucidum, the payload includes fields from the Lucidum Data Group or from other ingested data. To identify the data you want to include in a webhook, you filter through all the data in Lucidum with…
url: "https://lucidum.io/docs/creating-queries/"
updated: "2025-06-25"
category: Running Headless with Webhooks
---

# Creating Queries

Webhooks include a payload. In Lucidum, the payload includes fields from the Lucidum Data Group or from other ingested data.

To identify the data you want to include in a webhook, you filter through all the data in Lucidum with ***a query***. You then save the results of the query to include in a webhook.

- For details on creating and editing queries in Lucidum, see the section on [Building Queries](https://lucidum.io/docs/creating-queries-2/).
- For details on fields in queries, see the section on [Fields and Regular Expressions](https://lucidum.io/docs/appendix-fields-and-regular-expressions).
- For details on Data Types and Operators for Queries, see the section on [Data Types and Operators](https://lucidum.io/docs/appendix-data-types-and-operators/).
