aisensy

n8n custom node for Aisensy API campaign operations

Package Information

Downloads: 287 weekly / 422 monthly
Latest Version: 0.1.5
Author: Chetan Sable

Documentation

🟢 AiSensy for n8n

npm version

Official AiSensy Integration

This is the official n8n node for AiSensy, the complete WhatsApp Marketing platform based on the Official WhatsApp Business API.

Use this node to automate sending WhatsApp campaign messages, notifications, and fetching campaign details directly within your n8n workflows.

✨ Features

  • Send WhatsApp Campaigns: Trigger template messages programmatically via the AiSensy API.
  • Dynamic Parameters: Support for variable template parameters (e.g., {{1}}, {{name}}).
  • Fetch Metadata: specific campaign details and template metadata.

🚀 Installation

Option 1: Via n8n Interface (Recommended)

  1. Open your n8n instance.
  2. Go to Settings > Community Nodes.
  3. Select Install.
  4. Enter the package name: @aisensy/n8n-nodes-aisensy

Option 2: Via CLI

If you are running n8n via npm or Docker, you can install it in your n8n root directory (usually ~/.n8n):

npm install @aisensy/n8n-nodes-aisensy

Note: Restart n8n after installation.

🔑 Credentials Setup

To use this node, you need an API Key from your AiSensy dashboard.

  1. Log in to AiSensy.
  2. Navigate to Manage > API Key in your project settings.
  3. Copy the API Key.
  4. In n8n, create a new credential of type AiSensy API.
  5. Paste your key and click Save.

🛠️ Usage

Add the AiSensy node to your workflow and select one of the following operations:

1. Send Message

Send a WhatsApp template message to a user.

  • Campaign Name: The exact name of the campaign created in AiSensy.
  • Destination: The recipient's phone number (with country code, e.g., 919876543210).
  • Template Parameters: Add one entry for each variable in your template (e.g., Value 1 for {{1}}).
  • Optional Fields:
    • User Name: Name of the user for dashboard tracking.
    • Source: Defaults to n8n.
    • Attributes: JSON object for custom user attributes.

2. Get Campaign Details

Retrieve metadata about a specific campaign.

  • Campaign Name: The name of the campaign to fetch.
  • Output: Returns template status, formatted parameters, and campaign ID.

💻 Local Development

If you want to modify or contribute to this node:

  1. Clone & Install:

    git clone https://github.com/techyaisensy/n8n-nodes-aisensy.git
    npm install
    
  2. Build & Link:

    npm run build
    npm link
    
  3. Link to n8n:

    cd /path/to/your/n8n/installation
    npm link n8n-nodes-aisensy
    
  4. Watch Mode:

    npm run dev
    

📄 License

MIT


🏷️ Keywords

AiSensyn8nWhatsAppWhatsApp BusinessMarketingAutomationWorkflowBroadcastLow-code

Discussion