What is your goal?
I want to preserve existing “yes” values in Google Sheets when updating a row. If a cell already has “yes”, it should stay “yes” even when new data comes in as “no”.
What is the problem & what have you tried?
I’m using Set Multiple Variables module with if() function.
My formula:
if(4.data.candidates[1].content.parts[1].text = “yes”; “yes”; “no”)
Problem: Even when the variable value is “no”, the if() function always returns “yes” (TRUE branch). The “no” branch never executes.
I have tried:
- if() in Google Sheets module directly
- if() in Set Variable module
- Nested if()
- contains() function
- All return “yes” regardless of actual value
Error messages or input/output bundles
No error shown. Output is incorrect - always returns “yes” even when condition is FALSE.
Input variable value: no
Expected output: no
Actual output: yes
