I am not able to send messages using the WhatsApp Business Outbound Connector because while the execution path of the process instance shows that it was successfully completed, the message was not sent to the specified recipient phone number.
Hi @MrDeeb, can you share some more details please.
Are you using SaaS or Self-Managed? Which version of Camunda?
Can you share your cURL statement that worked (without your credentials) ? We can then compare it to what the REST Connector (which the WhatsApp Connector is based on) is doing.
Thanks @MrDeeb. The response looks like everything was processed correctly from our side. Can you reach out their support as well why you get a successful response but without the expected result of the message being sent?
Hello @sbuettner , I couldn’t find a way to contact them directly as all I can see in the support page some docs and FAQ, so I posted about this issue in the community.
I did not receive a response from them, but I solved the problem by changing the Message type in the connector configuration from “Plain text” to “Message template.”
Using the cURL command with the message type being “text” instead of “template” reproduced the same problem, so it only worked in the external service because of using “template” as the message type in the request body.
Unfortunately, even though following the cloud API docs, I couldn’t find out how to send plain text messages either by the connector or the external service.
The issue was not related to Camunda or the connector. It is just how WhatsApp treats new messages from new numbers.
I was not able to send plain text messages because I never replied!
You can send other types of messages than template messages only if the received phone number has replied at least once…