@growsalesai/n8n-nodes-datacrazy 3.8.9 → 3.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -51,12 +51,13 @@ npm install @growsalesai/n8n-nodes-datacrazy
51
51
 
52
52
  ## 🧩 Nós Disponíveis
53
53
 
54
- Este pacote instala **dois nós** no seu n8n:
54
+ Este pacote instala **três nós** no seu n8n:
55
55
 
56
56
  | Nó | Descrição |
57
57
  |---|---|
58
58
  | **Datacrazy CRM** | Acesso completo a todos os recursos da API: leads, negócios, conversas, pipelines e mais |
59
- | **Datacrazy Automações** | Utilitários de automação: parser de webhook, switch de tipo de mensagem, mover lead na pipeline, if condicional e mais |
59
+ | **Datacrazy Automações** | Utilitários de automação: parser de webhook, switch, roteamento IA e muito mais |
60
+ | **Datacrazy Trigger** | Recebe eventos (webhooks) em tempo real do Datacrazy |
60
61
 
61
62
  ## 📦 Módulos do CRM
62
63
 
@@ -421,6 +422,19 @@ Verifica se a mensagem é um reply e, se for, busca o conteúdo da mensagem orig
421
422
 
422
423
  ---
423
424
 
425
+ #### ⚡ Buscar Mensagens (Avançado)
426
+ > `automations/advancedMessageFetcher/`
427
+
428
+ Busca o histórico de mensagens de uma conversa aplicando filtros avançados nativamente. Muito superior à busca padrão, ideal para fluxos de IA (ChatGPT, Agentes AI) e economia de processamento.
429
+
430
+ - **Filtros Globais:** Direção (Enviadas/Recebidas), Tipo (Texto, Imagem, Link, etc), Palavras-chave, Limite (últimas N mensagens).
431
+ - **Módulo WhatsApp API:** Filtre mensagens encaminhadas, status (Lida/Recebida/Falhou), e tags ou estágios do contato remetente.
432
+ - **Módulo Instagram API:** Filtre por conta conectada, posts/stories compartilhados (`EXTERNAL_LINK`) e tags do contato.
433
+ - **Módulo UAZAPI:** Filtre por mensagens internas (equipe), editadas, primeira do ticket e assinatura do atendente.
434
+ - **Modo IA:** Formata nativamente todas as mensagens extraídas em texto corrido (incluindo tratamento dinâmico de `vcard` e arquivos de mídia), estruturando o contexto da conversa e devolvendo em `aiContext`.
435
+
436
+ ---
437
+
424
438
  #### ⚡ Roteador por Palavra-chave
425
439
  > `automations/keywordRouter/`
426
440
 
@@ -1,9 +1,8 @@
1
- import { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import { ICredentialType, INodeProperties } from 'n8n-workflow';
2
2
  export declare class MetaConversionsApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
6
  properties: INodeProperties[];
7
- test: ICredentialTestRequest;
8
7
  }
9
8
  //# sourceMappingURL=MetaConversionsApi.credentials.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MetaConversionsApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/MetaConversionsApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EACf,eAAe,EAChB,MAAM,cAAc,CAAC;AAEtB,qBAAa,kBAAmB,YAAW,eAAe;IACxD,IAAI,SAAwB;IAC5B,WAAW,SAAiC;IAC5C,gBAAgB,SAAwE;IACxF,UAAU,EAAE,eAAe,EAAE,CAoB3B;IAEF,IAAI,EAAE,sBAAsB,CAU1B;CACH"}
1
+ {"version":3,"file":"MetaConversionsApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/MetaConversionsApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EACf,eAAe,EAChB,MAAM,cAAc,CAAC;AAEtB,qBAAa,kBAAmB,YAAW,eAAe;IACxD,IAAI,SAAwB;IAC5B,WAAW,SAAiC;IAC5C,gBAAgB,SAAwE;IACxF,UAAU,EAAE,eAAe,EAAE,CAoB3B;CAEH"}
@@ -27,17 +27,6 @@ class MetaConversionsApi {
27
27
  required: true,
28
28
  },
29
29
  ];
30
- this.test = {
31
- request: {
32
- baseURL: 'https://graph.facebook.com/v19.0',
33
- url: '/={{$credentials.pixelId}}',
34
- method: 'GET',
35
- qs: {
36
- access_token: '={{$credentials.accessToken}}',
37
- fields: 'id,name',
38
- },
39
- },
40
- };
41
30
  }
42
31
  }
43
32
  exports.MetaConversionsApi = MetaConversionsApi;
@@ -1 +1 @@
1
- {"version":3,"file":"MetaConversionsApi.credentials.js","sourceRoot":"","sources":["../../credentials/MetaConversionsApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,kBAAkB;IAA/B;QACE,SAAI,GAAG,oBAAoB,CAAC;QAC5B,gBAAW,GAAG,6BAA6B,CAAC;QAC5C,qBAAgB,GAAG,oEAAoE,CAAC;QACxF,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iBAAiB;gBAC9B,WAAW,EAAE,2FAA2F;gBACxG,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,eAAe;gBAC5B,WAAW,EAAE,sJAAsJ;gBACnK,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;QAEF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,kCAAkC;gBAC3C,GAAG,EAAE,4BAA4B;gBACjC,MAAM,EAAE,KAAK;gBACb,EAAE,EAAE;oBACF,YAAY,EAAE,+BAA+B;oBAC7C,MAAM,EAAE,SAAS;iBAClB;aACF;SACF,CAAC;IACJ,CAAC;CAAA;AArCD,gDAqCC"}
1
+ {"version":3,"file":"MetaConversionsApi.credentials.js","sourceRoot":"","sources":["../../credentials/MetaConversionsApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,kBAAkB;IAA/B;QACE,SAAI,GAAG,oBAAoB,CAAC;QAC5B,gBAAW,GAAG,6BAA6B,CAAC;QAC5C,qBAAgB,GAAG,oEAAoE,CAAC;QACxF,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iBAAiB;gBAC9B,WAAW,EAAE,2FAA2F;gBACxG,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,eAAe;gBAC5B,WAAW,EAAE,sJAAsJ;gBACnK,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;IAEJ,CAAC;CAAA;AA1BD,gDA0BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growsalesai/n8n-nodes-datacrazy",
3
- "version": "3.8.9",
3
+ "version": "3.8.11",
4
4
  "description": "n8n community node para o Datacrazy CRM - Growsales IA",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",