{
  "openruna_format": "flow-graph-v1",
  "title": "1569_Stickynote_Notion_Automation_Webhook",
  "slug": "1569-stickynote-notion-automation-webhook",
  "source_filename": "1569_Stickynote_Notion_Automation_Webhook.json",
  "nodes": [
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Search notion database",
      "name": "Search notion database",
      "integration": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "kind": "action"
    },
    {
      "id": "Get database details",
      "name": "Get database details",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Search inside database record",
      "name": "Search inside database record",
      "integration": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "kind": "action"
    },
    {
      "id": "Format schema",
      "name": "Format schema",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "When chat message received",
      "name": "When chat message received",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Format schema",
      "to": "AI Agent"
    },
    {
      "from": "Get database details",
      "to": "Format schema"
    },
    {
      "from": "When chat message received",
      "to": "Get database details"
    }
  ]
}