Quick Overview
This workflow turns a Slack thread or a pasted conversation into a downloadable PowerPoint (.pptx) brief using Anthropic Claude, and verifies each slide item against quoted source messages before posting the deck back to Slack or returning it via an n8n form.
How it works
- Triggers when someone mentions the Slack app in a thread or submits the n8n form with a pasted conversation.
- For Slack, it fetches all thread replies from Slack, looks up participant names via the Slack Web API, and builds a cleaned transcript that excludes bots and the request message.
- It applies limits and formatting to create a numbered transcript and sets the slide purpose (from the Slack mention text or the form field).
- Anthropic Claude generates a JSON brief (title, background, discussion points, decisions needed, next steps) where each item includes exact quotes and message numbers as sources.
- The workflow validates Claude’s output by checking that each quote appears in the transcript and that any numbers/dates and owners are actually supported by the cited messages, dropping untraceable items or fields.
- It generates a PowerPoint file by writing Office Open XML slide parts, zips them into a .pptx, and then either uploads the file to the originating Slack thread (with a summary of included vs. dropped items) or returns the .pptx as the form response.
Setup
- Add an Anthropic API credential for the Claude chat model used in the workflow.
- Add Slack credentials for both the Slack Trigger and Slack Web API actions, and ensure the Slack app has the scopes app_mentions:read, channels:history, chat:write, files:write, and users:read.
- Configure Slack Event Subscriptions to send app_mention events to the Slack trigger webhook URL, and install the app to the workspace/channel(s) you want to use.
- Update the allowed Slack user IDs list to control who can request slide creation.
- Optionally adjust slide limits, timezone, fonts, accent color, and section labels in the workflow configuration values.