{
  "openruna_format": "flow-graph-v1",
  "title": "Optimize Prompt",
  "slug": "optimize-prompt",
  "source_filename": "1877_Telegram_Stickynote_Automation_Triggered.json",
  "nodes": [
    {
      "id": "When Executed by Another Workflow",
      "name": "When Executed by Another Workflow",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Telegram3",
      "name": "Telegram3",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Split into chunks1",
      "name": "Split into chunks1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Simple Memory",
      "name": "Simple Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "AI Agent",
      "to": "Split into chunks1"
    },
    {
      "from": "Split into chunks1",
      "to": "Telegram3"
    },
    {
      "from": "When Executed by Another Workflow",
      "to": "AI Agent"
    }
  ]
}