# Step 2. - Crafting Greetings

To extract and utilize this information effectively, the ***'Answer' node*** will leverage the *'smart extractor' function*. This function will be created within the entities panel, named *"Namex"* and configured as a smart function aimed at extracting the Full\_name from the user's response.

Now, let's proceed to customize our message nodes by leveraging the properties extracted using *"Namex"*:

* ***{Namex}*****:** Displays all properties along with their extracted values.
* ***{Namex\["name"]}*****:** Reveals only the customer's Name.
* ***{Namex\["name"]} {Namex\["surname"]}*****:** Shows both the Name and Surname of the customer.

You have the flexibility to choose the level of personalization you prefer. Remember to set our previously created ***'Function' node*** as the target node to establish a loop within the flow.

<figure><img src="/files/nr6uIyjO595215ETQnRS" alt=""><figcaption><p>Step 2. - Crafting Greetings</p></figcaption></figure>

By integrating additional function nodes and connecting them to backend operations, we can develop a more robust user authorization flow based on the principles outlined in this guide.

<details>

<summary>Step-by-step guide for crafting a simple greeting</summary>

1. Create an *'**Answer' node*** after the 'Message' node to progress with this step.
2. Name the **'Answer' node** and establish a new Entity named *"Namex"* as a smart function to retrieve the full\_name.
3. Proceed by creating a ***'Message' node*** after the ***'Answer' node*** and formulate a personalized welcome message.
4. Connect the target node of the ***'Message' node*** to the **'Function' node** at the beginning of the flow.

In [Step 6. ](https://docs.borndigital.ai/digital-agent/building-new-projects/advanced-project/pages/PMS11onUH0Oo7Lb8A4Fg#step-6.-training-and-playing)observe the application of data from the *"Namex"* function across two rows. Feel free to experiment with other entities within the ***'Answer' node***.

</details>

{% hint style="warning" %}
Ensure to check and adjust the language settings in your project within the Project Settings. The extractor supports names predominantly from the domestic language group. For instance, certain names like **"Radovan"** might not be recognized as valid names in English language settings.
{% endhint %}

{% hint style="info" %}
Entities within the ***'Answer' node*** function similarly to variables in other nodes. They serve the purpose of extracting specific information tailored to your use case.
{% endhint %}


---

# 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.borndigital.ai/digital-agent/building-new-projects/advanced-project/step-2.-crafting-greetings.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.
