Hey everybody. Whats the ideal setup for handling ...
# agents
b
Hey everybody. Whats the ideal setup for handling multiple agent configs for different customers. Our customers each have their own config with different prompts and functions. So when one of their client calls their twilio phone number we give them it should load their config and handle the call with their customizations?
c
You can map the config to the number for each org; When a call is made, you can fetch the number to which the call is made from the participant attributes then fetch the config and run it.
s
we have a backend service we call while saying the welcome message to retrieve the info given the number. But initially you could just have a dictionary hardcoded in your agent's code
b
Thanks guys. We ended up with the config approach. We get the called phone number from the room name and then call our backend to retrieve the agent config for the respective customer. Thanks for your support
👍 1