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
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.

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.
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
Discover business leads with Gemini, Brave Search and web scraping
Analyze Landing Page with OpenAI and Get Optimization Tips
Prevent duplicate webhook executions with AARI idempotency gate
Generate trend-based marketing videos with Seedance AI, Perplexity, and GPT
Build a knowledge base chatbot with Jotform, RAG Supabase, Together AI & Gemini
Gmail smart auto-responder with GPT-4o and Google Drive context memory
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.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.