Loop not running node on successful execution of previous

Describe the issue/error/question

Using an if branch to run an insert if an item is missing and then looping back to run the rest of the flow. However the flow never re-executes the node that I’ve looped back too.

What is the error message (if any)?

none

Please share the workflow

Share the output returned by the last node

no output

Information on your n8n setup

Hey @Connor,

That looks like the Postgres node isn’t outputting any data, Try setting the Always Output Data option and see if that helps although looking at the workflow it is just going to keep looping the same field as there only one item going in.

Ended up just working around it by using on conflict do nothing in psql.

1 Like