Did you know that Widgets/Form Controllers have pending and callback actions?
Greetings from Zoho SalesIQ!
As you all know Zoho SalesIQ now has features like stand-alone Widgets and Form Controllers. Widgets allow you to bring custom data from multiple services and display them in the chat window. Form Controllers can be used as a part of a widget's action response and allow you to collect multiple structured data as inputs to perform a particular action. Both these features have a pending action that is generally used when time is needed to complete a specific action inside the Widget or Form Controller and this post will focus on telling you about this action.
Let's consider a real-time example.
Say we have an operator who opens a widget in the chat window and clicks a button in the widget - which when clicked upon will send backup data to the customer. This action doesn't reflect immediately in the widget. Let's say that it ideally takes up to a minute to collect the data, send it to the customer and reflect in the widget. In the meantime, we will define this action as pending (the button has been clicked and the process has been scheduled) while in the server, the backup data will be collected and an email to the customer will be sent. Once the email is sent, using a callback API, this information is sent to the widget and the widget will be updated. This action is available in the following return types:
Feature | Handler | Return Types | API Format |
Widgets | |
- banner
- sections_edit
- widget_modification
|
Where request_id is the ID available in the request parameter of each widget execution. |
Form Controllers | | - banner
- sections_edit
- widget_modification
|
Where request_id is the ID available in the request parameter of each widget execution. |
- To perform the action, the pending parameter has to be set as true in the response and then the contents of the widget/form controller can be modified later from the external server using callback APIs.
- The pending action is valid for 3 minutes. ie, the callback API for a particular pending action should be invoked within 3 minutes.
Example Script:
{
"type":"banner",
"pending":true,
"status":"success",
"text":"text to be shown in a banner",
"refresh_section" : true
}
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
OpenAI Alert - Plug Sample #6: Reach maximum potential with SalesIQ Zobot and ChatGPT Integration
In recent times, AI-powered tools have seen a remarkable surge in usage due to their exceptional capacity to enhance overall performance across diverse industries and sectors. One such tool is ChatGPT which businesses have started to use predominantly
Plug Sample #5 - Read and write values/data in a Google sheet with Zobot
We all know google sheets are one of the widely used spreadsheet software. It helps us to make data-driven decisions. When connecting the Zobot with sheets, the bot can display values/data from a spreadsheet, like the available stock details (Item price,
Speak Your Customers' Language: SalesIQ's chatbots now support 30 languages 🤖
We're unveiling some major upgrades to our chatbot that are set to revolutionize your experience! Now SalesIQ support 30 languages for both Zobot and Answer bot. By speaking your customers' language, you can enhance engagement, improve customer satisfaction,
Attention Deluge Developers: Important Update Regarding "Send Email Deluge Task"
Hi Deluge Users, We hope this message finds you well. We would like to inform you about a recent update on the Send emails deluge task. If you are using this deluge task (SalesIQ Scripts) for your Zobot, widgets, or form controllers to send emails, please
Hide Zoho SalesIQ chat widget outside operating regions to optimize engagements
Have you ever found yourself in a situation where you're receiving chat requests from locations where your business isn't operational? Having to set routing rules or manually delete chats from your logs can be tedious and time-consuming, hampering your
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.