Troubleshooting Webhook Flow: Filter Post Router Not Handling Multiple Line Items

Hi Everyone,
Hope you all good.

I’m troubleshooting a webhook flow where I expect the order structure to contain one or two line items. In this example, I’ve received two line items, but in the filter post router, I only see one. I need the filter to interact with both line items (see attached).

thanks for your advise,

Yan


What is it you are filtering by? If you need to know if an individual line item contains a key/value you need, consider using an interator and running it on the line item array - before your filter. Now every line item will be considered separately for further filtering.

Alternatively, if you only care if any line item in the payload contains a keyword, you can filter the entire line_items array like this:
image

1 Like