Repeating template slides

Easily create multiple copies of your template slides

  • You can repeat a template slide to create multiple copies as needed.

  • 0-based indexing

Reference: slides

Download: input.zip | output.pptx


{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "num",
            "value": "1"
          },
          {
            "key": "title",
            "value": "Product Sales"
          }
        ]
      },
      {
        "slide_index": 1,
        "shapes": [
          {
            "name": "Chart 7",
            "title": "H1 Revenue - Product 1",
            "data": [
              ["North", "South", "East", "West"],
              ["Jan-25", "Feb-25", "Mar-25", "Apr-25", "May-25", "Jun-25"],
              [11, 15, 4, 7],
              [25, 20, 77, 30],
              [40, 30, 65, 20],
              [55, 50, 80, 60], 
              [70, 60, 85, 72], 
              [85, 90, 95, 88]    
            ]
          }
        ]
      },
      {
        "slide_index": 1,
        "shapes": [
          {
            "name": "Chart 7",
            "title": "H1 Revenue - Product 2",
            "data": [
              ["North", "South"],
              ["Jan-25", "Feb-25", "Mar-25", "Apr-25", "May-25", "Jun-25"],
              [11, 25],
              [15, 30],
              [13, 40],
              [20, 60],
              [30, 80],
              [55, 83]
            ]
          }
        ]
      },
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "num",
            "value": "2"
          },
          {
            "key": "title",
            "value": "Services Sales"
          }
        ]
      },
      {
        "slide_index": 1,
        "shapes": [
          {
            "name": "Chart 7",
            "title": "H1 Revenue - Services 1",
            "data": [
              ["North", "South", "East", "West"],
              ["Jan-25", "Feb-25", "Mar-25", "Apr-25", "May-25", "Jun-25"],
              [25, 20, 15, 10],
              [41, 25, 35, 25],
              [25, 36, 50, 15],
              [55, 45, 65, 35], 
              [60, 55, 50, 40], 
              [70, 80, 75, 50]    
            ]
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?