← work
data · 2025

SlideConsultant — automated PDF slide generation

An n8n workflow that takes a brief, calls the Claude API for outline + per-slide copy, renders to PDF, and posts the result back. Handles ~200 pages a week without supervision.

roleAutomation Engineer (solo)
timespan2025
stackn8nclaude-apipython
statusoperational

What it does

SlideConsultant takes a brief (topic, audience, slide count, tone) and produces a complete slide deck as a PDF, fully automated.

  1. Input brief arrives via webhook (Slack command or web form)
  2. n8n calls Claude API: first pass generates an outline, second pass generates per-slide copy with speaker notes
  3. Python renderer (python-pptx + headless Chromium) converts the structured JSON to slides and exports PDF
  4. Result posted back to the requestor via Slack DM or email

Why n8n for orchestration

The workflow is mostly integration work — webhook in, API calls, file handling, notification out. n8n handles all of that without writing a line of orchestration code. The only Python is the rendering step, which lives in a sidecar container.

Prompt design

The two-pass approach (outline first, then per-slide) consistently outperformed single-pass generation:

Current throughput

~200 pages/week without supervision. The main failure mode is the PDF renderer choking on tables wider than the slide — handled with a retry + fallback to a simpler table layout.