{"_id":"@automateitplease/n8n-nodes-smartlead","_rev":"2-08a1526b3825677bf5d32ab46ab9877a","name":"@automateitplease/n8n-nodes-smartlead","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.3":{"name":"@automateitplease/n8n-nodes-smartlead","version":"1.0.3","keywords":["n8n-community-node-package","n8n","smartlead","cold-email","sales-automation","webhooks"],"author":{"name":"Naveen Choudhary"},"license":"MIT","_id":"@automateitplease/n8n-nodes-smartlead@1.0.3","maintainers":[{"name":"naveen_automateitplease","email":"automateitplease@gmail.com"}],"homepage":"https://github.com/naveen8875/smartlead-n8n-community","bugs":{"url":"https://github.com/naveen8875/smartlead-n8n-community/issues"},"n8n":{"nodes":["dist/nodes/SmartLead/SmartLead.node.js","dist/nodes/SmartLeadTrigger/SmartLeadTrigger.node.js"],"strict":true,"credentials":["dist/credentials/SmartLeadApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"57b68d3e4b151a120152198396607f96a4516d21","tarball":"https://registry.npmjs.org/@automateitplease/n8n-nodes-smartlead/-/n8n-nodes-smartlead-1.0.3.tgz","fileCount":27,"integrity":"sha512-p/mVRoig3U8D7DcydhdUm9JiuU9pCEl6wi0oJHqS3jv9seKCQdevoDM1a1qFaG3453gXdGSY0zvfpU58Cvz2mA==","signatures":[{"sig":"MEYCIQDuUVskg27WxK5MnoQdw9a5lvr2GbdgDEa9QacD0Uv39gIhAPQSF+Atv/FwcYyQAKLduCy6YXR+4BS0wDdfVml/Ku40","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@automateitplease%2fn8n-nodes-smartlead@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161519},"engines":{"node":">=22"},"gitHead":"da9a81e765fec2d3ceb9472f8a7b9eb7936f4265","scripts":{"dev":"n8n-node dev","lint":"n8n-node lint","test":"npm run build --silent && node --test test/*.test.mjs","build":"n8n-node build","release":"n8n-node release","lint:fix":"n8n-node lint --fix","build:watch":"tsc --watch","prepublishOnly":"n8n-node prerelease"},"_npmUser":{"name":"naveen_automateitplease","email":"automateitplease@gmail.com"},"repository":{"url":"git+https://github.com/naveen8875/smartlead-n8n-community.git","type":"git"},"_npmVersion":"11.11.0","description":"Community SmartLead integration for n8n with core API coverage and webhook trigger support","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"9.39.4","prettier":"3.8.1","release-it":"19.2.4","typescript":"5.9.3","@n8n/node-cli":"0.23.0"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-smartlead_1.0.3_1775305735290_0.7797565106115683","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"publishConfig":{"access":"public"},"name":"@automateitplease/n8n-nodes-smartlead","version":"1.0.4","description":"Community SmartLead integration for n8n with core API coverage and webhook trigger support","license":"MIT","homepage":"https://github.com/naveen8875/smartlead-n8n-community","keywords":["n8n-community-node-package","n8n","smartlead","cold-email","sales-automation","webhooks"],"author":{"name":"Naveen Choudhary"},"repository":{"type":"git","url":"git+https://github.com/naveen8875/smartlead-n8n-community.git"},"engines":{"node":">=22"},"scripts":{"build":"n8n-node build","build:watch":"tsc --watch","dev":"n8n-node dev","lint":"n8n-node lint","lint:fix":"n8n-node lint --fix","release":"n8n-node release","prepublishOnly":"n8n-node prerelease","test":"npm run build --silent && node --test test/*.test.mjs"},"n8n":{"n8nNodesApiVersion":1,"strict":true,"credentials":["dist/credentials/SmartLeadApi.credentials.js"],"nodes":["dist/nodes/SmartLead/SmartLead.node.js","dist/nodes/SmartLeadTrigger/SmartLeadTrigger.node.js"]},"devDependencies":{"@n8n/node-cli":"0.23.0","eslint":"9.39.4","prettier":"3.8.1","release-it":"19.2.4","typescript":"5.9.3"},"peerDependencies":{"n8n-workflow":"*"},"gitHead":"e56ce95af628e0caffca3a34c7f796aa359760a5","_id":"@automateitplease/n8n-nodes-smartlead@1.0.4","bugs":{"url":"https://github.com/naveen8875/smartlead-n8n-community/issues"},"_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-HC3ksMXcjdWfafWPaXbiQUiiiL+2KCKY0w4baE7nKvtMVf+Vb/P7G/de6hBZNmJJ+KcVG55yPKy2UUomWTpaNA==","shasum":"8249c620f11850fa25339cce4688c7450394b708","tarball":"https://registry.npmjs.org/@automateitplease/n8n-nodes-smartlead/-/n8n-nodes-smartlead-1.0.4.tgz","fileCount":27,"unpackedSize":174419,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@automateitplease%2fn8n-nodes-smartlead@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDl8mU4YmHnX3lxQvM7xAtMfQfauxwUlIA7TUjTzDJqRQIhAOO6hSSXGymK1Hw6/IPnzgijPX0PgKPWS4HZuwlTvKAf"}]},"_npmUser":{"name":"naveen_automateitplease","email":"automateitplease@gmail.com"},"directories":{},"maintainers":[{"name":"naveen_automateitplease","email":"automateitplease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-smartlead_1.0.4_1775306517624_0.5235461504279826"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-04T12:28:55.214Z","modified":"2026-04-04T12:41:58.103Z","1.0.3":"2026-04-04T12:28:55.444Z","1.0.4":"2026-04-04T12:41:57.772Z"},"bugs":{"url":"https://github.com/naveen8875/smartlead-n8n-community/issues"},"author":{"name":"Naveen Choudhary"},"license":"MIT","homepage":"https://github.com/naveen8875/smartlead-n8n-community","keywords":["n8n-community-node-package","n8n","smartlead","cold-email","sales-automation","webhooks"],"repository":{"type":"git","url":"git+https://github.com/naveen8875/smartlead-n8n-community.git"},"description":"Community SmartLead integration for n8n with core API coverage and webhook trigger support","maintainers":[{"name":"naveen_automateitplease","email":"automateitplease@gmail.com"}],"readme":"# @automateitplease/n8n-nodes-smartlead\n\nCommunity SmartLead node package for n8n.\n\n## Package Contents\n\n- `smartLead` action node (resource/operation model)\n- `smartLeadTrigger` trigger node (campaign + global webhook scopes)\n- `smartLeadApi` credential (query-param `api_key` auth)\n\n## Installation\n\n### Community Nodes UI (self-hosted n8n)\n\n1. Open **Settings > Community Nodes**.\n2. Select **Install**.\n3. Enter: `@automateitplease/n8n-nodes-smartlead`.\n4. Accept risk notice and install.\n\n### npm\n\n```bash\nnpm install @automateitplease/n8n-nodes-smartlead\n```\n\n## Authentication\n\nUse the **SmartLead API** credential:\n\n- Create API key in SmartLead settings.\n- Paste it into `API Key` field.\n\nSecurity note: SmartLead requires `api_key` in query params. This package follows SmartLead's official auth behavior.\n\n## Operation Matrix (v1.0)\n\n| Resource | Coverage |\n|---|---|\n| Campaign | list/get/create/delete/status/settings/schedule/sequences/email account attach-detach/subsequence/reply-forward/test/team-member |\n| Lead | add/list/get/update/pause/resume/mark-complete/unsubscribe/delete/message-history/activities/get-by-email/categories/list flows |\n| Email Account | list/get/add SMTP/add OAuth/update/delete/warmup update/stats/suspend-unsuspend/tag management |\n| Campaign Webhook | list/create-update/delete/summary/retrigger |\n| Global Webhook | create/get/update/delete |\n| Master Inbox | list views/get by ID/reply/forward/read status/category-revenue updates/reminders/notes/tasks/assignment |\n| Campaign Analytics | campaign stats/analytics/date-range analytics/lead stats/mailbox stats/export |\n| Global Analytics | top-level/campaign/client/mailbox/lead/team performance endpoints |\n| Smart Delivery | provider IDs/tests/reports/deliverability and mailbox health/folders |\n| Client | create/list/update/manage API keys |\n| Utility | verify email/send single email |\n\n## Trigger Node (`smartLeadTrigger`)\n\nParameters:\n\n- `scope`: `campaign` or `global`\n- `campaignId`: required for `campaign` scope\n- `associationType`: required for `global` scope (`1 user`, `2 client`, `3 campaign`)\n- `associationId`: required for global association types `2` and `3`\n- `events` (multi-select):\n  - `EMAIL_SENT`\n  - `EMAIL_OPENED`\n  - `EMAIL_CLICKED`\n  - `EMAIL_REPLIED`\n  - `EMAIL_BOUNCED`\n  - `EMAIL_UNSUBSCRIBED`\n- `normalizePayload`: include normalized lead/event fields for downstream nodes\n\nLifecycle behavior:\n\n- On activation: checks existing registration, then creates webhook if needed.\n- On deactivation: deletes webhook registration.\n- On receive: emits SmartLead payload (raw or normalized).\n\n## Example Workflows\n\nStored in `examples/workflows`:\n\n1. `reply-alerting.json`\n2. `bounce-cleanup.json`\n3. `campaign-health-digest.json`\n4. `mailbox-warmup-monitoring.json`\n5. `auto-tagging.json`\n6. `reminder-automation.json`\n7. `daily-analytics-sync.json`\n8. `client-webhook-fanout.json`\n\n## Local Development\n\nNode.js `>=22` is required.\n\n```bash\nnpm install\nnpm run lint\nnpm run build\nnpm run test\nnpm run dev\n```\n\n## Release + Verification\n\nThis repo includes GitHub Actions CI and npm publish with provenance (`.github/workflows/publish.yml`).\n\n1. Configure npm Trusted Publisher for this GitHub repo/workflow.\n2. Run `npm run release`.\n3. Push created tag to trigger publish workflow.\n4. After package is on npm, run scanner:\n   ```bash\n   npx @n8n/scan-community-package @automateitplease/n8n-nodes-smartlead\n   ```\n5. Submit in n8n Creator Portal.\n\n## Troubleshooting\n\n- `401/403` auth failures: verify API key and SmartLead workspace/client scope.\n- Trigger not firing: confirm webhook URL reachability from SmartLead and matching event selections.\n- Duplicate webhooks: deactivate old workflow versions before re-activating new copies.\n- API validation errors: pass endpoint-specific fields in `Request Body`/`Query Parameters` JSON.\n\n## Migration Notes (`n8n-nodes-smartleadapi` -> this package)\n\n- Package name changes to `@automateitplease/n8n-nodes-smartlead`.\n- Nodes are `smartLead` and `smartLeadTrigger`.\n- Trigger supports both campaign and global webhook scopes.\n- Broader v1 core coverage across inbox, analytics, smart delivery, and client ops.\n\n## Compatibility Policy\n\n- Operation values introduced in `1.0.0` are treated as semver-stable.\n- Future operation renames will ship with deprecation aliases before removal.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}