# Get customer data

NovaTalks has automated chatbot scenarios for gathering customer contact details: phone number and email. An agent can run this scenario during a conversation with a customer at any time. After the scenario is completed, the conversation will return to the agent in the Open status for further handling.

Scenarios can be launched by clicking a custom button in the Reply section or manually running a macro.

{% hint style="warning" %}
Features are available for messengers: Telegram, Viber public, Facebook.
{% endhint %}

***

## Getting a customer's phone number

The **Get Phone** function allows you to run a chatbot script to request a phone number. The phone number is sent using a messenger button.

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

{% hint style="info" %}
Text messages sent to a customer can be edited in a macro setting (For more details - [Macroses Get customer data](/en/get-started/settings/macros/macroses-get-customer-data.md))
{% endhint %}

After the scenario is completed, an agent will see the result of the scenario execution in a Private note: successful or unsuccessful.&#x20;

If a phone number is successfully obtained, it is recorded in a contact card in the Phone Number field.

***

## Getting a customer's email

The **Get Email** function allows you to run a chatbot script to request an email.&#x20;

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

{% hint style="info" %}
Text messages sent to a customer can be edited in a macro setting (For more details - [Macroses Get customer data](/en/get-started/settings/macros/macroses-get-customer-data.md))
{% endhint %}

After the scenario is completed, an agent will see the result of the scenario execution in a Private note: successful or unsuccessful.&#x20;

If an email is successfully obtained, it is recorded in a contact card in the Email field.


---

# Agent Instructions: 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:

```
GET https://help.novatalks.com.ua/en/get-started/conversations/conversation-panel/get-customer-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
