How to add dynamic images to your Google Docs templates

Hi everyone!

If you are trying to automatically insert images into a Google Doc template, you might have noticed that the standard {{placeholder}} text format doesn't work for image files.

To map image content correctly during your flow, you need to use the image's Alt Text properties. Here is a quick step-by-step guide on how to set this up:

Step 1: Insert a sample image

Open your Google Doc template and insert a sample or "dummy" image exactly where you want your final, dynamic image to go. Format the size and alignment however you need it.

Step 2: Access the Alt text menu

Right-click on the sample image and select Alt text from the menu.

Step 3: Add your placeholder tag

In the Alt text panel that opens on the right side of the screen, scroll down and expand the Advanced options section. Find the Image Title field and type in your standard placeholder (for example: {{user-signature}}).

Step 4: Map the image in your flow

Head back to your flow builder. Inside your Create Document from template action, that {{user-signature}} placeholder will now be recognized as an image field. Simply map your dynamic image content to it!

Hope this helps anyone who has been stuck trying to generate documents with dynamic images or signatures! Let us know if you have any questions.