OpenAI returns 3 items, but only one is a real match.
- One correct match (which is good)
- Two extra items saying "No match found" ❌
When we pass this output to the next agent, it treats all 3 items as separate inputs, causing unwanted processing 😃
I need to filter out only the correct matched item and remove the extras.
Has anyone solved a similar issue in n8n?Should I use a Function Node, OpenAI prompt modification, or something else?