Empty query

Answered

Hello community:

The scenario is as follows:


I have a Tally Form that one of its fields is a simple text.

The form, through webhooks, is connected to a xano api.

When the api receives the form, it looks for that field in a table (Table B).

If it finds it, it adds a record in another table (Table A) and sends a confirmation email.


My question is this:

How can I control when I do a search for the simple text field in the table (Table B) and it does not exist?. The stack stop because de object its empty.


If it does not exist, an email will be sent indicating that the text field you filled in does not exist and therefore, a record could not be added to the table (Table A) with the form data.



3 replies