Filter
This node allows you to filter any JSON list of objects based on the criteria that you set up yourself.
Imagine you have a list of Facebook Ad Insights and you only want to analyze the ads that have spent at least $300. The filter node is just what you need! It allows you to filter any JSON list of objects based on the criteria that you set up yourself. Take a look at the example below to understand better how you can use it:
Example
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F30e20666-df1d-4815-acfd-b8520c806173%2FUntitled.png?table=block&id=44e03f6e-8a45-4577-9953-9a947c0ace95&cache=v2)
Input Fields
field | schema | explanation |
items | any | Input a JSON data list that needs to be filtered in this socket. |
filters | filters | Select a filter criteria using a pointer, operator and a value. In our example, we are filtering ads that have /spend greater than 300 . |
Output Fields
field | schema | explanation |
data | any | Outputs a list of filtered objects. |
Video Tutorial
Did this answer your question?
😞
😐
🤩
Last updated on October 11, 2022