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-sentor

v0.4.7

Published

n8n community node for sentiment analysis using Sentor AI API

Readme

n8n-nodes-sentor

This is an n8n community node that lets you perform sentiment analysis using the Sentor ML API in your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install a community node
  3. Enter n8n-nodes-sentor in the npm package name field
  4. Click Install

Manual Installation

To get started with local development or manual installation:

npm install n8n-nodes-sentor

Operations

The Sentor ML node currently supports the following operation:

Document > Predict Sentiment

Analyzes the sentiment of text documents and returns:

  • Predicted label (positive, negative, or neutral)
  • Confidence probabilities for each sentiment
  • Sentence-level sentiment details

Configuration

Credentials

You need a Sentor ML API key to use this node:

  1. Get your API key from Sentor ML
  2. In n8n, go to Credentials > New
  3. Search for "Sentor API"
  4. Enter your API key
  5. Click Save

Node Parameters

  • Language: Choose between English (en) or Dutch (nl)
  • Document Text: The text content to analyze (supports expressions for dynamic input)
  • Entities (optional): Comma-separated list of entities to analyze within the text (e.g., "company, product, service")
  • Simplify Output: When enabled (default), returns a simplified JSON structure with just label, probability, and details. When disabled, returns the full API response.

Example Usage

Basic Sentiment Analysis

Input:

{
  "documentText": "I love this product! It works great.",
  "language": "en"
}

Output (simplified):

{
  "label": "positive",
  "probability": 0.95,
  "details": [
    {
      "sentence": "I love this product!",
      "sentiment": "positive",
      "score": 0.97
    },
    {
      "sentence": "It works great.",
      "sentiment": "positive",
      "score": 0.93
    }
  ]
}

With Entities

Input:

{
  "documentText": "Apple's new iPhone is expensive but the camera quality is amazing.",
  "language": "en",
  "entities": "Apple, iPhone, camera"
}

The API will provide sentiment analysis with special attention to the specified entities.

Batch Processing

This node supports batch processing. When you pass multiple items to the node, it will:

  1. Collect all input items
  2. Send them in a single batch request to the API
  3. Return individual results mapped to each input item

This is more efficient than processing items one by one.

Compatibility

  • Tested with n8n version 1.0.0+
  • Requires an active Sentor ML API subscription

Resources

Version History

0.1.0

  • Initial release
  • Support for sentiment prediction
  • English and Dutch language support
  • Entity-based analysis
  • Batch processing support

License

MIT

Support

For issues, questions, or contributions:

Development

Local Development

  1. Clone the repository:
git clone https://github.com/NIKX-Tech/n8n-nodes-sentor.git
cd n8n-nodes-sentor
  1. Install dependencies:
npm install
  1. Build the node:
npm run build
  1. Test locally:
npm run dev

This will start n8n with your local node loaded. You can then test it in your workflows.

Customization

Changing the Logo/Icon

  1. Create Your Custom SVG Icons: 24x24px SVG (light and dark mode versions).
  2. Replace the Files:
    cp /path/to/your/sentor-light.svg nodes/Sentor/sentor.svg
    cp /path/to/your/sentor-dark.svg nodes/Sentor/sentor.dark.svg
  3. Rebuild: npm run build

Adding More Languages

In nodes/Sentor/Sentor.node.ts, add to the language options array:

{ name: 'French', value: 'fr' },

Advanced Installation (Self-Hosted)

If you are running a self-hosted n8n instance (e.g., Docker), you can verify the node before publishing:

Docker Installation

  1. Build and Pack:
    npm run build
    npm pack
  2. Mount to Container: Update docker-compose.yml:
    volumes:
      - ./n8n-nodes-sentor-0.1.0.tgz:/tmp/node-package.tgz
    environment:
      - N8N_CUSTOM_EXTENSIONS=/tmp
  3. Install inside Container:
    docker exec -it n8n_container npm install /tmp/node-package.tgz

Testing

To test the node in a local n8n instance:

  1. Link the package locally:
npm link
  1. In your n8n installation directory:
npm link n8n-nodes-sentor
  1. Restart n8n and the node will be available.

  2. Verify:

    • Check "Sentor ML" appears in nodes panel.
    • Test connection in Credentials.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request