Skip to content

Instantly share code, notes, and snippets.

@defmans7
Created April 24, 2025 11:43
Show Gist options
  • Select an option

  • Save defmans7/a3a6f1c9772efb40e216ed2d53081419 to your computer and use it in GitHub Desktop.

Select an option

Save defmans7/a3a6f1c9772efb40e216ed2d53081419 to your computer and use it in GitHub Desktop.
{
"name": "N8N API",
"nodes": [
{
"parameters": {
"operation": "get",
"workflowId": {
"__rl": true,
"value": "={{ $json.workflow_id }}",
"mode": "id"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.n8n",
"typeVersion": 1,
"position": [
220,
0
],
"id": "f1a1169c-d126-4e0a-a96c-8c04b581900a",
"name": "n8n",
"credentials": {
"n8nApi": {
"id": "xK6jZFvKDVkwqd0x",
"name": "n8n account"
}
}
},
{
"parameters": {
"events": [
"update"
]
},
"type": "n8n-nodes-base.n8nTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "18d87731-24bf-4977-bf27-d18d608931fb",
"name": "n8n Trigger"
},
{
"parameters": {
"resource": "file",
"operation": "edit",
"owner": {
"__rl": true,
"mode": "list",
"value": ""
},
"repository": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"type": "n8n-nodes-base.github",
"typeVersion": 1,
"position": [
440,
0
],
"id": "25d918a0-f6a2-4f71-b0d4-73b4a9a332c1",
"name": "GitHub"
}
],
"pinData": {},
"connections": {
"n8n Trigger": {
"main": [
[
{
"node": "n8n",
"type": "main",
"index": 0
}
]
]
},
"n8n": {
"main": [
[
{
"node": "GitHub",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "27e6bd6c-84b9-4063-9ab0-a9550ea5e2e5",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "12aa4b47b8cf3d835676e10b2bf760a80a1ff52932c9898603f7b21fc5376f59"
},
"id": "o8alSzIEbywvW39N",
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment