Agent skill
n8n-8-workflow-templates-and-subworkflows
Sub-skill of n8n: 8. Workflow Templates and Subworkflows.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/operations/automation/n8n/8-workflow-templates-and-subworkflows
SKILL.md
8. Workflow Templates and Subworkflows
8. Workflow Templates and Subworkflows
{
"name": "Main Orchestrator Workflow",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "orchestrate",
"responseMode": "lastNode"
},
"id": "webhook",
"name": "Start",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1.1,
"position": [240, 300]
},
{
"parameters": {
"workflowId": "={{ $env.DATA_VALIDATION_WORKFLOW_ID }}",
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {
"data": "={{ $json.payload }}",
"rules": "={{ $json.validation_rules }}"
}
}
},
"id": "validate",
"name": "Run Validation Workflow",
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1,
"position": [460, 300]
},
{
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{ $json.is_valid }}",
"value2": true
}
]
}
},
"id": "check-valid",
"name": "Is Valid?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [680, 300]
},
{
"parameters": {
"workflowId": "={{ $env.PROCESSING_WORKFLOW_ID }}",
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {
"validated_data": "={{ $json.data }}"
}
}
},
"id": "process",
"name": "Run Processing Workflow",
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1,
"position": [900, 200]
},
{
"parameters": {
"workflowId": "={{ $env.ERROR_HANDLER_WORKFLOW_ID }}",
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {
"error_data": "={{ $json }}",
"source": "orchestrator"
}
}
},
"id": "error-workflow",
"name": "Run Error Handler",
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1,
"position": [900, 400]
}
],
"connections": {
"Start": {
"main": [
[{ "node": "Run Validation Workflow", "type": "main", "index": 0 }]
]
},
"Run Validation Workflow": {
"main": [
[{ "node": "Is Valid?", "type": "main", "index": 0 }]
]
},
"Is Valid?": {
"main": [
[{ "node": "Run Processing Workflow", "type": "main", "index": 0 }],
[{ "node": "Run Error Handler", "type": "main", "index": 0 }]
]
}
}
}
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?