Skip to main content

How to use template variables (tabs) inside a document created outside DocuSign (Google Docs)

  • December 8, 2025
  • 1 reply
  • 13 views

Forum|alt.badge.img

Hi, I am generating a document in Google Docs where I add variables like {{NAME}}, {{EMAIL}}, etc. Then I export that file (PDF) and send it using the DocuSign API.

The envelope sends successfully, but the variables are not getting replaced by the values I pass in the API. The final document still shows {{NAME}} instead of the actual name.

I am confused:

  1. Is Google Docs the correct place to create documents with variables for DocuSign?

  2. Does DocuSign support the {{NAME}} syntax, or does it require special tags?

  3. What is the correct way to insert fields (merge fields / tabs) so that the values I send in the API appear inside the document?

Below is what I want:

  • Create document with placeholders

  • Send envelope through API

  • Fill placeholders with values programmatically

 

1 reply

Forum|alt.badge.img+1
  • Docusign Employee
  • December 8, 2025

The document generation feature has the capabilities that you are describing. It supports .docx files and uses a syntax similar to what you are using. The resources below have more information and show how to create and populate sender fields, which is the document generation term for what you are describing as “merge fields.”