{
  "openruna_format": "flow-graph-v1",
  "title": "LINE Assistant with Google Calendar and Gmail Integration",
  "slug": "line-assistant-with-google-calendar-and-gmail-integration-2",
  "source_filename": "1778_HTTP_Googlecalendartool_Automation_Webhook.json",
  "nodes": [
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Wikipedia",
      "name": "Wikipedia",
      "integration": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "kind": "action"
    },
    {
      "id": "OpenAI",
      "name": "OpenAI",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Switch Between Text and Others",
      "name": "Switch Between Text and Others",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Line Receiving",
      "name": "Line Receiving",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Error Handling from AI Response",
      "name": "Error Handling from AI Response",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Text Cleansing",
      "name": "Text Cleansing",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Line Answering (Error Case)",
      "name": "Line Answering (Error Case)",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Line Answering (Ordinary Case)",
      "name": "Line Answering (Ordinary Case)",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Google Calendar Create",
      "name": "Google Calendar Create",
      "integration": "googleCalendarTool",
      "kind": "action"
    },
    {
      "id": "Google Calendar Read",
      "name": "Google Calendar Read",
      "integration": "googleCalendarTool",
      "kind": "action"
    },
    {
      "id": "Gmail Read",
      "name": "Gmail Read",
      "integration": "gmailTool",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "OpenAI",
      "to": "Error Handling from AI Response"
    },
    {
      "from": "AI Agent",
      "to": "OpenAI"
    },
    {
      "from": "Line Receiving",
      "to": "Switch Between Text and Others"
    },
    {
      "from": "Text Cleansing",
      "to": "Line Answering (Ordinary Case)"
    },
    {
      "from": "Switch Between Text and Others",
      "to": "AI Agent"
    },
    {
      "from": "Switch Between Text and Others",
      "to": "Line Answering (Error Case)"
    },
    {
      "from": "Error Handling from AI Response",
      "to": "Text Cleansing"
    },
    {
      "from": "Error Handling from AI Response",
      "to": "Line Answering (Error Case)"
    }
  ]
}