loopmessage

n8n community node for LoopMessage

Package Information

Released: 6 mo ago
Downloads: 21 weekly / 81 monthly
Latest Version: 0.0.2
Author: LoopMessage

Documentation

n8n-nodes-loopmessage

@LoopMessage/n8n-nodes-loopmessage

This is a community node for n8n that enables seamless integration with Loop Message, a powerful omnichannel messaging platform. With this node, you can automate your messaging operations and integrate LoopMessage with other services in your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

Features

The Loop Message node provides comprehensive access to messaging API functionality:

  • Send and receive messages

    • text messages
    • message with attachments
    • voice messages
    • message with effects
    • message reactions
  • Supported channels

    • iMessage
    • SMS/RCS
    • WhatsApp

Prerequisites

  • Active Loop Message account
  • API access enabled in Loop Message
  • n8n installation (v2.10.0 or later, not tested with earlier versions)

Installation

Follow these steps to install this package in your n8n instance:

  1. Open your n8n instance
  2. Go to Settings > Community Nodes
  3. Select "Install"
  4. Enter @LoopMessage/n8n-nodes-loopmessage
  5. Click "Install"

For a manual installation, you can use:

npm install @LoopMessage/n8n-nodes-loopmessage

Or if you have installed n8n globally:

npm install -g @LoopMessage/n8n-nodes-loopmessage

Configuration

API Authentication

  1. In LoopMessage:

    • Open Loop Message Dashboard
    • Select your organization
    • Navigate to API > Settings
    • Enable API feature
    • Copy an API Key
    • Note down the API Key
  2. In n8n:

    • Add new credentials of type 'LoopMessage API'
    • Input the API Key
    • Save the credentials

Resources

Support

  • For LoopMessage-specific issues: LoopMessage website
  • For node-specific issues: Create an issue in the GitHub repository
  • For n8n-related questions: n8n Community

Development

Local Development on macOS (npm)

For local development on macOS with n8n installed globally via npm:

  1. Install n8n globally (if not already installed):

    npm install -g n8n
    
  2. Clone and build the package:

    git clone https://github.com/LoopMessage/n8n-nodes-loopmessage.git
    cd n8n-nodes-loopmessage
    npm install
    npm run build
    
  3. Link the package to n8n's custom nodes folder:

    # Create package.json in n8n's nodes folder if it doesn't exist
    mkdir -p ~/.n8n/nodes
    cd ~/.n8n/nodes
    echo '{"name": "installed-nodes", "private": true}' > package.json
    
    # Install the local package (creates a symlink)
    npm install /path/to/your/n8n-loopmessage
    
  4. Start n8n:

    n8n start
    

    Access n8n at http://localhost:5678

  5. Development workflow:

    # After making changes to the source code:
    cd /path/to/your/n8n-loopmessage
    npm run build
    
    # Restart n8n to pick up changes (Ctrl+C to stop, then):
    n8n start
    
  6. Watch mode (optional - auto-rebuild on changes):

    npm run dev
    

    Note: You still need to restart n8n after rebuilds.

Docker Development

To run a local version of n8n with this node for development using Docker. Make sure to replace /path/to/your/local/n8n-loopmessage with the absolute path to this repository on your machine.

docker run -it --rm \
  --name n8n \
  -p 5678:5678 \
  -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
  -e N8N_RUNNERS_ENABLED=true \
  -e N8N_LOG_LEVEL=debug \
  -e N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true \
  -v n8n_data:/home/node/.n8n \
  -v /path/to/your/local/n8n-loopmessage:/home/node/.n8n/custom/n8n-loopmessage \
  n8nio/n8n

Useful Commands

Command Description
npm run build Compile TypeScript and copy icons
npm run dev Watch mode for active development
npm run lintfix Auto-fix ESLint issues
npm run lint Check for linting errors

License

MIT

Discussion