Lewati ke konten utama

Uraikan Dokumen di Zapier

Apa yang dilakukan oleh tindakan ini?

PDF4me Uraikan Dokumen menjalankan templat parse yang Anda simpan terhadap PDF di dalam Zapier Zap akan mengembalikan field yang diekstrak dan siap dipetakan ke langkah berikutnya. Pemicu dapat diaktifkan dari lebih dari 6.000 opsi. Zapier aplikasi (Gmail, Dropbox, Slack, Google Drive, OneDrive, webhooks), merujuk pada templat dengan Nama Templat (TemplateId), dan mengarahkan nilai-nilai yang telah diurai langsung ke Google Sheets, Airtable, HubSpot, Pipedrive, QuickBooks, atau aplikasi hilir lainnya.

Postingan Blog Terkait(1)

Sebelum Anda menjalankan tindakan ini: buat templat parse di PDF4me Dasbor. Tentukan kunci tangkapan Anda dan pilih Ekspresi Regex untuk pola yang stabil atau JavaScript Ekspresi untuk logika kondisional. Itu Zapier referensi tindakan yang templat oleh ID Templat. Melihat Siapkan Informasi Penguraian untuk Dokumen Untuk pengaturan lengkap, contoh Regex (INV-\d{6,10}, \d{2}/\d{2}/\d{4}), dan dua pekerja JavaScript Contoh pengklasifikasi ekspresi.

Memverifikasi Identitas Anda API Meminta

Yang PDF4me tindakan dalam Zapier membutuhkan PDF4me koneksi akunMasuk sekali dengan akun Anda. API kunci dan menggunakannya kembali di setiap PDF4me tindakan di Zap Anda.

Fakta Penting yang Tidak Boleh Anda Lewatkan

Nama Templat menerima GUID TemplateId.
Terlepas dari label kolom, tempelkan GUID TemplateId dari dasbor. Nilai ini stabil meskipun ada perubahan nama dan merupakan nilai produksi yang aman di seluruh publikasi ulang Zap.
Ekspresi reguler untuk pola stabil, JavaScript untuk logika kondisional
Aturan pengambilan data terdapat dalam templat. Gunakan Ekspresi Regex untuk nomor faktur, tanggal, dan jumlah. Gunakan JavaScript Ekspresi dengan teks Variabel untuk klasifikasi dan aturan cadangan. Setiap kunci tangkapan menjadi bidang keluaran pada tindakan tersebut.
Berfungsi dengan apa saja Zapier input file
Kolom File menerima data biner. PDF dari hulu mana pun Zapier langkah (Gmail Lampiran Baru, Dropbox File Baru, Google Drive, Slack, webhook, Zapier Penyimpanan). TemplateId yang sama berfungsi dari Make, n8n, Power Automate, dan langsung REST.
Menguraikan tindakan Dokumen di Zapier

Parameter

ParameterDiperlukanApa fungsinya?Contoh
FileYesBinary PDF from any upstream Zapier step: Gmail New Attachment, Dropbox New File in Folder, Google Drive New File in Folder, OneDrive New File, Slack New File, webhook with file payload. Pick from the prior step output.Attachment from Gmail
Document NameYesSource filename including .pdf extension. Usually mapped from the same upstream step Filename output.invoice.pdf
Template NameYesTemplateId GUID from the PDF4me dashboard. Identifies which parse template (capture keys + extraction rules) the action should apply.12345678-1234-1234-1234-123456789abc

Jenis ekspresi dalam templat parse Anda

Ekspresi RegexPola yang stabil
Nomor faktur (INV-\d{6,10}), tanggal (\d{2}/\d{2}/\d{4}), jumlah ($?\d{1,3}(?:,\d{3})*(?:.\d{2})?). Sekitar 80% kunci pengambilan produksi.
Ekspresi JavaScriptLogika kondisional dan pengklasifikasi
Teks area tangkapan diteruskan sebagai teks; mengembalikan string. Klasifikasi multi-marker, aturan cadangan, normalisasi tanggal. Lihat Siapkan Informasi Penguraian untuk Dokumen untuk dua sampel kerja.

Keluaran

Aksi tersebut mengembalikan data bidang yang telah diuraikan sebagai Zapier Nilai keluaran, dengan satu kolom per kunci pengambilan data di templat Anda. Pilih nilai tersebut dari pemilih kolom dinamis di setiap langkah selanjutnya.

Output dokumen hasil parsing di Zapier yang menunjukkan field-field yang telah diurai.

Contoh Zap

Pola Zapier umumTypical ways to chain Parse Document into a Zap.
Faktur Gmail ke Google Sheets
  1. Fitur Lampiran Baru Gmail diaktifkan berdasarkan label seperti Faktur Vendor.
  2. Filter hanya akan memproses file yang berakhiran .pdf.
  3. Parse Document menjalankan templat Faktur terhadap lampiran.
  4. Google Sheets Create Spreadsheet Row menulis invoiceNumber, totalAmount, invoiceDate ke dalam pelacak AP.
Penerimaan Dropbox ke Airtable
  1. Dropbox New File in Folder dipicu pada /receipts.
  2. Parse Document menjalankan templat Tanda Terima.
  3. Airtable Create Record menulis vendor, tanggal, total, dan item ke dalam basis pengeluaran.
  4. Slack Send Channel Message memposting ringkasan ke #finance.
Kontrak webhook ke HubSpot
  1. Webhooks oleh Zapier Catch Hook menerima kontrak masuk. PDF.
  2. Parse Document mengekstrak pihak-pihak yang terlibat, nilai kontrak, tanggal mulai, dan tanggal berakhir.
  3. HubSpot Create or Update Deal menulis data kontrak ke dalam catatan kesepakatan.
  4. Webhook keluar memberi tahu pemilik kesepakatan.

Pertanyaan yang Sering Diajukan

What goes in the Template Name field?+
Paste the TemplateId GUID from the PDF4me dashboard. Despite the field label, the GUID is the safer production value. It is stable across renames and identical to the value used by the REST API and the other platform connectors.
Where does the PDF file come from in a Zap?+
Any upstream Zapier step that exposes a file: Gmail New Attachment, Dropbox New File in Folder, Google Drive New File in Folder, OneDrive New File, Slack New File, Webhooks Catch Hook with file payload, Zapier Storage. Pick the file from the prior step output.
Do I have to build a template, or can the Zap parse any PDF?+
Template-based parsing is the supported production mode. Build the template once in the dashboard, then reference its TemplateId. The same TemplateId works in Make, n8n, Power Automate, and direct REST calls.
Can I extract data using JavaScript at parse time?+
Yes. Inside the template add a JavaScript Expression on a capture key. The capture area text is passed as the variable text and your function returns a string. The returned value appears in your Zap as a regular output field you can map into the next step.
How do I see the extracted fields in the field picker?+
Run the Test step at least once. Zapier reads the live response, learns the capture key names from your template, and surfaces them in the dynamic field picker of every downstream step.
What if my template changes (I add a new capture key)?+
Re-test the Parse Document action. Zapier re-reads the output and adds the new field to the picker. Then map it into downstream steps. The TemplateId stays the same so no other Zap step needs to change.

Tindakan terkait

Tugas yang sama di platform lain

Dapatkan Bantuan