Expression to not update if empty MySQL

Hey guys,

I have a workflow where I update the contact in MySQL, but when it fills in its empty phone number, it updates the user as without phone number, is there any way to do this check if the webhook phone number is empty it doesn’t update the node update mysql?

I say this because every time it is empty it updates as empty in the database and the lead fills out the form with the phone number and without the phone number

Hi @htnrodrigues, I think the easiest approach here would be to simply use another IF node - if a phone number is empty, run a MySQL node without the phone number field. Else run the MySQL node including the phone number field.

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