# Replacing tags - Presentation Level

1. To mark text for replacement in your PowerPoint, wrap them with double curly brackets.&#x20;
2. This creates a `key` that you can assign a new string `value` to using a JSON payload.
3. Insert the `key` and `value` within the `tags` object&#x20;

<div><figure><img src="/files/eoahNhQBlpVns1QSdrlc" alt=""><figcaption><p>BEFORE</p></figcaption></figure> <figure><img src="/files/gZqCE8dIAxRH7ko4WN27" alt=""><figcaption><p>AFTER</p></figcaption></figure></div>

Template Presentation

{% file src="/files/X7OqLlf9HLfCV8PigHLu" %}

JSON Payload

{% code overflow="wrap" lineNumbers="true" %}

```css
{
  "presentation": {
    "template": "slides_as_template_tagging.pptx",
    "export_version": "Pptx2010",
    "tags": [
      {
        "Key": "presentation_title",
        "Value": "My Presentation"
      },
      {
        "Key": "presenter",
        "Value": "John Doe"
      },
      {
        "Key": "date",
        "Value": "01 January 1999"
      },
      {
        "Key": "client_name",
        "Value": "Important Company LTD"
      }
    ]
  }
}
```

{% endcode %}


---

# 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/presentation/replacing-tags-presentation-level.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.
