Skip to main content

Overview

The two-step process gives you more control over the generation workflow:
  1. Step 1: Generate presentation narrative and markdown content (McKinsey-style story with key findings and insights)
  2. Step 2: Create actual PPTX slides from the content using template layouts
This approach is useful when you want to review or edit the narrative before creating slides. The narrative generation step automatically:
  • 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

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

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_id and conversation_id across steps

Generate Slides (One-Step)

Learn about the one-step generation process

Examples

See complete two-step process examples