https://retellai.com/?utm_source=discord&utm_medium=seo logo
Custom functions doesn't pass variables into Query...
# ❓・bug-report
d
I tried to use {{timeZone}} and {{startTime}} for a API call to cal (because cal.com built in function has a bug) and found another bug. The variables of {{timeZone}} and others are not swapped by the AI but passed directly as strings '{{timeZone}}' as you cans see from error message. There is nothing wrong with the API call because that works when independentaly tested https://cdn.discordapp.com/attachments/1451086148251291668/1451086148544888885/image.png?ex=6944e4c9&is=69439349&hm=cefac4723b60150003c851ba10f442f9bafb37fd2d2cf9c28356e1568716a547& https://cdn.discordapp.com/attachments/1451086148251291668/1451086149035753532/image.png?ex=6944e4c9&is=69439349&hm=d177e6c9c34d93c12d2076b44ce7260ed63025aff784f065c36688a7b33aa57c&
c
is there a reason you don't want to use the internal built in function?
d
because it doesn't work
refer to the other ticket i raised