Back
Square New Order. WooCommerce Update product stock.

Update WooCommerce stock when Square processes order

Connect

How this automation works

Keep inventory accurate by updating WooCommerce product stock automatically. The Applet runs when Square processes a new order (using the selected location and order status) and updates the chosen product's stock quantity in WooCommerce. Ideal for retailers using Square and WooCommerce who want to prevent overselling and maintain real-time stock levels after each sale.

If
Square icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new order is processed for the Square store
OrderId OrderStatus LocationName TotalMoney TaxMoney DiscountMoney TipMoney ServiceChargeMoney Currency LineItem1Name LineItem2Name LineItem3Name LineItem1Quantity LineItem2Quantity LineItem3Quantity CustomerFirstName CustomerLastName CustomerEmailAddress CustomerPhoneNumber CustomerAddressLine1 CustomerAddressLine2 CustomerAddressCity CustomerAddressState CustomerAddressZip CustomerAddressCountry CustomerId CustomerReferenceId CreatedAt
Then
WooCommerce icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will update the stock quantity for an existing product in your WooCommerce store.
product_id stock_quantity

Services used in this Applet

Create your own WooCommerce and Square workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

8 triggers, queries, and actions

New customer

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new customer is registered in your WooCommerce store.

New Customer

Pro icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new customer is created for the Square store

New order

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new order is placed in your WooCommerce store.

New Order

Pro icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new order is processed for the Square store

New paid order

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an order is paid (moves to processing or completed status).

Create customer

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will create a new customer in your WooCommerce store.

Create Customer

Pro icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action creates a customer in the Square account

Update product stock

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will update the stock quantity for an existing product in your WooCommerce store.

Create customer

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will create a new customer in your WooCommerce store.

Create Customer

Pro icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action creates a customer in the Square account

New customer

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new customer is registered in your WooCommerce store.

New Customer

Pro icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new customer is created for the Square store

New order

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new order is placed in your WooCommerce store.

New Order

Pro icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new order is processed for the Square store

New paid order

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an order is paid (moves to processing or completed status).

Update product stock

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will update the stock quantity for an existing product in your WooCommerce store.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on WooCommerce and Square

About WooCommerce

WooCommerce is a flexible, open-source e-commerce platform built on WordPress that powers millions of online stores worldwide. It enables merchants to sell physical and digital products, manage inventory, process payments, and handle shipping, all from their own WordPress site. Connect WooCommerce to IFTTT to automate store management, sync new orders and customers with your favorite tools, and keep your inventory in step with the rest of your business.

Explore WooCommerce

More integrations with WooCommerce

About Square

Square is the simplest way to accept credit card payments and has all the features you need to create a seamless payment experience between you and your customers.

Explore Square

More integrations with Square

IFTTT helps all your apps and devices work better together

Get started for free