Adding New Conversation Channels to Chatwoot #2759
Replies: 3 comments 7 replies
-
I hope you can integrate with whatsapp unofficial API like , whatsapp-web.js or chat - api |
Beta Was this translation helpful? Give feedback.
-
Any movement on this? I'm the maintainer of https://github.com/open-wa/wa-automate-nodejs and I understand the position of implementing only native integrations from a chatwoot perspective. It would be great if I could develop some sort of plugin that can be added to the |
Beta Was this translation helpful? Give feedback.
-
Hello, anyone has use chatwoot with unnoficial whatsapp api, like whatsapp-web.js or https://github.com/adiwajshing/Baileys? |
Beta Was this translation helpful? Give feedback.
-
One of the prominent requests which we receive in Chatwoot forums is around adding new conversation channels. This discussion aims to clarify the core team's thoughts on the same.
We want Chatwoot to be the software where all the in-build channels behave like primary citizens of the product. This requires any new features like CSAT surveys, business hours, automated responses, etc., to behave consistently across all these channels.
There might be some exceptions, namely the likes of interactive messages such as cards and inputs, etc., which aren't supported by all channels. But we try to leverage all the available APIs, provide workarounds and give a complete experience for the users of Chatwoot.
This comes with the following pain points when adding a new channel.
While there might be community contributions for newer channels, the team would still need to guarantee fixes in production breakages.
Because of these, we would have to be super judicious while adding channels.
Providers
While Chatwoot aims to package native channel integrations inside the product, there are two exceptions.
SMS via Twilio
Whatsapp via Twilio
This decision was taken during development due to API access and delivery time constraints. Back then, we opted for
Twilio
to ensure a way for our global community to use these channels.This encouraged the community to request more such provider channels for SMS, Whatsapp vendors across the globe. These requests come with genuine reasons like regional support, better pricing, etc. But due to the concerns mentioned above, we often don't have the capacity to tackle them. So, for the time being, we would be putting away all efforts in adding provider channels / nor be encouraging PRs for them.
Alternatives
API Channel: One could write a bridge service and leverage the Chatwoot API channel if they want to work with a provider channel ( APIs available through Agent Bots, HTTP APIs, Webhooks & Web-sockets )
Provider APIs ( future): We are working on ways to decouple the provider logic and expose new APIs for channels like SMS / Whatsapp. This would let the community/providers maintain provider packages, which could be plugged into Chatwoot installations on demand.
This idea is still in its infancy, but keep an eye out for more news and reference implementations.
Forks ( if critical): One could maintain forks with support for a specific channel.
Future
The core team will be continuing to add native integrations to additional channels like Instagram, telegram, apple/google business chats, etc.
The prioritization is primarily based on the following factors.
Notes
Feel free to post any feedback & comments.
Beta Was this translation helpful? Give feedback.
All reactions