Create google doc with dynamic values


I would like to create a workflow that take some rows into my airtable database and create a document from a google doc template (already created in my drive) replacing my parameters into the doc (i.e {{company_name}} ) by the values into my airtable database. I can duplicate the doc thanks to the google drive node but I can’t find the option to fullfill the values. Do you have any ideas how I could do it ? I also tried to create the document and then update it but it was not successful. Thank you :slight_smile:

My setup :
Running version [email protected]

Hi @jeremy_FRANCOIS, I think the simplest way to achieve this would be to first copy the document (which by the sounds of it you already managed to do) and then replace text as needed.

For example, if my document looks like this:

I can simply use the search and replace action in the Google docs node like so:

Afterwards, my document is updated as expected:

Obviously, in your case you don’t want to set a hardcoded value like above, but you can simply use an expression to link your Airtable data (provided you have read it in a previous node).

Let me know if you have any trouble here!

1 Like

Thanks @MutedJam ! it works perfectly for my google doc ! I’m going to try it for a google slides presentation. Thanks again !

1 Like