{
  "openruna_format": "flow-graph-v1",
  "title": "AI Customer-Support Assistant · WhatsApp Ready · Works for Any Business",
  "slug": "ai-customer-support-assistant-whatsapp-ready-works-for-any-business",
  "source_filename": "1521_Whatsapp_Stickynote_Automation_Webhook.json",
  "nodes": [
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "list_links",
      "name": "list_links",
      "integration": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "WhatsApp Trigger",
      "name": "WhatsApp Trigger",
      "integration": "whatsApp",
      "kind": "trigger"
    },
    {
      "id": "cleanAnswer",
      "name": "cleanAnswer",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "get_page",
      "name": "get_page",
      "integration": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "kind": "action"
    },
    {
      "id": "24-hour window check",
      "name": "24-hour window check",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "If",
      "name": "If",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Send Pre-approved Template Message to Reopen the Conversation",
      "name": "Send Pre-approved Template Message to Reopen the Conversation",
      "integration": "whatsApp",
      "kind": "action"
    },
    {
      "id": "Send AI Agent's Answer",
      "name": "Send AI Agent's Answer",
      "integration": "whatsApp",
      "kind": "action"
    },
    {
      "id": "Postgres Users Memory",
      "name": "Postgres Users Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If",
      "to": "cleanAnswer"
    },
    {
      "from": "If",
      "to": "Send Pre-approved Template Message to Reopen the Conversation"
    },
    {
      "from": "AI Agent",
      "to": "24-hour window check"
    },
    {
      "from": "cleanAnswer",
      "to": "Send AI Agent's Answer"
    },
    {
      "from": "WhatsApp Trigger",
      "to": "AI Agent"
    },
    {
      "from": "24-hour window check",
      "to": "If"
    }
  ]
}