Defining an SMS Provider
SMS Provider is defined as a service used to send the relevant flow via SMS.
While services that have been previously integrated by Pisano can be preferred, users can also use services they have written themselves.
Examples of previously integrated services include Mobildev and Codec SMS.

In order to use the written service, any of the provider types listed below can be selected according to the service need.
Generic Message Provider (Global)
Generic SOAP Message Provider (Global)
For example, when selecting the "Generic Message Provider (Global)" provider type, the required fields must be completed. These fields vary depending on the service requirements. The most important factor between Pisano and the service is the dynamic aspects. For example, a service written for an SMS Provider needs to obtain a phone key, but this key is expected to be dynamic.
The dynamicization process is performed using Pisano interpolations. As in the example below, when the interpolation is defined in the provider section, the system will automatically fill in the recipient's phone number in this field.
For example, Pisano removes the "+" sign from the beginning of phone numbers. If your service provider expects a "+" sign at the beginning of the phone number, the process will likely fail. In such cases, you should configure your provider and define your options accordingly.

Push Notification Provider Assignment
Push Notification Provider definition is done via the SMS Provider tab and the Push Notification channel also uses the SMS Provider.
Push Notification Provider is the service used to send the relevant flow via push notification.
You can choose services that have already been integrated by Pisano, or you can use a service you have written yourself.
Defining a WhatsApp Provider
WhatsApp Provider definition is made via the SMS Provider tab and the WhatsApp channel also uses the SMS Provider.
WhatsApp Provider is a service used to send the relevant stream via push notification.
You can choose services that have already been integrated by Pisano, or you can use a service you have written yourself.
Examples of previously integrated services include Mobildev and Codec SMS.

In order to use the written service, any of the provider types listed below can be selected according to the service need.
Generic Whatsapp Provider (Global)
For example, when selecting the "Generic Message Provider (Global)" provider type, the required fields must be filled in. These fields vary entirely depending on the service requirement. The most important element between Pisano and the service is the dynamic aspects. For example, a service written for WhatsApp Provider requires a phone key, but this key is expected to be dynamic.
This dynamicization is achieved using Pisano interpolations. As in the example below, when the interpolation is defined in the provider section, the system will automatically fill in the recipient's phone number in this field.
For example, Pisano removes the "+" sign from the beginning of phone numbers. If your service provider expects a "+" sign at the beginning of the phone number, the process will likely fail. In such cases, you should configure your provider and define your options accordingly.

Mail Provider Definition and Template Customization
The mail provider definition works in the same way as the SMS Provider definition. In the mail integration section, you can customize your sent email template in two different ways.
Template Editing
First Method: On the Your Mail Channels page, simply click the edit button in the "Template" column of the campaign whose template you want to edit and paste the email template you have prepared.

The important part here is to enter this key in the survey redirection section of the templates to be created. For example, in the template example above, it's specified as ; the key here will be dynamically populated with the survey URL.

The second important section is the provider section. According to the definitions made in the template section, for example, if you enter string data, it is specified as , but if you enter HTML data, it is specified as . Your email provider's body section should be configured according to these definitions.
The third important point is the and sections. These sections will be filled dynamically by Pisano.The second method is to click the edit button in the Template column of the campaign whose template you want to edit on the Your Mail Channels page and paste the key. Then, you can use the template you created by customizing your email provider's Request Template section in the Mail Providers tab.


Here, fromName, fromEmail, replyEmail and body parts will be kept constant.
The first important point here is to send the HTML template code as a string to the body section.

The second important point is the key in your template code. This will correspond to the key you defined in the template section; that is, this section will be dynamically filled with the survey URL.
The third important point is the and sections. These sections will be filled dynamically by Pisano.
Mail Template (String) Example
The provider definition logic generally follows the same structure on the Pisano side. The only difference is the integration method and the interpolations that are dynamically populated based on the channels.
Using Interpolations and Curly Braces in Communication Channels