Insert or clone slide using slide_id
Allows inserting or cloning a slide by its unique identifier.
Using
slide_id
ensures the correct slide is referenced even if the slide order or structure changes within the template.
Finding Slide_id
Programmatically:
using VBA or any library capable of reading PowerPoint XML (e.g.,
python-pptx
).
Manually:
Rename the
.pptx
file to.zip
.Open the ZIP and navigate to
ppt/presentation.xml
.Inside, look for the
<p:sldIdLst>
section — each<p:sldId>
element has anid
attribute that represents the slide’s unique ID.

Reference: slides
Download: input.zip | output.pptx


{
"presentation": {
"template": "template.pptx",
"slides": [
{
"slide_id": 265
}
]
}
}
Last updated
Was this helpful?