How to Regenerate Files with Document Studio

Document Studio adds a few extract columns to your data spreadsheet to keep track of rows that have been processed. The “File Status” column contains the name of the merge document, the “File Link” contains the URL of your file in Google Drive and “Email Status” indicates whether the emails have been sent or not.

When you run document merge anytime later, the program skips all rows where the File Status column or the Email Status column is not blank. It does so to prevent processing the same rows again and continues from where you left merge the last time.

recreate-missing-documents.png

However, in some cases, you may want to reprocess all the rows and regenerate the documents even if they have been generated earlier. Maybe you changed the document template or maybe you want to use a new file name for your merged documents. If you are using Google Forms as the data source, you may want to generate documents for form submissions that were received before you switched to Document Studio.

If you are using Google Forms as the data source, you may want to generate documents for form submissions that were received before you switched to Document Studio.

How to Recreate Missing Files with Document Studio

To reprocess any row again with Document studio, just ensure that the File Status and Email Status column of that row is blank. If you would like to recreate files for every row in the data Google Sheet, simply clear the status columns and run merge again.

You can also combine this with filters in Google Spreadsheet and the Google add-on will only merge documents corresponding to rows that match your filter.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.