Templates / Pattern for multiple triggers combined to continue workflow

Pattern for multiple triggers combined to continue workflow

Ready for 3.0

by Hubschrauber ✓ · 1,667 views · created 2025-02-07 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). It uses only n8n's built-in nodes. It also calls v2.jokeapi.dev over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Set Primary Execution Context (Edit Fields (Set)): sets 2 fields: someContextItem, simulatedExternalProcessWorkflowId
  2. HTTP Request: calls an HTTP API (POST)
  3. Respond to Webhook: sends the response back to the webhook caller
  4. HTTP Request: calls an HTTP API (POST)
  5. Demo "Trigger" Callback Setup (Edit Fields (Set)): sets 1 field: triggerTargetWorkflowId
  6. Wait: pauses until webhook
  7. HTTP Request: calls v2.jokeapi.dev
  8. This Node Can Access Primary and Secondary (Edit Fields (Set)): sets 2 fields: somethingFromPrimaryExecution, somethingFromSecondaryExecution
  9. Simulate some Consumed Service Time (Wait): waits 2 seconds
  10. Simulate Event that Hits the 2nd Trigger/Flow (HTTP Request): calls an HTTP API (POST)

HTTP calls to: v2.jokeapi.dev

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Overview This template describes a possible approach to handle a pseudo-callback/trigger from an independent, external process (initiated from a workflow) and combine the received input with the workflow execution that is already in progress. This requires…

Excerpt from Hubschrauber's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.