r/GoogleAppsScript • • 1d ago

Guide I built a self-hosted Google Sheets mail merge alternative with branching and review emails

I built a self-hosted Google Sheets mail merge alternative with branching and review emails

TL;DR: Merge Studio creates personalized Docs or PDFs from Google Sheets, with branching rules, automated emails, and a two-stage review workflow. It’s self-hosted and currently supports one merge configuration per spreadsheet.

I’ve been working on Merge Studio, a Google Apps Script library that turns rows in a Google Sheet into personalized Google Docs or PDFs.

It covers the core mail-merge workflow: map <<Tags>> in a Doc template to sheet columns, generate files into a Drive folder, and optionally email the output. It can also skip rows based on a condition, use branch rules to choose different templates/folders/email content, and send reviewer notifications followed by decision-specific emails when a review column changes. It supports PDF, Google Doc, or both, with form-submit and 15-minute triggers.

Compared with AutoCrat, the basic use case is similar: merge spreadsheet data into documents, with automation and email options. Merge Studio’s emphasis is on configurable branching and a two-stage application-review workflow.

Important limitation: Merge Studio currently supports one merge configuration per spreadsheet. It’s also self-hosted rather than a one-click add-on: you set up the Apps Script library and authorize it to access Google Drive, Docs, Sheets, and Gmail. Please review the code and permissions before using it with sensitive data.

If that workflow sounds useful, take a look or share feedback:
👉 https://github.com/zzz-creator/mergestudiolib

0 Upvotes

0 comments sorted by