Back to Mailcoach in Google Sheets
SheetXAI logo
Mailcoach logo
Mailcoach · Google Sheets Guide

Create Multiple Mailcoach Campaign Drafts from a Sheet at Once

2026-05-13
4 min read
See the Excel version →

The Scenario

You are an agency managing six client newsletters, all running on the same self-hosted Mailcoach instance. The content team just delivered next month's subject lines, sender names, and list UUIDs in a master Google Sheet: one row per client, columns for campaign name, subject line, from email, from name, and list UUID.

Six campaign drafts need to exist in Mailcoach before the editorial review next Thursday. Each one gets created, given the right subject line, wired to the right list, and returns a UUID the team can use to build the email content inside Mailcoach.

The bad version:

  • Open Mailcoach
  • Click "New campaign" for client one
  • Fill in campaign name, subject line, from address, from name, list
  • Save
  • Copy the UUID from the URL bar
  • Paste it back into the sheet
  • Switch client contexts, repeat
  • Realize you used the wrong from address for client three and have to edit it
  • You walk into the editorial review with four of six drafts created.

The fast version is one prompt.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent inside your spreadsheet that reads your campaign brief table and creates each Mailcoach draft via API.

Open the SheetXAI sidebar and type:

For each row in this sheet, create a Mailcoach campaign draft using campaign name in column A, subject line in column B, from email in column C, and list UUID in column D — write the created campaign UUID into column E.

SheetXAI reads the six rows, calls the Mailcoach campaign create endpoint for each one with the correct fields, and writes the returned UUID back into column E. Six rows, six drafts, six UUIDs — ready for the editorial team to open in Mailcoach and build out the content.

What You Get

Six Mailcoach campaign drafts with UUIDs in column E:

  • Campaign name set from column A
  • Subject line set from column B
  • From address set from column C
  • List UUID set from column D
  • Returned UUID written into column E, ready to share with the editorial team

Every draft is in Mailcoach immediately. The editorial team clicks the UUID link, opens the campaign in Mailcoach, and starts writing. You do not open the Mailcoach admin panel once.

If a row creates with an error, column E shows FAILED with the reason so you can correct the input and re-run just that row.

What If the Data Is Not Quite Ready

Campaign brief sheets are often incomplete until the last minute. SheetXAI handles partial data inline.

When the subject line column has blank rows

Two clients have not finalized their subject lines yet. You still want to create the other four drafts.

For each row where column B is not blank, create a Mailcoach campaign draft using columns A through D. Write the UUID into column E. For rows with a blank subject line, write PENDING in column E and skip.

When the from name needs to be derived from the from email

The content team forgot to fill in the from name column. You want to infer it from the from email address.

For each row, extract the local part of the email in column C and capitalize it to use as the from name. Then create the Mailcoach campaign draft with columns A, B, and D plus the derived from name. Write the UUID into column E.

When you want to confirm each draft is accessible after creation

After creating, you want to verify each UUID is live in Mailcoach before handing off to the editorial team.

Create a Mailcoach campaign draft for each row using columns A through D. Write the UUID into column E. Then fetch each draft by UUID and write VERIFIED or NOT_FOUND into column F.

Mailcoach supports a preview URL per campaign. You want that URL alongside the UUID.

Create a Mailcoach campaign draft for each row in this sheet using columns A through D. Write the campaign UUID into column E and the Mailcoach admin URL for the campaign into column F so the editorial team can open each draft directly.

The pattern: the sheet is the brief and the audit log. You create from it and confirm back to it in one pass.

Try It

Get the 7-day free trial of SheetXAI and create your next batch of Mailcoach campaign drafts from any sheet. The Mailcoach integration is included in every SheetXAI plan. For related workflows, see how to provision transactional email templates from a sheet or the Mailcoach in Google Sheets overview.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more