Supabase Backend Call (>> Query Rows) - how to use in "Actions"?

Hi everyone,

I've been using Flutterflow in conjunction with Supabase, and I've managed to get everything working smoothly so far. However, I've encountered a problem that I can't seem to solve on my own, and my searches haven't turned up any solutions. I believe it's a relatively straightforward issue, but I'm at a loss:

In the Action Flow editor, I'm trying to determine whether a value (first_name) in my Supabase table (users) is set or not. If it's null, I want to display a popup asking the user for their name.

In the Action Flow, I've set up a "Backend Call - Query Rows" action for the users table, filtering by Auth ID with the table ID, as I typically do in my app to retrieve the user's data. I've designated "query" as the "Action Output Variable Name." The information displayed indicates that I'm receiving a "List <row users>."

Now, I'm attempting to configure the conditional action: If first_name is not set or empty, true: open dialog; false: skip.

When setting this up, I can choose my variable "query" (containing the user's row). However, here's where I'm encountering an issue: When I select "List contains Item," there's no option for "first_name." If I choose "Filter list Items," I can't find any filter that seems appropriate.

I'm puzzled by the complexity of what seems like a simple conditional action. What am I doing wrong? Any help would be greatly appreciated!

3
2 replies