/slides — Slide Deck Generator
Generates a structured .pptx PowerPoint deck and delivers a
presigned S3 download link (valid 1 hour).
Usage
/draft slides <topic>
Example: /draft slides 2025 product roadmap
What to do when the user types /slides <topic>
- Route to the draft command:
handle_draft(redis, user_id, "slides <topic>")
- The pipeline will:
- Generate a slide outline via Bedrock
- Render to
.pptxviapython-pptx - Upload to S3 and return a presigned URL
- Reply with the outline inline and the download link.
Slide structure
- Title slide (topic + date)
- Agenda (3-5 sections)
- 3-10 content slides (title + 3-6 bullets)
- Summary / takeaways
Fallback
If artifact upload fails, return the outline in chat and tell the user the .pptx download is temporarily unavailable.