What are the configuration settings for the ASAP SalesIQ Flutter SDK? 

What are the configuration settings for the ASAP SalesIQ Flutter SDK?

To display details of anonymous users in the chat module to your agents:

When an anonymous user contacts the customer support agent via the SalesIQ Chat, their details usually do not appear on the agent's screen. However, you can configure the ASAP help widget to display these details after receiving them from the concerned user.
 
To configure this setting, use the following method:
  1. import 'package:zohodesk_portal_siq/zohodesk_portal_siq.dart';
  2.  
  3. void setGuestUserDetails() {
  4.   ZohodeskPortalSiq.setGuestUserDetails("John Doe", "johndoe@example.com", "+1234567890");
  5. }
InfoAdditionally, agents can convert chat conversations into tickets if additional user interactions are required later. The email address is a mandatory parameter for such a conversion.
To use SalesIQ configurations, import the ZohoDeskPortalSalesIQ module: 
  1. import 'package:zohodesk_portal_siq/zohodesk_portal_siq.dart';
AlertThis SalesIQ configuration is provided in the ASAP SDK starting from version 2.1.0. In versions below 2.1.0, the preChatForm was disabled by default. From version 2.1.0 onwards, it is enabled by default. Please set your configuration preferences accordingly.
Info
After successfully initializing SalesIQ, you can proceed with the additional configurations.
Info
For a smooth user experience, ensure that all necessary configurations are applied after initialization.

setSalesIQInitCallback

For SalesIQ configuration,  you need to set up all the required configurations in SalesIQInitCallback.onInitialized block of the Init Callback.
Idea
Ensure that SalesIQ Init callback is set before calling ZohodeskPortalApikit.initializeSDK(orgId, appId, datacenterValue)
Parameters:
onInitialized - This is called when the SalesIQ SDK is successfully initialized.
onException - This is called when the SDK initialization fails. 

Example
Here is the example SalesIQ configurations set within the callback:
  1. import 'package:zohodesk_portal_siq/common/SalesIQInitCallback.dart';
  2. import 'package:zohodesk_portal_siq/zohodesk_portal_siq.dart';

  3. class InitCallback implements SalesIQInitCallback{
  4.   @override
  5.   void onException( String? errorMessage) {
  6.     //SalesIQ Init Failure
  7.   }

  8.   @override
  9.   void onInitialized() {
  10.     //SalesIQ Init Success
  11.   }
  12. }

  13. void setInitCallback() {
  14.   ZohodeskPortalSiq.setSalesIQInitCallback(InitCallback());
  15. }

setLauncherVisibility

The ZohodeskPortalSiq.setLauncherVisibility(LauncherMode) API allows you to manage the visibility of the SalesIQ launcher based on the specified launcher mode.

Parameters of LauncherMode:
ALWAYS_VISIBLE - The launcher will always be visible.
NEVER_VISIBLE - The launcher will always be hidden.
VISIBLE_WHEN_ACTIVE_CHAT - The launcher will be visible only when there is an active chat.
  1. import 'package:zohodesk_portal_siq/common/LauncherMode.dart';
  2. import 'package:zohodesk_portal_siq/zohodesk_portal_siq.dart';
  3.  
  4. void setLauncherVisibility() {
  5.   ZohodeskPortalSiq.setLauncherVisibility(LauncherMode.NEVER_VISIBLE);
  6. }

enableDragToDismiss

The ZohodeskPortalSiq.enableDragToDismiss(Boolean) allows closing the SalesIQ launcher by dragging and dropping it on the close button.
  1. ZohodeskPortalSiq.enableDragToDismiss(true);

setConversationTitle

This ZohoDeskPortalSalesIQ.setConversationTitle(String) API allows you to set the title for the conversations list screen in SalesIQ.
  1. ZohodeskPortalSiq.setConversationTitle("Set conversation title here");

setConversationVisibility

This ZohoDeskPortalSalesIQ.setConversationVisibility(Boolean) API can be used to enable or disable the visitor conversation history in the salesIQ UI.

Parameters:
true - Displays the conversation screen (default).
false - Hides the conversation screen.
Notes
This API cannot be used to enable the conversation history on the UI if it is disabled in the portal settings.
  1. ZohodeskPortalSiq.setConversationVisibility(true);

showFeedbackAfterSkip

The ZohoDeskPortalSalesIQ.showFeedbackAfterSkip(Boolean) API allows you to manage the duration of the feedback card for 24 hours after the chat ends.

Parameters:
enable:
true - The feedback card will be displayed permanently (default).
false - The feedback card will be displayed for 24 hours until feedback is given.
Notes
The feedback card will always have the Skip option. When enable is "false" and upon clicking on Skip, the card will not be displayed again until the next chat. 
  1. ZohodeskPortalSiq.showFeedbackAfterSkip(false);

hideQueueTime

The ZohoDeskPortalSalesIQ.hideQueueTime(Boolean) API controls the visibility of the chat queue time in the chat window when connecting to an operator.

