Plug Sample #4: Improve your customer interacting experience by letting Zobot remember your website visitor name!

Plug Sample #4: Improve your customer interacting experience by letting Zobot remember your website visitor name!

Hi Everyone! 

In our Plug sample series, we have another simple yet efficient plug for your Codeless bot builder. Before that, I have a question. Let's say you go to the same coffee shop everyday for your morning coffee. Wouldn't you be happy if the waiter greeted you by your name and remembered what you usually order? Not just you, that would be the case for everyone. And that includes your customers too. 

Similarly, when the visitor lands on your website and your chatbot is greeting them. They might not want to enter their names to the bot every time they visit. So to avoid redundancy you can use the following plug for the Zobot to remember the visitor name and scale-up your customer service experience. Plugs in the Codeless bot are used to create custom functions to achieve customizable actions for your no- code bot. Now let's learn how to create a plug to remember your website visitor name and email address and add it in the chatbot flow built with Codeless bot. 

Note: Remember that the visitor information will be stored only after they agree to the privacy policy

What can this Plug do?
  • When a visitor/customer visits your website, they will give their such as name and email. These details will be saved in SalesIQ (Visitor information).  
  • This plug can prevent asking the name when it is already available in visitor info/context variable. 
Note: Learn more about the context variable here

How to create this Plug?
  • In your SalesIQ Dashboard, navigate to Settings > Developers > Plugs > Click on Add .
  • Provide your Plug a name, description, select the Platform as SalesIQ Scripts and click on Create Plug.  
  • Click on Parameters, provide the following
  • Input Parameter: name | Data Type: String
  • Output Parameter: message | Data Type: String
 
Copy, paste the below code and make the required changes.
  1. name = "";
  2. name = session.get("name").get("value");
  3. if(name.containsIgnoreCase("Visitor"))
  4. {
  5. }
  6. else
  7. {
  8.  returning_message = "Yes " + name + ", can you please let me know your issue?";
  9. }
  10. response = Map();
  11. response.put("message",returning_message);
  12. return response;
  • Then, click Save, preview the Plug and Publish it.
How to add this Plug in Codeless bot builder?
  • Navigate to Settings > Bot > Add, provide the necessary information, select Codeless Bot as a bot platform, or open an existing bot.
  • Select the Plugs under Action Block and choose the required Plug (Only published plugs will be listed here)
  • Select "Name" in the visitor variable as the Plug input and provide a context variable for the output. 
  • After, click Save
Note: The visitor names name will be stored in a context variable. It can be used in other cards to provide more personalization. To avail it, type % and choose "visitor.name". 


Working of the Plug in Codeless bot:
 
The Plug has 2 cases, success and failure. 
  • Success case - When the Name is available in the visitor variable (Name = visitor name), the bot will consider the visitor as returning visitor and will not ask the name again. 
  • Failure case - When the name is unavailable (Name = null), the bot will ask the visitor the name. 
 


