AutomationFlowsGeneral › Automate Onboarding Pipeline B to V2

Automate Onboarding Pipeline B to V2

Original n8n title: Clara Pipeline B - Onboarding to V2

Clara Pipeline B - Onboarding to v2. Uses manualTrigger, executeCommand, httpRequest. Event-driven trigger; 7 nodes.

Event trigger★★★★☆ complexity7 nodesExecute CommandHTTP Request
General Trigger: Event Nodes: 7 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 B - Onboarding to v2",
  "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/patch.py --v1-memo /outputs/accounts/{{ $json.account_id }}/v1/account_memo.json --onboarding-dir /inputs/{{ $json.account_id }}_onboarding --output /outputs/accounts/{{ $json.account_id }}/v2"
      },
      "id": "exec-1",
      "name": "Run Pipeline B",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "command": "python /scripts/generate_spec.py --memo /outputs/accounts/{{ $json.account_id }}/v2/account_memo.json --output /outputs/accounts/{{ $json.account_id }}/v2/agent_spec.json --version v2"
      },
      "id": "exec-2",
      "name": "Generate v2 Spec",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        850,
        300
      ]
    },
    {
      "parameters": {
        "method": "PATCH",
        "url": "https://api.retell.ai/update-agent/{{ $json.agent_id }}",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "body": "={{ JSON.stringify({ \"voice_id\": \"11labs-Adrian\", \"language\": \"en-US\", \"general_prompt\": $json.system_prompt }) }}"
      },
      "id": "http-1",
      "name": "Update Retell Agent",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1050,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.github.com/repos/{{ $env.GITHUB_REPO }}/issues/{{ $json.issue_number }}/comments",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "body": "={{ JSON.stringify({ \"body\": \"## v2 Update \u2014 Onboarding Complete\\n\\nUpdated: \" + new Date().toISOString() + \"\\n\\n### Changes Applied\\n\\nv2 configuration has been generated from onboarding call.\\n\\n---\\nPipeline B complete \u2705\" }) }}"
      },
      "id": "http-2",
      "name": "Add GitHub Comment",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1250,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "status",
              "value": "v2_updated"
            }
          ]
        }
      },
      "id": "set-2",
      "name": "Set Complete Status",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        1450,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Set Account ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Account ID": {
      "main": [
        [
          {
            "node": "Run Pipeline B",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Pipeline B": {
      "main": [
        [
          {
            "node": "Generate v2 Spec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate v2 Spec": {
      "main": [
        [
          {
            "node": "Update Retell Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Retell Agent": {
      "main": [
        [
          {
            "node": "Add GitHub Comment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add GitHub Comment": {
      "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 B - Onboarding to v2. Uses manualTrigger, executeCommand, httpRequest. Event-driven trigger; 7 nodes.

Source: https://github.com/nitya2405/clara-pipeline/blob/0526e9c7e90861d1d3e2a5ec8a78a36a15e2718d/workflows/pipeline_b.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Kv Cloudflare Key Value Database Full Api Integration Workflow. Uses stickyNote, httpRequest, manualTrigger. Event-driven trigger; 47 nodes.

HTTP Request
General

Reputation Engine — Site Refresh. Uses httpRequest, executeWorkflowTrigger. Event-driven trigger; 35 nodes.

HTTP Request, Execute Workflow Trigger
General

Reputation Engine — Content Generator. Uses httpRequest. Event-driven trigger; 30 nodes.

HTTP Request
General

creda. Uses executeCommand, googleDrive, n8n. Event-driven trigger; 27 nodes.

Execute Command, Google Drive, n8n
General

PRECALL. Uses executeWorkflowTrigger, httpRequest. Event-driven trigger; 23 nodes.

Execute Workflow Trigger, HTTP Request