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 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
At a glance
Generate summaries from uploaded files using OpenAI Assistants API is a ready-made n8n workflow you import as a workflow JSON file β no build required. It connects OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- OpenAI
- Modules
- 8
- Price
- Free
- Version
- v1.0

About this workflow
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 < - Enable File Search and Code Interpreter - Note: The assistant ID starts with asst OpenAI API credential setup in n8n - Go to Credentials β New β HTTP Header Auth - Header name: Authorization - Value: Bearer YOUR-OPENAI-API-KEY (replace YOUR-OPENAI-API-KEY with your OpenAI API secret key for your assistant, starts with sk-) - Name it: openAIApiHeader --- π§ Setup 1. Import the workflow JSON. 2. When n8n prompts for a credential, choose openAIApiHeader for every HTTP Request node. 3. Open Run Assistant β Body and replace with your real ID (starts with asstβ¦). Save. --- π How it works | # | Node | Purpose | |---|------|---------| | 1 | On form submission | User uploads a file (File). | | 2 | Upload File | POST /v1/files (multipart) β returns fileid. | | 3 | Create Thread | Creates a thread and attaches the uploaded file. | | 4 | Run Assistant | Starts the run using your assistantid. | | 5 | Poll Run Status β Wait 2 s β IF | Loops until status = completed. | | 6 | Fetch Summary | GET /v1/threads/{threadid}/messages β summary JSON. | --- ποΈ Customisation ideas - Edit the user prompt in Create Thread to change summary length, tone, or language. - Add an HTTP Response node after Fetch Summary to return plaintext to the uploader. - Replace the polling loop with OpenAIβs forthcoming wait-for-run endpoint when available. --- No community nodes required. Works on any n8n Cloud plan (Starter, Pro, Enterprise) or self-hosted Community Edition.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n β click the menu β Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Convert documents to Markdown with MinerU API and GPT-4o-mini
Transform press releases (PDF & Word) into polished articles with Gmail & OpenAI
Create and manage Notion pages with data from Inoreader and ChatGPT
AI research assistant via Telegram (GPT-4o mini + DeepSeek R1 + SerpAPI)
Automated HR Service System with WhatsApp, GPT-4 Classification & Google Workspace
Free YouTube video analyzer with AI-powered summaries & email alerts
Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition
Automate candidate creation in Recrutei with GPT-4 vacancy matching & resume parsing
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint β instant download
- Setup guide PDF included
- 5 downloads Β· valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you