Related links:
To know more about the features of Zobot, kindly visit our Resources Section. 

      • Recent Topics

      • Function Only Working Manually

        Good evening everyone. I have a function that creates a PDF from a Creator form. When I execute it manually it works perfectly. But when I execute it from within a On success workflow it is not working. I'll post my code below. Any ideas? //Function void
      • How to send binary data in invokeurl task?

        Hello, I am using Adobe's Protect PDF API. Source: https://developer.adobe.com/document-services/docs/overview/pdf-services-api/ Everything works fine in Postman. But for some reason after encrypting the file, it is empty after password protecting the
      • Caso de Uso | ZKTeco ahorra cientos de horas al año con Zoho One

        "Zoho no solo ha facilitado nuestro día a día, sino que se ha convertido en un aliado de negocio estratégico para ZKTeco." - Emilio García, CTO ZKTeco Europa ¡Hola, Español Zoho Community! Hoy nos gustaría mostraros cómo el gigante de la tecnología de
      • Set up multiple IMAP email addresses

        Hi, I just started using CRM and its great, but I just found out I can only add one imap email address for incoming mail in the included salesinbox ...this is ridiculous. All companies have different email such as sales@domain, info@domain , personal@domain
      • CRM - Copy data from Single Line to Lookup Field

        Hello, I need help to create a workflow with a custom function in order to copy value from a single value field to a Lookup Field. Module : Shipment Single value field API name : Customer_ID Lookup field API name : Account_ID WOuld be great to have some
      • How long until received item is visable as in stock when creating bundle?

        We just moved to zoho, and we notice when an item is received from a PO, it is not yet available to be used in a bundle. Is there a time delay, or some other reason it will show in stock, but not show in stock in the bundle?
      • LinkedIn Followers not correct

        It looks like Zoho Analytics only counts followers from the day it was connected to our LinkedIn-page. The Total Followers Count in Analytics only displays 549 followers, while in reality we have 1,036 followers. The information is correct in Zoho Social,
      • Add multiple users to a task

        When I´m assigning a task it is almost always related to more than one person. Practical situation: When a client request some improvement the related department opens the task with the situation and people related to it as the client itself, the salesman
      • Stock Count

        The stock count is a nice new feature, but we cannot figure out how to: 1. Use it without assigning to a person, we have a team or one of multiple do stock counts as do most any company. 2. Add any extra fields to what the "counter" sees. The most important
      • Lookup Fields - Needs more than 5 Link

        The lookup field is useful, but it 100% needs more than 5 field merge links. Can Zoho increase this to 10?
      • Disabling Tasks module- Zoho Projects app update

        Hello everyone! In the latest Android(v3.9.19) and iOS(v3.9.6) versions of the Zoho Projects mobile app, we have implemented enabling/ disabling the Task module as per your portal configuration on the Zoho Projects desktop site(projects.zoho.com). If
      • Free webinar alert! The Art of Virtual First Impressions: Professional Etiquette with Zoho Workplace.

        Hello, community members! We're delighted to invite you to our first webinar of 2025, The Art of Virtual First Impressions: Professional Etiquette with Zoho Workplace, on January 23. The effective usage of Zoho Workplace isn't just about the tools—it’s
      • WhatsApp in Zoho Social

        Seems CRM team is not taking Whatsapp integration seriously. While Facebook already has 63 Whatsapp partners, some of which are very small, that have already completed API integration. Maybe the social team could take over this project from CRM and get
      • Zoho Analytics in 2024: A look back

        Happy new year to everyone in the Zoho Analytics community! As we welcome 2025, here's a look back of important happenings in 2024.
      • Emmanuel Katto : Zoho Meetings Outlook Plugin Authentication Issue - Help Needed

        Hi everyone, I'm Emmanuel Katto, We’ve been facing an issue with the Zoho Meetings Outlook plugin for the last couple of weeks. When we try to sign in via the plugin, it redirects to the authentication page, and after successfully authenticating, it shows
      • Search Function Not Working Properly

        Search Function Not Working Properly
      • Mapping for date field from one module to another.

        Hi there, I want to be able to map a date field(due date) in a module (sales order) to another module's(Purchase Requisition) date field(Promised customer date). Is this possible when the due date field is a zoho system date field while the promised customer
      • Nimble enhancements to WhatsApp for Business integration in Zoho CRM: Enjoy context and clarity in business messaging

        Dear Customers, We hope you're well! WhatsApp for business is a renowned business messaging platform that takes your business closer to your customers; it gives your business the power of personalized outreach. Using the WhatsApp for Business integration
      • Convert Sales order to Delivery Challan

        Dear Developer Team, In Zoho books we cannot convert sales order into delivery challan before making invoices. As a service business we have to get the delivery note signed then only we can make the invoice. In Some cases we don't receive a purchase order
      • Zoho Commerce - Mobile Application

        Does Zoho Commerce have a mobile application for customers to place an order?
      • Global "Search" in FSM

        I'm missing the global Search function like in CRM. This should save us a lot of time. We don't now upfront if the customer is a Contact or a Company. So now we have to guess in what module to start a search/filter. Also looking up an address, phone number,
      • Unable to send message; Reason: 554 5.1.8 Email Outgoing Blocked

        My account is mino@flawless-frames.com, or flawlessframesstudio@gmail.com Could you please unblock my account, I've got restricted from sending more emails
      • Which are the IP addresses to use for 'split delivery' with Office 365? (Zoho mail inbound gateway)

        Hi, I'm trying to set up 'split delivery' (email routing) with Office 365. I'm following the instructions to set up Office 365 as the primary server (https://www.zoho.com/mail/help/adminconsole/coexistence-with-office365.html) One of the prerequisites
      • This domain is not allowed to add. Please contact support-as@zohocorp.com for further details

        I am trying to setup the free version of Zoho Mail. When I tried to add my domain, theselfreunion.com I got the error message that is the subject of this Topic. I've read your other community forum topics, and this is NOT a free domain. So what is the
      • Bulk Importing Personal/Shared contacts via csv or excel

        Hi, Is there a way we can add multiple contacts or import a contact list to the personal or shared inbox? Please assist
      • Can we have Bills of Material Module ?

        Can we have Bills of Material Module ?
      • Domain verification is in progress... (How long do I need to wait?)

        Trying to setup my first email domain by connecting with GoDaddy. Have been here for quite some time and the screen is not changing. How long should this take?Send DataSend Data
      • Fixed asset management

        I want to know if there is any individual module for fixed assets management
      • How to sync read mails to GMail?

        Hello I am testing Zoho TeamInbox but I have an issue with my connected GMail account. Whenever I read a mail in TeamInbox or even reply to it, the email stays as "unread" in GMail. Is this normal behaviour? I thought that with the 2-way sync of IMAP
      • Lost ZB Code

        Hi, Please what is the ZB code for my domain? It was mistakenly deleted. Please treat as urgent.
      • Unblock ME

        info@pentekykloi.gr Unable to send message;Reason:554 5.1.8 Email Outgoing Blocked. Learn more. I purchase additional storage
      • My email id is blocked. My storage is exceeded 5GB. Deleted unwanted emails.

        My email id is prem@justbootup.com. I tried to unblock ,but it says only for the paid user. Can you help to unblock?.
      • How to Recall emails send from Teaminbox

        How to Recall emails send from Teaminbox ?
      • Zoho Analytics - Data source timezone

        Hi, I have a Zoho Desk data source that should display date information / timestamps in Europe/Paris timezone (CET/CEST). However, as shown in the attached screenshot, the data source is using America/Mexico_City timezone despite having my Locale Information
      • Several Requests

        Hello, is there any update on the following? * Scheduling Emails * Automatic Schedule Backups on Zoho Workdrive * Moving Emails Between Inboxes
      • In focus: Cliq integration in the Agent Details page

        Collaborate smarter, not harder! Managing your communication and collaboration just got easier! With the integration of Zoho Cliq into the Radar app's Agent Details page, you can now communicate and collaborate within a single platform. Why use the Zoho
      • Unusual activity detected from this IP. Please try again after some time

        When i try to create new addresses on my account i am getting this error, it has been 24 hours now and i am still getting this error can anyone help
      • Zoho email folders gone

        Hi, All my email folders are gone, i cant found any email, except sent. Also before folder rulesas was changed and i didnt fixed them, could you please check it?
      • Zoho Support is horrible

        Hey, first and foremost: I am a big supporter of Zoho and pay thousands of € every year for using the platform. Nevertheless, there are Zoho products that are badly designed, Zoho Directory being one of them. Yesterday this software locked my PC in a
      • TeamInbox - Unread

        In Teaminbox there's a view "Unread" We've played around with it, no one understands what it does or how it works. In the documentation it says "Unread - This is the global view of all your unread messages irrespective of the teams or inboxes." That's
      • Next Page