> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-docs/user-guide/trust-platform/new-query.md).

# New Query

### Introduction

The New Query functionality is designed to allow the client's operational team to perform validations and queries related to a Person or a Company. In other words, without the need to send any links to end users or engage in more technical integrations, the operational team can submit the necessary documents and information for analysis with just a few clicks within our platform.

This option only performs queries for **Person (PF) and Company (PJ) in the Brazil flow** and for **KYC in the Global flow**. For KYB queries via Trust Platform, a different set of instructions must be followed. To learn more, please visit [Company](/caf-docs/user-guide/trust-platform/company.md).

### How to perform a query via Trust Platform?

To carry out a query via Trust Platform, it is necessary that a processing flow have already been created. **Query Template for Brazil transactions** or a **Workflow for Global transactions**. If you want to know how to create one, access [Query Templates](/caf-docs/user-guide/trust-platform/query-templates.md) or [Workflow Builder](/caf-docs/user-guide/trust-platform/workflow-builder.md).

With the processing flow created, the validations and rules to be executed are defined, making it possible to perform queries to validate a person or a company via Trust Platform.

Here's how:

1. Click on the **"Queries"** menu.
2. Select the **"New Query"** submenu.
3. A modal (pop-up) will appear with two possible options. To proceed with the query via Trust Platform, keep the **"New Query"** option selected.
4. Click **"Continue"** to proceed.

Next, you will be asked to select the processing flow you want to link to that transaction. If you don't have any created, you can click **"Create New"** and be directed to the creation screen, or continue selecting an existing one.

According to the processing flow selected, you will be asked to fill in some information and/or upload documents. Once completed, click **"Send"**. Once done, your query will be processed and you will be able to follow its status on the **"Executions"** menu. For further information, please visit [Executions](/caf-docs/user-guide/trust-platform/executions.md).

#### An alternative pathway for Brazil accounts

There is also another way to carry out a new query via Trust Platform, which is right after saving a new processing flow model, the user is given the option of clicking on the **"Web Panel"** button and following the same steps mentioned above.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.caf.io/caf-docs/user-guide/trust-platform/new-query.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
