Tags

Tags allow you to populate text by replacing the tag with a value of your choice.

  • Write tags inside double curly braces, e.g. {{placeholder}}.

  • Put them in text boxes or tables.

  • Send a list of key-value pairs to the PowerPoint Generator API, and it will replace each tag with your values.

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

Reference: tags

Download: input.zip | output.pptx


{
  "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"
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?