Add record from tally form submission with webhooks

Answered
Hello community:  Sorry for my English (I'm Spanish).  Scenario description:  I have a form in Tally Forms that is linked via webhook to the api endpoint that adds a record to a table and sends a confirmation email.  To do this I watched michael udiski's video tutorial using typeforms and everything works correctly but... In the video, the dropdowns are returned with the chosen option but in tally forms the dropdowns are different.  Tally returns the chosen value from an array of values ​​with its id and option text.  To know what option the user who has filled out the form has chosen... * First I create a variable where I store the value of the chosen option. * Second, I go through the options to find out which one matches the value of the chosen option. * Third, I store the text of that option in another variable to later use it when saving the record.  I have 3 dropdowns in tally... and my question is the following:  Can it be done in a more elegant way to not have so many functions and actions in the api stack?? 


4 replies