Skip to content
Square logoSquare logo

Square Integrations

eCommerce

Build Square automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Square and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
6
available app actions
19
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Square MCP server: connect Square to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Square and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Square account and help me build a Zap with Square: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Square automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection square

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Square and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Square and other apps.

Use a premade Square automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Square triggers and actions your agent can build with right away.

  • New Appointment

    Triggers when a new appointment is created.

  • New Catalog Item

    Triggers when a new catalog item is created.

  • New Customer

    Triggers when a new customer is created.

  • New Invoice

    Triggers when a new invoice is added.

  • New Order

    Triggers when a new order is processed.

  • New Payment

    Triggers when a new payment is created.

  • Add Customer to Group

    Adds a customer to a group.

  • Create Appointment

    Creates a new appointment.

Your agent picks the right Square action from what you ask. Connect Zapier once and it can use 24 Square tools, each with typed inputs. Zapier handles Square’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Square MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Square.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Square. It calls discover_zapier_actions to find the Square actions, then enable_zapier_action to add them.
  3. Approve the Square sign-in when prompted. If Square isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Square in 36 AI tools with Zapier MCP

24 Square MCP tools

ToolMCP nameWhat it does
New Appointmentsquare_new_appointment

Trigger · Read-only. Triggers when a new appointment is created.

New Catalog Itemsquare_new_catalog_item

Trigger · Read-only. Triggers when a new catalog item is created.

Optional: types (Item Type)

New Customersquare_new_customer

Trigger · Read-only. Triggers when a new customer is created.

New Invoicesquare_new_invoice

Trigger · Read-only. Triggers when a new invoice is added.

Required: location_id (Location)

New Ordersquare_new_order

Trigger · Read-only. Triggers when a new order is processed.

Required: location_id (Location)

Optional: order_state (Order Status)

New Paymentsquare_new_payment

Trigger · Read-only. Triggers when a new payment is created.

Optional: location_id (Location)

Find Customersquare_find_customer

Search · Read-only. Finds a customer based on email, phone number, or reference ID.

Optional: email_address, phone_number (Phone Number), reference_id (Reference ID)

Find Customer by IDsquare_find_customer_by_id

Search · Read-only. Finds a customer based on their unique Square ID.

Optional: customer_id

Find Servicesquare_find_service

Search · Read-only. Finds a service.

Optional: text_filter (Text Filter), location_id (Location)

Find Ordersquare_find_order

Search · Read-only. Finds an order based on customer, fulfillment status, or order state.

Required: location_id (Location)

Optional: customer, fulfillment_state, state (Status)

Make API GET Requestsquare_make_api_get_request

Action · Read-only. Make a GET HTTP request to Square's API, without needing to handle authentication. Fixed parameters: - method: GET This integration requests the following OAuth scopes: MERCHANT_PROFILE_READ PAYMENTS_READ PAYMENTS_WRITE CUSTOMERS_READ CUSTOMERS_WRITE ITEMS_READ ITEMS_WRITE ORDERS_READ ORDERS_WRITE EMPLOYEES_READ INVOICES_READ INVOICES_WRITE APPOINTMENTS_READ APPOINTMENTS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_BUSINESS_SETTINGS_READ INVENTORY_WRITE.

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Add Customer to Groupsquare_add_customer_to_group

Action · Writes data. Adds a customer to a group.

Required: customer (Customer ID), group

Create Appointmentsquare_create_appointment

Action · Writes data. Creates a new appointment.

Required: location_id (Location), team_member_id (Team Member ID), customer_id (Customer ID), start_at (Date and Time of Appointment), service_variation_id (Appointment Service ID)

Optional: customer_note (Note)

Change Inventorysquare_change_inventory

Action · Writes data. Adjusts an inventory or changes its physical count.

Required: type (Inventory Change Type), location_id (Location), catalog_object_id (Catalog Object), quantity

Optional: ignore_unchanged_counts (Ignore unchanged counts)

Create Customersquare_create_customer

Action · Writes data. Creates a customer.

Optional: given_name (First Name), family_name (Last Name), email_address, phone_number, country, address_line_1 (Street Address), address_line_2 (Apt./Suite), locality (City), administrative_district_level_1 (State), postal_code (ZIP), note (Other), company_name (Company), nickname, reference_id

Create Invoicesquare_create_invoice

Action · Writes data. Creates a new draft invoice for an order.

