AutomationMart
Home/Browse/Generate summaries from uploaded files using OpenAI Assistants API
n8n

Generate summaries from uploaded files using OpenAI Assistants API

n8nn8n8 modulesv1.0
OpenAI

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
Generate summaries from uploaded files using OpenAI Assistants API workflow diagram

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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

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

How it works - This workflow automates the conversion of various document formats (such as PDF, Word, and PPT) into Markdown. It connects to the MinerU API service, which leverages OCR, formula, and table recognition to produce high-quality output. Users can initiate the process by simply uploading a document through an n8n chat interface. Set up steps - Ensure you have a local n8n instance running. - Set up and run the MinerU MCP (MinerU Computing Platform) server locally. - Import this workflo

Free

Transform press releases (PDF & Word) into polished articles with Gmail & OpenAI

This n8n workflow automates the transformation of press releases into polished articles. It converts the content of an email and its attachments (PDF or Word documents) into an AI-written article/blog post. What does it do? This workflow assists editors and journalists in managing incoming press-releases from governments, companies, NGOs, or individuals. The result is a draft article that can easily be reviewed by the editor, who receives it in a reply email containing both the original input a

Free

Create and manage Notion pages with data from Inoreader and ChatGPT

Automatically create and manage Notion pages using data from Inoreader articles and ChatGPT insights, streamlining your content organization process.

Free

AI research assistant via Telegram (GPT-4o mini + DeepSeek R1 + SerpAPI)

AI Research Assistant via Telegram (GPT-4o mini + DeepSeek R1 + SerpAPI) πŸ‘₯ Who’s it for This workflow is perfect for anyone who wants to receive AI-powered research summaries directly on Telegram. Ideal for people asking frequent product, tech, or decision-making questions and want up-to-date answers sourced from the web. πŸ€– What it does Users send a question via Telegram. An AI agent (DeepSeek R1) reformulates and understands the intent, while a second agent (GPT-4o mini) performs

Free

Automated HR Service System with WhatsApp, GPT-4 Classification & Google Workspace

Who is this for? This workflow is ideal for HR teams, startups, and enterprises that want to handle employee interactions through WhatsApp and automate responses using LLM (OpenAI) and intelligent routing. What problem is this workflow solving? Managing WhatsApp messages manually can be time-consuming and error-prone. This workflow solves that by: Auto-classifying messages using LLM Routing them to the right AI-powered agent Automating leave approvals, attendance, HR FAQs, complaints, and ca

Free

Free YouTube video analyzer with AI-powered summaries & email alerts

This workflow is designed to analyze YouTube videos by extracting their transcripts, summarizing the content using AI models, and sending the analysis via email. This workflow is ideal for content creators, marketers, or anyone who needs to quickly analyze and summarize YouTube videos for research, content planning, or educational purposes. How It Works: 1. Trigger: The workflow starts with a manual trigger, allowing you to test it by clicking "Test workflow." You can also set a YouTube video UR

Free

Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition

Personal Expense Tracker Bot πŸ’° AI-powered Telegram bot for effortless expense tracking. Send receipts, voice messages, or text - the bot automatically extracts and categorizes your expenses. ✨ Key Features - πŸ“Έ Receipt & Invoice OCR - Send photos of receipts or PDF invoices, AI extracts expense data automatically - 🎀 Voice Messages - Speak your expenses naturally, audio is transcribed and processed - πŸ’¬ Natural Language - Just type "spent 50 on groceries" or any text format -

Free

Automate candidate creation in Recrutei with GPT-4 vacancy matching & resume parsing

Overview: Automated Candidate Creation with AI Vacancy Matching This workflow automates the creation of new candidates in the Recrutei ATS directly from an n8n Form submission, ensuring a seamless "Apply Now" funnel. Its core feature is an AI Agent (OpenAI + Tool) that dynamically identifies the correct Recrutei vacancyid based on the applicant's selection in the form. The workflow also automatically extracts the text content from the candidate's PDF curriculum and uploads it as an i

Free

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.

Log in to review
Free
No ratings yet

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.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free