New260+ blocks and 240+ tools are now fully documented
DocumentationReferenceTool IntegrationsCore & Utilities
Tool

PPTX Generate Tools

Generate PowerPoint (.pptx) presentations server-side and return them as base64.

The PPTX Generate provider builds a PowerPoint (.pptx) presentation entirely server-side and returns the file as a base64 string. Use it in a workflow when an upstream step (for example an agent or a function block) has produced slide content and you want to hand the user a downloadable presentation.

This tool runs locally through Zelaxy's directExecution path using the pptxgenjs library — it does not call an external API and requires no credentials.

Overview

PropertyValue
Providerpptx-generate
Categorytools
Authnone (runs server-side, no API key)

Operations

OperationTool IDDescription
Generate PPTXpptx_generateGenerate a PowerPoint (.pptx) presentation from line-based text or a JSON array of {title, body} slides. Returns the file as base64.

Configuration

pptx_generate

ParameterTypeRequiredDescription
slidesstringYesSlide content. Either one slide per line (each line becomes a slide title), OR a JSON array of objects like [{"title":"Intro","body":"Welcome"}]. When a JSON array is provided, each object may contain a title and/or a body.
titlestringNoPresentation title. Used only to build the suggested filename (<title>.pptx). Defaults to presentation when omitted.

Both parameters use user-or-llm visibility, so they can be supplied directly by the user or generated by an LLM upstream. No secret/API-key parameter exists for this tool.

Parsing behavior (from the implementation):

  • If slides starts with [, it is parsed as JSON. Each array item that is an object contributes a slide with optional title and body; non-object items become a slide whose body is the stringified value.
  • Otherwise (or if JSON parsing fails), slides is split on newlines; each non-empty line becomes a slide whose title is that line.
  • If slides resolves to zero slides, a single fallback slide is emitted using title (or the literal Presentation) so the file is always valid.

Outputs

pptx_generate

  • base64 (string) — Base64-encoded contents of the generated .pptx file.
  • filename (string) — Suggested filename for the PPTX (e.g. My Deck.pptx, or presentation.pptx when no title is given).
  • mimeType (string) — MIME type of the generated file: application/vnd.openxmlformats-officedocument.presentationml.presentation.

YAML Example

pptx_generate_1:
  type: pptx_generate
  name: "Generate PPTX"
  inputs:
    operation: "pptx_generate"
    title: "Quarterly Review"
    slides: '[{"title":"Q3 Highlights","body":"Revenue up 12%"},{"title":"Next Steps","body":"Expand to EU"}]'
  connections:
    outgoing:
      - target: next-block-id

Reference the outputs downstream with double braces, e.g. {{pptx_generate_1.base64}}, {{pptx_generate_1.filename}}, and {{pptx_generate_1.mimeType}}.

Tips

  • No credentials needed. This tool generates the file in-process and never makes an outbound HTTP request, so there is no API key, OAuth, or token to configure.
  • Two input formats. For a quick deck, pass plain text with one slide title per line. For richer slides with body text, pass a JSON array of {title, body} objects — body text is rendered below the title on each slide.
  • In the visual builder this lives in the Document Generator block (Format = "PPTX (PowerPoint)"); the same block also offers pdf_generate and docx_generate. The operation input selects which generator runs.
  • Use the base64 output. The file is returned as base64 plus a mimeType; feed these into a download/email/storage step rather than expecting a URL — the tool does not host the file anywhere.