Question: I have list of 4 numbers and through dynamic transfer I need to make transfer to random number from that list. Despite instructions in prompt to choose random - transfer is always made to the first number from the list. How I could solve that?
Tool prompt:
"Once you have determined the nature of the user's problem:
1. Select the appropriate department.
2. Randomly select one person from the department to connect the call to. Each person has an equal chance of being selected.
Always inform the user who they will be connected to, giving their first and last name."
https://cdn.discordapp.com/attachments/1412421732949819503/1412421733214064762/image.png?ex=68b83bbe&is=68b6ea3e&hm=c0b0931203f219780131e2f97accfbf98c4653be3e2f2d878d636e40c1764497&
o
Omar Ashraf | Community Lead
09/02/2025, 1:10 PM
Hello @radkruss
Omar Ashraf | Community Lead
09/02/2025, 1:11 PM
The best way to implement this to do with your server (backend/n8n/make...)
Omar Ashraf | Community Lead
09/02/2025, 1:12 PM
you create a function on your server that return a random number from list an send to retell as variable and use this variable to call
Omar Ashraf | Community Lead
09/02/2025, 1:14 PM
to send to retell you can that with custom function or inbound webhook .