Having a little trouble getting a final feature to work on my automate flow. I have a Microsoft Form that populates a SharePoint list. My form asks users if they will require a software in the coming year. If they do, a running total is calculated based on the price of the software.
For example:
"Will you require Photoshop?"
Yes/$1500
"Will you require Creative Cloud?"
Yes/$500
"Will you require Office 365?"
Yes/$2000
"Will you require Chrome?"
Yes/$1000
If a user chooses yes, I'd like to simply add all values and update the SharePoint column with the total cost.
I'm having an issue in my compose function, however. I'm trying to use this as my calculation:
add(var1, add(var2, add(var3, add(var4, var5))))
My variables were initialized as integers, but I'm getting the below error:
The runtime value '"add(var1, add(var2, add(var3, add(var4, var5))))"' to be converted doesn't have the expected format 'Number/double'.
Here's my flow

Any suggestions would be appreciated!