## 📢 New Community Node: `n8n-nodes-pusher`

Hi everyone :wave:

I’ve just published a new custom node for directly integrating Pusher.com into your n8n workflows instead using Http Request node. It supports real-time messaging, presence channels, and user targeting.

This n8n community node allows you to integrate with Pusher.com services, providing real-time channels and messaging capabilities to your n8n workflows.

Features

This node supports the following Pusher.com operations:

  • Trigger Event: Send an event to a specific channel
  • Trigger Batch: Send multiple events in a single API call
  • Get Channel Info: Retrieve information about a specific channel
  • Get Channels: List all channels in your Pusher application
  • Get Users: List users in a presence channel
  • Authenticate Channel: Generate authentication for private or presence channels
  • Authenticate User: Generate authentication for users
  • Terminate User Connections: End all active connections for a user
  • Send to User: Send an event to a specific authenticated user

Installation

Follow these steps to install this custom node:

Community Nodes (Recommended)

  1. Open your n8n instance
  2. Go to Settings > Community Nodes
  3. Click on Install
  4. Enter n8n-nodes-pusher in the Name field
  5. Click Install

Manual Installation

  1. Navigate to your n8n installation directory
  2. Run the following command:

npm install n8n-nodes-pusher

  1. Start n8n

Configuration

To use this node, you need to have a Pusher.com account and create an app there. Once you have your Pusher app, you’ll need the following credentials:

  • App ID: Your Pusher App ID
  • Key: Your Pusher API Key
  • Secret: Your Pusher API Secret
  • Cluster: Your Pusher app’s cluster (e.g., “eu”, “us”, “ap1”)

Add these credentials in the n8n Credentials section when creating a new Pusher API credential.

Usage Examples

Trigger an Event

Sends a message to a Pusher channel that can be received by any client subscribed to that channel.

  1. Add a Pusher node
  2. Select the Trigger Event operation
  3. Set the Channel Name (e.g., “my-channel”)
  4. Set the Event Name (e.g., “my-event”)
  5. Add the Payload as a JSON object (e.g., {"message": "Hello from n8n!"})

Send to Authenticated User

Sends a message to a specific authenticated user across all their connections.

  1. Add a Pusher node
  2. Select the Send to User operation
  3. Enter the User ID of the user you want to send to
  4. Set the Event Name (e.g., “private-message”)
  5. Add the Payload as a JSON object (e.g., {"message": "This is a private message"})

:broom: Icon Display Issue in Local Installations

In some local or manual installations, the icon for this custom node may not appear in the n8n interface.

If this happens, follow these steps:

  1. Ensure that icon.svg is located in:
<project-root>/dist/nodes/Pusher/icon.svg
  1. Your node file (Pusher.node.ts) should include:

icon: ‘file:icon.svg’

  1. Modify your package.json build script (for Windows):

“build”: “tsc && copy src\nodes\Pusher\icon.svg dist\nodes\Pusher\icon.svg”

  1. Run:

npm run build

  1. Restart your n8n instance completely.

This will use a default icon and help confirm that your node is loading properly.

Compatibility

This node is compatible with n8n version 1.0.0 and later, and has been specifically tested with n8n version 1.85.4.