AutomationFlowsAI & RAG › Clara Pipeline a - Demo to V1

Clara Pipeline a - Demo to V1

Clara Pipeline A - Demo to v1. Uses executeCommand, httpRequest. Event-driven trigger; 8 nodes.

Event trigger★★★★☆ complexity8 nodesExecute CommandHTTP Request
AI & RAG Trigger: Event Nodes: 8 Complexity: ★★★★☆ Added:

This workflow follows the Executecommand → HTTP Request recipe pattern — see all workflows that pair these two integrations.

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": "Clara Pipeline A - Demo to v1",
  "nodes": [
    {
      "parameters": {},
      "id": "trigger-1",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "account_id",
              "value": "ACC_001"
            }
          ]
        }
      },
      "id": "set-1",
      "name": "Set Account ID",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "command": "python /scripts/transcribe.py --input-dir /inputs/{{ $json.account_id }} --output-dir /outputs/accounts/{{ $json.account_id }}/v1"
      },
      "id": "exec-1",
      "name": "Transcribe Audio",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "command": "python /scripts/extract.py --transcript /outputs/accounts/{{ $json.account_id }}/v1/transcript.txt --chat /inputs/{{ $json.account_id }}/chat.txt --account-id {{ $json.account_id }} --output /outputs/accounts/{{ $json.account_id }}/v1/account_memo.json"
      },
      "id": "exec-2",
      "name": "Extract Account Memo",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        850,
        300
      ]
    },
    {
      "parameters": {
        "command": "python /scripts/generate_spec.py --memo /outputs/accounts/{{ $json.account_id }}/v1/account_memo.json --output /outputs/accounts/{{ $json.account_id }}/v1/agent_spec.json --version v1"
      },
      "id": "exec-3",
      "name": "Generate v1 Spec",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        1050,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.retell.ai/create-agent",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "body": "={{ JSON.stringify({ \"agent_name\": $json.agent_name || \"Clara Agent\", \"voice_id\": \"11labs-Adrian\", \"language\": \"en-US\", \"response_engine\": {\"type\": \"retell-llm\"}, \"general_prompt\": $json.system_prompt }) }}"
      },
      "id": "http-1",
      "name": "Create Retell Agent",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1250,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.github.com/repos/{{ $env.GITHUB_REPO }}/issues",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "body": "={{ JSON.stringify({ \"title\": \"[\" + $json.account_id + \"] \" + $json.company_name + \" \u2014 Clara Agent Pipeline\", \"body\": \"## Account Details\\n| Field | Value |\\n|-------|-------|\\n| Account ID | \" + $json.account_id + \" |\\n| Company | \" + $json.company_name + \" |\\n| Created | \" + new Date().toISOString() + \" |\\n\\n## Pipeline Status\\n- [x] v1 Created (Demo)\\n- [ ] v2 Updated (Onboarding)\\n\", \"labels\": [\"clara-pipeline\", \"v1-created\"] }) }}"
      },
      "id": "http-2",
      "name": "Create GitHub Issue",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1450,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "status",
              "value": "v1_created"
            }
          ]
        }
      },
      "id": "set-2",
      "name": "Set Complete Status",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        1650,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Set Account ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Account ID": {
      "main": [
        [
          {
            "node": "Transcribe Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe Audio": {
      "main": [
        [
          {
            "node": "Extract Account Memo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Account Memo": {
      "main": [
        [
          {
            "node": "Generate v1 Spec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate v1 Spec": {
      "main": [
        [
          {
            "node": "Create Retell Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Retell Agent": {
      "main": [
        [
          {
            "node": "Create GitHub Issue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create GitHub Issue": {
      "main": [
        [
          {
            "node": "Set Complete Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Clara Pipeline A - Demo to v1. Uses executeCommand, httpRequest. Event-driven trigger; 8 nodes.

Source: https://github.com/nitya2405/transcript-to-voice-agent/blob/0526e9c7e90861d1d3e2a5ec8a78a36a15e2718d/workflows/pipeline_a.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

KP Case Agent Native n8n. Uses executeCommand, httpRequest. Event-driven trigger; 12 nodes.

Execute Command, HTTP Request
AI & RAG

This workflow creates a multi-talented AI assistant named Simran that interacts with users via Telegram. It can handle text and voice messages, understand the user's intent, and perform various tasks.

MongoDB, Chain Llm, Google Gemini Chat +11
AI & RAG

RAG CHATBOT Main. Uses telegram, telegramTrigger, lmChatOpenAi, n8n-nodes-mcp. Event-driven trigger; 87 nodes.

Telegram, Telegram Trigger, OpenAI Chat +8
AI & RAG

Video-To-Hugo. Uses httpRequest, lmChatOllama, moveBinaryData, youTube. Event-driven trigger; 47 nodes.

HTTP Request, Ollama Chat, Move Binary Data +5
AI & RAG

Turbo Videogen. Uses lmChatOpenRouter, agent, httpRequest, formTrigger. Event-driven trigger; 41 nodes.

OpenRouter Chat, Agent, HTTP Request +7