Required: location_id (Location), order_id (Order ID), customer_id (Customer ID), accepted_payment_methods, due_date (Payment due date), delivery_method (Delivery method)

Optional: tipping_enabled (Tipping enabled), title (Invoice title), invoice_number (Invoice number), description, scheduled_at (Scheduled at), sale_or_service_date (Date of sale)

Create Paid Ordersquare_create_paid_order

Action · Writes data. Creates an externally paid and completed order.

Required: location_id (Location), payment_type (Payment Type), quantity, base_price_amount (Amount), base_price_currency (Currency)

Optional: customer_id (Customer ID), reference_id (External Identifier), buyer_email_address (Buyer Email Address), payment_note (Payment Note), base_name (Line Item Name), catalog_object_id (Catalog Item Variation ID), display_name (Display Name), carrier, expected_shipped_at (Expected Ship Date/Time), shipping_note (Shipping Note), fulfillment_email_address (Fulfillment Email Address), phone_number (Phone number of the fulfillment recipient), address_line_1 (Address Line 1), address_line_2 (Address Line 2), administrative_district_level_1 (State), administrative_district_level_2 (County), country, locality (City), postal_code (Postal Code), discount_type (Discount Type), discount_name (Name), discount_percentage (Percentage), discount_amount (Amount Discounted), discount_currency (Discount Currency), tax_name (Name), tax_percentage (Percentage), tax_type (Type)

Refund Paymentsquare_refund_payment

Action · Writes data. Refunds a completed payment.

Required: payment_id (Payment)

Optional: amount (Refund amount), reason, team_member_id (Team member)

Remove Customer From Groupsquare_remove_customer_from_group

Action · Writes data. Removes a customer from a group.

Required: customer (Customer ID), group

Send Invoicesquare_send_invoice

Action · Writes data. Sends an existing draft invoice.

Required: location_id (Location)

Set Customer Custom Attributesquare_set_customer_custom_attribute

Action · Writes data. Sets or updates a custom attribute value for a customer.

Required: customer_id (Customer), key (Attribute), value

Update Customersquare_update_customer

Action · Writes data. Updates a customer.

Required: customer_id (Customer ID)

Optional: given_name (First Name), family_name (Last Name), email_address, phone_number, country, address_line_1 (Street Address), address_line_2 (Apt./Suite), locality (City), administrative_district_level_1 (State), postal_code (ZIP), note (Other), company_name (Company), nickname, reference_id (Reference ID), birthday

Find Order by IDsquare_find_order_by_id

Action · Writes data. This action retrieves the details of a specific order from Square using the order ID.

Make API Mutating Requestsquare_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to Square's API, without needing to handle authentication. This integration requests the following OAuth scopes: MERCHANT_PROFILE_READ PAYMENTS_READ PAYMENTS_WRITE CUSTOMERS_READ CUSTOMERS_WRITE ITEMS_READ ITEMS_WRITE ORDERS_READ ORDERS_WRITE EMPLOYEES_READ INVOICES_READ INVOICES_WRITE APPOINTMENTS_READ APPOINTMENTS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_BUSINESS_SETTINGS_READ INVENTORY_WRITE.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Square API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Square. You connect your account once, and your code references that connection instead of a raw token.

add_customer_to_group (Add Customer to Group) requires customer and group. Every Square action and its inputs are listed under Square triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection square
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "square", owner: "me" });

const { data } = await zapier.runAction({
  app: "square",
  actionType: "write",
  action: "add_customer_to_group",
  connection: connection.id,
  inputs: {
    customer: "", // Customer ID
    group: "", // Group
  },
});
Zapier SDK CLI
npx zapier-sdk run-action square write add_customer_to_group \
  --inputs '{"customer":"","group":""}'

Frequently asked questions about automating with Square

How do I connect Square to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Square. Claude finds the Square actions and adds them. If Square needs a sign-in, you approve it once.

Can I use the Square API without managing API keys?

With the Zapier SDK you connect your Square account to Zapier once, and your code runs actions through that connection. Zapier handles Square’s login, so you never paste an API key into your code.

What can an AI agent do with Square?

Through Zapier MCP, your agent can use 24 Square tools, such as New Appointment, New Catalog Item, and New Customer. 11 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Square automations. It covers how Square connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Square

Square creates tools that help sellers of all sizes start, run and grow their businesses. Square’s point-of-sale service offers tools for every part of running a business, from accepting credit cards and tracking inventory to real-time analytics and invoicing.

Related categories: eCommerce, Payment Processing