All Collections
Zapier
Sending a gift with multiple products in the cart with Zapier
Sending a gift with multiple products in the cart with Zapier
Mark Bao avatar
Written by Mark Bao
Updated over a week ago

With Zapier, you can create an order batch with multiple items in the cart using Zapier's line items. To do this, we'll want to create a line item with all the product IDs that we want to have in the cart.

Assume we want to have a cart with two product IDs: b5f07aba-2a92-4622-82a5-aa5b20a6da7fffb and 4425d-081f-4945-beaf-e8800414ec9.

Let's start by adding a new Zapier action before the Goody Create Order Batch action, and on the right side, select the Format action:

For the Event, choose Utilities:

For the Transform, select Line Itemizer:

Under the Values > Line-item(s) Group Name field, enter Cart. (Or whatever you want, it doesn't really matter.)

Inside Line-item Properties, enter product_id as the name of the property, and then enter the comma-separated list of product IDs as the value:

Now, click Continue and then Test action:

Now you have a line item variable product_id with two values:

Now, in the Goody Create Order Batch action, you can now select the product_id line item variable as the value for the Product ID field:

Now, when you create the order batch, the orders created will have both products.

Did this answer your question?