⚙️ Settings
Go through verification and give the pack access to Google Drive where your files and templates will be stored.
There are two approaches to determining the owner of the generated document.
Private - each system user will generate files on their own behalf (their own account). Shared — all users will generate documents on behalf of the Account you tied in the previous step. Specify the link to the template you want to use to generate documents.
Specify the column where the generated files will be stored
Click Add more, and add more parameters:
Link to the parent folder in Google Drive where your new documents will lie.
This is the logic of ordering your documents on Google Drive.
You can use the Join or Concatenate formula. “/” indicates to the pack to go down a level deeper and create a subfolder.
Join("/", "First level folder","Second level folder", "Third level folder")
The name of your generated documents.
Specify the column where you store the link to the generated document.
If you press the Generate button again, the previous document will be deleted and a new one will be created, which prevents the accumulation of documents in the folder.
Bind your template variables to Coda data.
Click Additional options – Add more, and add new variables using Add.
Key (Variable in template) — Value (Data in Coda)
Letter case is important: <<Name>> and <<name>> are different variables.