How to email certificates to each participant from Google Sheets

Make the certificates first, one file per person, and name each file after a value in that person's row, such as their certificate number or email address. Gmail's own mail merge attaches the same file to everyone, so you need an add-on for this. In BetterMerge, you pick the certificates in Google Drive and it attaches each one to the right person's email, with the files kept private in your Drive.

Updated Facts checked 5-minute read

Emailing certificates is two jobs:

  • Make the certificates: one PDF or Google file per person, from your course or event tool, or from a certificate template you fill in. BetterMerge doesn't make them.
  • Send them: one email per row of your sheet, each with that person's certificate attached. In BetterMerge, on Plus and Pro.

Make the certificates first

BetterMerge sends certificates you already have. It doesn’t design them or fill in names, so have one file per person ready before you start. Most people make them in one of these ways:

  • Download them from the tool you ran the course or event in, if it issues certificates. Save each participant’s certificate as its own file.
  • Fill in a certificate template yourself. Make a copy of your template in Google Slides or Docs for each person and type in their name. You can leave each copy as a Google file: BetterMerge sends Google Docs, Sheets and Slides files as PDFs. Or download each one as a PDF.
  • Ask whoever designed them for a separate file per person rather than one long PDF with every certificate in it.

Put all the certificates in one folder in Google Drive. They can stay private: you don’t need to share them with anyone.

Gmail’s own mail merge and Google’s Apps Script sample attach the same file to every email, so neither can send each person their own certificate without changing code. How to mail merge with attachments compares the ways in full.

Name each certificate so it matches a column

BetterMerge finds each person’s certificate by its file name, so the name has to contain a value from that person’s row. The safest value is one that no two rows share, such as a certificate number or an email address. Here the sheet also has each person’s email address, left out to keep the table short:

Full Name Certificate No File in Drive
Asha Rao C-2041 Certificate-C-2041.pdf
Ben Ortiz C-2042 Certificate-C-2042.pdf
Chen Wei C-2043 Certificate-C-2043.pdf

A rule such as Certificate-{{Certificate No}} then picks the right file for each row. A few things to know about matching:

  • The rule has to match the whole file name. You can leave out the extension, such as .pdf.
  • Upper and lower case don’t matter. Spaces, dashes and accents do: Asha Rao doesn’t match AshaRao or Asha-Rao.
  • Names work too, as long as no two participants share one. If two people are both called Sam Lee, one file matches both rows and both get the same certificate. Use a number or an email address for large groups.

Send each participant their certificate

These steps use BetterMerge, in the Google Sheets add-on or the web app. The certificates stay private in your Drive, and you don’t paste any links. In Plus and Pro

What you need

  • A Google Sheet with one participant on each row: their email address, their name and the value their certificate’s file name uses
  • The certificates in Google Drive, one file per person, named to match that value
  • BetterMerge’s Plus or Pro plan

Step 1: Write the email

Create your campaign and pick your sheet, then write one email with merge tags for each person’s details, like the sample below.

Step 2: Pick the certificates in Google Drive

On the Attachments tab, choose Files from Google Drive and click Select files (1). Open the folder with the certificates and select them all. Then write the file name rule (2), such as Certificate-{{Certificate No}}. BetterMerge suggests a rule from your columns, so check it. The attachments guide shows each of these screens in more detail.

The Files from Google Drive panel, numbered: the Select files button (1), the file name rules field (2), the choice for rows without a matching file (3) and the match review (4)

Step 3: Skip anyone without a certificate

Under When a row has no matching file (3), keep Skip the row and mark it “Attachment missing”. An email that says “your certificate is attached” with nothing attached only creates replies.

Step 4: Check the match review and send yourself a test

The Match review (4) shows how many rows matched a certificate and which didn’t. Fix any file names it lists, then open the Preview tab and look at a few rows: each one shows its attachment’s name. Send yourself a test and open the certificate in it.

Step 5: Start the campaign

Click Start campaign. Each participant gets an email from your Gmail with their own certificate attached. A row skipped for its certificate gets a status in your sheet, such as ATTACHMENT MISSING, so you can see who to follow up with.

BetterMerge can also attach files from Drive links in the sheet, but each file must then be shared with anyone who has the link, so use Files from Google Drive for certificates with people’s names on them.

A sample certificate email

Each merge tag takes its value from the column with the same name, so {{First Name}} needs a First Name column. Merge tags work in the subject too.

Subject: Your certificate for {{Course}}, {{First Name}}

Hi {{First Name}},

Thank you for taking part in {{Course}} on {{Date}}. Your certificate of completion is attached.

If your name is spelled wrong on it, reply to this email and we’ll send a corrected copy.

Best,
Priya

Keep the email short: the certificate is what people open it for.

Common problems

A participant’s certificate is missing

The row says Attachment missing when no file name matched the rule. Check the value in the sheet against the file name, character by character: a double space, a missing dash or a different spelling of a name is enough. Rename the file in Drive or pick the missing file with Add more, and the match review updates.

Two certificates matched the same row

The row says Attachment ambiguous and is skipped, so it isn’t sent either file. It happens when the rule uses * and catches more than one file, or when the folder has two copies, such as a PDF and a Google Slides file with the same name. Remove the extra file or make the rule more specific.

Only some people earned a certificate

Make certificates only for the people who earned one. With Skip the row chosen, everyone else is skipped and marked in the sheet. To leave them out without the mark, filter or hide their rows in Google Sheets before you start, and keep them that way until the campaign has finished: BetterMerge skips rows that are filtered or hidden.

The certificate file is too large

Certificates with photos or high-resolution backgrounds can be several megabytes. Each plan has a size limit per file, and all attachments on one email must stay under Gmail’s 25 MB. See the limits by plan, and export the PDF at a smaller size if a file is over.

Can I attach a programme as well?

Yes. A file everyone gets, such as a programme or a reading list, goes on the template as a normal attachment. In Lite, Plus and Pro It counts towards your plan’s number of files per email, along with the certificate.

Sources

Related guides

Send your first Gmail mail merge

Install BetterMerge in Google Sheets, write one email with merge tags, and send a personal copy to every row from your own Gmail.

  • Free plan, 50 emails a day
  • Send-only Gmail access