Files
n8n-backup-v2/workflows/Z_YHsJaf_pyFQR6e7VuLo.json
2026-01-02 22:48:32 +00:00

141 lines
3.4 KiB
JSON

{
"id": "Z_YHsJaf_pyFQR6e7VuLo",
"name": "search_audible",
"nodes": [
{
"parameters": {
"inputSource": "jsonExample",
"jsonExample": "{\n \"book-name\": \"a string\",\n \"author\": \"a string\",\n \"asin\": \"a string\"\n}"
},
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
-496,
-208
],
"id": "ca4bf486-440d-452e-a1b8-1ad650789082",
"name": "When Executed by Another Workflow"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 3
},
"conditions": [
{
"id": "2399bcd9-fb6b-4dbc-88a5-1de89bea8afd",
"leftValue": "={{ $json.asin }}",
"rightValue": "",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.3,
"position": [
-272,
-208
],
"id": "2c952384-9012-4382-a394-fe9e2c00d6c0",
"name": "asin check"
},
{
"parameters": {
"authentication": "privateKey",
"command": "=/home/b3nw/.local/bin/uv run search_audible.py --book-name \"{{ $json['book-name'] }}\" --author \"{{ $json.author }}\"",
"cwd": "/home/b3nw/projects/media/audible-script"
},
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
-48,
-112
],
"id": "789e7924-171a-4dd3-b003-752597c7e98f",
"name": "audible_search_book",
"credentials": {
"sshPrivateKey": {
"id": "S2dcVMjrpg0I0kdV",
"name": "vscode-dev.local.ben.io"
}
}
},
{
"parameters": {
"authentication": "privateKey",
"command": "=/home/b3nw/.local/bin/uv run search_audible.py --asin {{ $json.asin }}",
"cwd": "/home/b3nw/projects/media/audible-script"
},
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
-48,
-304
],
"id": "c17ae2cf-0d46-4efb-9dae-fd01e58f3837",
"name": "audible_lookup_asin",
"credentials": {
"sshPrivateKey": {
"id": "S2dcVMjrpg0I0kdV",
"name": "vscode-dev.local.ben.io"
}
}
}
],
"connections": {
"When Executed by Another Workflow": {
"main": [
[
{
"node": "asin check",
"type": "main",
"index": 0
}
]
]
},
"asin check": {
"main": [
[
{
"node": "audible_lookup_asin",
"type": "main",
"index": 0
}
],
[
{
"node": "audible_search_book",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"availableInMCP": false
},
"triggerCount": 0,
"versionId": "05a6eaf5-abf0-4f48-895a-d05563a32009",
"owner": {
"type": "personal",
"projectId": "FeLO36wNUAcn61Wj",
"projectName": "Ben W <admin@ben.io>",
"personalEmail": "admin@ben.io"
},
"parentFolderId": "of8yoeyjjIAhYdnQ",
"isArchived": false
}