Retry Flow Using Original Input from Merge Node

Hi, I am building a workflow where the first run goes: Merge node → Copywriter → Slack Approval → Switch. If the result is Not Approved, I want to retry with new copy, but still reuse the original input from the Merge node. The issue is that on retry, when the flow goes back from the Switch to the Copywriter node, I am losing most of the prompt (undefined) because most of it is linked to the output of Merge.

Any thoughts on how I can resolve this?

Thanks!!

hello @PinkFloyd

instead of linking to the Merge B node with the relative reference of {{ $json.property }}, use the absolute reference{{ $('Merge B').last().json.property }}

1 Like

Yep this worked. Thanks boss

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