{"_id":"@alephantai/n8n-nodes-alephant-analytics-ai","_rev":"5-e9d83428b1f5180ba28f646fb1b06b0f","name":"@alephantai/n8n-nodes-alephant-analytics-ai","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@alephantai/n8n-nodes-alephant-analytics-ai","version":"0.1.0","keywords":["n8n-community-node-package","n8n","alephant","analytics","ai","agent","tool","finops"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-analytics-ai@0.1.0","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAnalyticsAi/AlephantAnalyticsAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"c4eebe6407d00075861857aeb635ea11a47ed0f8","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-analytics-ai/-/n8n-nodes-alephant-analytics-ai-0.1.0.tgz","fileCount":29,"integrity":"sha512-N5PYq2+XZZtPdFENMrad5pWKF932npOblInBKOLX2kCjlOY4rhslIAIcGsm7VBOZT1kUTaUc+qsogtDmqTBEsQ==","signatures":[{"sig":"MEYCIQDsOwxuExl6ZDyyhhv5Aq2YFAp63fwsKjRRRDZLWOAwLAIhALAa4YaBa76O4AmgpkLUqq6L7bscKisxtBbj+r+sRDfc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32508},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ca0d67cc21b9b386001470c765d66a662e799598","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"npm run clean && tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAnalyticsAi","clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"tengyu","email":"gengbingbing628@gmail.com"},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-analytics-ai"},"_npmVersion":"10.9.4","description":"n8n AI tool node for Alephant analytics","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"*"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-analytics-ai_0.1.0_1779504873827_0.782630514420555","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alephantai/n8n-nodes-alephant-analytics-ai","version":"0.1.1","keywords":["n8n-community-node-package","n8n","alephant","analytics","ai","agent","tool","finops"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-analytics-ai@0.1.1","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAnalyticsAi/AlephantAnalyticsAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"f80e709dccbea2d563b26e56f6965c7e208a00ce","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-analytics-ai/-/n8n-nodes-alephant-analytics-ai-0.1.1.tgz","fileCount":29,"integrity":"sha512-nBIRrF+6BOLiEoJzvuP5K81ktDoueZZv3jnR0qrsD0Vgg893jlchvN5/zz3zRi0NxFQ2uOIwoPHgCPNSF3IDkA==","signatures":[{"sig":"MEUCIQCmcxvnESZNYQ7qjNM1zwwkF/dLSB4Bi7VBmN3mMzVQ1QIgOThdsmzPLUljnx9kXNNsxxuebdS6F/07AAgOgQQM4HU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-analytics-ai@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32508},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"531121896af0fdd8cd978ea51433a7b2e294a35e","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"npm run clean && tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAnalyticsAi","clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0a7b43b-56dd-4e55-9d11-74a6b8652852"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-analytics-ai"},"_npmVersion":"11.15.0","description":"n8n AI tool node for Alephant analytics","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"*"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-analytics-ai_0.1.1_1779505115154_0.78278056320777","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@alephantai/n8n-nodes-alephant-analytics-ai","version":"0.1.2","keywords":["n8n-community-node-package","n8n","alephant","analytics","ai","agent","tool","finops"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-analytics-ai@0.1.2","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAnalyticsAi/AlephantAnalyticsAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"207226daba7406e359dcd6079c8723a53efee556","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-analytics-ai/-/n8n-nodes-alephant-analytics-ai-0.1.2.tgz","fileCount":29,"integrity":"sha512-vtkI70hBd7YdalZ8/ekLxpzrqq/uHcNWtPc5EvQDN7ja/TOvz6mwcgXsFtVJ6h+yRP3xoQeC/UB4oWAQ/anQCA==","signatures":[{"sig":"MEUCIHPYRjoVBBZX6PptFGJG8V4nFtUYtTbwRjSkCgASQR7pAiEA2dDcNUqrZHGeeldCcV7l4FGTyJRM24qqNuoswLYssoQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-analytics-ai@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32508},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d8ddac4c21687da3e3f8751bf2b786d6e7486ecb","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"npm run clean && tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAnalyticsAi","clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0a7b43b-56dd-4e55-9d11-74a6b8652852"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-analytics-ai"},"_npmVersion":"11.15.0","description":"n8n AI tool node for Alephant analytics","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"*"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-analytics-ai_0.1.2_1779505956326_0.8654832701896618","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alephantai/n8n-nodes-alephant-analytics-ai","version":"0.1.3","keywords":["n8n-community-node-package","n8n","alephant","analytics","ai","agent","tool","finops"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-analytics-ai@0.1.3","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAnalyticsAi/AlephantAnalyticsAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"8a59ea64b829c7a8eec47d5a9de69c49509d2344","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-analytics-ai/-/n8n-nodes-alephant-analytics-ai-0.1.3.tgz","fileCount":29,"integrity":"sha512-peObNNJWY/7vgUi1xN82ASrXaJvnOKh0vnTpNON7iptcWEpbIGTLK9O3PAVX3uYLTP1CtxAdChUNCbnCBEAMgg==","signatures":[{"sig":"MEQCIEJr4N6PZyWW/8xhjsu7HmlKEwIUehsVFqITZDtnLQI7AiA+gCyOq2PYCHY+P3ASDKnN35LxWA/pDJWA3kN+udoTYA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-analytics-ai@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36006},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fe393198fb8075e57a8ad1df185d897ae2e04c48","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"npm run clean && tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAnalyticsAi","clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0a7b43b-56dd-4e55-9d11-74a6b8652852"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-analytics-ai"},"_npmVersion":"11.15.0","description":"n8n AI tool node for Alephant analytics","directories":{},"_nodeVersion":"24.15.0","dependencies":{"zod":"^3.25.67","@langchain/core":"^1.1.46"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"*"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-analytics-ai_0.1.3_1779508742800_0.10302254131023614","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alephantai/n8n-nodes-alephant-analytics-ai","version":"0.1.4","description":"n8n AI tool node for Alephant analytics","license":"MIT","homepage":"https://alephant.io","author":{"name":"Alephant","email":"dev@alephant.io","url":"https://alephant.io"},"repository":{"type":"git","url":"git+https://github.com/AlephantAI/alephant-n8n.git","directory":"packages/alephant-analytics-ai"},"keywords":["n8n-community-node-package","n8n","alephant","analytics","ai","agent","tool","finops"],"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"","build":"npm run clean && tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAnalyticsAi","lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","prepublishOnly":"npm run lint && npm run test && npm run build"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"nodes":["dist/nodes/AlephantAnalyticsAi/AlephantAnalyticsAi.node.js"]},"peerDependencies":{"n8n-workflow":"*"},"dependencies":{"@langchain/core":"^1.1.46"},"devDependencies":{"n8n-workflow":"*","typescript":"^5.6.3"},"gitHead":"663d5cac4a43aa0371ab7d604009ec1896fec81f","_id":"@alephantai/n8n-nodes-alephant-analytics-ai@0.1.4","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"_nodeVersion":"24.15.0","_npmVersion":"11.15.0","dist":{"integrity":"sha512-7laRu405b3aohCalxGff3Jv9XbRJ3sqwNe8nL/mjQsdnTGBMM7YoO7TxIxdgjZ6OSU7M4xWEdpUlt0AzDJwBcA==","shasum":"029a25ffe2bd5855579ba2c8398eb1e747a460b8","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-analytics-ai/-/n8n-nodes-alephant-analytics-ai-0.1.4.tgz","fileCount":29,"unpackedSize":36848,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-analytics-ai@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAOddyi2HyDXpTNDAvxBVOa3DYYo5HiTEyx119oi5baaAiB9fViQwDVJlLfetp93SMHkGRPx2Vao4DPD47fjzcYv5w=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0a7b43b-56dd-4e55-9d11-74a6b8652852"}},"directories":{},"maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-alephant-analytics-ai_0.1.4_1779510396768_0.6294368857837247"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-23T02:54:33.687Z","modified":"2026-05-23T04:26:37.299Z","0.1.0":"2026-05-23T02:54:34.006Z","0.1.1":"2026-05-23T02:58:35.327Z","0.1.2":"2026-05-23T03:12:36.455Z","0.1.3":"2026-05-23T03:59:02.952Z","0.1.4":"2026-05-23T04:26:36.958Z"},"bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"author":{"name":"Alephant","email":"dev@alephant.io","url":"https://alephant.io"},"license":"MIT","homepage":"https://alephant.io","keywords":["n8n-community-node-package","n8n","alephant","analytics","ai","agent","tool","finops"],"repository":{"type":"git","url":"git+https://github.com/AlephantAI/alephant-n8n.git","directory":"packages/alephant-analytics-ai"},"description":"n8n AI tool node for Alephant analytics","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"readme":"# @alephantai/n8n-nodes-alephant-analytics-ai\n\nn8n community node package for using Alephant analytics as an AI Agent tool.\n\nThis package adds the **Alephant-Analytics-AI** node to n8n. It reuses the Alephant analytics operations for usage summaries, budget status, costs, recent requests, and request log lookups, but exposes them as an AI tool connection for agent workflows.\n\n## Installation\n\nInstall this package from n8n Community Nodes:\n\n1. Open n8n.\n2. Go to **Settings**.\n3. Open **Community Nodes**.\n4. Choose **Install**.\n5. Enter `@alephantai/n8n-nodes-alephant-analytics-ai`.\n6. Confirm the installation.\n\nFor self-hosted n8n, restart the instance if your deployment requires it after installing community nodes.\n\n## Authentication\n\nThe node uses **Alephant Virtual Key** credentials.\n\nCreate or copy a Virtual Key from Alephant, then add a credential in n8n with:\n\n- Virtual Key\n- Optional SaaS Base URL\n- Optional Analytics Base URL\n- Optional Workspace ID\n\nThe default production URLs are:\n\n- SaaS Base URL: `https://alephant.io`\n- Analytics Base URL: `https://analytics.alephant.io`\n\nThe Alephant quickstart explains the same Virtual Key concept:\n\nhttps://developers.alephant.io/docs/overview/getting-started/quickstart-guide\n\n## AI Agent Usage\n\nAdd **Alephant-Analytics-AI** to an n8n AI Agent workflow and connect it to the agent tool input.\n\nThe node exposes `operation` and `period` options with a `filled by AI` choice so the agent can select the analytics operation and time window from the user prompt.\n\nRecommended default agent prompts include clear analytics intent, such as:\n\n- \"Summarize AI usage for the last 7 days.\"\n- \"Check whether the workspace is close to budget.\"\n- \"Show recent AI gateway requests.\"\n- \"Find details for this request log ID.\"\n\n## Operations\n\nThe AI tool can run the same analytics operations as the standard Alephant analytics node:\n\n- Scope\n- Budget Status\n- Usage Summary\n- Daily Costs\n- Cost by Model\n- Recent Requests\n- Request Log Detail\n\n## Request Log Detail\n\nFor request log lookups, provide a request log ID in the workflow item or let the AI Agent fill the parameter.\n\nThe node resolves Workspace ID from:\n\n- Node parameter\n- Incoming item JSON\n- Credential Workspace ID\n- Alephant Scope response\n\n## Package Notes\n\nThis package is intentionally separate from `@alephantai/n8n-nodes-alephant-analytics`.\n\nUse the standard analytics package for regular n8n workflow nodes.\n\nUse this package when you need the analytics capability as an AI Agent tool.\n","readmeFilename":"README.md"}