How to map products and its prices to count the total counts and sum total cost?

Hi community, I have just started using yellow. I am trying to make an restaurant bot for which I wanted to add prices and sum it up in the end. Kindly guide me through

Hey Vishaal,

To perform a math calculation, you must write a custom logic and incorporate it into the flows. You can write custom logic in the Functions section of the Studio module. I have attached the help documents and use case guides that will guide you in using the feature.

Functions
Function guide