{
  "name": "CallForge - 05 - Gong.io call analysis with Azure AI & CRM sync",
  "nodes": [
    {
      "id": "b092ac6b-f12a-4eaa-9424-5cbfc51acc7e",
      "name": "Execute Workflow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -700,
        -100
      ]
    },
    {
      "id": "6c0aba3a-4e0c-443f-a08b-d871daa36839",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -20,
        260
      ]
    },
    {
      "id": "e928f8b7-0775-43f6-815e-d872663818d5",
      "name": "Marketing AI Agent Processor",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -200,
        40
      ]
    },
    {
      "id": "7db7a2d6-055f-47b2-aabc-1f1016e7d817",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        0,
        860
      ]
    },
    {
      "id": "e97e1e48-52ba-4cbd-ac97-78ac756aa792",
      "name": "Product AI Agent Processor",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -200,
        640
      ]
    },
    {
      "id": "1d3c0b6c-0b1a-42d4-914f-0f3b08eb505a",
      "name": "Sales Data Processor",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        620,
        -660
      ]
    },
    {
      "id": "778cfa90-4a19-424b-aeb2-71bc1cf61848",
      "name": "Marketing Data Processor",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        620,
        40
      ]
    },
    {
      "id": "22950eb8-5c89-4a17-91fc-f40e543c69b8",
      "name": "Product AI Data Processor",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        640,
        640
      ]
    },
    {
      "id": "24989b3a-03bc-496b-9d0c-dd64a40816fd",
      "name": "Data Recall Sales",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        -620
      ]
    },
    {
      "id": "b710f198-ead4-46ae-8bbc-ac50d8533dbc",
      "name": "Data Recall Marketing",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        40
      ]
    },
    {
      "id": "ad407809-2281-4f54-a363-6a3b32392818",
      "name": "Data Recall Product",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        640
      ]
    },
    {
      "id": "9ee91a9b-0175-4a02-bc44-2e37302dc28c",
      "name": "SF Sales Data Processor",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        620,
        -480
      ]
    },
    {
      "id": "7ee72c9f-19ab-4f9b-95ee-7292c8490464",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -180,
        -380
      ]
    },
    {
      "id": "31ac033f-ded5-459c-b427-a3cd39325439",
      "name": "Azure OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -200,
        260
      ]
    },
    {
      "id": "bc64a18b-3d30-46ff-a983-683dfc481a9d",
      "name": "Azure OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -200,
        840
      ]
    },
    {
      "id": "009c4b72-1cb6-4c27-8749-6a905f2d210e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -760,
        -360
      ],
      "parameters": {
        "width": 480,
        "height": 600,
        "content": "## Receive Call Data and standardize User Prompt\nThis node gets the call data passed into it, and it creates a single user prompt that is passed into all 3 AI agents. This allows for standardizing thi"
      }
    },
    {
      "id": "bcb43542-eef3-46ee-8610-b2a9ddda382b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -580
      ],
      "parameters": {
        "width": 340,
        "height": 820,
        "content": "![Callforge](https://uploads.n8n.io/templates/callforgeshadow.png)\n## CallForge - The AI Gong Sales Call Processor\nCallForge allows you to extract important information for different departments from "
      }
    },
    {
      "id": "aba37121-e48f-4e81-91af-78ee00f02276",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -780
      ],
      "parameters": {
        "width": 1160,
        "height": 580,
        "content": "## Process Sales Agent\nThe Sales agent structured output is passed to both the notion processor and the Salesforce processor, thereby feeding the data back to the main platform where the sales team wo"
      }
    },
    {
      "id": "c2827dbe-229d-425a-b5fb-f47ceefc6f70",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -180
      ],
      "parameters": {
        "width": 1160,
        "height": 600,
        "content": "## Process Marketing Agent\nThe marketing agent outputs to a subworkflow that feeds to a notion database. "
      }
    },
    {
      "id": "b8e816ca-1ac7-4445-8a84-9bc4f4f5e037",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        440
      ],
      "parameters": {
        "width": 1160,
        "height": 600,
        "content": "## Process Product Agent\nThe product team also uses notion so the output is fed to a subworkflow that outputs to Notion as well. "
      }
    },
    {
      "id": "859734c7-efc7-42d5-b597-aaea00beb71c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        -200
      ],
      "parameters": {
        "width": 700,
        "height": 440,
        "content": "## Process Queue Logic\nIf the run fails for any reason, it can be rerun on only the remaining calls, allowing for greater resilisience in api calls. The main issue I ran into was Notion rate limiting."
      }
    },
    {
      "id": "aa9c227b-74f8-4e30-a89c-2dfb505fbbb4",
      "name": "Create User Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        -480,
        -100
      ]
    },
    {
      "id": "978479c2-29c7-4a47-b9f2-5e1a181d25e8",
      "name": "Success Status Generated",
      "type": "n8n-nodes-base.set",
      "position": [
        1480,
        0
      ]
    },
    {
      "id": "0269ec40-4935-44d8-bab1-c76bf9cac82c",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -180,
        -620
      ]
    },
    {
      "id": "2920d012-d5f1-4eb7-8f41-69ec07487f46",
      "name": "Structured Output Parser3",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        20,
        -380
      ]
    },
    {
      "id": "0475da2d-2781-4c53-8dc8-c4a647295556",
      "name": "Merge all processed data",
      "type": "n8n-nodes-base.merge",
      "position": [
        1040,
        0
      ]
    },
    {
      "id": "c4fa47e9-82c2-471f-8949-b0e64e35c589",
      "name": "Bundle processed Data",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1260,
        0
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Data Recall Sales",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Recall Sales": {
      "main": [
        [
          {
            "node": "Sales Data Processor",
            "type": "main",
            "index": 0
          },
          {
            "node": "SF Sales Data Processor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create User Prompt": {
      "main": [
        [
          {
            "node": "Marketing AI Agent Processor",
            "type": "main",
            "index": 0
          },
          {
            "node": "Product AI Agent Processor",
            "type": "main",
            "index": 0
          },
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Recall Product": {
      "main": [
        [
          {
            "node": "Product AI Data Processor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sales Data Processor": {
      "main": [
        [
          {
            "node": "Merge all processed data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bundle processed Data": {
      "main": [
        [
          {
            "node": "Success Status Generated",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Recall Marketing": {
      "main": [
        [
          {
            "node": "Marketing Data Processor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Marketing AI Agent Processor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Product AI Agent Processor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow Trigger": {
      "main": [
        [
          {
            "node": "Create User Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Marketing Data Processor": {
      "main": [
        [
          {
            "node": "Merge all processed data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge all processed data": {
      "main": [
        [
          {
            "node": "Bundle processed Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Product AI Data Processor": {
      "main": [
        [
          {
            "node": "Merge all processed data",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Marketing AI Agent Processor",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Product AI Agent Processor",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser3": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Product AI Agent Processor": {
      "main": [
        [
          {
            "node": "Data Recall Product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Marketing AI Agent Processor": {
      "main": [
        [
          {
            "node": "Data Recall Marketing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}