New Customer Product Add On Flow

I am trying to create a flow that adds a product automatically to customer’s carts when they are new customers for a specific Sku. For example, if a customer orders X they automatically get Y added to their cart. This is easy to do for every order, but I am running into trouble when I add the “Customer Created” trigger. Has anyone successfully done this?

You can’t edit the cart with Flow…you must use Functions for that as it needs to be very fast and synchronous

Flow can edit the order after checkout, though.

Hi Paul,

Thanks for that info. Do you know if Flows has a way to separate out new
vs. existing customers? I would be fine adding the item after checkout, but
want it to only go to New Customers.

Thanks!

You can check if order.customer.numberOfOrders > 1. Or use “Get order data” to query for orders for that customer (and count if > 1). Probably other ways too.