Skip to content
Square

How to use Square

CommerceCost: 1 credit per runTop 100 · #83Full guide

What it is for

Square in flooows lets you manage customers, catalog, inventory, orders and payments for your business, and react instantly to new sales or customers. It is used to sync sales with accounting, keep stock aligned across channels or send thank-you messages after each purchase.

Triggers (New Order, Order Updated, New Customer, Customer Updated and New Payment) are instant: flooows registers the webhook in Square automatically and the flow starts as soon as the event happens. You can filter by Location.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account)

  1. 1Add a Square step to your flow and click "Connect".
  2. 2Log in with the Square seller account whose data you want to work with (sandbox accounts are not supported).
  3. 3Accept the permissions for customers, orders, payments, inventory and team.
  4. 4If you have an older connection missing payment, inventory or team permissions, reconnect Square.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Customer: fill Email, First Name, Last Name or Phone with data from earlier steps; run Find Customers first to avoid duplicates.
  • Create Order needs Line Items and optionally Location and Customer; Complete or Cancel Order changes its New State.
  • Adjust Inventory needs Item, Variation, Location, Reason and Quantity; Set Inventory Count sets the exact stock.
  • Refund Payment uses the Payment ID (e.g. from New Payment) and the Amount to Refund.
  • Fill Idempotency Key with a unique value to avoid duplicate operations if the flow retries.

Tips

  • •Test with small amounts before automating refunds.
  • •Turn on Include Full Order if you need every line item in the trigger.
  • •Amounts are usually in the currency's smallest unit; check the test output.

Triggers (5)

Events that can start a flow. Expand each one to see its fields.

New OrderInstant2 fields
FieldTypeRequired
LocationList (from your account)No
Include Full OrderYes / NoNo
Order UpdatedInstant2 fields
FieldTypeRequired
LocationList (from your account)No
Include Full OrderYes / NoNo
New CustomerInstant0 fields

No fields to configure.

Customer UpdatedInstant0 fields

No fields to configure.

New PaymentInstant1 fields
FieldTypeRequired
LocationList (from your account)No

Actions (28)

Operations available as flow steps. Expand each one to see its fields.

Get Business Profile0 fields

No fields to configure.

List Locations1 fields
FieldTypeRequired
StatusFixed listNo
List Team Members4 fields
FieldTypeRequired
Location IDTextNo
StatusFixed listNo
LimitNumberNo
CursorTextNo
Create Customer16 fields
FieldTypeRequired
First NameTextNo
Last NameTextNo
CompanyTextNo
NicknameTextNo
EmailTextNo
PhoneTextNo
BirthdayTextNo
NoteLong textNo
Reference IDTextNo
Address Line 1TextNo
Address Line 2TextNo
CityTextNo
State / RegionTextNo
Postal CodeTextNo
CountryTextNo
Idempotency KeyTextNo
Find Customers8 fields
FieldTypeRequired
EmailTextNo
PhoneTextNo
Reference IDTextNo
MatchFixed listNo
Created AfterDate and timeNo
Created BeforeDate and timeNo
LimitNumberNo
CursorTextNo
Get Customer1 fields
FieldTypeRequired
CustomerList (from your account)Yes
Update Customer17 fields
FieldTypeRequired
CustomerList (from your account)Yes
First NameTextNo
Last NameTextNo
CompanyTextNo
NicknameTextNo
EmailTextNo
PhoneTextNo
BirthdayTextNo
NoteLong textNo
Reference IDTextNo
Address Line 1TextNo
Address Line 2TextNo
CityTextNo
State / RegionTextNo
Postal CodeTextNo
CountryTextNo
Fields to ClearMulti-selectNo
Delete Customer1 fields
FieldTypeRequired
CustomerList (from your account)Yes
Search Catalog Items5 fields
FieldTypeRequired
Search TextTextNo
Category IDTextNo
Location IDTextNo
LimitNumberNo
CursorTextNo
Get Catalog Item1 fields
FieldTypeRequired
Item or Variation IDTextYes
Create Catalog Item8 fields
FieldTypeRequired
NameTextYes
DescriptionLong textNo
CategoryList (from your account)No
Variation NameTextNo
PriceTextNo
CurrencyTextNo
SKUTextNo
Idempotency KeyTextNo
Update Item Price6 fields
FieldTypeRequired
ItemList (from your account)Yes
VariationList (from your account)Yes
New PriceTextNo
CurrencyTextNo
New SKUTextNo
New Variation NameTextNo
Delete Catalog Item1 fields
FieldTypeRequired
Item or Variation IDTextYes
Get Inventory Count3 fields
FieldTypeRequired
ItemList (from your account)Yes
VariationList (from your account)Yes
LocationList (from your account)No
Adjust Inventory6 fields
FieldTypeRequired
ItemList (from your account)Yes
VariationList (from your account)Yes
LocationList (from your account)Yes
ReasonFixed listYes
QuantityTextYes
Idempotency KeyTextNo
Set Inventory Count4 fields
FieldTypeRequired
ItemList (from your account)Yes
VariationList (from your account)Yes
LocationList (from your account)Yes
Quantity In StockTextYes
Create Order5 fields
FieldTypeRequired
LocationList (from your account)No
CustomerList (from your account)No
Line ItemsDynamic fieldsYes
Reference IDTextNo
Idempotency KeyTextNo
Get Order1 fields
FieldTypeRequired
Order IDTextYes
Search Orders7 fields
FieldTypeRequired
LocationList (from your account)No
StatesMulti-selectNo
CustomerList (from your account)No
Created AfterDate and timeNo
Created BeforeDate and timeNo
LimitNumberNo
CursorTextNo
Complete or Cancel Order2 fields
FieldTypeRequired
Order IDTextYes
New StateFixed listYes
Get Payment1 fields
FieldTypeRequired
Payment IDTextYes
List Payments5 fields
FieldTypeRequired
Location IDTextNo
Created AfterDate and timeNo
Created BeforeDate and timeNo
LimitNumberNo
CursorTextNo
Record Cash or External Payment11 fields
FieldTypeRequired
Payment TypeFixed listYes
AmountTextYes
CurrencyTextNo
External TypeFixed listNo
External SourceTextNo
Location IDTextNo
Order IDTextNo
Customer IDTextNo
Reference IDTextNo
NoteTextNo
Idempotency KeyTextNo
Refund Payment4 fields
FieldTypeRequired
Payment IDTextYes
Amount to RefundTextYes
ReasonTextNo
Idempotency KeyTextNo
Get Refund1 fields
FieldTypeRequired
Refund IDTextYes
List Refunds6 fields
FieldTypeRequired
Location IDTextNo
StatusFixed listNo
Created AfterDate and timeNo
Created BeforeDate and timeNo
LimitNumberNo
CursorTextNo
Create Payment Link8 fields
FieldTypeRequired
LocationList (from your account)No
Item NameTextYes
AmountTextYes
CurrencyTextNo
DescriptionTextNo
Payment NoteTextNo
Redirect URLTextNo
Idempotency KeyTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Permission denied on payments or inventory

Reconnect Square to get the current permissions.

Order or customer not found

Check the ID belongs to the same location and account.

Duplicate operation

Use a unique Idempotency Key per operation.

Sandbox account

This connection only supports production accounts.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps