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

v0.4.0

Published

n8n community node for YCloud WhatsApp API

Downloads

30

Readme

n8n-nodes-ycloud

Community node para integrar YCloud WhatsApp API en n8n. Cobertura completa del API v2 de WhatsApp Business.

Compatibilidad

  • n8n: >= 1.0.0
  • Node.js: >= 18.17

Recursos y operaciones

Message

  • sendDirectly — envío sincrónico
  • enqueue — envío asíncrono con filtros filterUnsubscribed / filterBlocked
  • retrieve — recuperar mensaje por ID
  • list — listar mensajes paginados con filtros (WABA, from, to, status, externalId)

Tipos soportados: text, template, image, document, video, audio, sticker, location, reaction, contacts, interactive (button/list/cta_url/flow/product).

Template

  • list — con filtros WABA/name/language y includeTotal
  • retrieve — por WABA + name + language
  • create — con categoría UTILITY / MARKETING / AUTHENTICATION, componentes JSON, TTL, sub-categoría
  • delete — por name+language o por name (todas las lenguas)

Dropdown dinámico desde la credencial: muestra el body text de cada plantilla como preview para saber cuántas variables necesitas.

Contact

  • CRUD completo: list, create, retrieve, update, delete
  • Campos: nickName, realName, email, countryCode, tags (CSV), customAttributes (JSON)

Inbound Message

  • markAsRead
  • typingIndicator

Media

  • upload — sube un binario desde el input de n8n y devuelve el mediaId para usar en mensajes posteriores

Phone Number

  • list, retrieve, getProfile, updateProfile, register

Business Account

  • list, retrieve

Webhook Endpoint

  • CRUD completo: create, list, retrieve, update, delete

Flow

  • list, retrieve, create, publish, updateStructure

Balance

  • retrieve

Credenciales

Credencial YCloud API:

  • baseUrl (por defecto: https://api.ycloud.com)
  • apiKey (header X-API-Key)

Test de credencial: GET /v2/balance.

Template Messages — Variables del body

  1. Elige Message Type: Template y Template Source: From YCloud.
  2. Selecciona la WABA (dropdown dinámico).
  3. Selecciona la plantilla del dropdown — la descripción muestra el body text con {{1}}, {{2}}...
  4. Añade los valores en Template Body Variables en el orden de los placeholders.
  5. Activa Validate Placeholder Count para que el nodo compare contra la plantilla remota antes de enviar.

Para header/buttons/carousel usa Template Components JSON (Advanced) con el schema de Meta.

Desarrollo local

npm install
npm run build
npm run lint

Cargarlo en n8n local

npm run build
npm link
cd /ruta/a/n8n
npm link n8n-nodes-ycloud

Reinicia n8n y busca el nodo YCloud.

Release

Ver DEPLOY.md.

Notas de implementación

  • Validación E.164 para from/to.
  • Manejo explícito de errores 401/403/404/429/5xx con requestId.
  • Retries automáticos en 429 respetando Retry-After (o backoff exponencial con jitter).
  • Transporte interno soporta GET, POST, PATCH, PUT, DELETE + multipart para media upload.
  • En continueOnFail, devuelve error estructurado por item.

Changelog

0.4.0

  • Cobertura completa del WhatsApp API v2: media, phone numbers, business accounts, webhooks, flows, balance.
  • Mensaje: document, video, audio, sticker, location, reaction, contacts, interactive.
  • Templates: create + delete.
  • Contacts: CRUD completo.
  • Dropdown de plantillas mejorado con body preview.
  • Transport con soporte para PATCH/PUT/DELETE y multipart uploads.

0.3.0

  • Plantillas dinámicas desde YCloud.
  • Validación de placeholders.

0.1.0

  • MVP (text/template/image).