AutomationFlowsGeneral › Wf-022 Provider Packet Bridge Canonical

Wf-022 Provider Packet Bridge Canonical

WF-022 Provider Packet Bridge Canonical. Uses executeWorkflowTrigger. Event-driven trigger; 4 nodes.

Event trigger★★★★☆ complexity4 nodesExecute Workflow Trigger
General Trigger: Event Nodes: 4 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "WF-022 Provider Packet Bridge Canonical",
  "description": "Build provider-safe packet envelopes from approved internal packets with auth/replay metadata.",
  "nodes": [
    {
      "parameters": {},
      "id": "wf022_trigger",
      "name": "Workflow Input",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1,
      "position": [
        220,
        320
      ]
    },
    {
      "parameters": {
        "jsCode": "return [{ json: { workflow_id: 'WF-022', provider_target: $json.provider_target || 'local_stub', approved_packet: $json.approved_packet || {}, dossier_id: $json.dossier_id || null, route_id: $json.route_id || 'ROUTE_PHASE1_STANDARD', timestamp: new Date().toISOString() } }];"
      },
      "id": "wf022_normalize",
      "name": "Normalize Bridge Input",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        470,
        320
      ]
    },
    {
      "parameters": {
        "jsCode": "const source = $json.approved_packet || {};\nconst bridge = {\n  packet_family: 'provider_packet_bridge',\n  provider_target: $json.provider_target,\n  route_id: $json.route_id,\n  replay_reference: {\n    workflow: 'WF-022',\n    dossier_id: $json.dossier_id,\n    timestamp: new Date().toISOString()\n  },\n  outbound_payload: {\n    source_packet_id: source.instance_id || null,\n    source_family: source.artifact_family || null,\n    body: source.payload || source\n  }\n};\nreturn [{ json: { ...$json, bridge_packet: bridge } }];"
      },
      "id": "wf022_build",
      "name": "Build Bridge Packet",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        730,
        320
      ]
    },
    {
      "parameters": {
        "jsCode": "const bridge = $json.bridge_packet || {};\nconst errs = [];\nif (!bridge.provider_target) errs.push('provider_target missing');\nif (!bridge.outbound_payload) errs.push('outbound_payload missing');\nif (!bridge.replay_reference) errs.push('replay_reference missing');\nif (errs.length) throw new Error('WF-022 validation failed: ' + errs.join('; '));\nreturn [{ json: { workflow_id: 'WF-022', status: 'SUCCESS', output_packet_family: 'provider_packet_bridge', provider_packet_bridge: bridge } }];"
      },
      "id": "wf022_validate",
      "name": "Validate Bridge Packet",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        990,
        320
      ]
    }
  ],
  "connections": {
    "Workflow Input": {
      "main": [
        [
          {
            "node": "Normalize Bridge Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Bridge Input": {
      "main": [
        [
          {
            "node": "Build Bridge Packet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Bridge Packet": {
      "main": [
        [
          {
            "node": "Validate Bridge Packet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "workflow_id": "WF-022",
    "phase": "phase1",
    "vein": "approval_vein",
    "implementation_depth": "production_grade",
    "purpose": "Execute deterministic workflow WF-022 with governance-bound routing.",
    "owner_director": "Aruna",
    "next_workflow": "WF-023",
    "wf900_error_route": "WF-900",
    "canonical_file": "n8n/workflows/WF-022.json"
  },
  "active": true,
  "settings": {},
  "id": "wqM2V7L9hK4pT8xC"
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

WF-022 Provider Packet Bridge Canonical. Uses executeWorkflowTrigger. Event-driven trigger; 4 nodes.

Source: https://github.com/justkalpane/Shadow-Creator-OS-Phase_01/blob/0447c2f91c0b7669a61f768fac60fa911acf2cc5/n8n/workflows/WF-022.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Agendamiento. Uses n8n-nodes-evolution-api, redis, dataTable, executeWorkflowTrigger. Event-driven trigger; 60 nodes.

N8N Nodes Evolution Api, Redis, Data Table +2
General

Prevent concurrent workflow runs using Redis. Uses executeWorkflowTrigger, manualTrigger, stickyNote, executeWorkflow. Event-driven trigger; 43 nodes.

Execute Workflow Trigger, Redis, Stop And Error
General

This workflow sets a small "lock" value in Redis so that only one copy of a long job can run at the same time. If another trigger fires while the job is still busy, the workflow sees the lock, stops e

Execute Workflow Trigger, Redis, Stop And Error
General

Reputation Engine — Site Refresh. Uses httpRequest, executeWorkflowTrigger. Event-driven trigger; 35 nodes.

HTTP Request, Execute Workflow Trigger
General

Using n8n a lot?

Execute Workflow Trigger, XML, Move Binary Data +1