Back to Square in Excel
SheetXAI logo
Square logo
Square · Excel Guide

Add a Batch of Square Customers to a Customer Group From an Excel Workbook

The Scenario

You are a retail operations manager. Your analytics team identified 120 high-spend customers from purchase history. Their Square customer IDs are in an Excel workbook, column A, 120 rows.

You want all 120 added to the "VIP" customer group in Square before the holiday campaign goes out next Thursday. The VIP group controls which promotions they receive and which in-store discount applies at the point of sale.

The manual version:

  • Log into Square's Customer Directory
  • Open the VIP group
  • Click "Add customers," search for the first ID, add them
  • Repeat 119 more times
  • Forty-five minutes of clicking to add 120 people.

The fast version is one prompt.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent inside your Excel workbook that reads the customer IDs and adds each one to the specified Square customer group, writing a result back per row.

Open the SheetXAI sidebar and type:

Add every customer ID in column A of this workbook to the Square customer group whose ID is in cell B1. Write "Added" into column B for each success, or the error message if it failed.

Put your VIP group's Square group ID into cell B1. SheetXAI calls Square's group membership endpoint for each customer ID and writes "Added" or an error into column B.

What You Get

A workbook with 120 rows resolved:

  • Column B: "Added" for every customer successfully added to the VIP group
  • Column B: error message for any ID that failed — not found, already a member, group not found
  • Complete audit trail — you know who made it into the group before the campaign fires

Already-a-member errors are not a problem. They confirm the customer was already in the VIP group. Write a note for those rows or treat them as confirmed.

What If the Data Is Not Quite Ready

High-spend customer lists have common complications. SheetXAI handles them in the same prompt.

When the list has duplicate customer IDs

Your analytics export has duplicates because the same customer appeared in multiple spend segments.

Deduplicate column A by customer ID before running the group add. Then add each unique ID to the Square group in cell B1 and write "Added" or the error into column B.

When you want to add to multiple groups based on a flag

Some customers should go into VIP, others into a "Frequent Buyer" group, based on a value in column C.

For each row, check column C. If column C says "VIP," add the customer ID in column A to the Square group in cell D1. If column C says "Frequent," add them to the group in cell D2. Write the result into column B.

When you want to verify each profile exists before adding

Your customer ID list is from an older export and some customers may have been deleted.

For each customer ID in column A, first verify the Square customer profile still exists. If it exists, add them to the group in cell B1 and write "Added" into column B. If the profile does not exist, write "Profile not found" into column B and skip the group add.

When you need to identify top spenders, add them to the group, and confirm in one shot

You have order data in the workbook and want SheetXAI to do the analysis and the group add in one prompt.

In the Orders tab, calculate total spend per customer ID across all rows. Identify the top 120 customers by total spend. For each, add their customer ID to the Square group in cell B1 of the Groups tab. Write "Added" or the error into column C of the Groups tab for each customer processed.

The pattern: the identification, the group add, and the audit log all happen in one prompt. No separate analysis sheet required.

Try It

Get the 7-day free trial of SheetXAI and get your high-spend customers into the right Square group before the next campaign. The Square integration is included in every SheetXAI plan. For related workflows, see how to look up Square customer IDs from a list of emails in Excel or the Square in Excel overview.

Stop memorizing formulas.
Tell your spreadsheet what to do.

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

Learn more