{
  "openruna_format": "flow-graph-v1",
  "title": "0700_Code_Respondtowebhook_Send_Webhook",
  "slug": "0700-code-respondtowebhook-send-webhook",
  "source_filename": "0700_Code_Respondtowebhook_Send_Webhook.json",
  "nodes": [
    {
      "id": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Respond to Webhook",
      "name": "Respond to Webhook",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Make Appointment",
      "name": "Make Appointment",
      "integration": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "kind": "action"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "varResponse",
      "name": "varResponse",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "freeTimeSlots",
      "name": "freeTimeSlots",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get Events",
      "name": "Get Events",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Availability",
      "name": "Get Availability",
      "integration": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "kind": "action"
    },
    {
      "id": "Send Message",
      "name": "Send Message",
      "integration": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "kind": "action"
    },
    {
      "id": "Chat Trigger",
      "name": "Chat Trigger",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "Switch",
      "name": "Switch",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "varMessageResponse",
      "name": "varMessageResponse",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Send Message1",
      "name": "Send Message1",
      "integration": "microsoftOutlook",
      "kind": "action"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "If",
      "name": "If",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Respond With Initial Message",
      "name": "Respond With Initial Message",
      "integration": "respondToWebhook",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If",
      "to": "AI Agent"
    },
    {
      "from": "If",
      "to": "Respond With Initial Message"
    },
    {
      "from": "Switch",
      "to": "Get Events"
    },
    {
      "from": "Switch",
      "to": "Send Message1"
    },
    {
      "from": "AI Agent",
      "to": "Respond to Webhook"
    },
    {
      "from": "Get Events",
      "to": "freeTimeSlots"
    },
    {
      "from": "Chat Trigger",
      "to": "If"
    },
    {
      "from": "Send Message1",
      "to": "varMessageResponse"
    },
    {
      "from": "freeTimeSlots",
      "to": "varResponse"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Switch"
    }
  ]
}