I want to build a scenario which enables me that if my retell.ai makes a call, ask a question, for example: “On a scale of 1 to 5, how is your day if one is worst, five is best?“ - and the person retell called answers 4 for example, then make parse the answer into my google sheet into the q1 column. - How should I build this?
I suspect that somehow I need to link a retell variable to the google sheet column, but I don’t really know how.
That’s certainly possible. Here’s what you’d need to do:
Create a Make Custom Webhook scenario with parameters matching the variables you want to log into your Google Sheet eg Caller name, ID, Time/Date, Answer (1-5)
Create a Custom Function in Retell that calls your Make Custom Webhook
Create a prompt for your Retell assistant that enable it to use the Custom Function you defined
There’s a bunch of YouTube videos that detail this end-to-end, like this one.
Just to clarify: If I understand correctly from the sources you provided, a custom webhook scenario providing me a link I can use in the retell assistant, I can paste it into the custom function URL section in retell, then make a test call, webhook will hook the data structure, and from there, I can add a google sheets module in make, and I can now see the red colored tokens in it from webhook, which I can map into whatever columns I want in my google sheet.
Also, I need to select the POST function in retell custom function for it, and create a JSON structure in there, because that will be the data structure webhook will get.
So, no variable that I made, only basic ones that is sent anyway, regardless of anything. I used the test agent built in function for testing in retell.
I also gave the call assistant a global prompt saying that if the customer says their age, use the named custom function.
Currently, I don’t really see what am I doing wrong - but I’m certainly doing something.
I would be really grateful, if you could give me some insight on this problem.