# Collect User Information Blocks

The category name is self-explanatory. You use these blocks to collect user information. These are the most common user information that you can store as variables in your CRM.

* Name (first, last or full name)
* Age
* Email Address
* Phone Number
* Gender
* Location (Only for WhatsApp)
* Customer Satisfaction Survey

![](/files/-MhdDp6JNA2Y7v8EgGZW)

You can also these two videos to get started and refer to the content below to learn in-depth.

{% embed url="<https://www.youtube.com/watch?index=5&list=PL_EdxcvIGFEbUN0tqYUE84t-bc1QekV72&v=rkakvopA6gI>" %}

{% embed url="<https://www.youtube.com/watch?index=6&list=PL_EdxcvIGFEbUN0tqYUE84t-bc1QekV72&v=MFFD3Nf6USM>" %}

## 1. User Input / Phone / Email / Location Block

Use these blocks to collect customer user information, phone number, or email address and store the information in your CRM.

![Phone Block](/files/-MhdHl6zAfAOh3kLXhk2)

{% hint style="info" %}
Location block is only available in WhatsApp, and once users share location via WhatsApp location sharing option, the details will be stored in the following customer attributes - `map`, `longitude`, `latitude`, `place` and `address`.
{% endhint %}

These three blocks work the same way and have the same input fields.

| Input Field          | What it means                                                                            |
| -------------------- | ---------------------------------------------------------------------------------------- |
| **Variable Input**   | This is your text message asking for specific information.                               |
| **Input Validation** | It validates if the user's reply matches your required information format.               |
| **Failed Text**      | The user receives this text if they input information in the wrong format.               |
| **Error Counter**    | The number of times the bot allows wrong information before redirecting the user.        |
| **Failed Sequence**  | The user is redirected to this sequence if they keep on providing the wrong information. |

{% tabs %}
{% tab title="Input" %}
We put these three blocks in the following sequence.

1. User Input Block
2. Number Block
3. Email Block.
   {% endtab %}

{% tab title="Output" %}
![](/files/-MhdIiTPWGMpWPTD31ij)
{% endtab %}

{% tab title="Stored Variables" %}
In your **Customers** tab on the left panel, you will see that a new customer has been added with the given information.

![](/files/-MhdQfUHUEiNAo4PB7CI)
{% endtab %}
{% endtabs %}

<details>

<summary>WhatsApp Location Block Example</summary>

![](/files/Ffqs89flNCGmjIRgE5Q9)

</details>

## 2. CSAT Block

CSAT stands for Customer Satisfaction. The CSAT block is used to collect quantitative user feedback on a scale of 1-5.&#x20;

{% tabs %}
{% tab title="Input" %}
![](/files/-MhsUa0msP0AbHwAHEkF)
{% endtab %}

{% tab title="Output" %}
![](/files/-MhsV-AJgEqt3b88bG_5)
{% endtab %}
{% endtabs %}

{% hint style="info" %}
Based on their positive/negative feedback, you can redirect the visitor to a new sequence.
{% endhint %}

You can also set certain rules so that customers will receive a CSAT block every time their tickets are resolved. Learn how to set rules for your CSAT blocks to create custom user journeys and track your customer satisfaction across your company 👇

{% content-ref url="/pages/-MhdKGJn48K544SvqeJ\_" %}
[CSAT Block](/myalice-guide-arabic/chatbot-and-automation/advanced-blocks/csat-block.md)
{% endcontent-ref %}

## 3. Datalab Entry Block

The Datalab Entry block allows you to acquire customer details with the help of your bot and store the information in a Datalab sheet.

The Datalab Entry block has many functionalities. Learn about the basic use cases to get started at storing and leveraging customer information in your organization 👇

{% content-ref url="/pages/-MhdKMN29SM59\_rg2x7w" %}
[Datalab Entry Block](/myalice-guide-arabic/chatbot-and-automation/advanced-blocks/datalab-entry-block.md)
{% endcontent-ref %}

And to learn about Data Lab in general, please head over to our [**Data Lab Guide**](/myalice-guide-arabic/data-lab-and-analytics/advanced-datalab.md).


---

# 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://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/chatbot-blocks/collect-user-information-blocks.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.
