# Tags

1. Write tags inside double curly braces, e.g. `{{placeholder}}`.
2. Put them in text boxes or tables.
3. Send a list of key-value pairs to the PowerPoint Generator API, and it will replace each tag with your values.

Note: All styling and formatting will be inherited unless you specify otherwise.

Reference: [tags](/json-template-syntax/tags.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1hNN26PbIiwqAgZkHi-HYYkhwc0XP2hlc) | [output.pptx](https://drive.google.com/uc?export=download\&id=1t_6T2wjVQ5jzYny5Yt6NxeQnJdvNz7Ez)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="/files/yLRNXlwg0kvT1fJkx1Lh" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/2MHKcQUucL7aLHDq2aUr" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "cover",
            "value": "Business"
          },
          {
            "key": "subtitle",
            "value": "Joe Blogs"
          },
          {
            "key": "report_description",
            "value": "How to use Tags in PowerPoint Generator API"
          },
          {
            "key": "date",
            "value": "01 Jan"
          },
          {
            "key": "company",
            "value": "Important LTD"
          },
          {
            "key": "product",
            "value": "API"
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}


---

# 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.powerpointgeneratorapi.com/examples/tagging.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.
