Newbie:How to pull data from Webhook on False condition

Describe the problem/error/question

How to pull the input on the False condition. the condition is the Supabase dont get any item/row

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Aaron_Libago hope all is well!

What you want to do is to go to supabase node, then to Settings and enable Always Output Data.

This way, if no rows are found, you get an empty object as output from supabase node. Then you can check whether that object is empty in If node with one of the following:

{{ $json }} object is empty.
or
{{ $json.isEmpty() }} boolean is true

Like so (note: you only need one, not both):

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.