@renatoascencio/n8n-nodes-chatwoot 0.3.0 → 0.4.0

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.
Files changed (241) hide show
  1. package/README.md +247 -9
  2. package/dist/credentials/ChatwootPlatformApi.credentials.d.ts +9 -0
  3. package/dist/credentials/ChatwootPlatformApi.credentials.js +49 -0
  4. package/dist/credentials/ChatwootPlatformApi.credentials.js.map +1 -0
  5. package/dist/credentials/ChatwootPublicApi.credentials.d.ts +7 -0
  6. package/dist/credentials/ChatwootPublicApi.credentials.js +31 -0
  7. package/dist/credentials/ChatwootPublicApi.credentials.js.map +1 -0
  8. package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +4 -1
  9. package/dist/nodes/Chatwoot/Chatwoot.node.js +579 -12
  10. package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -1
  11. package/dist/nodes/Chatwoot/GenericFunctions.d.ts +14 -0
  12. package/dist/nodes/Chatwoot/GenericFunctions.js +170 -0
  13. package/dist/nodes/Chatwoot/GenericFunctions.js.map +1 -1
  14. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.d.ts +2 -0
  15. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js +63 -0
  16. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js.map +1 -0
  17. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.d.ts +2 -0
  18. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js +34 -0
  19. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js.map +1 -0
  20. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.d.ts +2 -0
  21. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js +34 -0
  22. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js.map +1 -0
  23. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.d.ts +2 -0
  24. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js +20 -0
  25. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js.map +1 -0
  26. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.d.ts +3 -0
  27. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js +60 -0
  28. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js.map +1 -0
  29. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.d.ts +2 -0
  30. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js +70 -0
  31. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js.map +1 -0
  32. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.d.ts +2 -0
  33. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js +52 -0
  34. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js.map +1 -0
  35. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.d.ts +2 -0
  36. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js +34 -0
  37. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js.map +1 -0
  38. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.d.ts +2 -0
  39. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js +20 -0
  40. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js.map +1 -0
  41. package/dist/nodes/Chatwoot/resources/accountUser/index.d.ts +3 -0
  42. package/dist/nodes/Chatwoot/resources/accountUser/index.js +44 -0
  43. package/dist/nodes/Chatwoot/resources/accountUser/index.js.map +1 -0
  44. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.d.ts +2 -0
  45. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js +76 -0
  46. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js.map +1 -0
  47. package/dist/nodes/Chatwoot/resources/auditLog/index.d.ts +3 -0
  48. package/dist/nodes/Chatwoot/resources/auditLog/index.js +26 -0
  49. package/dist/nodes/Chatwoot/resources/auditLog/index.js.map +1 -0
  50. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.d.ts +2 -0
  51. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js +36 -0
  52. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js.map +1 -0
  53. package/dist/nodes/Chatwoot/resources/contact/filter.operation.d.ts +2 -0
  54. package/dist/nodes/Chatwoot/resources/contact/filter.operation.js +51 -0
  55. package/dist/nodes/Chatwoot/resources/contact/filter.operation.js.map +1 -0
  56. package/dist/nodes/Chatwoot/resources/contact/index.js +24 -0
  57. package/dist/nodes/Chatwoot/resources/contact/index.js.map +1 -1
  58. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.d.ts +2 -0
  59. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js +20 -0
  60. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js.map +1 -0
  61. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.d.ts +2 -0
  62. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js +51 -0
  63. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js.map +1 -0
  64. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.d.ts +2 -0
  65. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js +55 -0
  66. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js.map +1 -0
  67. package/dist/nodes/Chatwoot/resources/conversation/index.js +40 -0
  68. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -1
  69. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.d.ts +2 -0
  70. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js +20 -0
  71. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js.map +1 -0
  72. package/dist/nodes/Chatwoot/resources/conversation/update.operation.d.ts +2 -0
  73. package/dist/nodes/Chatwoot/resources/conversation/update.operation.js +56 -0
  74. package/dist/nodes/Chatwoot/resources/conversation/update.operation.js.map +1 -0
  75. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.d.ts +2 -0
  76. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js +34 -0
  77. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js.map +1 -0
  78. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.d.ts +2 -0
  79. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js +20 -0
  80. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js.map +1 -0
  81. package/dist/nodes/Chatwoot/resources/csatSurvey/index.d.ts +3 -0
  82. package/dist/nodes/Chatwoot/resources/csatSurvey/index.js +26 -0
  83. package/dist/nodes/Chatwoot/resources/csatSurvey/index.js.map +1 -0
  84. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.d.ts +2 -0
  85. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js +113 -0
  86. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js.map +1 -0
  87. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.d.ts +2 -0
  88. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js +91 -0
  89. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js.map +1 -0
  90. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.d.ts +2 -0
  91. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js +84 -0
  92. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js.map +1 -0
  93. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.d.ts +2 -0
  94. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js +20 -0
  95. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js.map +1 -0
  96. package/dist/nodes/Chatwoot/resources/helpCenter/index.d.ts +3 -0
  97. package/dist/nodes/Chatwoot/resources/helpCenter/index.js +60 -0
  98. package/dist/nodes/Chatwoot/resources/helpCenter/index.js.map +1 -0
  99. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.d.ts +2 -0
  100. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js +77 -0
  101. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js.map +1 -0
  102. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.d.ts +2 -0
  103. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js +34 -0
  104. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js.map +1 -0
  105. package/dist/nodes/Chatwoot/resources/inbox/create.operation.d.ts +2 -0
  106. package/dist/nodes/Chatwoot/resources/inbox/create.operation.js +110 -0
  107. package/dist/nodes/Chatwoot/resources/inbox/create.operation.js.map +1 -0
  108. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.d.ts +2 -0
  109. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js +34 -0
  110. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js.map +1 -0
  111. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.d.ts +2 -0
  112. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js +20 -0
  113. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js.map +1 -0
  114. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.d.ts +2 -0
  115. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js +20 -0
  116. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js.map +1 -0
  117. package/dist/nodes/Chatwoot/resources/inbox/index.js +48 -0
  118. package/dist/nodes/Chatwoot/resources/inbox/index.js.map +1 -1
  119. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.d.ts +2 -0
  120. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js +36 -0
  121. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js.map +1 -0
  122. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.d.ts +2 -0
  123. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js +47 -0
  124. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js.map +1 -0
  125. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.d.ts +2 -0
  126. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js +34 -0
  127. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js.map +1 -0
  128. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.d.ts +2 -0
  129. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js +5 -0
  130. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js.map +1 -0
  131. package/dist/nodes/Chatwoot/resources/integration/index.d.ts +3 -0
  132. package/dist/nodes/Chatwoot/resources/integration/index.js +52 -0
  133. package/dist/nodes/Chatwoot/resources/integration/index.js.map +1 -0
  134. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.d.ts +2 -0
  135. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js +47 -0
  136. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js.map +1 -0
  137. package/dist/nodes/Chatwoot/resources/message/index.js +13 -1
  138. package/dist/nodes/Chatwoot/resources/message/index.js.map +1 -1
  139. package/dist/nodes/Chatwoot/resources/message/update.operation.d.ts +2 -0
  140. package/dist/nodes/Chatwoot/resources/message/update.operation.js +51 -0
  141. package/dist/nodes/Chatwoot/resources/message/update.operation.js.map +1 -0
  142. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.d.ts +2 -0
  143. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js +56 -0
  144. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js.map +1 -0
  145. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.d.ts +2 -0
  146. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js +20 -0
  147. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js.map +1 -0
  148. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.d.ts +2 -0
  149. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js +20 -0
  150. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js.map +1 -0
  151. package/dist/nodes/Chatwoot/resources/platformAccount/index.d.ts +3 -0
  152. package/dist/nodes/Chatwoot/resources/platformAccount/index.js +52 -0
  153. package/dist/nodes/Chatwoot/resources/platformAccount/index.js.map +1 -0
  154. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.d.ts +2 -0
  155. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js +63 -0
  156. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js.map +1 -0
  157. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.d.ts +2 -0
  158. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js +67 -0
  159. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js.map +1 -0
  160. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.d.ts +2 -0
  161. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js +20 -0
  162. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js.map +1 -0
  163. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.d.ts +2 -0
  164. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js +20 -0
  165. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js.map +1 -0
  166. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.d.ts +2 -0
  167. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js +20 -0
  168. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js.map +1 -0
  169. package/dist/nodes/Chatwoot/resources/platformUser/index.d.ts +3 -0
  170. package/dist/nodes/Chatwoot/resources/platformUser/index.js +60 -0
  171. package/dist/nodes/Chatwoot/resources/platformUser/index.js.map +1 -0
  172. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.d.ts +2 -0
  173. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js +66 -0
  174. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js.map +1 -0
  175. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.d.ts +2 -0
  176. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js +5 -0
  177. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js.map +1 -0
  178. package/dist/nodes/Chatwoot/resources/profile/index.d.ts +3 -0
  179. package/dist/nodes/Chatwoot/resources/profile/index.js +26 -0
  180. package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
  181. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.d.ts +2 -0
  182. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js +63 -0
  183. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js.map +1 -0
  184. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.d.ts +2 -0
  185. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js +20 -0
  186. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js.map +1 -0
  187. package/dist/nodes/Chatwoot/resources/publicContact/index.d.ts +3 -0
  188. package/dist/nodes/Chatwoot/resources/publicContact/index.js +44 -0
  189. package/dist/nodes/Chatwoot/resources/publicContact/index.js.map +1 -0
  190. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.d.ts +2 -0
  191. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js +70 -0
  192. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js.map +1 -0
  193. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.d.ts +2 -0
  194. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js +42 -0
  195. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js.map +1 -0
  196. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.d.ts +2 -0
  197. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js +34 -0
  198. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js.map +1 -0
  199. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.d.ts +2 -0
  200. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js +20 -0
  201. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js.map +1 -0
  202. package/dist/nodes/Chatwoot/resources/publicConversation/index.d.ts +3 -0
  203. package/dist/nodes/Chatwoot/resources/publicConversation/index.js +68 -0
  204. package/dist/nodes/Chatwoot/resources/publicConversation/index.js.map +1 -0
  205. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.d.ts +2 -0
  206. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js +34 -0
  207. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js.map +1 -0
  208. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.d.ts +2 -0
  209. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js +52 -0
  210. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js.map +1 -0
  211. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.d.ts +2 -0
  212. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js +34 -0
  213. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js.map +1 -0
  214. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.d.ts +2 -0
  215. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js +73 -0
  216. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js.map +1 -0
  217. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.d.ts +2 -0
  218. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js +34 -0
  219. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js.map +1 -0
  220. package/dist/nodes/Chatwoot/resources/publicMessage/index.d.ts +3 -0
  221. package/dist/nodes/Chatwoot/resources/publicMessage/index.js +44 -0
  222. package/dist/nodes/Chatwoot/resources/publicMessage/index.js.map +1 -0
  223. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.d.ts +2 -0
  224. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js +65 -0
  225. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js.map +1 -0
  226. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.d.ts +2 -0
  227. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js +34 -0
  228. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js.map +1 -0
  229. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.d.ts +2 -0
  230. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js +34 -0
  231. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js.map +1 -0
  232. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.d.ts +2 -0
  233. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js +20 -0
  234. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js.map +1 -0
  235. package/dist/nodes/Chatwoot/resources/team/index.js +32 -0
  236. package/dist/nodes/Chatwoot/resources/team/index.js.map +1 -1
  237. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.d.ts +2 -0
  238. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js +34 -0
  239. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js.map +1 -0
  240. package/dist/tsconfig.tsbuildinfo +1 -1
  241. package/package.json +4 -2
