Block 1 - D. TELEPORT: Resume Paused Workflow
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
This workflow is provided as-is. Please review and test before using in production.
How it works This template is a powerful, reusable utility for managing stateful, long running processes . It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed b...
n8n-nodes-base.httprequest, n8n-nodes-base.filter, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.if, n8n-nodes-base.noop, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lucas Peyrin.
Original n8n.io sourceThis template is a powerful, reusable utility for managing stateful, long-running processes. It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed by external, asynchronous events.
This pattern is essential for complex automations and I often call it the "Async Portal" or "Teleport" pattern.
The template consists of two distinct parts:
Wait node (a "Checkpoint").session_id, the Portal looks up the corresponding paused workflow and "teleports" the new data to it by calling its unique resume_url.This architecture allows you to build sophisticated systems where the state is managed centrally, and your main business logic remains clean and easy to follow.
This is an advanced utility ideal for:
This template is a utility designed to be copied into your own projects. The workflow itself is a live demonstration of how to use it.
Copy the Async Portal: In your own project, copy the entire Async Portal (the bottom flow, starting with the A. Entry: Receive Session Info trigger) into your workflow. This will be your state management engine.
Register Your Main Process: At the beginning of your main workflow, use an Execute Workflow node to call the Portal's trigger. You must pass it a unique session_id for the process and the resume_url from a Wait node.
Add Checkpoints: Place Wait nodes in your main workflow wherever you need the process to pause and wait for an external event.
Trigger the Portal: Configure your external triggers (e.g., your chatbot's webhook) to call the Portal's entry trigger, not your main workflow's trigger. You must pass the same session_id so the Portal knows which paused process to resume.
To see it in action, follow the detailed instructions in the "How to Test This Workflow" sticky note on the canvas.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 42 workflow blocks. Download the JSON for the full node graph.
| Workflow | ๐ ๏ธ State Management System for Long-Running Workflows with Wait Nodes |
|---|---|
| Complexity | advanced |
| Nodes | 42 |
| Categories | Engineering |
| Author | Lucas Peyrin |
| Published | 22 Jul 2025 |
Use the JSON export at /data/workflows/6269/6269.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
How it works This template is a powerful, reusable utility for managing stateful, long running processes . It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed b...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.