Use case: user converses with Open AI assistant and if the user wants to book a call, a zap is triggered from the Assistant itself.
I’m assuming this is ideally done via function calling? If so, can anyone provide me an example, spelling it out as much as possible? I’m not a coder but would still appreciate seeing how it works.
I'm using an intermediary AI block (Mistral here but it can be any other chat completion compatible blocks) to define if the user would like to proceed
Appreciate your input and for putting that example together, @Baptiste. Thanks!
The 'evaluator' idea is great. I believe you did a similar video on it in the Typebot documentation pages where I initially got the idea from. If I'm correct, we put these evaluator blocks to say 'continue' if the LLM determines that the user wants to book a call for example. Then that condition triggers the Zapier block?
The cool thing is that it works, but it does get a little slow, especially if there are 2 or three of these evaluator blocks, and can get clunky to manage. Still, this is my fallback method.
So I was really excited to try your suggestion to set a variable via a function as it would be more streamlined and quicker. I took your example flow and edited it to test if an assistant would have triggered my zap, and it worked! (Feel free to let me know if I got anything wrong in the flow.)
My next step will be to try and see if it works as well with multiple functions defined, but even the fact I've got just one function somehow working without going the full coding route is a huge win. Many thanks.