npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@automateitplease/n8n-nodes-smartlead

v1.0.4

Published

Community SmartLead integration for n8n with core API coverage and webhook trigger support

Downloads

38

Readme

@automateitplease/n8n-nodes-smartlead

Community SmartLead node package for n8n.

Package Contents

  • smartLead action node (resource/operation model)
  • smartLeadTrigger trigger node (campaign + global webhook scopes)
  • smartLeadApi credential (query-param api_key auth)

Installation

Community Nodes UI (self-hosted n8n)

  1. Open Settings > Community Nodes.
  2. Select Install.
  3. Enter: @automateitplease/n8n-nodes-smartlead.
  4. Accept risk notice and install.

npm

npm install @automateitplease/n8n-nodes-smartlead

Authentication

Use the SmartLead API credential:

  • Create API key in SmartLead settings.
  • Paste it into API Key field.

Security note: SmartLead requires api_key in query params. This package follows SmartLead's official auth behavior.

Operation Matrix (v1.0)

| Resource | Coverage | |---|---| | Campaign | list/get/create/delete/status/settings/schedule/sequences/email account attach-detach/subsequence/reply-forward/test/team-member | | Lead | add/list/get/update/pause/resume/mark-complete/unsubscribe/delete/message-history/activities/get-by-email/categories/list flows | | Email Account | list/get/add SMTP/add OAuth/update/delete/warmup update/stats/suspend-unsuspend/tag management | | Campaign Webhook | list/create-update/delete/summary/retrigger | | Global Webhook | create/get/update/delete | | Master Inbox | list views/get by ID/reply/forward/read status/category-revenue updates/reminders/notes/tasks/assignment | | Campaign Analytics | campaign stats/analytics/date-range analytics/lead stats/mailbox stats/export | | Global Analytics | top-level/campaign/client/mailbox/lead/team performance endpoints | | Smart Delivery | provider IDs/tests/reports/deliverability and mailbox health/folders | | Client | create/list/update/manage API keys | | Utility | verify email/send single email |

Trigger Node (smartLeadTrigger)

Parameters:

  • scope: campaign or global
  • campaignId: required for campaign scope
  • associationType: required for global scope (1 user, 2 client, 3 campaign)
  • associationId: required for global association types 2 and 3
  • events (multi-select):
    • EMAIL_SENT
    • EMAIL_OPENED
    • EMAIL_CLICKED
    • EMAIL_REPLIED
    • EMAIL_BOUNCED
    • EMAIL_UNSUBSCRIBED
  • normalizePayload: include normalized lead/event fields for downstream nodes

Lifecycle behavior:

  • On activation: checks existing registration, then creates webhook if needed.
  • On deactivation: deletes webhook registration.
  • On receive: emits SmartLead payload (raw or normalized).

Example Workflows

Stored in examples/workflows:

  1. reply-alerting.json
  2. bounce-cleanup.json
  3. campaign-health-digest.json
  4. mailbox-warmup-monitoring.json
  5. auto-tagging.json
  6. reminder-automation.json
  7. daily-analytics-sync.json
  8. client-webhook-fanout.json

Local Development

Node.js >=22 is required.

npm install
npm run lint
npm run build
npm run test
npm run dev

Release + Verification

This repo includes GitHub Actions CI and npm publish with provenance (.github/workflows/publish.yml).

  1. Configure npm Trusted Publisher for this GitHub repo/workflow.
  2. Run npm run release.
  3. Push created tag to trigger publish workflow.
  4. After package is on npm, run scanner:
    npx @n8n/scan-community-package @automateitplease/n8n-nodes-smartlead
  5. Submit in n8n Creator Portal.

Troubleshooting

  • 401/403 auth failures: verify API key and SmartLead workspace/client scope.
  • Trigger not firing: confirm webhook URL reachability from SmartLead and matching event selections.
  • Duplicate webhooks: deactivate old workflow versions before re-activating new copies.
  • API validation errors: pass endpoint-specific fields in Request Body/Query Parameters JSON.

Migration Notes (n8n-nodes-smartleadapi -> this package)

  • Package name changes to @automateitplease/n8n-nodes-smartlead.
  • Nodes are smartLead and smartLeadTrigger.
  • Trigger supports both campaign and global webhook scopes.
  • Broader v1 core coverage across inbox, analytics, smart delivery, and client ops.

Compatibility Policy

  • Operation values introduced in 1.0.0 are treated as semver-stable.
  • Future operation renames will ship with deprecation aliases before removal.

License

MIT