Handling calls for the returning users
Greetings,
I need some help with returning customers. I'm trying to load a digest of their previous conversation at the start of a new call.
Right now, I have two assistants- one for new users and one for returning ones. They're supposed to invoke a tool to load the conversation digest from my backend.
The problem is the tool only gets triggered if the user explicitly asks for it. I need it to fire automatically right when the call starts.
Ideally, I'd like to use a single assistant and just swap out the system context. Is that even possible? I checked the docs for creating assistants but couldn't find a way to automatically trigger a tool at the beginning of the call.
What's the best way to handle this? Is there an on-start event I can use to trigger a tool, or am I thinking about this all wrong? Should I be using workflows for this instead?
Any help would be great. Thanks.
I need some help with returning customers. I'm trying to load a digest of their previous conversation at the start of a new call.
Right now, I have two assistants- one for new users and one for returning ones. They're supposed to invoke a tool to load the conversation digest from my backend.
The problem is the tool only gets triggered if the user explicitly asks for it. I need it to fire automatically right when the call starts.
Ideally, I'd like to use a single assistant and just swap out the system context. Is that even possible? I checked the docs for creating assistants but couldn't find a way to automatically trigger a tool at the beginning of the call.
What's the best way to handle this? Is there an on-start event I can use to trigger a tool, or am I thinking about this all wrong? Should I be using workflows for this instead?
Any help would be great. Thanks.