LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Square orders in Excel: filters and fields
← Square connection for LinkyFlow

Square orders in Excel: filters and fields

Pull the orders of a Square location into Excel with their state, totals and last update.

The orders of a location, latest updated first: their state, their totals and their lines.

The formula for Excel

=LF.square.orders("location_id:…","id,location_id,state,total_money.amount,total_money.currency,updated_at")

Its first argument sets the inputs listed below, as name:value pairs separated by |; its second lists the fields to return, separated by commas. How LinkyFlow formulas are built

Guides and agents

Guides

Read

Orders

The orders of a location, latest updated first: their state, their totals and their lines.

Route: GET /orders

Excel formula: =LF.square.orders("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoRead exactly this record. An unknown id is Square’s refusal.
location_ididYesThe location whose records are read.
stateenumNoOnly the orders in this state. Values: OPEN, COMPLETED, CANCELED, DRAFT
updated_fromstringNoUpdated at or after this moment (RFC 3339, 2026-01-31T00:00:00Z).
updated_tostringNoUpdated before this moment (RFC 3339, 2026-01-31T00:00:00Z).
sort_orderenumNoOldest first, or latest first. Values: ASC, DESC
limitnumberNoRows per page (max 100). Default: 100
cursorstringNoThe cursor the previous page answered. It lives 5 minutes: after that, start the list again.

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
location_iddefaultstring→ locations-
statedefaultstring—-
amountdefaultnumber—-
currencydefaultstring—-
updated_atdefaultdate—-