Ana içeriğe geç

Tek bir belge oluştur Make

Tek Belge Oluştur bir PDF4me modül için Make Bu, bir şablonu bir veri kümesiyle birleştirir ve her çalıştırmada tek bir bitmiş belge döndürür. Beş şablon ailesini destekler (Word, HTML, PDF form, Posta Birleştirme ve Google Docsve iki veri formatı (JSON Ve XML) ve çıktılar PDF, Word, Excel, veya HTMLKod yazmanıza gerek kalmadan faturalar, sözleşmeler, sertifikalar ve kişiselleştirilmiş mektuplar için kullanabilirsiniz.

Bu modülün işlevi

PDF4me Tek Belge Oluştur birleştirir Word, HTML, PDFPosta Birleştirme veya Google Docs şablon ile JSON veya XML verileri kullanır ve kişiselleştirilmiş bir sonuç üretir. PDF, Word, Excel, veya HTML bir dosyada Make Bu modül, çok adımlı posta birleştirme senaryolarını tek bir yapılandırılabilir işlemle değiştirir. Şablon dosyasını herhangi bir bulut depolama modülünden eşleştirin (Dropbox, Google Drive, OneDriveVerilerinizi satır içi olarak veya eşlenmiş bir dosya olarak sağlayın ve oluşturulanı yönlendirin. Belge Tarihi Çıktı doğrudan Dosya Yükle, E-posta Gönder veya herhangi bir sonraki işleme aktarılabilir. Make modül.

İlgili Blog Yazıları(4)
Google Dokümanlar Şablonu + JSON? Bunları PDF veya Word'e Dönüştürün. Dört Adım, Sıfır Kod!
Make uygulamasında Google Docs şablonundan PDF veya Word oluşturun: Dropbox (şablon + JSON) → PDF4me Belge Oluştur (Şablon Dosya Türü Google Docs) → Yükle. Yer tutucuları verilerle birleştirin, kod gerekmez. Ekran görüntüleriyle adım adım talimatlar.
Yazıyı oku
Dropbox'ta Word Şablonu + JSON mu? Make'te Posta Birleştirme İşlemi Gerçekleştirin. Dört Tıklamayla PDF veya Word!
Make'te posta birleştirmeyi otomatikleştirin: Dropbox (Word şablonu + JSON) → PDF4me Belge Oluştur (Şablon Dosya Türü Posta Birleştirme) → Yükle. Yer tutucuları verilerle birleştirin, PDF veya Word çıktısı alın. Ekran görüntüleriyle adım adım talimatlar.
Yazıyı oku
Dropbox klasörünüzde yeni bir dosya mı var? Make'te bir posta birleştirme işlemi gerçekleştirin. Altı adımda, tamamen otomatik!
Make'te tetikleyici tabanlı posta birleştirme: Dropbox'ta yeni bir dosya göründüğünde, JSON verilerini bulun, PDF4me Belge Oluşturma (Posta Birleştirme) işlemini çalıştırın, ardından Word ve PDF dosyalarını yükleyin. Ekran görüntüleriyle adım adım açıklama.
Yazıyı oku

Şablon türünüzü seçin.

Size uygun olan rehberi seçin. Şablon Dosya TürüHer sayfada örnek şablonun tam hali ve veri dosyaları listelenmiştir (JSON, XML, CSV), önerilen alan değerleri ve hızlı bir test senaryosu için Make.

Kimliğinizi Doğrulama API Rica etmek

Her PDF4me modül içinde Make geçerli bir belge gerektirir Bağlantı. İçeriğinizi barındıran birini oluşturun veya seçin. PDF4me API Bu sayede senaryo, belge oluşturma isteklerini güvenli bir şekilde doğrulayabilir.

Kaçırmamanız Gereken Önemli Bilgiler

Şablon dosya türü, şablon dosyasıyla eşleşmelidir.
Seçtiğiniz Şablon Dosya Türü, Şablon altında eşlenen dosyayla eşleşmelidir. .docx bir ile eşleştirilmiş HTML Seçilen tür çalışma zamanında başarısız oluyor. Her şablon ailesinin kullandığı tam yer tutucu sözdizimi için yukarıdaki ilgili kılavuzu açın.
Belge Veri Metni veya Belge Veri Dosyası seçeneklerinden birini sağlayın.
Belge Veri Metni satır içi kabul eder JSON veya XML ve önceki modüllerden eşleştirilen kısa veri paketleri için en uygundur. Belge Veri Dosyası, önceki bir modülden gelen ikili bir dosyayı kabul eder. Make Bu yöntem, büyük veya önceden oluşturulmuş veri belgeleri için en uygun olanıdır. Her senaryoda birini veya diğerini kullanın.
Çıktı, bir sonraki modül için hazır halde Belge Verileri'nde bulunmaktadır.
Oluşturulan dosya şu adreste geri döndürülür: Belge Tarihi Çıktı alanı. Doğrudan Dosya Yükle ( ) bölümüne yönlendirin.Dropbox, Sürmek, OneDrive), E-posta Eki Gönder veya ikili dosyayı kabul eden herhangi bir alt modül. Dosya adı, Şablon Adı alanından korunur.
PDF4me'nin Şablon Kullanarak Belge Oluşturma modülü, Bağlantıyı gösteriyor, Şablon Adı PDF4me deposundan örnek bir şablona ayarlanmış, Belge Veri Türü Json, Belge Veri Metni boş, Belge Veri Dosyası önceki 2. adımdan eşlenmiş. Veri ve Meta Veri Json boş.

Bir tane seçin Şablon Adı sizden PDF4me depo, küme Belge Veri Türü JSON'a dönüştür ve eşle Belge Veri Dosyası önceki indirme adımından (veya yapıştır) JSON içine Belge Verileri Metni yerine).

Tekli Belge Oluştur seçeneği hangi parametreleri kullanır? Make?

Gereklidir Make UI: Bağlantı, Şablon Dosya Türü, Çıktı Türü, Şablon Adı, Şablon ve Belge Veri Türü (tümü kırmızı yıldızlarla işaretlenmiştir). Şartlı: Belge Veri Metni VEYA Belge Veri Dosyası (ikisinden biri veri yükünü taşımalıdır). İsteğe bağlı: Meta Veri JSON.

ParametreGerekliNe işe yarar?Örnek
ConnectionRequiredPDF4me connection for the scenario. Click Add to create a connection with your API key, or select an existing connection from the dropdown.My PDF4me connection
Template File TypeRequiredSelect the template family: Word Template (.docx), HTML (.html), Pdf Form (fillable .pdf), Mail Merge (.docx merge fields), or Google Docs export (.docx). Open the matching guide for placeholder syntax.PDF4me Word Template
Output TypeRequiredFormat of the generated document. Word for editable .docx, PDF for print-ready locked layout (most common), Excel for .xlsx, HTML for web embedding.PDF
File SelectionRequiredHow the template file is supplied. Choose a storage module shortcut (for example Dropbox Download a File) or select Map to wire Template Name and Template from any prior step.Map
Template NameRequiredTemplate file name including extension. Map from the previous module filename output (shown as 1. File Name when Dropbox Download a File is upstream).1. File Name
TemplateRequiredTemplate file binary for document generation. Map from the previous module data output (shown as 1. Data when Dropbox Download a File is upstream).1. Data
Document Data FileConditionalMap source document file content from a previous action when your data payload is a file rather than inline text. Use when Document Data Text is empty.1. Data
Document DataTypeRequiredChoose document data type. Json for JSON payloads (most common), Xml when the upstream system returns XML.Json
Document Data TextConditionalInput data text to generate the document. Paste JSON or XML inline or build it with Make expressions. Use when Document Data File is empty.{ "Name": "John", "Age": 16 }
Meta Data JsonNoOptional metadata for template fields (title, author, subject, custom properties). Shown without an asterisk in the Make UI. Leave empty for most templates.

Çıktı türünü nasıl seçerim? Make?

Sonraki aşamalara uygun formatı seçin. Make Modüllerin beklediği budur. Çıktı formatı şablon türünden bağımsızdır, bu nedenle Word şablon bir şey üretebilir PDF.

PDFPrint-ready, locked layout
Standard choice for invoices, contracts, certificates, and statements. Send via Email or upload to storage as a final deliverable.
WordEditable .docx output
Use when the recipient needs to edit the generated document such as draft contracts that go back for review or HR letters that need a manual signature line.
ExcelSpreadsheet .xlsx output
Use for data-heavy templates such as financial reports. The template must be designed in Excel and use Excel template variable syntax.
HTMLWeb-ready HTML
Use for emails, web previews, or downstream rendering in a browser-based viewer. Output is a single HTML file.

Çıktı

Modül bir değer döndürür. Paket Her çalıştırmada. Oluşturulan dosya şu konuma yerleştirilir: Belge Tarihi Çıkış alanı, standart yöntemle sonraki modüllerin alabileceği şekilde hazır. Make Veri eşleme.

AlanTipİçeriğinde neler var?
Doc DataBinaryThe generated document in the format chosen under Output Type. Map this into a downstream Upload File, Send Email Attachment, or any module that accepts binary input.
File NameStringOutput filename based on Template Name with the extension matching Output Type.
Mime TypeStringMIME type of the generated document (application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, and so on).

Senaryo örnekleri

Yaygın Üretim senaryo kalıplarıTypical ways to chain Generate Document Single into a Make flow.
Dropbox şablon + webhook verilerini e-postaya gönder PDF
  1. Webhook alır JSON Yeni bir fatura için.
  2. Dropbox Dosya İndir, faturayı yükler. Word şablon.
  3. Belge Oluştur Tek harita Şablon Adı ve Şablondan Dropbox Bu adımda, Veri Türünü Json olarak ayarlar ve webhook'u okur. JSON Belge Veri Metnine.
  4. E-posta Gönder seçeneği, faturayı müşteriye göndermek için belge verilerini ekler.
Airtable sertifikaları yükle Google Drive
  1. Planlanmış tetikleyici her gün saat 09:00'da devreye girer.
  2. Airtable Arama Kayıtları, yeni kurs tamamlamalarını getirir.
  3. Yineleyici her kaydı tek tek inceler.
  4. Belge Oluştur Tekli birleştirmeler Word Kayıt verileri ve çıktıları içeren sertifika şablonu PDF.
  5. Google Drive Dosya Yükle seçeneği, her sertifikayı alıcının adıyla adlandırılmış paylaşılan bir klasöre kaydeder.
Google Sheets aylık rapora satır PDF
  1. Her ayın ilk günü için planlı ateş yakılması.
  2. Google Sheets Arama Satırları, aylık toplam verileri çeker.
  3. Dönüştürme modülü, satırları şekillendirir. JSON Şablonun beklediği yapı.
  4. Tek Belge Oluştur seçeneği, rapor şablonunu verilerle birlikte oluşturur, Çıktı Türü PDF.
  5. OneDrive Dosya yükle arşivleri PDF Ve Slack "Mesaj Gönder" seçeneği indirme bağlantısı gönderir.

Sıkça Sorulan Sorular

Which template file types does Generate Document Single accept in Make?+
Five template families: PDF4me Word Template (.docx with mustache variables, most common), HTML (file or pasted HTML Code), Pdf Form (fillable .pdf form-field replacement), Mail Merge (Word mail-merge fields), and Google Docs (Google Docs export style .docx). Each has its own setup guide with sample files linked in the Choose your template type section above.
What output formats can the Make module produce?+
Output Type supports Word (.docx for editable output), PDF (locked layout, most common for invoices and contracts), Excel (.xlsx for spreadsheet output), and HTML for web embedding. The output format is independent of the template type, so a Word template can produce a PDF and vice versa.
How do I pass JSON data to the template?+
Set Document DataType to Json, then either paste the JSON object directly into Document Data Text or map a data file from a previous module into Document Data File. Document Data Text is best for small payloads built with Make expressions, Document Data File is best for large or pre-built data documents.
Is Meta Data Json required?+
Meta Data Json is shown without an asterisk in the Make UI, so it is optional in this connector. Use it when your template references document metadata such as title, author, or subject at render time. Leave it empty for most invoice and contract scenarios.
How do I generate many documents in one scenario?+
For one document per record, add a Make Iterator or Search Records loop before Generate Document Single and map each record into the data field. The module runs once per record and returns one file per execution. For true multi-record output in a single call use Generate Documents Multiple instead.
How is this different from the n8n, Zapier, or Power Automate version?+
All four platforms call the same PDF4me Generate Document Single backend. Make is the visual scenario builder, n8n is the developer-friendly self-hosted option, Zapier triggers from 6,000+ SaaS apps, and Power Automate is Microsoft 365 native. The template logic and output format are identical across platforms.

İlgili işlemler

Yardım Alın

Her şablon ailesini destekleyen şablon motoru ve Mustache sözdizimi için bkz. Sözcük Türleri .NET dokümantasyon ve Make veri yapıları referansı.