Overview
The two-step process gives you more control over the generation workflow:- Step 1: Generate presentation narrative and markdown content (McKinsey-style story with key findings and insights)
- Step 2: Create actual PPTX slides from the content using template layouts
- Summarizes key findings from your content
- Reveals insights and patterns
- Structures the story in McKinsey consulting style
Step 1: Generate Presentation Content
Tool: generate_presentation_content
Generate presentation narrative and markdown content (Step 1 of 2). This tool creates a McKinsey-style story that summarizes key findings and reveals insights from your content.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
topic | string | Yes | Main topic or title |
instructions | string | Yes | Detailed instructions |
document_base64 | string | No | Base64-encoded document |
num_slides | integer | No | Target number of slides |
template_id | string | No | Template UUID |
Example Request
Response
Step 2: Create Slides from Content
Tool: slide_from_content
Create actual PPTX slides from existing markdown content (Step 2 of 2). This tool:
- Retrieves layout details (colors, layout zones, typography) from your template
- Applies layouts based on content type
- Creates slides aligned to template specs and your narrative
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | Yes | Markdown content |
instructions | string | Yes | Instructions for slide generation |
template_id | string | No | Template UUID (required if no default) |
layout_name | string | No | Specific layout within template |
conversation_id | string | No | Existing conversation UUID |
presentation_id | string | No | Existing presentation UUID |
Example Request
Response
Complete Example
Python Implementation
When to Use Two-Step Process
Use Two-Step When:
- You want to review/edit content before creating slides
- You need to modify the generated content
- You want to generate content once but create slides multiple times
- You’re building a workflow with manual review steps
Use One-Step (generate_slides) When:
- You want the fastest workflow
- You trust the AI-generated content
- You don’t need to review content before slides
- You’re automating the entire process
Best Practices
- Review Content: Take time to review the generated markdown content
- Edit if Needed: You can edit the content before creating slides
- Reuse Content: Use the same content to create slides with different templates
- Consistent IDs: Use the same
presentation_idandconversation_idacross steps
Generate Slides (One-Step)
Learn about the one-step generation process
Examples
See complete two-step process examples

