Nitchev - Can anyone give me a little guidance,...
Can anyone give me a little guidance, please? I'm using OpenAI JSON generation to convert a conversion. I got the first name and last name out. BUT when I run in the Query input parameter for Algolia to filter the search with that specific name (only entry like that), Algolia gives me a list of ALL the contacts I have in my Collection. When I run the test mode and input the name manually, it always comes out. But not when I use the JSON from OpenAI.
Solution:Jump to solution
Hi @Nitchev, you can add a log to confirm if the value of
first_name
is extracted correctly. If the value is undefined
. You can add a Parse JSON node after the Open AI JSON Generator node and pass the response, --> then use the parsed response to add the firstname (of the required field) to the Algolia Query. (test screenshot attached).2 Replies
Solution
Hi @Nitchev, you can add a log to confirm if the value of
first_name
is extracted correctly. If the value is undefined
. You can add a Parse JSON node after the Open AI JSON Generator node and pass the response, --> then use the parsed response to add the firstname (of the required field) to the Algolia Query. (test screenshot attached).Thank you! I’ll go ahead and test it now. You’re awesome!
It worked! 😭 thank you