> For the complete documentation index, see [llms.txt](https://anunzi-ai.gitbook.io/anunzi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anunzi-ai.gitbook.io/anunzi-docs/api-widgets/trabajar-con-la-api-de-llamadas/calls/custom-variables.md).

# Variables personalizadas

Inject dynamically data into the prompt to personalize AI interactions.

ℹ️ **Note:**\
You can dynamically inject custom variables into your prompt to enhance contextual relevance.

***

#### **Overview**

**Custom Variables** allow you to dynamically inject data into your prompts, enhancing the capabilities and relevance of your AI Assistant. By integrating custom data fields via API requests, you can tailor the Assistant's responses to specific contexts, such as a user's role, company-specific information, or any dynamic business-related data.

***

#### **Use Cases**

✅ **Personalization**

* Tailor responses based on user-specific information (e.g., name, role, preferences).

✅ **Contextual Relevance**

* Provide responses that align with a specific business or operational context.

✅ **Dynamic Content**

* Update the content of prompts based on changing variables to keep interactions fresh and adaptable.

***

#### **How to Use Custom Variables**

1. **Define Custom Variables**
   * Identify key pieces of information that should be dynamically inserted into the assistant’s responses. Examples include user roles, company names, or specific settings.
2. **Add Variables to API Request**
   * Incorporate these custom variables into your API request as a JSON object. This allows the Assistant to access and utilize this data in its responses.

***

#### **Example API Request with Custom Variables**

```json
{
  "model_id": "1726573550709x928456706859452600",
  "phone": "+1234567890",
  "name": "David",
  "custom_variables": [
    {"key": "Company", "value": "Anunzi"},
    {"key": "Role", "value": "Sales Specialist"}
  ]
}
```
