{"_id":"@baoplh/n8n-nodes-zalo-bot","_rev":"5-4521dd274edd18ed93a0b4c6d91d7f18","name":"@baoplh/n8n-nodes-zalo-bot","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.6":{"name":"@baoplh/n8n-nodes-zalo-bot","version":"0.0.6","keywords":["n8n-community-node-package","n8n-nodes","zalo","chatbot"],"license":"MIT","_id":"@baoplh/n8n-nodes-zalo-bot@0.0.6","maintainers":[{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"}],"n8n":{"nodes":["dist/nodes/Zalo/Zalo.node.js","dist/nodes/Zalo/ZaloTrigger.node.js","dist/nodes/Zalo/ZaloPollingTrigger.node.js"],"credentials":["dist/credentials/ZaloOaApi.credentials.js"]},"dist":{"shasum":"0a3c31a77649a72a2583a725f53e843ae892c874","tarball":"https://registry.npmjs.org/@baoplh/n8n-nodes-zalo-bot/-/n8n-nodes-zalo-bot-0.0.6.tgz","fileCount":13,"integrity":"sha512-xQ5a2cIbG11R55acZv7luM2+T4WRUoHPfaQHT0ljzLx6s+AKsDxQaweywcHp5NZ3Zphf+DNULJBzH82Dn4XOtA==","signatures":[{"sig":"MEUCICZOp+JfqpXOgbRIpicNbiKIspNrkjt5otCY2A+d63D5AiEAxk+7YcJEScUJIKv8OGaNHSX4ucbi7/XEi2DAWVWsxUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43178},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.10.0"},"gitHead":"4636a56a36cb3e6e6b1d237a7f344597577c5e06","scripts":{"dev":"tsc -w -p tsconfig.build.json","lint":"eslint src --ext .ts","build":"tsc -p tsconfig.build.json && node scripts/copy-assets.js","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\"","lint:fix":"eslint src --ext .ts --fix","format:check":"prettier --check \"src/**/*.ts\"","publish:token":"node scripts/publish.js","release:major":"npm version major -m \"chore: release %s\" && npm run publish:token","release:minor":"npm version minor -m \"chore: release %s\" && npm run publish:token","release:patch":"npm version patch -m \"chore: release %s\" && npm run publish:token","prepublishOnly":"npm run build"},"_npmUser":{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"},"_npmVersion":"10.8.3","description":"Community node for n8n to integrate with Zalo Bot Platform (send messages, get profiles, webhooks)","directories":{},"_nodeVersion":"22.9.0","dependencies":{"node-fetch":"^2.6.12","node-zalo-bot":"^0.1.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"dotenv":"^17.2.3","eslint":"^8.56.0","n8n-core":"^1.98.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.11.30","n8n-workflow":"^1.98.0","@types/node-fetch":"^2.6.12","@typescript-eslint/parser":"^7.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"n8n-core":">=1.0.0","n8n-workflow":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-zalo-bot_0.0.6_1768045755487_0.8066244011722659","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@baoplh/n8n-nodes-zalo-bot","version":"0.0.7","keywords":["n8n-community-node-package","n8n-nodes","zalo","chatbot"],"license":"MIT","_id":"@baoplh/n8n-nodes-zalo-bot@0.0.7","maintainers":[{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"}],"n8n":{"nodes":["dist/nodes/Zalo/Zalo.node.js","dist/nodes/Zalo/ZaloTrigger.node.js","dist/nodes/Zalo/ZaloPollingTrigger.node.js"],"credentials":["dist/credentials/ZaloOaApi.credentials.js"]},"dist":{"shasum":"cdde8822c3f42fcfb53ee057c3e7dbb63adf0c81","tarball":"https://registry.npmjs.org/@baoplh/n8n-nodes-zalo-bot/-/n8n-nodes-zalo-bot-0.0.7.tgz","fileCount":25,"integrity":"sha512-YiySdtHBX65VB4MFmmOYedc7sq6srbgdiqXPKfm5M2azD0gfUUkZlKZmkNSv0+eTjmILNalaNbr2C8moRnxIdw==","signatures":[{"sig":"MEUCIHvOuiQiEfNGcKclg51T9B+gfBfr7fjcEm4lifR81wiyAiEAkBWjkFw2PPYKgwKxL1jc3c+ZihBXAO9Qu7bbKjTxdNQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49881},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.10.0"},"gitHead":"c251d0de94135eec9cbe2d628ed7a60f778f2aaf","scripts":{"dev":"tsc -w -p tsconfig.build.json","lint":"eslint src --ext .ts","build":"tsc -p tsconfig.build.json && node scripts/copy-assets.js","clean":"rm -rf dist","start":"tsx src/zalo/ZaloBotPolling.ts","format":"prettier --write \"src/**/*.ts\"","lint:fix":"eslint src --ext .ts --fix","format:check":"prettier --check \"src/**/*.ts\"","publish:token":"node scripts/publish.js","release:major":"npm version major -m \"chore: release %s\" && npm run publish:token","release:minor":"npm version minor -m \"chore: release %s\" && npm run publish:token","release:patch":"npm version patch -m \"chore: release %s\" && npm run publish:token","prepublishOnly":"npm run build"},"_npmUser":{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"},"_npmVersion":"10.8.3","description":"Community node for n8n to integrate with Zalo Bot Platform (send messages, get profiles, webhooks)","directories":{},"_nodeVersion":"22.9.0","dependencies":{"axios":"^1.13.2","node-fetch":"^2.6.12","eventemitter3":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsx":"^4.21.0","dotenv":"^17.2.3","eslint":"^8.56.0","n8n-core":"^1.98.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.11.30","n8n-workflow":"^1.98.0","@types/node-fetch":"^2.6.12","@typescript-eslint/parser":"^7.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"n8n-core":">=1.0.0","n8n-workflow":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-zalo-bot_0.0.7_1768113938897_0.7129979971636022","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@baoplh/n8n-nodes-zalo-bot","version":"1.0.0","keywords":["n8n-community-node-package","n8n-nodes","zalo","chatbot"],"license":"MIT","_id":"@baoplh/n8n-nodes-zalo-bot@1.0.0","maintainers":[{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"}],"n8n":{"nodes":["dist/nodes/Zalo/Zalo.node.js","dist/nodes/Zalo/ZaloTrigger.node.js","dist/nodes/Zalo/ZaloPollingTrigger.node.js"],"credentials":["dist/credentials/ZaloOaApi.credentials.js"]},"dist":{"shasum":"50758baff5df493d29c6678def8bd8074a9f0680","tarball":"https://registry.npmjs.org/@baoplh/n8n-nodes-zalo-bot/-/n8n-nodes-zalo-bot-1.0.0.tgz","fileCount":25,"integrity":"sha512-l1QMxv7k3jgAAR/rMiYTFXg1GPTsYx1ihcBu+9qY0pbBOzvsFEGZrcLy6YMmzB5cRwC0sKBwu+GkT9xuZp5INQ==","signatures":[{"sig":"MEQCIBbyEzfM14+k1cLUiUIirgOo+IFWgKVdx0SYKWNydkcYAiASjk3eH9HtX4VGYyyIUcJfPfz3a1beKmY7MwE4uet3MQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51127},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.10.0"},"gitHead":"d58293830d27d44c41107333a8de48644e0877f7","scripts":{"dev":"tsc -w -p tsconfig.build.json","lint":"eslint src --ext .ts","build":"tsc -p tsconfig.build.json && node scripts/copy-assets.js","clean":"rm -rf dist","start":"tsx src/zalo/ZaloBotPolling.ts","format":"prettier --write \"src/**/*.ts\"","lint:fix":"eslint src --ext .ts --fix","format:check":"prettier --check \"src/**/*.ts\"","publish:token":"node scripts/publish.js","release:major":"npm version major -m \"chore: release %s\" && npm run publish:token","release:minor":"npm version minor -m \"chore: release %s\" && npm run publish:token","release:patch":"npm version patch -m \"chore: release %s\" && npm run publish:token","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"},"_npmVersion":"10.8.3","description":"Community node for n8n to integrate with Zalo Bot Platform (send messages, get profiles, webhooks)","directories":{},"_nodeVersion":"22.9.0","dependencies":{"axios":"^1.13.2","node-fetch":"^2.6.12","eventemitter3":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsx":"^4.21.0","dotenv":"^17.2.3","eslint":"^8.56.0","n8n-core":"^1.98.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.11.30","n8n-workflow":"^1.98.0","@types/node-fetch":"^2.6.12","@typescript-eslint/parser":"^7.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"n8n-core":">=1.0.0","n8n-workflow":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-zalo-bot_1.0.0_1768127285498_0.7750188132954219","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@baoplh/n8n-nodes-zalo-bot","version":"1.0.1","keywords":["n8n-community-node-package","n8n-nodes","zalo","chatbot"],"author":{"url":"https://github.com/baopahn","name":"baoplh"},"license":"MIT","_id":"@baoplh/n8n-nodes-zalo-bot@1.0.1","maintainers":[{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"}],"homepage":"https://github.com/baopahn/n8n-nodes-zalo-bot#readme","bugs":{"url":"https://github.com/baopahn/n8n-nodes-zalo-bot/issues"},"n8n":{"nodes":["dist/nodes/Zalo/Zalo.node.js","dist/nodes/Zalo/ZaloTrigger.node.js","dist/nodes/Zalo/ZaloPollingTrigger.node.js"],"credentials":["dist/credentials/ZaloOaApi.credentials.js"]},"dist":{"shasum":"56f0c79b44ebc5c8f6351aa8cf037c6dc6941da6","tarball":"https://registry.npmjs.org/@baoplh/n8n-nodes-zalo-bot/-/n8n-nodes-zalo-bot-1.0.1.tgz","fileCount":25,"integrity":"sha512-iOlsopbGQbMgsxfT39QE5w/BPtmYWRLAdxP6n5CD4XoFvdEfH1SmDs1B9zb7pS5HW+eXaNh95f0izEfaKmPrsw==","signatures":[{"sig":"MEUCIDv6pULmhYZ9t4Y2yIXiN31S82RcfdyR01TKG0OHIAmsAiEAybci7naPL/YtcCTjBetcbkURDiFs8b/L4+39vH/7PDI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51331},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.10.0"},"gitHead":"a29d62ab54d9340b9d593dc79ce8d392377b1528","scripts":{"dev":"tsc -w -p tsconfig.build.json","lint":"eslint src --ext .ts","build":"tsc -p tsconfig.build.json && node scripts/copy-assets.js","clean":"rm -rf dist","start":"tsx src/zalo/ZaloBotPolling.ts","format":"prettier --write \"src/**/*.ts\"","lint:fix":"eslint src --ext .ts --fix","format:check":"prettier --check \"src/**/*.ts\"","publish:token":"node scripts/publish.js","release:major":"npm version major -m \"chore: release %s\" && npm run publish:token","release:minor":"npm version minor -m \"chore: release %s\" && npm run publish:token","release:patch":"npm version patch -m \"chore: release %s\" && npm run publish:token","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"},"repository":{"url":"git+https://github.com/baopahn/n8n-nodes-zalo-bot.git","type":"git"},"_npmVersion":"10.8.3","description":"Community node for n8n to integrate with Zalo Bot Platform (send messages, get profiles, webhooks)","directories":{},"_nodeVersion":"22.9.0","dependencies":{"axios":"^1.13.2","eventemitter3":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsx":"^4.21.0","dotenv":"^17.2.3","eslint":"^8.56.0","n8n-core":"^1.98.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.11.30","n8n-workflow":"^1.98.0","@typescript-eslint/parser":"^7.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"n8n-core":">=1.0.0","n8n-workflow":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-zalo-bot_1.0.1_1768128309191_0.48612476247559444","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@baoplh/n8n-nodes-zalo-bot","version":"1.0.2","description":"Community node for n8n to integrate with Zalo Bot Platform (send messages, get profiles, webhooks)","license":"MIT","author":{"name":"baoplh","url":"https://github.com/baopahn"},"repository":{"type":"git","url":"git+https://github.com/baopahn/n8n-nodes-zalo-bot.git"},"bugs":{"url":"https://github.com/baopahn/n8n-nodes-zalo-bot/issues"},"homepage":"https://github.com/baopahn/n8n-nodes-zalo-bot#readme","keywords":["n8n-community-node-package","n8n-nodes","zalo","chatbot"],"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.build.json && node scripts/copy-assets.js","dev":"tsc -w -p tsconfig.build.json","start":"tsx src/zalo/ZaloBotPolling.ts","clean":"rm -rf dist","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","format":"prettier --write \"src/**/*.ts\"","format:check":"prettier --check \"src/**/*.ts\"","prepublishOnly":"npm run clean && npm run build","publish:token":"node scripts/publish.js","release:patch":"npm version patch -m \"chore: release %s\" && npm run publish:token","release:minor":"npm version minor -m \"chore: release %s\" && npm run publish:token","release:major":"npm version major -m \"chore: release %s\" && npm run publish:token"},"n8n":{"nodes":["dist/nodes/Zalo/Zalo.node.js","dist/nodes/Zalo/ZaloTrigger.node.js","dist/nodes/Zalo/ZaloPollingTrigger.node.js"],"credentials":["dist/credentials/ZaloOaApi.credentials.js"]},"dependencies":{"axios":"^1.13.2","eventemitter3":"^5.0.1"},"peerDependencies":{"n8n-core":">=1.0.0","n8n-workflow":">=1.0.0"},"devDependencies":{"@types/node":"^20.11.30","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","dotenv":"^17.2.3","eslint":"^8.56.0","n8n-core":"^1.98.0","n8n-workflow":"^1.98.0","prettier":"^3.2.5","tsx":"^4.21.0","typescript":"^5.4.5"},"engines":{"node":">=18.10.0"},"packageManager":"pnpm@10.10.0","publishConfig":{"access":"public"},"_id":"@baoplh/n8n-nodes-zalo-bot@1.0.2","gitHead":"1d7c09836bfb6ad504cc141ce3d2a1435fefd101","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-vgpnztEr22pE0yb6BAnuSvEOWad8SPUBSfR8chws7YiNQu3X1hFdDG4dp1nVgc45QbzlJ+lxmmQeyZcaFWlodg==","shasum":"bc722c5356dc0a22c699edfdcb03649d1a05b87d","tarball":"https://registry.npmjs.org/@baoplh/n8n-nodes-zalo-bot/-/n8n-nodes-zalo-bot-1.0.2.tgz","fileCount":25,"unpackedSize":51400,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC9lIxHMOtpzllO4AiuqkTQ6jFxSAqQu/+YLXblh+yS7gIhAN/qPfXSp5bEHt8PnkRz9J96rhHPzdzctn57EvNnxxi2"}]},"_npmUser":{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"},"directories":{},"maintainers":[{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-zalo-bot_1.0.2_1768232669779_0.5103622058417574"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-10T11:49:15.435Z","modified":"2026-01-12T15:44:30.103Z","0.0.6":"2026-01-10T11:49:15.642Z","0.0.7":"2026-01-11T06:45:39.086Z","1.0.0":"2026-01-11T10:28:05.657Z","1.0.1":"2026-01-11T10:45:09.351Z","1.0.2":"2026-01-12T15:44:29.912Z"},"bugs":{"url":"https://github.com/baopahn/n8n-nodes-zalo-bot/issues"},"author":{"name":"baoplh","url":"https://github.com/baopahn"},"license":"MIT","homepage":"https://github.com/baopahn/n8n-nodes-zalo-bot#readme","keywords":["n8n-community-node-package","n8n-nodes","zalo","chatbot"],"repository":{"type":"git","url":"git+https://github.com/baopahn/n8n-nodes-zalo-bot.git"},"description":"Community node for n8n to integrate with Zalo Bot Platform (send messages, get profiles, webhooks)","maintainers":[{"name":"baoplh","email":"phanlehoaibaok10@gmail.com"}],"readme":"# n8n-nodes-zalo-bot\n\nCommunity node for n8n to integrate with Zalo Bot Platform.\n\n## Installation\n\n### Community Node (Recommended)\n\nIn n8n, go to **Settings > Community Nodes** and install:\n\n```\n@baoplh/n8n-nodes-zalo-bot\n```\n\n### Manual Install\n\n```bash\ncd ~/.n8n/nodes\nnpm install @baoplh/n8n-nodes-zalo-bot\n```\n\nThen restart n8n.\n\n## Features\n\n### Zalo Bot Node\n\n- **Bot Operations:**\n  - `getMe` - Get bot information\n  - `getUpdates` - Get updates from bot\n  - `setWebhook` - Configure webhook\n  - `deleteWebhook` - Delete webhook\n  - `getWebhookInfo` - Get webhook information\n\n- **Message Operations:**\n  - `sendMessage` - Send text message\n  - `sendPhoto` - Send photo\n  - `sendSticker` - Send sticker\n  - `sendChatAction` - Show typing status\n\n### Zalo Bot Trigger (Webhook)\n\nWebhook trigger to receive events from Zalo Bot:\n- Auto-register webhook on activation\n- Validate requests with secret token\n- Support all event types\n- **Requires public URL** (for production)\n\n### Zalo Polling Bot Trigger ⭐\n\nPolling trigger to receive messages from Zalo Bot **without public URL**:\n- ✅ **No public domain required** - Perfect for local development and testing\n- ✅ Works behind firewall/NAT\n- ✅ Easy setup - Just activate and start receiving messages\n- Configurable polling interval (default: 3000ms)\n- Support multiple event types (message, text, photo, sticker)\n- Auto-start/stop with workflow activation\n\n**Use Cases:**\n- 🔧 Local development and testing\n- 🏠 Self-hosted n8n without public domain\n- 🔒 Secure environments with restricted network access\n- 💡 Quick prototyping without webhook setup\n\n## Configuration\n\n### Credentials\n\nCreate a new credential with type **Zalo Bot API**:\n\n1. **Access Token**: Your bot token (format: `BOT_ID:SECRET_TOKEN`)\n2. **Secret Key**: (Optional) Key for webhook signature verification\n\n### Get Bot Token\n\n1. Visit [Zalo Bot Platform](https://bot.zapps.me)\n2. Create a new bot or select an existing one\n3. Copy the **Bot Token** from dashboard\n\n## Usage Examples\n\n### Send Message\n\n1. Add **Zalo Bot** node\n2. Select Resource: **Message**\n3. Select Operation: **sendMessage**\n4. Enter **Chat ID** and **Text**\n\n### Receive Webhook\n\n1. Add **Zalo Bot Trigger** node\n2. Configure **Secret Token** (auto-generated if left empty)\n3. Activate workflow\n4. Webhook will be automatically registered\n5. **Note:** Requires n8n with public HTTPS URL\n\n### Polling Mode - No Public URL Required! 🚀\n\n**Perfect for local development and self-hosted instances:**\n\n1. Add **Zalo Polling Bot Trigger** node\n2. Configure **Polling Interval** (default: 3000ms)\n   - Shorter interval = faster response, more API calls\n   - Longer interval = slower response, fewer API calls\n3. Select event types to listen for:\n   - `message` - All messages\n   - `text` - Text messages only\n   - `photo` - Messages with photos\n   - `sticker` - Sticker messages\n4. Activate workflow - **That's it!** No webhook configuration needed\n\n**Comparison:**\n\n| Feature | Webhook Trigger | Polling Trigger |\n|---------|----------------|-----------------|\n| Public URL | ✅ Required | ❌ Not Required |\n| Real-time | ✅ Instant | ⚠️ Near real-time |\n| Setup | Complex | Simple |\n| Firewall | Must allow inbound | Works anywhere |\n| Best for | Production | Development/Testing |\n\n## Development\n\n### Build\n\n```bash\npnpm run build\n```\n\n### Development mode\n\n```bash\npnpm run dev\n```\n\n### Publish\n\n```bash\n# Patch version\npnpm run release:patch\n\n# Minor version\npnpm run release:minor\n\n# Major version\npnpm run release:major\n```\n\n## License\n\nMIT\n\n## Links\n\n- [Zalo Bot Platform](https://bot.zapps.me)\n- [Documentation](https://bot.zapps.me/docs)\n- [n8n Community Nodes](https://docs.n8n.io/integrations/community-nodes/)\n","readmeFilename":"README.md"}