Parameter:
true - This hides chat queue time (default).
false - This displays the chat queue time.
  1. ZohodeskPortalSiq.hideQueueTime(true);

setLoggerEnabled

This setLoggerEnabled( Boolean ) lets you request your application debug logs from the visitor. By setting the boolean value, you can choose to enable or disable the request app log feature for your operators in the SalesIQ dashboard.

Parameter:
true - Enables the logs.
false - Disables the logs (default).
  1. ZohodeskPortalSiq.setLoggerEnabled(true);

showOfflineMessage

This showOfflineMessage( Boolean ) API will set an offline banner in the chat window during non-business hours and when agents are busy to help visitors leave a message even when agents are unavailable.

Parameters:
true - Displays the offline message card (default).
false - Hides the offline message card.
  1. ZohodeskPortalSiq.showOfflineMessage(true);

setKnowledgeBaseVisibility

The ZohodeskPortalSiq.setKnowledgeBaseVisibility(Boolean) API allows you to manage the resource's visibility in the Mobilisten knowledge base section.


Parameters:

true - This will display the resource type (default).
false - This will hide the resource.
NotesThe API will work when "Articles" is enabled under brand settings. To check, navigate to Settings > Brands > Personalisation > Knowledge Base > Article from your SalesIQ dashboard. 

  1. ZohodeskPortalSiq.setKnowledgeBaseVisibility(true);

setChatVisibility

This ZohodeskPortalSiq.setChatVisibility(chatComponents, true) API lets you toggle the function of various components in SalesIQ.
Info
The components' settings are considered only if their function is enabled in portal settings. 
Parameter of ChatComponent:

Chat component

Function description

Default setting

PRECHAT_FORM

Enable/disable the pre-chat form before initiating a chat.

Enabled

OPERATOR_IMAGE
Enable/disable the attendee's profile image in the chat window.
Enabled
VISITOR_NAME
This option is used to configure the visibility of the visitor's name for all outgoing messages.
Disabled
SCREENSHOT
Enable/disable the ability to take screenshots from the adding attachments menu.
Enabled
RATING
Enable/disable the option to rate a chat after it has ended.
Enabled
FEEDBACK
Enable/disable the option to give feedback after a chat has ended.
Enabled
EMAIL_TRANSCRIPT
Enable/disable the option to request an email transcript for a chat.
Enabled
FILE_SHARE
Enable/disable the access to send files from the files application in chat.
Enabled
END
Controls the visibility of the end action option in the chat window.
Enabled

END_WHEN_BOT_CONNECTED

Show/hide the end chat option only for the bot-connected chats.

Enabled

END_WHEN_OPERATOR_CONNECTED

Controls the visibility of the end action option in the chat window when a human operator is connected.Enabled

END_WHEN_IN_QUEUE

Controls the visibility of the end action option in the chat window when the user is in the queue.Enabled

QUEUE_POSITION

Controls the visibility of the queue position in the chat window. Enabled
REOPEN
Show/hide the reopen chat button in the chat window.
Enabled
  1. import 'package:zohodesk_portal_siq/common/ChatComponent.dart';
  2. import 'package:zohodesk_portal_siq/zohodesk_portal_siq.dart';
  3.  
  4. void setChatVisibility() {
  5.   ZohodeskPortalSiq.setChatVisibility(ChatComponent.PRECHAT_FORM, true);// Add other configurations as needed...
  6. }

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now










                                                                                                                            • Related Articles

                                                                                                                            • What are the configuration settings for the ASAP Flutter SDK?

                                                                                                                              ASAP configuration The ASAP SDK offers methods to show or hide specific features. For example, you can hide the Knowledge Base (KB) module by using the following method: import ...
                                                                                                                            • How to change your language settings for ASAP Flutter SDK?

                                                                                                                              The ASAP SDK is designed to accommodate a diverse user base, supporting a total of 49 languages. This flexibility allows you to select the most suitable language based on the geographical location of your app's end-users, ensuring a tailored ...
                                                                                                                            • Working with the ASAP SDK for Flutter

                                                                                                                              This document pertains explicitly to help widgets created using the updated new ASAP Setup. If you use an older version of ASAP, the help widgets will be read-only. To enable the new ASAP widgets on your App, use the latest ASAP Flutter Plugin 2.0. ...
                                                                                                                            • ASAP SDK Flutter Apps - Release Notes

                                                                                                                              2.2.2 Removed deprecated packages associated with Android v1 embedding to ensure compatibility with the latest Flutter versions. 2.2.1 Integrated the ASAP iOS SDK v4.2.0 2.2.0 Integrated the ASAP Android SDK v4.4.1 Integrated the ASAP iOS SDK v4.1.2 ...
                                                                                                                            • Introducing ASAP Android SDK

                                                                                                                              This document pertains explicitly to help widgets created using the updated new ASAP Setup. Please note that if you are using an older version of ASAP, the help widgets will be read-only. To enable the new ASAP widgets on your app, use the latest ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources