How to implement Expanded Human-in-the-Loop (HITL) with custom UI instead of n8n chat
Hi @Ratheesh_Rao Welcome!
You can try using a wait node with a on webhook call operation so that it would pause the workflow, and there when it pauses it will give you $execution.resumeUrl that you can call via custom UI using HTTP to resume execution, so that you can always build external applications which are always backed up by n8n.
Take a look here:
One useful detail on the resumeUrl approach: when your custom UI calls that URL, you can POST a JSON body along with it, and n8n makes that data available in the next node as the execution result. This means you can pass back structured approval data (like a reviewer’s comment or approval state) instead of just resuming with no context — handy if you want to branch the workflow based on the human’s decision.