Skip to content
Shopify

How to use Shopify

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

What it is for

Shopify in flooows automates your online store: react to orders, customers, products and abandoned checkouts, and create or update customers, products, orders and inventory. It is used to sync orders with your ERP or invoicing, recover carts and alert the team.

New Abandoned Checkout uses polling every few minutes; the others (New Order, New Paid Order, New Customer, New Cancelled Order, Updated Product) are webhook triggers that flooows registers in Shopify so events arrive instantly.

Set up the connection

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

  1. 1For new apps, open the Shopify Dev Dashboard (dev.shopify.com/dashboard), create an app and, in its version, select the needed read/write permissions under Access > Scopes.
  2. 2Install the app on your store (it must belong to the same Shopify organization) and copy its client ID and client secret into the flooows connection; the token renews automatically.
  3. 3If you have an older custom app created in the admin (Settings > Apps and sales channels > Develop apps), use the token option and copy the Admin API access token.
  4. 4In that case enter the store name (the part before .myshopify.com) in Shop Name and paste the token into Admin Token.
  5. 5Save the connection.
Connection fieldTypeRequired
Shop NameTextYes
Admin TokenSecret keyYes

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 and Update Customer: map Email, First Name, Last Name and Tags from a form or CRM; Customer ID identifies the customer when updating.
  • Create Product requires Title; add Description, Vendor, Tags and Status (active or draft).
  • Adjust Inventory Level uses Inventory Item ID and Location ID (get it with Get Locations) and a positive or negative Adjustment.
  • Create Order and Create Draft Order accept line items by Variant ID or by Title and Price, with Quantity and Customer ID.
  • Update Order, Cancel Order and Close Order use the Order ID provided by the trigger.

Tips

  • •Use New Paid Order instead of New Order if you only want paid orders.
  • •Check the app scopes: each action needs its read or write permission.
  • •Test with a development store before running flows on the live store.

Triggers (6)

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

New Abandoned CheckoutPeriodic check0 fields

No fields to configure.

New Cancelled OrderWebhook (paste the URL in the app)0 fields

No fields to configure.

New CustomerWebhook (paste the URL in the app)0 fields

No fields to configure.

New OrderWebhook (paste the URL in the app)0 fields

No fields to configure.

Updated ProductWebhook (paste the URL in the app)0 fields

No fields to configure.

New Paid OrderWebhook (paste the URL in the app)0 fields

No fields to configure.

Actions (27)

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

Adjust Inventory Level3 fields
FieldTypeRequired
Inventory Item IDNumberYes
Location IDNumberYes
AdjustmentNumberYes
Cancel Order1 fields
FieldTypeRequired
Order IDNumberYes
Close Order1 fields
FieldTypeRequired
Order IDNumberYes
Add Product to Collection2 fields
FieldTypeRequired
Product IDNumberYes
Collection IDNumberYes
Create Customer8 fields
FieldTypeRequired
EmailTextNo
Verified EmailYes / NoNo
Send Email InviteYes / NoNo
First NameTextNo
Last NameTextNo
Phone NumberTextNo
TagsTextNo
Accepts MarketingYes / NoNo
Create Draft Order6 fields
FieldTypeRequired
Variant IDNumberNo
Product IDNumberNo
TitleTextNo
PriceTextNo
QuantityNumberNo
Customer IDTextNo
Create Fulfillment Event4 fields
FieldTypeRequired
Order IDNumberYes
Fulfillment IDNumberYes
StatusList (from your account)Yes
MessageTextNo
Create Order10 fields
FieldTypeRequired
Variant IDNumberNo
Product IDNumberNo
TitleTextNo
PriceTextNo
QuantityNumberNo
Customer IDTextNo
EmailTextNo
Send ReceiptYes / NoNo
Send Fulfillment ReceiptYes / NoNo
TagsTextNo
Create Product7 fields
FieldTypeRequired
TitleTextYes
DescriptionLong textNo
Product TypeTextNo
Product ImageFileNo
StatusFixed listNo
VendorTextNo
TagsTextNo
Create Transaction8 fields
FieldTypeRequired
Order IDNumberYes
TypeList (from your account)Yes
Parent Transaction IDNumberNo
AmountTextNo
CurrencyTextNo
Authorization KeyTextNo
SourceTextNo
TestYes / NoNo
Get Theme File2 fields
FieldTypeRequired
File PathTextYes
Theme IDTextYes
Get Customer1 fields
FieldTypeRequired
Customer IDTextYes
Get Customers0 fields

No fields to configure.

Get Customer Orders1 fields
FieldTypeRequired
Customer IDTextYes
Get Fulfillment2 fields
FieldTypeRequired
Order IDNumberYes
Fulfillment IDNumberYes
Get Fulfillments1 fields
FieldTypeRequired
Order IDNumberYes
Get Locations0 fields

No fields to configure.

Get Product1 fields
FieldTypeRequired
Product IDTextYes
Get Product Variant1 fields
FieldTypeRequired
Variant IDTextYes
Get Products1 fields
FieldTypeRequired
TitleTextNo
Get Transaction2 fields
FieldTypeRequired
Order IDNumberYes
Transaction IDNumberYes
Get Order Transactions1 fields
FieldTypeRequired
Order IDNumberYes
Update Customer9 fields
FieldTypeRequired
Customer IDTextYes
EmailTextNo
Verified EmailYes / NoNo
Send Email InviteYes / NoNo
First NameTextNo
Last NameTextNo
Phone NumberTextNo
TagsTextNo
Accepts MarketingYes / NoNo
Update Order5 fields
FieldTypeRequired
Order IDTextYes
EmailTextNo
Phone NumberTextNo
TagsTextNo
NoteTextNo
Update Product8 fields
FieldTypeRequired
Product IDTextYes
TitleTextNo
DescriptionLong textNo
Product TypeTextNo
Product ImageFileNo
StatusFixed listNo
VendorTextNo
TagsTextNo
Upload Product Image3 fields
FieldTypeRequired
Product IDTextYes
ImageFileYes
PositionNumberNo
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

403 or access denied

Scopes are missing: add them, reinstall the app and reconnect.

OAuth connection rejected

The app and store must be in the same Shopify organization.

429 rate limit

Add a Delay step or reduce operations per run.

ID not found

Use IDs returned by the trigger or by Get Product or Get Customer.

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