Templates / Replace data in Google Docs from n8n form

Replace data in Google Docs from n8n form

Ready for 3.0

by Krzysztof Kuzara · 8,411 views · created 2025-03-12 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (4)

Google Drive

What it does

Who is this for? This workflow is perfect for anyone looking to automate the process of replacing variables in Google Docs with data from form. !Zrzut ekranu 20250314 o 21.25.04.png(fileId:1015) What problem does this workflow solve? This workflow automates the process of filling Google Docs templates with data coming from n8n forms or other variables. It’s especially useful for generating documents like contracts, invoices, or reports quickly and efficiently without manual intervention. What does this workflow do? The workflow receives data from a form in n8n. It uses the form data to replace the corresponding variables (e.g., {{examplevariable}}) in a Google Docs template. The document is then generated with the new values, ready for further use, such as sending or archiving. How to set up this workflow? 1. Prepare the template: Create a Google Docs template with variables in the {{variable}} format that you want to replace with form data. 2. Modify the variables in the n8n form: Make sure the form fields correspond to the variables you want to replace in the Google Docs template. 3. Connect to Google Docs: Set up the connection to Google Docs in n8n using the appropriate authentication credentials. 4. Test the workflow: Run the workflow to ensure that the form data correctly replaces the variables in the Google Docs template. How to customize this workflow to your needs? Change the data source: You can modify the form or other data sources (e.g., API) from which the replacement values will be fetched. Customize the Google Docs template: Adapt the template to include additional fields for replacement as needed. Integrate with other applications: You can expand the workflow to include actions like sending the generated document via email, saving it to Google Drive, or passing it to other systems.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.