workflows.fit
Back to n8n workflows
n8n templateFreeBy Sam Robertson

Generate summaries from uploaded files using OpenAI Assistants API

Generate Summaries from Uploaded Files using OpenAI Assistants API πŸ“‘ Overview Upload a document (PDF, DOCX, PPTX, TXT, CSV, JSON, or Markdown) and receive an AI-generated summary containing: title – 5-10 words summar...

DevelopmentCore NodesForm TriggerHttp RequestIfWait
Loading interactive preview...

Template notes

Generate Summaries from Uploaded Files using OpenAI Assistants API

πŸ“‘ Overview Upload a document (PDF, DOCX, PPTX, TXT, CSV, JSON, or Markdown) and receive an AI-generated summary containing:

title – 5-10 words summary – 1-2 sentences bullets – 3-5 key points tags – 3-6 short keywords

The workflow:

1. Stores the file in OpenAI. 2. Runs an Assistant with File Search and Code Interpreter enabled. 3. Polls until the run finishes. 4. Retrieves the summary JSON.

---

βœ… Prerequisites

OpenAI Assistant - Create one at <https://platform.openai.com/assistants> - Enable File Search and Code Interpreter - Note: The assistant ID starts with asst