Whatsapp Integration


Whatsapp notifications can be sent from within the mobile application to clients, to inform them about delivery or pickup times.

For the button to appear in the mobile app, the SEND_WHATSAPP_NOTIFICATIONS right must be checked for the desired user. The user can send messages to both senders and receivers.

To make sure that the messages will be sent properly, the admin should set the country phone prefix in the settings page of the web application (example for Romania: +40).

You can set different messages for the sender and receivers on the usercompany page by completing Whatsapp sender notification message and Whatsapp recipient notification message fields. These fields also accept two variables: $client and $options.

The $client variable will replace the $client text with the name of the expedition client. For example, if the value of Whatsapp sender notification message is “The expedition from $client will be delivered within next hour” and the client name is John Doe, the final message will be “The expedition from John Doe will be delivered within next hour”.

The $options variable allows the user to pick from multiple options to alter a part of the message. For example, it can be useful to define some delivery intervals (14:00 – 15:00, 15:00 – 16:00, etc.). To use it, you’ll have to add options in the Whatsapp options field, separated by comma.