Tek bir belge oluştur Power Automate
PDF4me Tek Belge Oluştur Word'ü birleştirir, HTML, veya PDF şablon ile JSON veya XML içindeki veriler Power Automate akış ve kişiselleştirilmiş bir sonuç üretir. PDFWord, Excel veya HTML Dosyayı tek bir işlemde tamamlar. Çok adımlı işlemleri ortadan kaldırır. Microsoft 365 Tek bir yapılandırılabilir adımla posta birleştirme akışları. Şablon dosyasını herhangi bir yerden eşleştirin. Microsoft 365 depolama işlemi (SharePoint, OneDriveDataverse Outlook Ekler dahil olmak üzere, verilerinizi dinamik içerikten veya eşlenmiş bir dosyadan sağlayın ve oluşturulanı aktarın. Belge Tarihi Doğrudan Dosya oluştur, E-posta gönder veya herhangi bir sonraki işleme yönlendirir.
Kimliğinizi Doğrulama API Rica etmek
O PDF4me Konektörü bağlayın. Power Automate geçerli bir belge gerektirir bağlantı elinizde tuttuğunuz PDF4me API Anahtar. Bağlantıyı akış tasarımı sırasında bir kez oluşturun, ardından her PDF4me Kiracınızın bunu yeniden kullanması durumunda gerçekleşecek eylem.
Kaçırmamanız Gereken Önemli Bilgiler
{{müşteri.adı}}.Belge Tarihi Dinamik içerik alanı. Doğrudan aktarın. SharePoint Dosya oluştur, Outlook Ekli dosya içeren bir e-posta gönderin. OneDrive Dosya oluşturun, Dataverse'e yeni bir satır ekleyin veya Teams'e dosya içeren bir mesaj gönderin..webp)
Tek bir belge oluşturma eylemi Power Automate Tipik bir Word'den dijitale dönüştürme işlemi için gerekli alanlar şunlardır: Şablon Dosya Türü, Çıktı Türü, Şablon Adı, Şablon, Belge Veri Türü ve Belge Veri Metni (veya Belge Veri Dosyası).PDF koşmak.
Parametreler
Gerekli: Şablon Dosya Türü, Çıktı Türü, Şablon Adı, Şablon, Belge Veri Türü. Ş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.
| Parametre | Gerekli | Ne işe yarar? | Örnek |
|---|---|---|---|
| Template File Type | Yes | Format of the template file. PDF4me Word Template (.docx, mustache template variables, most common), PDF4me HTML Template (.html), or PDF4me PDF Template (.pdf, form field replacement). | PDF4me Word Template |
| Output Type | Yes | Format of the generated document. Word (editable .docx), PDF (locked layout, most common), Excel (.xlsx), or HTML. | PDF |
| Template Name | Yes | Filename of the template including extension. Map as dynamic content from the prior step File Name output (SharePoint, OneDrive, Outlook attachments). | invoice_template.docx |
| Template | Yes | Binary content of the template file. Map as dynamic content from the prior step File Content output (SharePoint Get file content, OneDrive Get file content, Outlook Get attachments). | @triggerOutputs()?['body'] |
| Document Data File | Conditional | Binary data file produced by an upstream step. Use when the data lives in a file (SharePoint json file, OneDrive xml file). Required when Document Data Text is not provided. | @outputs('Get_data_file')?['body'] |
| Document DataType | Yes | Format of the data payload. Json (most common in Power Automate, maps cleanly from SharePoint columns and Forms) or Xml (for XML-native source systems). | Json |
| Document Data Text | Conditional | Inline data payload built from dynamic content. Use for short JSON or XML built with Power Automate expressions. Required when Document Data File is not provided. | { "Name": "John", "Age": 16, "Birth": "2000-1-1" } |
| Meta Data Json | No | Optional document properties as a JSON object (title, author, subject, custom fields) for templates that reference metadata at render time. Leave empty for most invoice and contract templates. | {"title":"Invoice 2024-100"} |
Şablon Dosya Türü seçenekleri
PDF4me Word ŞablonuBıyık yer tutuculu .docx{{müşteri.adı}}Döngüler, koşullu ifadeler, tablolar ve satır içi resimler. Word'de oluşturulan faturalar, sözleşmeler, sertifikalar ve mektuplar için en uygunudur.PDF4me HTML Şablonu.html dosyasına satır içi CSS eklenmişPDF4me PDF ŞablonuDoldurulabilir PDF form alanı değiştirmeÇıktı Türü seçenekleri
PDFPrint-ready locked layoutWordEditable .docx outputExcelSpreadsheet .xlsx outputHTMLWeb-ready HTMLÇıktı
Bu işlem, dinamik içerikten oluşan bir paket döndürür. Oluşturulan dosya şu konumda saklanır: Belge Tarihiaşağı akıntıya geçmeye hazır Microsoft 365 Eylemler.
| Alan | Tip | İçeriğinde neler var? |
|---|---|---|
Doc Data | Binary | The generated document in the format chosen under Output Type. Pass directly into SharePoint Create file, Outlook Send an email with attachment, OneDrive Create file, Dataverse Add a new row, or Teams Post a message. |
File Name | String | Output filename based on Template Name with the extension matching Output Type. |
Akış örnekleri
Ortak Power Automate akış kalıplarıTypical ways to chain Generate Document Single into a flow.
- SharePoint Faturalar listesinde bir öğe oluşturulduğunda veya değiştirildiğinde tetikleyici çalışır.
- SharePoint Dosya içeriğini al seçeneği, Şablonlar kütüphanesinden fatura Word şablonunu yükler.
- Liste öğesi sütunlarıyla tek bir birleştirme şablonu içeren belge oluşturun. JSONÇıktı Türü PDF.
- Outlook E-postaya belge verilerini ekleyerek müşteriye teşekkür mesajı gönder.
- Microsoft Forms'da yeni bir yanıt gönderildiğinde, kursun tamamlanması için tetikleyici çalışır.
- OneDrive Dosya içeriğini al seçeneği, sertifika Word şablonunu yükler.
- Tekli Belge Oluştur seçeneği sertifikayı şu şekilde oluşturur: PDF Form yanıtını kullanarak JSON.
- SharePoint Oluşturulan dosya, sertifikayı Sertifikalar belge kitaplığına kaydeder ve Outlook E-posta göndermek, öğrenciye iletir.
- Dataverse'te, Fırsatlar tablosuna bir satır eklendiğinde, kazanılmış ve kapanmış fırsatlar için tetikleyici devreye girer.
- SharePoint Dosya içeriğini al seçeneği, sözleşme şablonunu yükler.
- Generate Document Single sözleşmeyi oluşturur. PDF Anlaşma verilerinden.
- Ekipler, onay yolları içeren uyarlanabilir kartı gönderir ve belge verilerini imza için yasal sahibine iletir.