Ana içeriğe geç

Google Docs şablon içinde Power Automate

O Google Docs aile bir Power Automate Şablon kullanarak tek seçenekli belge oluşturma Google Docs ve şu şekilde dışa aktarıldı .docxBu dosyayı Tek Belge Oluştur seçeneğine eşleyin ve kendi dosyanızla birleştirin. JSON veya XML Verilerinizi alın ve kişiselleştirilmiş bir hizmet elde edin. PDF veya Word Dosyayı geri yükleyin. Ekibiniz şablonlar oluştururken bunu seçin. Google Docs yerine Microsoft Word.

İlgili Blog Yazıları
Bu özellik için henüz bir blog yazısı yok — yakında yayınlanacak.
Bu arada, her platforma yönelik eğitimler ve iş akışları için PDF4me bloguna göz atın.
Blogu ziyaret edin

Başlamadan Önce

Google Docs dışa aktarıldı .docx
Şablonu şu şekilde tasarlayın: Google DocsYer tutucular ekleyin, ardından şu şekilde indirin: Microsoft Word (.docxÖrnek google-docs-template.docx Zaten ihraç edildi ve hazır.
Eşleşen veri dosyası
Kullanmak google-docs-data.json (tavsiye edilen), test.xml, veya test.csvŞablondaki yer tutucu adlar, veri anahtarlarıyla eşleşir.
PDF4me bağlantıda Power Automate
Bir tane oluşturun PDF4me bağlantıda Power Automate ve yapıştırın API Aynı tuş her cihazda çalışır. PDF4me Kiracınızda meydana gelebilecek bir eylem.

Örnek Dosya Paketi

Aşağıdaki dosyaları indirin. Bir Google Docs şablon artı eşleşen veriler JSON, XML, Ve CSVHaritayı çiz .docx itibaren SharePoint, OneDrive, veya Dropbox Tek Belge Oluştur seçeneğine girin.

PDF4me ile Power Automate'te tek işlemle Word belgesi oluşturma: Şablon Dosya Türü Docx, Şablon Dosya Adı linq-template.docx, Şablon Dosya Verileri Dropbox Dosya İçeriğinden eşlenmiş, Belge Veri Türü Json ve Belge Veri Metni örnek JSON içerecek şekilde ayarlanmıştır.

Hedef yapılandırması Google Docs dışa aktar: haritala .docx altında Şablon Dosya Verileri, ayarlamak Şablon Dosya Türü ile Docxve yapıştır JSON içine Document Data Metin.

Nedir bu? Google Docs şablon içinde Power Automate?

O Google Docs Aile, şablon oluşturmanıza olanak tanır. Google Docs, bunu şu şekilde dışa aktarın .docxve bunu verilerle birleştirin. Power Automate akış. Çünkü dışa aktarılan dosya bir .docx, içinden geçiyor Word Şablon motoru ve bıyık stili yer tutucuları destekler, örneğin: {{isim}}Bu, tercih eden takımlar için en basit seçenektir. Google Workspace üzerinde Microsoft Word Şablon tasarımı için.

Nasıl yapılandırırım? Google Docs şablon içinde Power Automate?

Eylem alanlarını aşağıdaki gibi ayarlayın. Tek Belge Oluştur seçeneği, dışa aktarılanı eşler. .docx Önceki "Dosya Al" adımından. Zaten kaydedilmiş bir şablon için. PDF4me hesap, kullanım Şablon Kullanarak Belge Oluştur yerine.

ParametreGerekliNe işe yarar?Örnek
ConnectionRequiredPDF4me connection for the flow. Create one with your API key, then reuse it across every PDF4me action.My PDF4me connection
Template File TypeRequiredFormat of the template file. A Google Docs export is a .docx, so choose PDF4me Word Template (Docx).PDF4me Word Template
Output TypeRequiredFormat of the generated document. PDF for a locked layout, or Word for an editable .docx.PDF
Template NameRequiredFilename of the exported template including the .docx extension. Map from the prior Get file step.google-docs-template.docx
TemplateRequiredBinary content of the Google Docs export. Map File Content from SharePoint, OneDrive, or Dropbox Get file content.File Content
Document DataTypeRequiredFormat of the data payload. Json maps cleanly from SharePoint columns and Forms. Xml is for XML source systems.Json
Document Data TextConditionalInline data payload built from dynamic content. Required when Document Data File is empty.[{ "name": "Alice Johnson" }]
Document Data FileConditionalA JSON or XML data file mapped from a prior step. Required when Document Data Text is empty.1. Data
Meta Data JsonOptionalDocument metadata for fields in JSON format. Leave empty for most certificate and letter templates.{"title":"Certificate"}

Aşağıdaki örnek veriler, yer tutucularla eşleşmektedir. google-docs-template.docx. Bunu buraya yapıştırın. Document Data Metin olarak gönderin veya dosya olarak yükleyin. Document Data Dosya.

[
{
"name": "Alice Johnson",
"course": "Intro to Automation",
"date": "2026-03-10",
"instructor": "Mr. Smith"
}
]

Çıktı

Bu işlem, oluşturulan belgeyi dinamik içerik olarak döndürür. Dosya içeriğini kabul eden herhangi bir sonraki adıma eşleyebilirsiniz.

AlanTipİçeriğinde neler var?
Doc DataBinaryThe merged document produced from the Google Docs export and your data. Map it into File Content of Create file (Dropbox, OneDrive, SharePoint) or into an Outlook attachment.
File NameStringOutput filename derived from Template Name. Combine it with an expression such as guid() when you want unique filenames per run.
Power Automate'te Dropbox Dosya Oluşturma eylemi, Klasör Yolu pdf4meoutput olarak ayarlanmış, Dosya Adı guid() artı oluşturulan belgeden oluşturulmuş ve Dosya İçeriği oluşturulan belgeye eşlenmiştir.

Sonucu kaydetme: oluşturulan belgeyi şuraya eşleyin: File Contentve kullanın kılavuz() içinde File Name Benzersiz bir çıktı adı için.

Üretim modelleri

Google Dokümanlar şablonları için yaygın Power Automate kalıplarıReplace the manual test with these once the sample works.
Formlar sertifikaya yanıt veriyor.
  1. Microsoft Formlar Yeni bir yanıt gönderildiğinde tetikleyici devreye girer.
  2. Belge Oluştur Tekli haritalar Google Docs sertifika .docx Dosya içeriğini al.
  3. Yanıt alanları şu şekilde iletilir: JSON içinde Document Data Metin.
  4. Dosya oluşturma işlemi sertifikayı kaydeder ve Outlook E-posta göndermek, içeriği iletir.
SharePoint Kaydedilen PDF'lere liste
  1. SharePoint Bir öğe oluşturulduğunda listede bir tetikleyici çalışır.
  2. Tekli Belge Oluştur seçeneği, liste sütunlarını şablona birleştirir.
  3. Oluşturulan belge dinamik içerik olarak döndürülür.
  4. SharePoint Oluşturulan dosya, belge kitaplığında saklanır.
Manuel test Dropbox
  1. Akışı manuel olarak tetiklemek, çalıştırmayı başlatır.
  2. Tekil harita içeren google-docs-template.docx belgesini satır içi metinle oluşturun. JSON.
  3. Dosya oluşturma işlemi, bir guid() dosya adı ile /pdf4meoutput klasörüne yazılır.
  4. Doğrulama işlemi tamamlandıktan sonra manuel tetiği gerçek bir tetikle değiştirin.

Sıkça Sorulan Sorular

How do I prepare a Google Docs template for Power Automate?+
Design the document in Google Docs, add placeholders, then use File, Download, Microsoft Word (.docx). Map that file into Generate Document Single from SharePoint, OneDrive, or Dropbox. If the template is already saved in your PDF4me account, use Generate Document Using Template instead.
Which Template File Type do I select for a Google Docs export?+
Set Template File Type to PDF4me Word Template. A Google Docs export is a .docx, so it merges through the Word template engine. Set Output Type to PDF or Word.
Can the action output PDF or Word from a Google Docs template?+
Yes. Set Output Type to PDF or Word on Generate Document Single. The exported Google Docs file is a .docx, so either output format is valid.
What data formats can I use with the Google Docs template?+
Set Document DataType to Json or Xml. Document Data Text takes an inline payload built from dynamic content, and Document Data File takes an uploaded JSON or XML file. The sample pack includes google-docs-data.json, test.xml, and test.csv.
Where does the generated file go in a Power Automate flow?+
The action returns Doc Data as dynamic content. Map it into a downstream step such as Create file (Dropbox, OneDrive, SharePoint) or Outlook Send an email with attachment. Use guid() in the File Name to keep each output unique.

İlgili Kılavuzlar

Temel şablon motoru için bkz. Varsayalım ki Words için .NET dokümantasyon ve Power Automate ifadeler referansı.