SalesUp Viber Chat Channel for Creatio | Creatio Marketplace

Sales' Up Viber chat channel for Creatio is a solution that allows you to process messages from the Viber messenger directly in Creatio, giving users the opportunity to use an additional chat channel in addition to existing ones - Facebook messenger, Telegram, WhatsApp, Ada AI chatbot

Contents:

Product installation

You can find the installation instruction at this link:

Product installation, eng

Setting Up the Service for receiving incoming messages from Viber

Set up the service with anonymous authentication to receive incoming messages from Viber according to the instructions.

If the website is hosted on the Creatio cloud, send the service setup instructions to support - [[email protected]](mailto:[email protected]?subject=Web%20service%20setup%20for%20the%20SalesUp%20Viber%20Chat%20Channel%20product&body=Hello,%0D%0A%0D%0APlease%20set%20up%20the%20web%20service%20according%20to%20the%20instructions%20on%20the%20website%20[Website%20Address].%0D%0A%0D%0AGuide%20-%20https://salesup-it.notion.site/13eecf917058800b9beefd06031c9779?pvs=97#15eecf91705880b3b032d396bf00a677.%0D%0A%0D%0AThank%20you.).

.NET Framework

  1. Register the custom web service that uses anonymous authentication.
    1. Create an SuApprovingEmailService.svc file in the ..\Terrasoft.WebApp\ServiceModel directory.

    2. Add the following record to the file.

      <% @ServiceHost
          Service = "SalesUp.OmnichannelMessaging.Viber.SuViberOmnichannelMessagingService"
          Debug = "true"
          Language = "C#"
      %>
      
    3. Save the file.

  2. Enable both HTTP and HTTPS support for the custom web service that uses anonymous authentication.
    1. Add the following record to the ..\Terrasoft.WebApp\ServiceModel\http\services.config file.

      <services>
          ...
          <service name="SalesUp.OmnichannelMessaging.Viber.SuViberOmnichannelMessagingService">
              <endpoint name="SuViberOmnichannelMessagingServiceEndPoint"
              address=""
              binding="webHttpBinding"
              behaviorConfiguration="RestServiceBehavior"
              bindingNamespace="<http://Terrasoft.WebApp.ServiceModel>" contract="SalesUp.OmnichannelMessaging.Viber.SuViberOmnichannelMessagingService" />
          </service>
      </services>
      
    2. Save the file.

    3. Add an identical record to the ..\Terrasoft.WebApp\ServiceModel\https\services.config file.

  3. Enable all users to access the custom web service that uses anonymous authentication.
    1. Add the <location> element that defines the relative path and access permissions to the web service to the ..\Terrasoft.WebApp\Web.config file.

      <configuration>
          ...
          <location path="ServiceModel/SuViberOmnichannelMessagingService.svc">
              <system.web>
                  <authorization>
                      <allow users="*" />
                  </authorization>
              </system.web>
          </location>
          ...
      </configuration>
      
    2. Add the relative web service path to the value attribute of the <appSettings> element's AllowedLocations key in the ..\Terrasoft.WebApp\Web.config file.

      <configuration>
          ...
          <appSettings>
              ...
              <add key="AllowedLocations" value="SomePreviousValues;ServiceModel/SuViberOmnichannelMessagingService.svc" />
              ...
          </appSettings>
          ...
      </configuration>
      
    3. Save the file.

  4. Restart Creatio in IIS.

Adding a New Chat Channel – Viber

The standard functionality of Creatio is used to add new chats. Full information is available at the link.

To add the Viber channel, go to "System Designer" and select "Chat Settings" in the "Import and Integrations" block.