Http module removes Retry Count when fallback looping

I’m after some help with regards to creating a fallback loop which after 5 runs of checking for CR to LN status change, then exits the loop and sends a fallback post http to my App.

The issue im running into is when setting the retry count to zero before the ’ HTTP Check CR to LN’ node & then run the workflow, the Http node does not output the retry count set to zero data. I have tried running the set retry count node and the http node in parallel and then adding a merge node after them to bring the retry count data into the next part of the flow, which was successful in achieving that goal. When the workflow continues down the Not LN branch through the nodes and increment+1 node and back to the Http node to re-check the status the retry count data is then lost again by the output of the Http Api node being re-checked. This causes the workflow to never reach the intended count of 5 and infinitely loops.

Would anyone have any suggestions on how to solve this issue? Ive tried searching the forums but cant seem to find anything specific to my issue.

Many Thanks
Glen

Information on your n8n setup

  • 1.101.2
  • Firestore database
  • N/A
  • Running n8n via Web
  • Mac OS Sequoia 15.5

Just an update to the problem i’m encountering.

Ive re-added the merge node & set its input with the http node for checking CR to LN Status and i’ve tried linking up the set retry count to it also to maintain the count.
If the workflow goes into the fallback loop and the user links there account, the wire from the Fallback IF node to Check CR to LN status works as intended and picks up the change in status and then proceeds through the switch to the ‘Is LN’ Branch and completes.
If the User does not Complete Account linking then the fallback loop just runs continuously if i have the Fallback IF node wired into the http node.

If i dont have the IF node wired into the http node and wire it into input 2 of the Merge node, then the fallback loop works as intended (exits after 5 attempts) but the the status check of the http Cr to LN is not carried out.

So currently i can get both parts of by flow working individually but im unsure how or what to implement to get them working together.

Ive now solved this issue.

The Fix : i just doubled up the IF Node True output wires , one going to the http node and the other going into input 2 of the Merge Node.

Tested for Status Not LN , loops through the fallback x5 then exits to Fallback Http.
Tested for Status change to LN mid fallback loop, Loop from IF node to Http picks up on the status change and completes the Is LN branch.

Hope this helps anyone.

1 Like

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