# Macro Knowledge

In **3Dolphins**, you can use **macro** commands to automatically fill special fields, making interactions with customers more personal and dynamic. This feature allows you to insert elements such as **customer name**, **first name**, **last name**, and **bot name** into knowledge.

If you want to use this feature, you can create new knowledge and type the macro command, or add it to existing knowledge, as shown in the image below.

### First Name&#x20;

\
When you want to use **first name** as a macro command, you can type **{first\_name}**, and the bot's response will match the customer's first name.

<figure><img src="/files/Pi4WvBV46DmBOyp6vtM6" alt=""><figcaption><p>Add Macro Command</p></figcaption></figure>

### Last Name

When you want to use **last name** as a macro command, you can type **{last\_name}**, and the bot's response will match the customer's last name.

<figure><img src="/files/T2NTLfYgtUQeReNuhNr1" alt=""><figcaption><p>Add Macro Command</p></figcaption></figure>

So based on the knowledge above, when customers ask about 3Dolphins, bot will reply with macro command such image below.

<figure><img src="/files/dnoXvm74xiRgKRAEzixd" alt=""><figcaption><p>Macro First Name</p></figcaption></figure>

If using the Last Name, the bot's display will be as follows.

<figure><img src="/files/3BEGxz0GwwzL06RGRu7j" alt=""><figcaption><p>Macro Last Name</p></figcaption></figure>


---

# 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.3dolphins.ai/bot-settings/faq-knowledge/macro-first-name-and-last-name.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.
