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

n8n-nodes-sales-trigger

v0.2.5

Published

SalesTrigger custom node for n8n (Add Lead to Campaign)

Readme

n8n-nodes-sales-trigger

This is an n8n community node for SalesTrigger. It allows you to push leads into SalesTrigger campaigns via API, including sending up to ten custom messages to each lead.

SalesTrigger is a platform that analyzes the behavior of prospects (event attendance, intent signals, interaction patterns) and surfaces who you should reach out to right now. :contentReference[oaicite:0]{index=0}

Visit the docs


Installation

Follow the n8n Community Nodes installation guide.
In summary:

npm install n8n-nodes-sales-trigger
# or, for local development
pnpm link --global
pnpm link n8n-nodes-sales-trigger

After installation, restart n8n and your new node will appear under the “Transform” group named SalesTrigger: Add Lead to Campaign.


Operations

This package currently supports one operation:

  • Add Lead to Campaign — adds a single lead with optional messages to a specified SalesTrigger campaign via API.

Credentials

To use this node, you must supply SalesTrigger API credentials:

  1. Sign up or log in at salestrigger.io.
  2. Navigate to API Tokens (in your account settings) and generate a new token.
  3. In n8n, go to Credentials → New → SalesTrigger API.
  4. Paste your API token and test the connection.

There is no need to configure Base URL; the node uses the default API endpoint behind the scenes.


Compatibility

  • Minimum n8n version: 0.216.0
  • Tested with: n8n v1.x
  • Known issues: none documented to date

Please report any incompatibility on the GitHub repo.


Usage

Here’s how to use the node in your workflows:

Setup

  • After installing the node and providing credentials, drag SalesTrigger: Add Lead to Campaign into your workflow.
  • Select your credentials.
  • Use Campaign Name or ID dropdown (auto-loaded) or enter an expression.
  • Provide the LinkedIn URL of your lead (https://www.linkedin.com/in/<PUBLIC-ID>/).
  • Optionally fill Message 1..10 — each maps to custom_field_1..custom_field_10.

Execution

  • On Execute, the node sends a POST request to /beta/campaign/{campaignId}/api-add-lead.

  • If successful, the API returns status 201 Created.

  • On error (e.g. 422), the UI shows a descriptive error:

    [422] Assertion failed, Lead href must be a pattern of https://www.linkedin.com/in/{PUBLIC-ID} — no extra details

Enable Continue On Fail if you're processing many items and want the workflow to continue past errors.


OpenAPI & Documentation

See SalesTrigger docs for more info.


Version History

| Version | Description | | ------- | ------------------------------------------ | | 1.0.0 | Initial release: Add Lead to Campaign node |


Resources


If you encounter issues, feel free to open an issue in the repository or join the n8n community forum. Happy automating! 🚀