# 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="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fl62vQFYEsuaHdIt3vY0e%2Fimage.png?alt=media&#x26;token=04cd9c1f-e665-450d-bfab-46ddf33747f5" 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="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Ff9gVTp9IFRkchAJlUj90%2Fimage.png?alt=media&#x26;token=2b227703-474e-49f6-97e1-11905368d941" 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="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FSCmNpB1B0cYkDRAWl3dk%2Fimage.png?alt=media&#x26;token=b9b0d3a1-13d9-4b3e-aa8b-943ec51b12f3" 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="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FZCMSo7Zp1cheLzDBYIP1%2Fimage.png?alt=media&#x26;token=4b806d75-c4ae-43d0-9f4c-b1de1c5f3319" alt=""><figcaption><p>Macro Last Name</p></figcaption></figure>
