Skip to content
Digital Inspiration DocsDigital Inspiration Docs

Mail Merge can copy the customers in your Stripe account into a Google Sheet, one customer per row, with the fields you pick as columns. You connect with a restricted key that can only read customers, so the add-on can’t see payments or change anything in Stripe.

  1. Open the API keys page in your Stripe Dashboard and click Create restricted key. When Stripe asks what the key is for, choose Build your own integration and click Continue.

  2. Name the key, like Mail Merge, and set Customers to Read. Leave everything else as None.

    Stripe Developers page creating a restricted API key with Read access to Customers
    Create a restricted key with Read access to Customers.
  3. Click Create key and copy the key. Stripe shows it only once, so keep it somewhere safe.

  1. In your Google Sheet, go to Extensions > Mail Merge with Attachments > Import Contacts.

    Google Sheets Extensions menu with the Mail Merge with Attachments submenu open and Import Contacts highlighted
    Open Import Contacts from the Extensions menu in Google Sheets.
  2. Under Import data from, choose Stripe and paste the key in Stripe API Key.

  3. Pick a Start Date and End Date. The add-on imports the customers created in that period.

  4. Click Get Fields, then pick the fields you want as columns under Contact Fields, like email, name and address.city.

  5. Under Import Location, choose Append to current sheet or Create a new sheet, then click Import data.

    Mail Merge import window with a Stripe API key, date range and customer fields
    Paste the key, pick a date range and fields, then click Import data.

Row 1 gets the Stripe field names, like name and address.city, and those become your merge fields: {{name}}. You can rename them to friendlier titles like Name and City before you write your email. When you set up the merge, choose the email column in the Send to field under Recipients.

When you’re done importing, delete the restricted key on the API keys page. The customers you already imported stay in your sheet.