hello. We are working on integrating klaviyo with an e-commerce system developed by our team.
We are sending API requests to klaviyo when an order is placed on our server.
I have a question.
[Q: How to filter object and array properties in the flow]
POST /api/events
{
"data": {
"type": "event",
"attributes": {
"properties": {
"OrderId": "3",
"Categories": [
"study",
"gift"
],
"ItemNames": [
"abc"
],
"DiscountCode": null,
"DiscountValue": null,
"Brands": [
"abc market"
],
"Items": [
{
"ProductID": "1123123",
"SKU": null,
"ProductName": "abc",
"Quantity": 1,
"ItemPrice": 999,
"RowTotal": 999,
"ProductURL": "url",
"ImageURL": "url",
"Categories": [
"study",
"gift"
],
"Brand": "fgs"
}
],
"ShippingAddress": {
"Address1": "123-123",
"Address2": "hello",
"locality": "zzz",
"administrativeArea": "seoul",
"buildingName": "abc apt",
"postalCode": "01849"
}
},
"time": "2025-02-27T02:54:35.094075Z",
"value": 127,
"value_currency": "KRW",
"unique_id": "3",
"metric": {
"data": {
"type": "metric",
"attributes": {
"name": "Placed Order"
}
}
},
"profile": {
"data": {
"type": "profile",
"attributes": {
"email": "abc@gmail.com"
}
}
}
}
}
}
We are trying to add an event filter in our flow.
We want to use Items and ShippingAddress, but we can't choose between them.
For example, I want to filter through ShippingAddress.postalCode or Items[].ItemPrice.
How can I filter on object and array properties?
Attach an image that you can't select Items from in the Trigger Filter.
