Hello, how can we help you?

Recent Searches: Changelog - OKR - Configuring notifications via SMS and WhatsApp - Changelog - Workflow - Changelog - FMEA

Configuring notifications via SMS and WhatsApp

 

Prerequisites

  • Access to the Process (PM063) menu.
  • Active SoftExpert Copilot license.
  • Integration API configured in the SoftExpert Copilot > Configuration > Integration center (CO010) menu.
  • Active account correctly configured with Twilio or Zenvia, which are used as the interface for sending messages.

 

Introduction

The SMS and WhatsApp notification feature makes it possible to automate the sending of personalized messages directly from the BPMN flow, which offers immediate, real-time communication with users both inside and outside the system.

Fully integrated with SoftExpert Copilot and messaging providers such as Twilio and Zenvia, the feature ensures complete automation, eliminating manual steps in critical flows and ensuring that messages are sent in a secure, traceable, and standardized way.

Messages can be dynamically personalized using process or form variables, allowing the content to automatically adapt to the context of each instance. In addition, all notifications sent are recorded, providing traceability and log control for audit and monitoring purposes.

See how to configure the sending of notifications via SMS and WhatsApp:

 

Configuring notification via system activity

1. Access the Process (PM063) menu.

2. Create a BPMN process or use the Flowchart icon. button to open the flowchart of the existing process in which you want to configure the notification.

3. Add a system activity to the flow. Click on the Save button to enable the activity data.

4. Double-click on the system activity or select it and click on the Data option.

5. On the activity general data screen, select the Integrations field and choose the Notification option.

6. Click on the Configure notification option.

Activity data screen on the "General data" tab, with the "Configure notification" option highlighted.

7. In the window that opens, choose whether the notification will be sent via SMS or WhatsApp and click on Create blank. 

Notification configuration screen in the "Notification" step.

8. Complete all the steps to configure the notification correctly:

Notification

In this step, configure the message that will be sent via SMS or WhatsApp. The configurations vary depending on the chosen sending method.

Configuring SMS messages:

1. Click on the Fill out button.

Notification configuration screen in the "Notification" step, with a notification added and the "Fill out" button highlighted.

2. In the Message content section, enter the text to be sent. If desired, use Dynamic words to complement the content with process data or form fields. Simply click on the desired data or field to automatically insert the corresponding variable into the content.

Notification configuration screen in the "Notification" step, displaying the content section of an SMS notification.

3. Click on the Save and return button.

4. After configuring the message text, click on the Next button.

 

Configuring WhatsApp messages:

1. Click on the Fill out button.

Notification configuration screen in the "Notification" step, with a notification added and the "Fill out" button highlighted.

2. Select the message template. The system allows choosing the template version in Portuguese, English, or Spanish.

3. In the Keywords section, select whether the variables will be replaced by process data or by values filled in a form field.

Notification configuration screen in the "Notification" step, displaying the content section of a WhatsApp notification, with the "Value" fields highlighted.

4. Click on the Save and return button.

5. After configuring the message text, click on the Next button.

It is not possible to proceed to the next steps without filling out the content in the message's default language.

 
 
 

Addressees

In this step, specify the message addressees.

1. Click on the Add icon. button.

Notification configuration screen in the "Addressee" step, with the "Add" button highlighted.

2. On the screen that opens, click on the Control field to define whether the addressee will be a user, a department, a position, a team, or a source field for the destination data, such as a phone number entered in a process form.

3. Use the other fields to search for and select the desired addressee.

4. Click on the Save and exit icon. button.

Addressee selection screen, with the "Control" field highlighted.

5. After specifying all the necessary addressees, click on the Next button.

There is no limit to the number of addressees. Add as many as needed.

 
 
 

Return

In this step, define whether you want to receive delivery confirmation or a response.

Click on the Configure button to select the process attribute or the form field in which the user response will be saved.

Notification configuration screen in the "Return" step, with the "Configure" button highlighted.

 
 

Exception treatment

In this step, configure the process's behavior in case of a delivery failure.

