Adding Whatsapp chat provider to Novu
hey folks i am working on adding D7 Network Whatsapp Chat Provider and i have setuped the provider using Novu's guide to building a provider and need a bit of guidance on what i have to do next with the D7's whatsapp API
https://github.com/novuhq/novu/issues/4369#issuecomment-1750744015
24 Replies
@Harshit_Mishra
Please share your doubts π
@Harshit_Mishra, you just advanced to level 1!
@Pawan Jain i have did this much
but now how do i have to use the https://d7networks.com/docs/Whatsapp/Send-Whatsapp-Message/
Send Whatsapp Message | D7 Networks
Explore the steps to getting start with Online Whatsapp API
as there are many ways like one to one, one to many and many to many
Hi @Harshit_Mishra
As of now you can go with one to one
sending message to one person
https://d7networks.com/docs/Whatsapp/Send-Whatsapp-Message/
Send Whatsapp Message | D7 Networks
Explore the steps to getting start with Online Whatsapp API
I feel whatsapp provider should be in sms channel because it requires subscriber phone number to send whatsapp message
hey @Pawan Jain this is the provider that i have made if everything seems right i will make the PR
Feels ok
Please check api and payload in postman as well
ok
i don't have the API key for making the api call as D7 networks does not allow @gmail.com emails for registering on their platform and i don't have any other one π
, although without the API key when i made the post request it did gave me Not authenticated as response
i guess this should be it @Pawan Jain , user will have a apiKey from D7 that they will use, originator and recipients will come from options and type of message should be TEXT as we are sending text instead of template and that text will come from options.content,
then we are making config that has the Authorization set to this.apiKey
and after that using axiosInstance we are making a post request to url along with config and data
and all of this is in accordance with https://d7networks.com/docs/Whatsapp/Send-Whatsapp-Message/ with message type set to text
Send Whatsapp Message | D7 Networks
Explore the steps to getting start with Online Whatsapp API
ππ»
GitHub
whatsapp chat provider added by harshit-senpai Β· Pull Request #4676...
What change does this PR introduce?
Why was this change needed?
This PR should close #2953
Other information (Screenshots)
Hi @Harshit_Mishra
This is a great feature.
I have a suggestion on this also, in a case where a company has its own whatsapp api server, could you consider adding like a custom integration for whatsapp where the user inputs the url and the api keys in the configurations?
@dentricedev, you just advanced to level 2!
Hey @dentricedev that's a nice suggestion that can be considered working on. of using api server of any other company, but for this particular feature it was requested to make whatsapp provider using D7 networks api.
but you can propose this as a feature to the Team and they might consider it, and i would also be delighted to work on
@Harshit_Mishra, you just advanced to level 3!
@Pawan Jain Do you think this is a feature worth considering?
@dentricedev
Yes sure we can include this
Could you please create new feature request on github for this?
!feature