Actions19
- Category Actions
- Document Actions
- Template Actions
Document → Build PPTX
AI-generatedSummary
Generate a PPTX presentation file from an existing document or dynamically from a template with optional data and settings, returning the generated file as binary data along with its URL and document ID.
Inputs
- Build Source (required) — Choose to build the PPTX either from an existing document by its ID or directly from a template by specifying the template and related parameters.
- Document ID (required) — The ID of the existing document to build the PPTX from. Required if Build Source is 'By Document ID'.
- Template ID (required) — The ID of the template to create the document from. Required if Build Source is 'Directly From Template'.
- Name — Optional name for the document created on-the-fly when building directly from a template.
- Init (Empty Document) — If true, creates an empty document without data when building directly from a template.
- Settings (JSON) — JSON object specifying document settings such as size, background, color, margin, padding, and fontSize. Used only when building directly from template and Init is false.
- Data (JSON) — JSON object containing field data for the document when building directly from a template and Init is false.
- Keep Document — Boolean flag whether to keep the created document in your list after building. Defaults to true. If false, the temporary document created on-the-fly will be deleted after the PPTX file is generated.
Output shape
A single binary file containing the generated PPTX presentation per workflow input item.
The output includes a JSON object with the generated file's URL and the document ID used for build, along with the binary data of the PPTX file. If building directly from a template and Keep Document is false, the temporary document will be automatically deleted after the file is generated.
Examples
Example 1: Build PPTX from existing document
Set 'Build Source' to 'By Document ID' and provide the Document ID to generate a PPTX from that document.
Example 2: Build PPTX directly from template
Set 'Build Source' to 'Directly From Template', provide Template ID, optionally provide Name, Init flag, Settings JSON, Data JSON, and choose whether to keep the document after building.