Skip to main content
Best answer

Creating document from template

  • May 11, 2020
  • 2 replies
  • 379 views

Hi there,

 

I’m connecting Paperform with Google Docs,

 

Paperform Submission > Create Document from Template,

 

In the description of the event it states: “Creates a new doc based on an existing one and can replace any placeholder variables found in your template doc, like {{name}}, {{email}}, etc.”

 

How do I marry up my variables in my template with data contained in submissions? Must my variable in the document template match the variable name of each data point in the form?

 

Thanks in advance for your help!

 

Anna :-)

Best answer by Liz_Roberts

Hi @AnnaPage ,

Thanks for reaching out! I see that Kaushi in Support was able to get you squared away here! To help other users who may be interested in a similar workflow, I am summarizing her response below.

If you have any additional questions, please let us know!

 

When you're using the Create Document from Template Action in Google Docs, there are few things to keep in mind:

  • Any fields in your document that you want be filled out automatically by the Zap (by passing your Paperform data), must be in double {{curly braces}} in Google Docs. 
  • In the example, you will take name, address and birthday from Trigger data and pass that into the copy of the document you have created from your template
  • When this is set up correctly, your Create Document from Template will be created and you can map your trigger data to the template
  • Your variable names in the template do not need to be a 100% match to what's coming out from Paperform. But I recommend that you keep a fairly consistent naming convention, because it'll make it easier for yourself and anyone else whose working on the Zap 🙂
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • 1366 replies
  • Answer
  • May 12, 2020

Hi @AnnaPage ,

Thanks for reaching out! I see that Kaushi in Support was able to get you squared away here! To help other users who may be interested in a similar workflow, I am summarizing her response below.

If you have any additional questions, please let us know!

 

When you're using the Create Document from Template Action in Google Docs, there are few things to keep in mind:

  • Any fields in your document that you want be filled out automatically by the Zap (by passing your Paperform data), must be in double {{curly braces}} in Google Docs. 
  • In the example, you will take name, address and birthday from Trigger data and pass that into the copy of the document you have created from your template
  • When this is set up correctly, your Create Document from Template will be created and you can map your trigger data to the template
  • Your variable names in the template do not need to be a 100% match to what's coming out from Paperform. But I recommend that you keep a fairly consistent naming convention, because it'll make it easier for yourself and anyone else whose working on the Zap 🙂

  • Author
  • Beginner
  • 1 reply
  • May 13, 2020

Perfect!

 

One other point we found: 

Zapier struggled to find my templated when then were in folders, I bought them out to just sit on my google drive and this sorted the issue instantly,

 

Cheers!