{
  "openruna_format": "flow-graph-v1",
  "title": "1251_Postgrestool_Stickynote_Automation_Triggered",
  "slug": "1251-postgrestool-stickynote-automation-triggered",
  "source_filename": "1251_Postgrestool_Stickynote_Automation_Triggered.json",
  "nodes": [
    {
      "id": "When chat message received",
      "name": "When chat message received",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "DB Schema",
      "name": "DB Schema",
      "integration": "postgresTool",
      "kind": "action"
    },
    {
      "id": "Get table definition",
      "name": "Get table definition",
      "integration": "postgresTool",
      "kind": "action"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Run SQL Query",
      "name": "Run SQL Query",
      "integration": "postgresTool",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "When chat message received",
      "to": "AI Agent"
    }
  ]
}