71 lines
1.5 KiB
JSON
71 lines
1.5 KiB
JSON
{
|
|
"name": "StoryForge Analysis Pipeline",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"httpMethod": "POST",
|
|
"path": "storyforge-analysis",
|
|
"responseMode": "onReceived",
|
|
"options": {}
|
|
},
|
|
"id": "analysis-webhook",
|
|
"name": "Analysis Webhook",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"typeVersion": 2,
|
|
"position": [
|
|
220,
|
|
300
|
|
],
|
|
"webhookId": "storyforge-analysis"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"method": "POST",
|
|
"url": "={{'http://host.docker.internal:8081/internal/jobs/steps/analyze?job_id=' + ($json.body.job_id || $json.body.jobId)}}",
|
|
"sendHeaders": true,
|
|
"headerParameters": {
|
|
"parameters": [
|
|
{
|
|
"name": "X-Orchestrator-Secret",
|
|
"value": "storyforge-local-secret"
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"timeout": 600000
|
|
}
|
|
},
|
|
"id": "analysis-runner",
|
|
"name": "Run Analysis Step",
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
"typeVersion": 4.2,
|
|
"position": [
|
|
520,
|
|
300
|
|
]
|
|
}
|
|
],
|
|
"connections": {
|
|
"Analysis Webhook": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Run Analysis Step",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Run Analysis Step": {
|
|
"main": [
|
|
[]
|
|
]
|
|
}
|
|
},
|
|
"active": false,
|
|
"settings": {},
|
|
"pinData": {},
|
|
"versionId": "storyforge-analysis-v1"
|
|
}
|