> For the complete documentation index, see [llms.txt](https://help.flochat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.flochat.ai/artificial-intelligence/openai-or-chatgpt/what-are-functions/capturing-data.md).

# Capturing Data

Moving on from using Intent 'functions' [within a flow](/artificial-intelligence/openai-or-chatgpt/what-are-functions/functions-in-flows.md) to push users to specific flows. Here we will start capturing user data such as emails, name etc to create a free trial registration directly into the backend 'Your product, CMS, CRM' etc.

### Adding Parameters

Previously we create a basic intent whereas we were using an empty intent to move users around the chatbot flows based on their query. What we are going to do now is start capturing data as shown below.

* Name
* Email&#x20;
* Learn more

<figure><img src="/files/Pfur9GBufotRJQV3JEcz" alt=""><figcaption></figcaption></figure>

You can add whatever parameters you  require for that specific intent. Once you create a parameter and new box will display:&#x20;

**System message for parameters** - This basically means if you want to add some kind of prompt to help capture the data. You could possibly add something like: Ask parameters in this order one at a time. This will encourage the AI to ask the questions one by one.&#x20;

You may of observed the Learn More parameter has a green switch in the on position. What does this mean?&#x20;

OK, here you're able to pre-define some options within the question. In this case we're asking the users what they would like to learn more of:&#x20;

<figure><img src="/files/Vq6gNIgcQXXNpQ4OmXb0" alt=""><figcaption></figcaption></figure>

Each option must be comma separated as show above. When you have this type of parameter, the AI questions would look like this: "Great, to get you started in the right place, what would you like to learn more of: AI, automation, integrations or developer apps".&#x20;

This makes the AI look more human like when asking questions. The user can reply with anything listed of even a different answer. This data will then be stored in the custom field "Save Result to"&#x20;


---

# 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://help.flochat.ai/artificial-intelligence/openai-or-chatgpt/what-are-functions/capturing-data.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.