Notification configuration screen in the "Exception treatment" step.
  • Ignore and continue the process: the process proceeds normally, even if the message is not sent.
  • Stop the execution of the process: the process execution is stopped immediately in case of a delivery failure.
  • Trigger an error event: when this option is selected, the system triggers an error event defined in the BPMN flow. In the Target field, select the error event that will be triggered if the delivery fails.
 
 

9. Click on Finish. 

10. Save the system activity data and release the process. The message is sent automatically during the execution of the system activity, according to the defined parameters.

 

Configuring notification via message event

1. Access the Process (PM063) menu.

2. Create a BPMN process or use the Flowchart icon. button to open the flowchart of the existing process in which you want to configure the notification.

3. Add a Message (send) event to the flow. Click on the Save button to enable the event data.

4. Double-click on the event or select it and click on the Data option.

5. Select the SMS and WhatsApp option.

Data screen of a "Message (send)" type event, with the "SMS and WhatsApp" field highlighted.

6. On the Content tab, choose whether the notification will be sent via SMS or WhatsApp and click on Create blank. 

7. Configure the message that will be sent via SMS or WhatsApp. The configurations vary depending on the chosen sending method.

Configuring SMS messages

1. Click on the Fill out button.

2. In the Message content section, enter the text to be sent. If desired, use Dynamic words to complement the content with process data or form fields. Simply click on the desired data or field to automatically insert the corresponding variable into the content.

3. Click on the Save and return button.

Data screen of a "Message (send)" type event, with the "Content" tab displaying the text of an SMS notification.

4. After configuring the message text, click on the Next button.

 
 

Configuring WhatsApp messages

1. Click on the Fill out button.

2. Select the message template. The system allows choosing the template version in Portuguese, English, or Spanish.

3. In the Keywords section, select whether the variable will be replaced by process data or by a value filled in a form field.

4. Click on the Save and return button.

5. After configuring the message text, click on the Next button.

Data screen of a "Message (send)" type event, with the "Content" tab displaying the text of a WhatsApp notification and the "Value" fields highlighted.
 
 

8. Use the Notified user tab to specify the message addressees. Click on the Add icon. button.

9. On the screen that opens, click on the Control field to define whether the addressee will be a user, a department, a position, a team, or a source field for the destination data, such as a phone number entered in a process form.

10. Use the other fields to search for and select the desired addressee. With the addressee selected, click on the Save and exit icon. button.

11. Save the event data using the Save and exit icon. button and release the process. When the event is reached in the flow, it automatically sends the configured message through the chosen channel.

• Use the Edit icon. and Clear field icon. buttons if you want to edit or delete the text entered for the message.

• If you want to add a translation for the message in other languages, click on Add/Remove languages and, in the Message language(s) field, select all the languages into which the text will be translated.

  • After the selection, click on Configure message and then on Fill out to enter the content in the corresponding language.
  • The SMS or WhatsApp message is sent in the language defined in the user's profile. If there is no translation configured for the addressee's language, the message is sent in the default language.
  • If the phone number is obtained from an attribute or a table field, the addressee receives the message in the default language.

• If versions of the message are added for both SMS and WhatsApp, both are sent when the system activity is executed.

• Check more information about the configuration of integration APIs in SoftExpert Copilot by clicking here.

• For more information about process configuration and modeling, see the SoftExpert Process documentation.

 

• The messages sent follow the security standards of the Twilio and Zenvia APIs, in accordance with the token authentication configured in the Integration center (COP010).

• It is important to ensure that the phone number field is validated for the international format (e.g., +55XXXXXXXXXX).

• SoftExpert Suite does not store the content of the messages sent, only trigger records and status.

• It is recommended that the configuration of the integrations with Twilio or Zenvia be validated by the system's technical administrator before being used in system activities or message events.

 

 

Conclusion

Done! Now you know how to integrate messaging channels directly into the BPMN flow, ensuring efficiency, traceability, and agility in the communication of process events and statuses.


Was this article helpful?