Templates / Bulk import local PDF and text files into an Open Notebook notebook

Bulk import local PDF and text files into an Open Notebook notebook

Ready for 3.0

by 池田 誠 ✓ · 53 views · created 2026-07-31 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Folder and Notebook Config (Edit Fields (Set)): sets 3 fields: folder_in, notebook_name, api_base
  2. Fetch Notebooks List (HTTP Request): calls an HTTP API
  3. Resolve Target Notebook ID (Code): runs custom JavaScript code
  4. Locate TXT and PDF Files (Execute Command): runs a shell command on the n8n host
  5. Prepare File Items (Code): runs custom JavaScript code
  6. Batch File Processing (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Upload Files to Notebook (Execute Command): runs a shell command on the n8n host

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (6)

From the author

Quick overview This self-hosted n8n workflow scans a local folder for PDF and TXT files and bulk imports them into an Open Notebook notebook via its API, uploading PDFs as files and sending text files as JSON content. How it works 1. Runs manually when you…

Excerpt from 池田 誠's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.