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

v0.1.3

Published

This is an n8n community node. It lets you use DMLY in your n8n workflows.

Readme

n8n-nodes-dmly

This is an n8n community node that lets you integrate DMLY with your n8n workflows.

DMLY is an AI-powered business messaging platform for WhatsApp, Messenger, Instagram, Telegram, and website chat.

n8n is a workflow automation platform.

Installation

Automatic - from n8n UI (recommended)

  1. Go to Settings -> Community Nodes in your n8n instance.
  2. Click Install.
  3. Enter n8n-nodes-dmly as the package name.
  4. Click Install.

Manual - command line

Install in your custom nodes folder:

mkdir -p ~/.n8n/custom
cd ~/.n8n/custom
npm init -y
npm install n8n-nodes-dmly

Restart n8n after installation.

Included nodes

  • DMLY (action node)
  • DMLY Trigger (trigger node)

Supported resources and operations

Account

  • Get Info

Contacts

  • Create
  • Get
  • Get Many
  • Update
  • Delete
  • Add Tags
  • Remove Tags
  • Assign Chat

Contact Tags

  • Create
  • Get
  • Get Many
  • Delete

Staff

  • Get
  • Get Many

Workspaces

  • Get
  • Get Many

Segments

  • Create
  • Get
  • Get Many
  • Delete

Broadcasts

  • Create
  • Get
  • Get Many
  • Update
  • Delete
  • Get Logs

Webhooks

  • Create
  • Get
  • Get Many
  • Update
  • Delete

WhatsApp Templates

  • Create
  • Get
  • Get Many

Messages

  • Get by Contact
  • Send (multi-channel)

Message send coverage includes:

  • WhatsApp: text, media, template, catalog, product, product list, interactive list, interactive buttons, interactive CTA URL
  • Telegram: text, media, template
  • Instagram: text, media, template
  • Messenger: text, media, template
  • Website chat: text, media, template

Trigger events

The DMLY Trigger node auto-registers a webhook in DMLY and supports:

  • Incoming/Outgoing WhatsApp messages
  • Incoming/Outgoing Instagram messages
  • Incoming/Outgoing Messenger messages
  • Incoming/Outgoing Telegram messages
  • Incoming/Outgoing website messages
  • Contact created
  • Contact tag added
  • Contact tag removed

Credentials setup

Create DMLY API credentials in n8n:

  • Base URL: https://api.dmly.io/rest
  • API Key: your DMLY REST API key

You can generate API keys in DMLY under:

  • Integrations -> REST API

Notes

  • For complex operations, the node exposes a Payload (JSON) field so you can pass full API body objects.
  • For WhatsApp send operations, the node normalizes both recipient and recepient key variants for compatibility.

Quick payload examples

Use these in the corresponding Payload (JSON) fields in the DMLY node.

Contact -> Create (contactPayload)

{
  "name": "John Doe",
  "phoneNumber": "+15551234567",
  "notes": "Created from n8n",
  "tags": ["Lead", "VIP"],
  "workspace": {
    "id": "YOUR_WORKSPACE_ID"
  }
}

Segment -> Create (segmentPayload)

{
  "name": "VIP Leads",
  "type": "contact",
  "criteria": {
    "workspaces": [
      {
        "id": "YOUR_WORKSPACE_ID"
      }
    ],
    "tags": ["VIP"],
    "exclusionTags": ["unsubscribe"],
    "contactStage": "Lead"
  },
  "workspace": {
    "id": "YOUR_WORKSPACE_ID"
  }
}

Broadcast -> Create (broadcastPayload)

{
  "name": "Promo Broadcast",
  "type": "contact",
  "segments": [
    {
      "id": "YOUR_SEGMENT_ID"
    }
  ],
  "template": {
    "name": "your_template_name",
    "language": "en"
  },
  "bodyTextParameters": ["{{contact.name}}"],
  "workspace": {
    "id": "YOUR_WORKSPACE_ID"
  }
}

Message -> WhatsApp Text (messagePayload)

{
  "contact": {
    "id": "YOUR_CONTACT_ID"
  },
  "workspace": {
    "id": "YOUR_WORKSPACE_ID"
  },
  "textMessage": "Hello from n8n"
}

Message -> WhatsApp Template to phone (messagePayload)

{
  "recipient": {
    "phoneNumber": "+15551234567",
    "name": "John Doe"
  },
  "workspace": {
    "id": "YOUR_WORKSPACE_ID"
  },
  "template": {
    "name": "your_template_name",
    "language": "en"
  },
  "bodyTextParameters": ["John Doe"],
  "buttonUrlParameters": []
}

WhatsApp Template -> Create (whatsappTemplatePayload)

{
  "template": {
    "category": "UTILITY",
    "language": "en",
    "name": "order_update_template",
    "components": [
      {
        "type": "BODY",
        "text": "Hello {{1}}, your order {{2}} is ready."
      }
    ]
  },
  "workspace": {
    "id": "YOUR_WORKSPACE_ID"
  }
}

Development

npm install
npm run build
npm run lint

API and docs

  • REST API collection: https://help.dmly.io/en/collections/22-rest-api-reference
  • Webhooks guide: https://help.dmly.io/en/articles/89-webhooks-all-you-need-to-know
  • Support: https://help.dmly.io

License

MIT