web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Elegant Boolean Variab...
Power Automate
Unanswered

Elegant Boolean Variable to Google Sheets Checkbox solution

(0) ShareShare
ReportReport
Posted on by 4,363 Moderator

Hi, All

 

Hopefully a pretty straightforward proposition:

Update a Google Sheets Checkbox column from a True or False Boolean value in Power Automate.

 

When you place a boolean variable result into a Google Sheet boolean column the sheet errors because the value is not in 'Sheets format. Basically Sheets won't check or uncheck the box, because the "True" or "False" value isn't sent in the right format as it's always converted into a string value by the API.

 

I've tried inputting simply text TRUE or FALSE, converting the Boolean to a string, to an XML, to JSON, I've tried literally just entering a single button flow that just adds a row to the sheet and adds a false or true result with nothing feeding it ... you can't set the checkbox to change. Before I knew it was literally pushing a string, I even tried changing the case on the True and False values.

 

Here's what the system passes to Sheets, where BOOL is the Checkbox column:

 

{
 "@odata.context": "URL",
 "@odata.etag": "",
 "ItemInternalId": "ID",
 "title": "aaaaa",
 "BOOL": "False",
 "__PowerAppsId__": "ID"
}

 

As you can see, if it was passing that correctly, it would have no quotes around the "False" value. When it shows up in the sheet it has an apostrophe before it indicating it's a string value.

 

This wouldn't be an issue, but in order to satisfy a client (that uses a free plan so no premium connectors) I'm using Sheets as a workaround to get to airtable via automate.io. They aren't on power automate yet, so if I can't get the correct values into sheets, I'm not going to succeed with airtable.

 

If anyone has any ideas, I'm all ears. Is it possible that this is a fault with the Google Sheets connector?

 

Am I going to have to resort to "Helper columns"? (Ie. run the value into one column, and have a formula in the checkbox column to check based on the helper)

 

Apologies for the lack of any decent formatting here!

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard