Configure Plugs in SalesIQ and save yourself the trouble of writing logic more than once!
What are Plugs?
- Plugs in SalesIQ is a feature that can be used to connect the Codeless bot with different applications (Zoho apps and external apps) with the help of user-defined inputs and outputs.
- They can also be used to perform a user's own logic or control the flow of the Codeless bot.
- This function can be implemented using Deluge Scripts or webhooks.
Why do you need plugs?
- Plugs in Zoho SalesIQ are mainly used to perform operations with inputs from the codeless bot and provide user defined outputs to the codeless bot. For example, visitor data like email, phone, etc. can be set as the plug's input and that data can be pushed to any third party services (say lead generation) and the data from the third party service can be given as the plug's output (say lead id, etc).
- With plugs, you can save yourself from the trouble of writing or building logic more than once. These plugs can be created once and used in multiple places in the bot.
Here's a real time example to help you understand how plugs work. Let's take an e-commerce website. In this scenario, lead creation is a crucial task. For this purpose, you can configure a plug that collects the visitor's name and email and generates a unique Lead ID and use it inside the Codeless bot in order to avoid doing this task time and again.
Sample Code:
- name = "";
- if(session.containsKey("name"))
- {
- name = session.get("name").get("value");
- }
- email = "";
- if(session.containsKey("email"))
- {
- email = session.get("email").get("value");
- }
- response = Map();
- if(name.isNull() || email.isNull())
- {
- response.put("leadid","-1");
- return response;
- }
- leadInfo = {
- "Last_Name":name,
- "Email":email
- };
- createResponse = zoho.crm.createRecord("Leads", leadInfo);
- response.put("leadid", createResponse.get("id"));
- return response;
How can you add these Plugs inside SalesIQ?
To add a plug inside SalesIQ,
- In the SalesIQ dashboard, navigate to Settings > Developers > Plugs.
- Inside the Plugs dashboard, click Add.
- Give your plug a name and also add a description and then click Create Plug.
- Then, configure the handler.
- Click on Parameters. Inside the Parameter Configurations section, add the required input and output parameters.
- You can test every plug by clicking on Test in the Plug Preview section.
- Once you are done configuring the plug, click Publish.
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Qualify Potential Leads Automatically with SalesIQ Chatbots
Your website may have a lot of visitors every day, but are you struggling to identify your potential leads? You may not know who your ideal leads are just by looking at a website visitor, right? To qualify a lead, you need to know their needs, interests,
OpenAI Alert! Plug Sample #11 - Next-generation chatbots, Zobot + ChatGPT Assistant
Hi Everyone! We have great news for all AI enthusiasts and ChatGPT users! The much anticipated Zobot integration with ChatGPT Assistant is now available with Plugs. OpenAI has introduced 'ChatGPT Assistants' to customize GPT models as per your requirement.
Get live insights on business performance with the SalesIQ TV App - Now available for Apple and Android TVs!
Hello everyone! Let's start with a question - What do you think is the key to a thriving business? Yes, I hear you. It's all about the customers. Success in business often starts with understanding customer needs. But wouldn't you agree that achieving
Deprecation of Google Drive and Sheets connections in Scripts (Deluge)
Hello Everyone, We have an important update for those using the Script (Deluge) platform to build chatbots, widgets, and forms. Google has alerted us about sensitive scopes within the Google Drive and Google Sheets default connections in Deluge. As a
Plug Sample #10 - Simplify Ticket Management (Zoho Desk) with Chatbots
Hi everyone! We're here with another simple yet effective plug for your chatbot to integrate with Zoho Desk. When a customer reports an issue/request during chat, it's logged as a ticket on Desk. When they return for updates, you end up searching through
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.