package/README.md CHANGED
@@ -17,12 +17,14 @@ A comprehensive n8n community node for [Chatwoot](https://www.chatwoot.com/) - t
17
17
 
18
18
  ## Highlights
19
19
 
20
- - **15 Resources** - Comprehensive coverage of the Chatwoot API
21
- - **55+ Operations** - Complete CRUD operations for all resources
20
+ - **27 Resources** - Comprehensive coverage of Application, Platform, and Public APIs
21
+ - **130+ Operations** - Complete CRUD operations for all resources
22
+ - **3 API Types** - Application API, Platform API, and Public API support
22
23
  - **Trigger Node** - Real-time webhook events from Chatwoot
23
24
  - **Dynamic Dropdowns** - Auto-populated lists for agents, teams, inboxes, and labels
24
25
  - **Smart Pagination** - Automatic handling with "Return All" option
25
26
  - **Reports & Analytics** - Access conversation and agent statistics
27
+ - **Help Center** - Manage portals, categories, and articles
26
28
  - **Detailed Error Messages** - Clear feedback for troubleshooting
27
29
 
28
30
  ---
@@ -81,7 +83,11 @@ docker restart n8n
81
83
 
82
84
  ## Configuration
83
85
 
84
- ### Creating Credentials
86
+ This node supports three types of credentials for different API access levels:
87
+
88
+ ### 1. Chatwoot API (Application API)
89
+
90
+ Used for most operations - managing conversations, contacts, messages, teams, etc.
85
91
 
86
92
  1. In n8n, go to **Credentials > Add Credential**
87
93
  2. Search for **Chatwoot API**
@@ -93,15 +99,32 @@ docker restart n8n
93
99
  | **Account ID** | Your Chatwoot account ID | Found in URL: `/app/accounts/1/...` |
94
100
  | **API Access Token** | Your personal API token | Found in Profile Settings |
95
101
 
96
- ### Getting Your API Access Token
97
-
102
+ **Getting Your API Access Token:**
98
103
  1. Log in to Chatwoot
99
104
  2. Click your **profile icon** (bottom left)
100
105
  3. Go to **Profile Settings**
101
106
  4. Scroll to **Access Token**
102
107
  5. Copy or regenerate your token
103
108
 
104
- > **Note**: Keep your API token secure. It provides full access to your Chatwoot account.
109
+ ### 2. Chatwoot Platform API
110
+
111
+ Used for platform-level operations - managing accounts, platform users, and account agent bots. Requires super admin access.
112
+
113
+ | Field | Description | Example |
114
+ |-------|-------------|---------|
115
+ | **Base URL** | Your Chatwoot instance URL | `https://app.chatwoot.com` |
116
+ | **Platform API Token** | Super admin platform token | Found in Super Admin settings |
117
+
118
+ ### 3. Chatwoot Public API
119
+
120
+ Used for client-side/widget operations - creating contacts and conversations from external sources.
121
+
122
+ | Field | Description | Example |
123
+ |-------|-------------|---------|
124
+ | **Base URL** | Your Chatwoot instance URL | `https://app.chatwoot.com` |
125
+ | **Inbox Identifier** | The unique identifier for your inbox | Found in inbox settings (e.g., `abc123xyz`) |
126
+
127
+ > **Note**: Keep your API tokens secure. They provide access to your Chatwoot account.
105
128
 
106
129
  ---
107
130
 
@@ -109,7 +132,10 @@ docker restart n8n
109
132
 
110
133
  ### Chatwoot Node
111
134
 
112
- The main node for interacting with the Chatwoot API. Supports 11 resources with full CRUD operations.
135
+ The main node for interacting with Chatwoot APIs. Supports 27 resources across three API types:
136
+ - **Application API** (20 resources) - Core operations for conversations, contacts, messages, etc.
137
+ - **Platform API** (4 resources) - Admin operations for accounts, users, and agent bots
138
+ - **Public API** (3 resources) - Client-side operations for widgets and external integrations
113
139
 
114
140
  ### Chatwoot Trigger
115
141
 
@@ -174,6 +200,9 @@ Full contact management with search and merge capabilities.
174
200
  | **Search** | Find contacts by name, email, phone, or identifier |
175
201
  | **Get Conversations** | List all conversations for a contact |
176
202
  | **Merge** | Merge two contacts into one |
203
+ | **Filter** | Filter contacts with advanced criteria |
204
+ | **Add Labels** | Add labels to a contact |
205
+ | **List Labels** | Get all labels for a contact |
177
206
 
178
207
  ### Conversation
179
208
 
@@ -183,9 +212,16 @@ Manage customer conversations with assignment and labeling.
183
212
  |-----------|-------------|
184
213
  | **Get** | Get a single conversation with full details |
185
214
  | **Get Many** | List conversations with filters (status, inbox, team, labels, search) |
215
+ | **Create** | Create a new conversation |
186
216
  | **Update Status** | Change status to open, resolved, pending, or snoozed |
217
+ | **Update** | Update conversation (custom attributes, team, etc.) |
187
218
  | **Assign** | Assign to an agent or team (with dynamic dropdowns) |
188
219
  | **Add Labels** | Set labels on a conversation |
220
+ | **List Labels** | Get all labels for a conversation |
221
+ | **Toggle Priority** | Set conversation priority (urgent, high, medium, low, none) |
222
+ | **Filter** | Filter conversations with advanced criteria |
223
+ | **Update Custom Attributes** | Set custom attributes on conversation |
224
+ | **Get Meta** | Get conversation metadata |
189
225
 
190
226
  ### Custom Attribute
191
227
 
@@ -207,7 +243,13 @@ Manage communication channels.
207
243
  |-----------|-------------|
208
244
  | **Get Many** | List all inboxes |
209
245
  | **Get** | Get inbox details |
246
+ | **Create** | Create a new inbox |
210
247
  | **Update** | Modify inbox settings (name, greeting, auto-assignment, etc.) |
248
+ | **Add Agent** | Add an agent to an inbox |
249
+ | **Delete Agent** | Remove an agent from an inbox |
250
+ | **Get Members** | List inbox members |
251
+ | **Get Agent Bot** | Get associated agent bot |
252
+ | **Set Agent Bot** | Associate an agent bot with inbox |
211
253
 
212
254
  ### Label
213
255
 
@@ -228,6 +270,8 @@ Send and retrieve messages in conversations.
228
270
  |-----------|-------------|
229
271
  | **Create** | Send a message (supports private notes) |
230
272
  | **Get Many** | Retrieve message history with cursor-based pagination |
273
+ | **Update** | Update an existing message |
274
+ | **Delete** | Delete a message |
231
275
 
232
276
  ### Team
233
277
 
@@ -240,6 +284,10 @@ Manage agent teams for conversation routing.
240
284
  | **Create** | Create a new team |
241
285
  | **Update** | Modify team settings |
242
286
  | **Delete** | Remove a team |
287
+ | **Add Agent** | Add an agent to a team |
288
+ | **Delete Agent** | Remove an agent from a team |
289
+ | **Get Members** | List team members |
290
+ | **Update Agents** | Update team agent memberships |
243
291
 
244
292
  ### Webhook
245
293
 
@@ -252,6 +300,190 @@ Manage webhook subscriptions programmatically.
252
300
  | **Update** | Modify webhook URL or subscriptions |
253
301
  | **Delete** | Remove a webhook |
254
302
 
303
+ ### Agent Bot
304
+
305
+ Manage AI agent bots.
306
+
307
+ | Operation | Description |
308
+ |-----------|-------------|
309
+ | **Get Many** | List all agent bots |
310
+ | **Get** | Retrieve an agent bot by ID |
311
+ | **Create** | Create a new agent bot |
312
+ | **Update** | Modify agent bot settings |
313
+ | **Delete** | Remove an agent bot |
314
+
315
+ ### Automation Rule
316
+
317
+ Manage automation rules for conversations.
318
+
319
+ | Operation | Description |
320
+ |-----------|-------------|
321
+ | **Get Many** | List all automation rules |
322
+ | **Get** | Retrieve an automation rule by ID |
323
+ | **Create** | Create a new automation rule |
324
+ | **Update** | Modify automation rule settings |
325
+ | **Delete** | Remove an automation rule |
326
+
327
+ ### Custom Filter
328
+
329
+ Manage saved filters for conversations and contacts.
330
+
331
+ | Operation | Description |
332
+ |-----------|-------------|
333
+ | **Get Many** | List all custom filters |
334
+ | **Get** | Retrieve a custom filter by ID |
335
+ | **Create** | Create a new custom filter |
336
+ | **Update** | Modify filter settings |
337
+ | **Delete** | Remove a custom filter |
338
+
339
+ ### Report
340
+
341
+ Access analytics and reporting data.
342
+
343
+ | Operation | Description |
344
+ |-----------|-------------|
345
+ | **Account Summary** | Get account-level report summary |
346
+ | **Agent Statistics** | Get agent conversation metrics |
347
+ | **Conversation Counts** | Get conversation counts by status |
348
+ | **Conversation Statistics** | Get statistics grouped by agent, inbox, team, or channel |
349
+
350
+ ### Profile
351
+
352
+ Manage user profile.
353
+
354
+ | Operation | Description |
355
+ |-----------|-------------|
356
+ | **Fetch** | Get the authenticated user's profile |
357
+
358
+ ### Help Center
359
+
360
+ Manage knowledge base content.
361
+
362
+ | Operation | Description |
363
+ |-----------|-------------|
364
+ | **Create Portal** | Create a new help center portal |
365
+ | **Get Portal** | Retrieve portal details by slug |
366
+ | **Update Portal** | Modify portal settings |
367
+ | **Create Category** | Add a category to a portal |
368
+ | **Create Article** | Add an article to a portal |
369
+
370
+ ### Integration
371
+
372
+ Manage integrations (Dialogflow, Slack, etc.).
373
+
374
+ | Operation | Description |
375
+ |-----------|-------------|
376
+ | **Get Many** | List all integrations |
377
+ | **Create Hook** | Create an integration hook |
378
+ | **Update Hook** | Modify hook settings |
379
+ | **Delete Hook** | Remove an integration hook |
380
+
381
+ ### Audit Log
382
+
383
+ Access account activity logs.
384
+
385
+ | Operation | Description |
386
+ |-----------|-------------|
387
+ | **Get Many** | Retrieve account audit logs |
388
+
389
+ ### CSAT Survey
390
+
391
+ Access customer satisfaction surveys.
392
+
393
+ | Operation | Description |
394
+ |-----------|-------------|
395
+ | **Get** | Get CSAT survey for a conversation |
396
+
397
+ ---
398
+
399
+ ## Platform API Resources
400
+
401
+ These resources require the **Chatwoot Platform API** credential.
402
+
403
+ ### Platform Account
404
+
405
+ Manage accounts at the platform level.
406
+
407
+ | Operation | Description |
408
+ |-----------|-------------|
409
+ | **Create** | Create a new account |
410
+ | **Get** | Retrieve account details |
411
+ | **Update** | Modify account settings |
412
+ | **Delete** | Remove an account |
413
+
414
+ ### Platform User
415
+
416
+ Manage users at the platform level.
417
+
418
+ | Operation | Description |
419
+ |-----------|-------------|
420
+ | **Create** | Create a new platform user |
421
+ | **Get** | Retrieve user details |
422
+ | **Update** | Modify user settings |
423
+ | **Delete** | Remove a user |
424
+ | **Get SSO URL** | Generate SSO login URL |
425
+
426
+ ### Account User
427
+
428
+ Manage users within a specific account.
429
+
430
+ | Operation | Description |
431
+ |-----------|-------------|
432
+ | **Get Many** | List all users in an account |
433
+ | **Create** | Add a user to an account |
434
+ | **Delete** | Remove a user from an account |
435
+
436
+ ### Account Agent Bot
437
+
438
+ Manage agent bots at the account level.
439
+
440
+ | Operation | Description |
441
+ |-----------|-------------|
442
+ | **Get Many** | List all account agent bots |
443
+ | **Get** | Retrieve an agent bot by ID |
444
+ | **Create** | Create a new account agent bot |
445
+ | **Update** | Modify agent bot settings |
446
+ | **Delete** | Remove an account agent bot |
447
+
448
+ ---
449
+
450
+ ## Public API Resources
451
+
452
+ These resources require the **Chatwoot Public API** credential.
453
+
454
+ ### Public Contact
455
+
456
+ Manage contacts via the public API.
457
+
458
+ | Operation | Description |
459
+ |-----------|-------------|
460
+ | **Create** | Create a contact via public API |
461
+ | **Get** | Retrieve contact details |
462
+ | **Update** | Update contact information |
463
+
464
+ ### Public Conversation
465
+
466
+ Manage conversations via the public API.
467
+
468
+ | Operation | Description |
469
+ |-----------|-------------|
470
+ | **Create** | Create a conversation via public API |
471
+ | **Get** | Retrieve a conversation |
472
+ | **Get Many** | List all conversations for a contact |
473
+ | **Resolve** | Resolve/toggle conversation status |
474
+ | **Toggle Typing** | Show typing indicator |
475
+ | **Update Last Seen** | Mark messages as seen |
476
+
477
+ ### Public Message
478
+
479
+ Manage messages via the public API.
480
+
481
+ | Operation | Description |
482
+ |-----------|-------------|
483
+ | **Create** | Send a message via public API |
484
+ | **Get Many** | List messages in a conversation |
485
+ | **Update** | Update a message |
486
+
255
487
  ---
256
488
 
257
489
  ## Usage Examples
@@ -362,11 +594,17 @@ If the Chatwoot Trigger isn't receiving events:
362
594
 
363
595
  ## API Reference
364
596
 
365
- This node uses the [Chatwoot Application API v1](https://www.chatwoot.com/developers/api/).
597
+ This node uses three Chatwoot APIs:
598
+
599
+ - **Application API** - Core API for managing conversations, contacts, messages, etc.
600
+ - **Platform API** - Admin API for managing accounts, users, and agent bots (requires super admin access)
601
+ - **Public API** - Client-side API for widgets and external integrations
366
602
 
367
603
  ### API Documentation
368
604
 
369
- - [Chatwoot API Reference](https://www.chatwoot.com/developers/api/)
605
+ - [Chatwoot Application API Reference](https://www.chatwoot.com/developers/api/)
606
+ - [Chatwoot Platform API Reference](https://www.chatwoot.com/developers/api/#tag/Platform)
607
+ - [Chatwoot Public API Reference](https://www.chatwoot.com/developers/api/#tag/Client-APIs)
370
608
  - [Webhooks Documentation](https://www.chatwoot.com/docs/product/features/webhooks)
371
609
  - [API Authentication](https://www.chatwoot.com/hc/user-guide/articles/1684764-api-access)
372
610
 
@@ -0,0 +1,9 @@
1
+ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ChatwootPlatformApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatwootPlatformApi = void 0;
4
+ class ChatwootPlatformApi {
5
+ constructor() {
6
+ this.name = 'chatwootPlatformApi';
7
+ this.displayName = 'Chatwoot Platform API';
8
+ this.documentationUrl = 'https://www.chatwoot.com/developers/api/#tag/Platform';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Base URL',
12
+ name: 'baseUrl',
13
+ type: 'string',
14
+ default: 'https://app.chatwoot.com',
15
+ placeholder: 'https://app.chatwoot.com',
16
+ description: 'The base URL of your Chatwoot instance. Use https://app.chatwoot.com for Chatwoot Cloud, or your self-hosted instance URL.',
17
+ required: true,
18
+ },
19
+ {
20
+ displayName: 'Platform API Access Token',
21
+ name: 'apiAccessToken',
22
+ type: 'string',
23
+ typeOptions: {
24
+ password: true,
25
+ },
26
+ default: '',
27
+ description: 'Your Platform API Access Token. This is a super admin token with access to platform-level operations like creating accounts and users. Found in the installation config or super admin panel.',
28
+ required: true,
29
+ },
30
+ ];
31
+ this.authenticate = {
32
+ type: 'generic',
33
+ properties: {
34
+ headers: {
35
+ api_access_token: '={{$credentials.apiAccessToken}}',
36
+ },
37
+ },
38
+ };
39
+ this.test = {
40
+ request: {
41
+ baseURL: '={{$credentials.baseUrl.replace(/\\/$/, "")}}',
42
+ url: '/platform/api/v1/agent_bots',
43
+ method: 'GET',
44
+ },
45
+ };
46
+ }
47
+ }
48
+ exports.ChatwootPlatformApi = ChatwootPlatformApi;
49
+ //# sourceMappingURL=ChatwootPlatformApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatwootPlatformApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatwootPlatformApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,mBAAmB;IAAhC;QACE,SAAI,GAAG,qBAAqB,CAAC;QAC7B,gBAAW,GAAG,uBAAuB,CAAC;QACtC,qBAAgB,GAAG,uDAAuD,CAAC;QAC3E,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,0BAA0B;gBACnC,WAAW,EAAE,0BAA0B;gBACvC,WAAW,EACT,4HAA4H;gBAC9H,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EACT,+LAA+L;gBACjM,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;QAEF,iBAAY,GAAyB;YACnC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,gBAAgB,EAAE,kCAAkC;iBACrD;aACF;SACF,CAAC;QAEF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,+CAA+C;gBACxD,GAAG,EAAE,6BAA6B;gBAClC,MAAM,EAAE,KAAK;aACd;SACF,CAAC;IACJ,CAAC;CAAA;AA7CD,kDA6CC"}
@@ -0,0 +1,7 @@
1
+ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ChatwootPublicApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatwootPublicApi = void 0;
4
+ class ChatwootPublicApi {
5
+ constructor() {
6
+ this.name = 'chatwootPublicApi';
7
+ this.displayName = 'Chatwoot Public API';
8
+ this.documentationUrl = 'https://www.chatwoot.com/developers/api/#tag/Contacts-API';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Base URL',
12
+ name: 'baseUrl',
13
+ type: 'string',
14
+ default: 'https://app.chatwoot.com',
15
+ placeholder: 'https://app.chatwoot.com',
16
+ description: 'The base URL of your Chatwoot instance. Use https://app.chatwoot.com for Chatwoot Cloud, or your self-hosted instance URL.',
17
+ required: true,
18
+ },
19
+ {
20
+ displayName: 'Inbox Identifier',
21
+ name: 'inboxIdentifier',
22
+ type: 'string',
23
+ default: '',
24
+ description: 'The unique identifier for your inbox. This is the website_token or inbox_identifier from your website channel settings. Found in Inbox Settings → Configuration.',
25
+ required: true,
26
+ },
27
+ ];
28
+ }
29
+ }
30
+ exports.ChatwootPublicApi = ChatwootPublicApi;
31
+ //# sourceMappingURL=ChatwootPublicApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatwootPublicApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatwootPublicApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,iBAAiB;IAA9B;QACE,SAAI,GAAG,mBAAmB,CAAC;QAC3B,gBAAW,GAAG,qBAAqB,CAAC;QACpC,qBAAgB,GAAG,2DAA2D,CAAC;QAC/E,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,0BAA0B;gBACnC,WAAW,EAAE,0BAA0B;gBACvC,WAAW,EACT,4HAA4H;gBAC9H,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACT,kKAAkK;gBACpK,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;IAIJ,CAAC;CAAA;AA5BD,8CA4BC"}
@@ -1,5 +1,5 @@
1
1
  import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- import { getAgents, getTeams, getInboxes, getLabels } from './GenericFunctions';
2
+ import { getAgents, getTeams, getInboxes, getLabels, getAgentBots, getPortals, getIntegrations } from './GenericFunctions';
3
3
  export declare class Chatwoot implements INodeType {
4
4
  description: INodeTypeDescription;
5
5
  methods: {
@@ -8,6 +8,9 @@ export declare class Chatwoot implements INodeType {
8
8
  getTeams: typeof getTeams;
9
9
  getInboxes: typeof getInboxes;
10
10
  getLabels: typeof getLabels;
11
+ getAgentBots: typeof getAgentBots;
12
+ getPortals: typeof getPortals;
13
+ getIntegrations: typeof getIntegrations;
11
14
  };
12
15
  };
13
16
  execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;