Use our API to replace text, images, tables, and charts.
Configure your document with placeholders
Use the API to generate your document
text_placeholder_manual_insertions
parameter.
If you want to make dynamically sized decks, you can use a library source document, and specify the slide ids in the outline parameter. If you store the text placeholders and the index of the slide for each slide id, you can similarly specify the values for the placeholders via the text_placeholder_manual_insertions
parameter.
This page describes how to configure a document:
text_placeholder_manual_insertions
parameter to map a text placeholder to its value.
This parameter supports markdown! This means that you can insert bullet points, section headers, etc. for a placeholder and we render it natively in Google Slides & PowerPoint.
include_slides=true
: Get Document Full Data. For each slide in document.slides
, you can find a list of the text placeholders: document.slides[i].text_placeholders
. For each placeholder, you will find the placeholder
attribute: document.slides[i].text_placeholders[j].placeholder
which is the placeholder of text on the slide.
text_placeholder_manual_insertions
parameterplaceholder
and value
keys. Some placeholders may exist in multiple places throughout the deck. If you want the placeholder to only be set on a single slide (instead of the whole deck) for a particular value, use the index
key.
text_placeholder_manual_insertions
can support rich text formatting via MarkDown. (See the last item in the example).text_placeholder_manual_insertions
parameter, FlashDocs generates the values.
For each text placeholder:
prompt
parameter in the API request, values for any other placeholders, and the following data from the slide and text placeholder object: