Lewati ke konten utama

Ekstraksi AI dan Penggantian Nama Cerdas untuk PDF Apa Pun di Make: Alur Kerja Dropbox 4 Modul dengan PDF4me AI - Pengurai Dokumen

· Satu menit membaca
SEO and Content Writer

Bagian tersulit dari otomatisasi faktur vendor selalu terletak pada penamaan file. Sebuah folder yang penuh dengan 2030703747 (1).pdf Dan Scan_2026-04-12_invoice.pdf tidak dapat dicari, tidak dapat diurutkan, dan tidak mungkin diaudit. PDF4me AI - Pengurai Dokumen ditambah modul Make Parse JSON yang memperbaiki hal itu di 4 modul, tanpa kodeAI mengekstrak nama vendor dari PDF, dan skenario yang sama mengunggah ulang file tersebut sebagai Acme Industries.pdfScreenshot di bawah ini menjelaskan secara detail jalannya simulasi yang terekam di kanvas.

Gambaran umum situasi
1. Dropbox Download
Pulls /pdf4metest/sample/2030703747 (1).pdf. Scheduled trigger shown.
2. PDF4me AI - Document Parser
Runs the default_invoice_extraction Analyzer Template. Output: Doc Text JSON.
3. JSON Parse JSON
JSON string mapped to 3. Doc Text. Exposes vendorName, invoiceNumber, totalAmount, etc.
4. Dropbox Upload
Writes to /pdf4meoutput/ with File Name = 6. vendorName + .pdf. Smart-rename complete.
Versi singkatnya

Empat modul Buat. Dropbox Unduh File mengambil PDF vendor mentah (tangkapan layar menunjukkan) YnooxTestone koneksi, jalur /pdf4metest/sample/2030703747 (1).pdf). PDF4me AI - Pengurai Dokumen Memetakan Nama File dan Dokumen dari langkah sebelumnya dan menjalankannya ekstraksi_faktur_default sebagai ID Penganalisis AIJSON Mengurai JSON mengubah Teks Dokumen menghasilkan output berupa token yang dapat dipetakan secara individual. Dropbox Unggah File menulis kepada /pdf4meoutput/ dengan Nama File = 6. vendorName + .pdf Dan Data = 1. Data dari unduhan asli. Hasilnya: PDF yang sama masuk ke folder output Anda dengan nama file yang bermakna, tanpa campur tangan manusia.

Hal yang membuat ini menjadi 4 modul, bukan 8, adalah...

Dua pilihan desain. Pertama, Data pada modul Unggah terikat pada Modul 1 (Data Dropbox asli), bukan Modul 3. Parser AI hanya perlu mengekstrak metadata; unggahan menggunakan kembali file asli yang tidak diubah, sehingga tidak ada pengkodean ulang, tidak ada kehilangan kualitas, dan satu langkah lebih sedikit. Kedua, Nama File menggunakan token yang diuraikan ditambah literal. .pdf ekstensi (tangkapan layar menunjukkan) 6. vendorName diikuti oleh teks yang diketik .pdf) sehingga file yang telah diganti namanya tetap memiliki ekstensi yang valid terlepas dari apa pun yang dikembalikan oleh AI.

Pertanyaan umum di dunia nyata yang dapat dipecahkan oleh solusi ini.

Orang-orang mencari solusi untuk masalah ini dengan menggunakan frasa seperti:

  • "Bagaimana cara mengganti nama file PDF secara otomatis berdasarkan isinya?" Skenario 4 modul ini berhasil: AI membaca nama vendor, dan unggahan menggunakannya sebagai nama file. Tidak ada pekerjaan manual sama sekali.
  • "Bisakah Make mengekstrak nama vendor dari PDF dan menggunakannya di tempat lain?" Ya. Langkah JSON Parse JSON tepat setelah AI - Document Parser mengekspos setiap field yang diekstrak sebagai token yang dapat dipetakan secara individual (vendorName, invoiceNumber, totalAmount, dll).
  • "Apakah ada pengurai dokumen AI di Make?" Ya. Modul PDF4me AI - Document Parser. Modul ini berbasis templat (Analyzer Template), sehingga modul yang sama dapat menangani faktur, kwitansi, kontrak, dan formulir khusus.
  • "Bagaimana cara mengekstrak JSON terstruktur dari PDF tanpa melatih model?" Pilih Templat Analisis bawaan (default_invoice_extraction untuk AP) atau buat yang khusus di dasbor PDF4me. Tidak diperlukan pelatihan.
  • "Bisakah saya mengganti nama file output menggunakan salah satu field yang diekstrak?" Ya. Setelah mengurai JSON, masukkan token yang telah diurai ke dalam kolom Nama File Unggah. Selesai.

Apa yang sedang Anda bangun

Skenario Make yang dapat digunakan kembali untuk otomatisasi AP/dokumen masuk. Pemicu diaktifkan (manual, terjadwal seperti yang ditunjukkan, pemantauan file, webhook), PDF vendor diuraikan oleh AI, dan file yang sama diunggah ulang dengan nama file yang bermakna yang berasal dari kontennya. Masukkan salah satu Templat PDF4me Analyzer lainnya (kwitansi, kontrak, pesanan pembelian, formulir khusus) untuk menangani jenis dokumen lain dengan alur yang sama.

Buat kanvas skenario: Dropbox Unduh File (dengan lencana jam terjadwal), PDF4me AI - Pengurai Dokumen, JSON Uraikan JSON, dan Dropbox Unggah File. Empat ikon modul melingkar besar yang dihubungkan dengan konektor garis putus-putus standar Make.

Empat modul ujung-ke-ujung. Lencana jam pada Dropbox 1 menunjukkan pemicu terjadwal; ganti ke webhook atau file-watch untuk produksi.


Apa yang Anda butuhkan

Ambil sampelnya dulu. Unduh faktur vendor yang sama seperti yang digunakan pada tangkapan layar. Seret ke folder sumber Dropbox Anda (misalnya, /pdf4metest/sampel/) sebelum menjalankan skenario sehingga Modul 1 mengambil file yang sama dan ekstraksi_faktur_default mengembalikan hal yang sama nama vendor token yang Anda lihat pada langkah unggah.

Referensi singkat: fungsi setiap parameter

AI Analyzer Id
Picks the Analyzer Template. default_invoice_extraction for invoices; custom templates for receipts, contracts, purchase orders.
File Name + Document
Both mapped from the prior storage module. Filename (with extension) and binary content of the source.
Doc Text (output)
JSON string with every extracted field. Always wire into a JSON Parse JSON module next.
Parsed tokens
After Parse JSON, every Analyzer Template field becomes an individually mappable token (vendorName, invoiceNumber, etc).
Smart-rename pattern
Drop a parsed token + .pdf into the downstream Upload File Name slot. Output file is renamed automatically.
Connection reuse
One PDF4me connection per Make team is enough. Add it once, reuse across every PDF4me module.

Susun skenarionya

Modul 1: Mengunduh File dari Dropbox

Ambil file PDF mentah dari vendor dari folder sumber.

BidangNilai yang digunakan dalam proses ini
ConnectionYnooxTestone (ynoox.test...). your Dropbox connection
Way of selecting filesSelect a file
File/pdf4metest/sample/2030703747 (1).pdf
Buat konfigurasi Unduh File Dropbox dengan Koneksi YnooxTestone, Cara memilih file Pilih file, dan Jalur file /pdf4metest/sample/2030703747 (1).pdf.

Modul 2: PDF4me AI - Pengurai Dokumen

Cari PDF4me di pemilih aksi dan pilih AI - Pengurai Dokumen.

BidangNilai yang digunakan dalam proses ini
ConnectionMy PDF4me connection (t...)
FileMap
File Name1. File Name (from Module 1)
Document1. Data (from Module 1)
AI Analyzer Iddefault_invoice_extraction (built-in)
PDF4me AI - Aksi Pengurai Dokumen dikonfigurasi dengan Koneksi Koneksi PDF4me saya, File diatur ke Peta, Nama File 1. Nama File, Dokumen 1. Data, dan ID Penganalisis AI default_invoice_extraction.

Yang ekstraksi_faktur_default Templat sudah terintegrasi. Klik Templat Analisis Klik tautan di petunjuk untuk membuat penganalisis khusus untuk tanda terima, kontrak, atau jenis dokumen apa pun.

Modul 3: JSON - Mengurai JSON

Modul AI mengembalikan hasilnya sebagai string JSON pada Doc TextUraikan untuk mengekspos bidang yang dapat dipetakan secara individual.

BidangNilai yang digunakan dalam proses ini
Data structureMy data structure (or leave blank. Make builds one on first run)
JSON string3. Doc Text (from Module 2)
Lakukan tindakan JSON Parse JSON dengan struktur data dibiarkan sebagai Struktur data saya dan string JSON dipetakan ke 3. Teks Dokumen dari modul AI - Document Parser.

Biarkan struktur data tetap pada pengaturan default. Struktur data saya dan Make membangunnya dari output AI langsung pada skenario pertama yang dijalankan.

Modul 4: Mengunggah File ke Dropbox

Langkah penggantian nama cerdas. Peta Nama File ke token yang diuraikan ditambah literal .pdf perluasan, dan Data ke asli Berkas Modul 1 (bukan keluaran AI).

BidangNilai yang digunakan dalam proses ini
ConnectionYnooxTestone (ynoox.test...)
Folder/pdf4meoutput/
FileMap (so File Name and Data come from prior modules)
File Name6. vendorName + .pdf (the parsed vendorName plus a literal .pdf extension)
Data1. Data (re-uses the original Dropbox download. not the AI output)
Buat konfigurasi Dropbox Upload a File dengan Connection YnooxTestone, Folder /pdf4meoutput/, File diatur ke Map, File Name diatur ke 6. vendorName diikuti dengan .pdf, dan Data dipetakan ke 1. Data dari unduhan Dropbox asli.

Penggantian nama cerdas: 6. vendorName adalah token yang diuraikan dari Modul 3, dengan literal .pdf diketik tepat setelahnya.

Simpan dan klik Jalankan sekaliFile PDF vendor tersebut masuk ke /pdf4meoutput/ dinamai berdasarkan nama penjualnya.


Penyelesaian Masalah

Parse JSON cannot see Doc Text
The AI module did not run yet. execute the scenario once with Run once. Make builds the data structure from the live output of Module 2 on first execution.
Renamed file has no .pdf extension
Forgot the literal .pdf text after the vendorName token. Click the File Name field, place the cursor after the parsed token, and type .pdf.
Upload writes an empty file
Data is bound to the wrong source. It should be Module 1 (original Dropbox download). 1. Data, not the AI output. The AI module returns metadata, not a binary file.
vendorName comes back as empty or wrong
The Analyzer Template did not match the document layout. Try a different built-in template, or create a custom template at dev.pdf4me.com tuned for the layout of your vendors.
Want to extract more than vendor name
Any field in the Analyzer Template is exposed as a token after Parse JSON. Drop invoiceNumber, totalAmount, lineItems, etc anywhere you would drop a normal Make variable.
AI Analyzer Id dropdown is empty
No analyzer templates exist on your PDF4me account yet. Open dev.pdf4me.com, navigate to the Analyzer Templates section, and either pick the built-in default_invoice_extraction or create a custom template.

Kapan menggunakan pola ini?

Accounts payable automation
Vendor invoices in, structured data into Airtable / NetSuite / Xero, renamed file archived.
Email-to-ERP routing
Inbound email PDFs get parsed and routed to the right department based on extracted fields.
Contract intake (custom template)
Custom Analyzer Template extracts effective_date, parties, governing_law into a legal tracker.
Audit-friendly archives
Renaming by extracted vendor and date makes folders searchable and audit-trail clean.

Apa yang harus dibaca selanjutnya?


Pertanyaan yang Sering Diajukan (FAQ)

What is the difference between AI - Document Parser and AI-Invoice Parser?+
AI-Invoice Parser uses a fixed invoice schema (vendor, line items, totals, dates) and returns confidence scores. AI - Document Parser is template-driven via the AI Analyzer Id, so you can swap the document type by picking a different template. Use AI-Invoice Parser for AP-only workflows; use AI - Document Parser when you handle multiple document types or need a custom field set.
Where do I create a custom Analyzer Template?+
From the AI Analyzer Id dropdown click the Analyzer Template link in the hint, or visit dev.pdf4me.com. Define the fields you want extracted, name the template, save. The new template appears in the AI Analyzer Id dropdown in Make on the next scenario edit.
Why is Data on the Upload module bound to Module 1 instead of Module 2?+
Because the AI module only returns metadata (the extracted JSON on Doc Text), not a binary file. The original PDF lives on Module 1 Data. Re-using it on the upload avoids re-encoding and keeps the output identical to the input.
How do I add the .pdf extension to the renamed file?+
After dropping the parsed vendorName token into File Name, place the cursor right after it and type the literal text .pdf. Make stores File Name as a mixed string (token + literal), and the upload writes the file with the combined name.
Can I trigger this from email, SharePoint, or a webhook instead of a scheduled Dropbox download?+
Yes. Replace Module 1 with any module that produces a binary file and a filename: Gmail Get Attachments, SharePoint Get file content, OneDrive Download a File, Webhooks Custom webhook with file payload. Modules 2, 3, 4 stay identical.
How big can the input PDF be?+
Practical limits are bounded by Make operation timeouts and the PDF4me API payload limit. For multi-hundred-MB documents, downsample first via a PDF4me Compress action then run AI - Document Parser on the result.
Does this work in Power Automate, n8n, or Zapier?+
Yes. The PDF4me AI - Document Parser action is available on all four platforms with the same Analyzer Template concept. See the cross-platform comparison at the bottom of the Make action reference page.
How accurate is the extraction?+
Accuracy depends on document layout consistency and the Analyzer Template fit. Built-in templates like default_invoice_extraction are tuned across thousands of vendor invoices. For custom layouts that the AI mis-reads on, build a custom Analyzer Template in dev.pdf4me.com with examples of your specific format.

Mulai

Cobalah dengan file panduan.

↓ Unduh sample-vendor-invoice.pdf