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

v1.0.8

Published

Nodes do Chatlabs para n8n

Downloads

60

Readme

n8n-nodes-chatlabs

Custom nodes do Chatlabs para o n8n, permitindo integrar a plataforma de atendimento Chatlabs em seus fluxos de automação.


Nodes disponíveis

Chatlabs (node de ação)

Node principal com suporte a 6 recursos e suas respectivas operações:

Atendente

| Operação | Método | Endpoint | |---|---|---| | Listar | GET | /api/attendant | | Obter por ID | GET | /api/attendant/:id |

Canal

| Operação | Método | Endpoint | |---|---|---| | Listar | GET | /api/channel |

Chat

| Operação | Método | Endpoint | |---|---|---| | Listar | GET | /api/chat | | Obter por ID | GET | /api/chat/:id | | Listar Mensagens | GET | /api/chat/:id/messages | | Enviar Mensagem | POST | /api/chat/:id/message | | Obter Arquivo de Mensagem | GET | /api/chat/message/:id/file |

Cliente

| Operação | Método | Endpoint | |---|---|---| | Listar | GET | /api/client | | Obter por ID | GET | /api/client/:id | | Criar | POST | /api/client | | Atualizar | PUT | /api/client/:id | | Deletar | DELETE | /api/client/:id |

Etiqueta

| Operação | Método | Endpoint | |---|---|---| | Listar | GET | /api/client-tag | | Obter por ID | GET | /api/client-tag/:id | | Criar | POST | /api/client-tag | | Atualizar | PATCH | /api/client-tag/:id | | Deletar | DELETE | /api/client-tag/:id |

Setor

| Operação | Método | Endpoint | |---|---|---| | Listar | GET | /api/department | | Obter por ID | GET | /api/department/:id |


Chatlabs Trigger (node de gatilho)

Inicia um fluxo quando o Chatlabs dispara um evento via Bot Action. Expõe um webhook no caminho chatlabs-trigger que deve ser configurado como URL de destino na Bot Action do Chatlabs.


Credenciais

Configure a credencial Chatlabs API com:

  • API Key — Bearer token gerado no painel do Chatlabs
  • Base URL — URL base da sua instância (ex: https://app.chatlabs.com.br)

Instalação

Opção 1 — Via npm (recomendado)

No painel do n8n, acesse Settings > Community Nodes e instale o pacote:

n8n-nodes-chatlabs

Ou, se estiver rodando n8n via CLI:

npm install n8n-nodes-chatlabs

Opção 2 — Copiando o build para o servidor Docker

Use essa opção para desenvolvimento local ou para ambientes sem acesso ao npm.

1. Instale as dependências e faça o build:

yarn install
yarn build

2. Copie os arquivos compilados para o container e reinicie:

docker cp . n8n:/home/node/.n8n/custom/chatlabs-community-n8n && docker restart n8n

Na primeira vez, é necessário registrar o pacote dentro do container:

docker exec -u root n8n sh -c "cd /home/node/.n8n/nodes && npm install /home/node/.n8n/custom/chatlabs-community-n8n"
docker restart n8n

Nas atualizações seguintes, basta buildar, copiar e reiniciar.


Desenvolvimento

# Build único
yarn build

# Watch mode (recompila a cada alteração)
yarn dev