Structure workflow to stop if if/else is fals

Here’s my flow…my issue is that updateHubspotContact towards the end of my flow keeps failing.

The reason (I think) is because when the IF returns false, the merge doesn’t get the data that the hubspot update needs to execute. This is expected. What I want is for the entire workflow to stop if that IF returns false.

How can I update this to accomplish that goal?

On your merge you need to do something like a combine. With append its going to have output of data because of what your are getting from mysql. Either that or after merge add another IF node to check if you a required variable is NOT empty.

1 Like