Hand off long running work to an outside system and pick up right where you left off when it calls back. Great for approvals, chatbot replies, vendor jobs, or any task that needs time. Teams avoid polling and keep one clear run that pauses and resumes safely.
A primary run starts from a manual trigger, sets context, and posts a unique resume link to a second entry point. The run then waits on a webhook. A separate webhook receives updates from an independent process and uses the resume link to continue the waiting run, passing results back. The pattern accepts only the first callback, so duplicates are ignored. The included path also simulates a delay and gets a sample message to show the handoff end to end.
Use a public n8n URL or expose local webhooks so other systems can reach them. Point your second trigger at any app that can send HTTP requests and carry the resume link in its payload. Expect less busywork, fewer timeouts, and cleaner state across delays. Common uses include document review, payment confirmation, and human in the loop checks. Setup is guided by clear steps and test nodes so you can validate the flow quickly.