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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-watsonxai

v1.0.0

Published

Custom Watsonx AI node for n8n

Downloads

18

Readme

# n8n-nodes-watsonxai

**IBM Watsonx AI Custom Node for n8n**  

This node allows you to interact with IBM Watsonx.ai for text generation using foundation models. You can generate text, summaries, or completions directly from n8n workflows.

---

## Installation

### 1. Local Installation

If you are installing locally:

```bash
npm install n8n-nodes-watsonxai

Then restart n8n. The Watsonx AI node will appear under AI in the node panel.


The Watsonx AI node allows you to generate text using IBM Watsonx foundation models.

Parameters

| Parameter | Type | Description | | --------------- | ------ | ------------------------------------------------------------------------ | | Prompt | String | Input text for the model to continue or complete. | | Model ID | String | Watsonx.ai foundation model ID (e.g., ibm/granite-13b-instruct-v2). | | Temperature | Number | Sampling temperature for text generation (0.0 = greedy, 2.0 = creative). | | Max Tokens | Number | Maximum number of tokens to generate. | | Project ID | String | IBM Cloud project ID where the model is hosted. |


Credentials

The node requires IBM Watsonx AI API credentials:

| Credential | Description | | -------------------- | ----------------------------------------------------------------------------------- | | API Key | Your IBM Cloud IAM API key. | | Watsonx Base URL | The base URL of your Watsonx.ai service, e.g., https://us-south.ml.cloud.ibm.com. |

Note: Make sure your API key has the proper permissions to access Watsonx.ai models in the selected project.


Example Workflow

  1. Drag a Watsonx AI node into your workflow.
  2. Select or create credentials with your API key and base URL.
  3. Enter a prompt, model ID, temperature, max tokens, and project ID.
  4. Connect the node to any trigger (manual or scheduled).
  5. Execute the workflow to receive generated text and metadata.

Output Example:

{
  "generated_text": "Hello, this is a generated response from Watsonx AI.",
  "model_id": "ibm/granite-13b-instruct-v2",
  "stop_reason": "length",
  "token_count": 15
}

Tips

  • Use short, clear prompts to get more accurate results.
  • Adjust temperature for creativity: lower (0.0–0.5) = deterministic, higher (1.0–2.0) = creative.
  • Keep max tokens reasonable to avoid exceeding limits and reduce latency.

License

MIT © Muhammad Muazam Arshad Email: [email protected]


---