Get your emails from Zoho Mail delivered in Cliq

Get your emails from Zoho Mail delivered in Cliq

With a major part of communication happening over emails, it becomes quite a task to keep up with a large amount of email threads. But when a huge portion of your everyday conversation happens in a messaging platform like Zoho Cliq, why not bring in important email notifications into your chats as well? 
This forum post will walk you through on connecting your Zoho Mail with Cliq so you can get your emails straight away through your chats. 

First, let's see how bringing in an email from Zoho Mail to Cliq can be useful. 


Scenarios:

  • The support team in every organization receives a substantial amount of emails on a daily basis. There are chances that a high priority email might slip through. So, to overcome this you can create a filter and funnel the high priority email to your team's support channel in Cliq or have a dedicated support bot that will bring in your highly important email.
  • Similarly, you can keep a track of all the payments made by your customers and also track down specific emails from your partners and vendors directly from Cliq chat.

Steps:

Follow the simple steps given below to bring in your emails from Zoho Mail to Cliq and centralize them.

1. Log in to your Zoho Mail and click on the settings icon, which is located at the top of the right hand panel. 



2. The second step involves creating a new incoming filter.
  • Go to the filters card and click on create a new filter.
  • Give your filter a name - (this is the name the filter will be identifed with).
  • Condition Type - Specifies the combination of various conditions that needs to be checked for (OR, AND and All Incoming emails)
  • Conditions - The parameters that needs to be satisfied by the emails
  • Actions- Actions that will be performed on the emails that match the conditions
  1. In the actions, select Custom function(creator) from the drop down.



  2. Select Function to view the deluge script editor pop up.
  3. Go to the DRE Connectors tab and in My Connections, click on the Create Connection button.
  4. Select the Zoho OAuth service and enter your preferred connection and connection link name.
  5. For scopes, select the checkboxes for ZohoCliq.Webhooks.CREATE and ZohoMail.messages.READ .
  6. Now go back to the custom functions tab and paste the following code in the scipt editor :

  1. messageDetails = zoho.mail.getMessage(mail_messageId,"CONNECTION LINK NAME");
  2. mailContent = messageDetails.get("CONTENT").replaceAll("<br />","\n").replaceAll("<.*?>","").trim();
  3. if(mailContent.trim().length() == 0)

  4. {

  5. mailContent = "-";

  6. }

  7. mailSubject = messageDetails.get("SUBJECT");

  8. if(mailSubject.isNull())

  9. {

  10. mailSubject = "-";

  11. }

  12. fromAddress = messageDetails.get("FROM");

  13. senderName = messageDetails.get("SENDER");

  14. messageContent = {"text":"### " + mailSubject + "\n\n*Details*\nFrom: " + senderName + "\nEmail: " + fromAddress + "\nContent: " + mailContent,"card":{"theme":"7"},"bot":{"name":"Mail Notifier"}};

  15. zoho.cliq.postToChannel("CHANNEL UNIQUE NAME",messageContent,"CONNECTION LINK NAME");


(NOTE : Replace "CONNECTION LINK NAME" with the name of the connection link that you have created, and "CHANNEL UNIQUE NAME" with the unique name of the channel in which you want the mail posted as a chat).
3. Give your custom function a name and click on the Save button to save it.
You can also check if the function works by selecting the Test Run button to execute the code. You will be prompted to enter a message ID for the check which can be retrieved from the URL. Open any mail you want to test it on and copy the last digits in the URL, paste it in the message ID text box and proceed.

 Sample Response 




Note: In case you want to post a response to a bot use the following syntax: 
https://cliq.zoho.com/api/v2/bots/{BOT_UNIQUE_NAME}/message
Also you can post the response in a channel (organizational, personal, team or external) using the following syntax:

Retrieving a channel's unique name :

You can retrieve the unique name of a channel by the follwing steps :
    1. Hover over to the channel in the left hand side panel and select more info.
    2. Click on the connectors tab 
    3. The API Endpoint URL contains the channel's unique name in block letters.




There you go! We hope this brief example helped you understand in bringing an email from Zoho Mail to Zoho Cliq. 
In case of any queries please comment below. We'd be happy to assist you.
 
Regards
Divya P
Zoho Cliq
 






    Access your files securely from anywhere

          Zoho Developer Community




                                    Zoho Desk Resources

                                    • Desk Community Learning Series


                                    • Digest


                                    • Functions


                                    • Meetups


                                    • Kbase


                                    • Resources


                                    • Glossary


                                    • Desk Marketplace


                                    • MVP Corner


                                    • Word of the Day



                                        Zoho Marketing Automation
                                                • Sticky Posts

                                                • Automating Employee Birthday Notifications in Zoho Cliq

                                                  Have you ever missed a birthday and felt like the office Grinch? Fear not, the Cliq Developer Platform has got your back! With Zoho Cliq's Schedulers, you can be the office party-cipant who never forgets a single cake, balloon, or awkward rendition of
                                                • Convert a message on Cliq into a task on Zoho Connect

                                                  Message actions in Cliq are a great way to transform messages in a conversation into actionable work items. In this post, we'll see how to build a custom message action that'll let you add a message as a task to board on Zoho Connect. If you haven't created
                                                • Cliq Bots - Post message to a bot using the command line!

                                                  If you had read our post on how to post a message to a channel in a simple one-line command, then this sure is a piece of cake for you guys! For those of you, who are reading this for the first time, don't worry! Just read on. This post is all about how
                                                • Cliq Bots - How to make a bot respond to your messages?

                                                  Bots are just like your buddies with whom you can interact. They carry out your tasks, keep you notified about your to-dos and come in handy when you need constant updates from a third party application.  So, how can you make your bot respond to a message? The bot message handler is a piece of code triggered when a message is sent to the bot. Message handlers help you customise your bot responses to make it look conversational. The message input from the user can be either a string or an option selected
                                                • Cliq Bots - Get notifications about any action on an application with the incoming webhook handler!

                                                  Webhooks can be used to get notified about events happening in other applications inside Cliq. All bots in Cliq have their own incoming webhook endpoint. This makes it simple to post messages to the bot from external applications. Unlike the send message


                                                Manage your brands on social media



                                                      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 Campaigns Resources


                                                                            Zoho CRM Resources

                                                                            • CRM Community Learning Series

                                                                              CRM Community Learning Series


                                                                            • Kaizen

                                                                              Kaizen

                                                                            • Functions

                                                                              Functions

                                                                            • Meetups

                                                                              Meetups

                                                                            • Kbase

                                                                              Kbase

                                                                            • Resources

                                                                              Resources

                                                                            • Digest

                                                                              Digest

                                                                            • CRM Marketplace

                                                                              CRM Marketplace

                                                                            • MVP Corner

                                                                              MVP Corner





                                                                                Design. Discuss. Deliver.

                                                                                Create visually engaging stories with Zoho Show.

                                                                                Get Started Now


                                                                                  Zoho Show Resources


                                                                                    Zoho Writer Writer

                                                                                    Get Started. Write Away!

                                                                                    Writer is a powerful online word processor, designed for collaborative work.

                                                                                      Zoho CRM コンテンツ






                                                                                        Nederlandse Hulpbronnen


                                                                                            ご検討中の方





                                                                                                  • Recent Topics

                                                                                                  • Partnership Proposal for Supporting Number Porting Services in Singapore

                                                                                                    Dear Zoho Representative’s, I hope this message finds you well. My name is Honelito Gilos, and I represent Borderless Hub Pte Ltd (Singapore). We are a Telco here in Singapore specialising in providing seamless number porting services, and I’m reaching
                                                                                                  • How to query for Deals record based on Pipeline?

                                                                                                    I want to query for Deals records that matches a specified Pipeline using a Deluge function. When I call zoho.crm.searchRecords("Deals","(Pipeline:equals:" + myPipeline + ")"), I get this error: { code: 'INVALID_QUERY' , details: {...} , message: 'Invalid
                                                                                                  • Tip #2: Prefill forms automatically with existing Zoho CRM data

                                                                                                    How to automatically prefill a form with existing Zoho CRM data? Prefilled forms can be useful when you want your prospects to view and confirm their data, and in a wide range of other situations. In Zoho Forms, we prefill the fields with the values from Zoho CRM using the Zoho CRM field. What is a Zoho CRM field? A Zoho CRM field acts as a two-way communication channel, by sending data to Zoho CRM from forms and fetching information from CRM into Forms. The field will look up data from your CRM
                                                                                                  • Pushing GCLID info from Gravity Forms to ZohoCRM

                                                                                                    We are switching to Gravity Forms from Zoho Forms and I cannot find any good info on how to make sure my GCLID tracking info is pushed through to the CRM through my new forms. There was an article in the documentation about placing something within the
                                                                                                  • Time Field

                                                                                                    Good Day, I have a question, when I save a draft and reload it. Why does the time field format keeps goes from hh:mm to hh:mm:ss? Is there a way I can force it to load to hh:mm only? I have tried example = totime(input.TimeField, "hh:mm") in the -created
                                                                                                  • Organization Variables - Restrict Access

                                                                                                    Currently, there is no way to restrict the access to organization variables. This leads to a problem when storing API related values that should be kept secret as anyone with access to create and edit email templates, workflow rules, or inventory templates
                                                                                                  • Massive price increase for user licenses of Zoho Portal

                                                                                                    This actually a complaint about this announcement: https://help.zoho.com/portal/en/community/topic/free-user-licenses-across-all-portal-user-types You present this as an enhancement. And, yes, while reading the main part, I'd agree that (for smaller companies),
                                                                                                  • Transform Your Customer Support with AI-Powered Chatbots in Zoho SalesIQ

                                                                                                    Ever wondered how some companies seem to have superhuman customer support? Let's uncover their secret! In the digital age, customer expectations are skyrocketing. Did you know that according to McKinsey, 75% of consumers expect a response within five
                                                                                                  • Quickbooks conversion and Internet sales

                                                                                                    Hello, we are considering converting from Quickbooks enterprise to Zoho Books and using MonotorZ for our mrp needs. Today we import Internet sales under a single customer with multiple ship to addresses. We want to maintain the detail in CRM for marketing
                                                                                                  • Move site from WIX to ZOHO Sites

                                                                                                    I have a simple website on WIX.  I am wondering if someone is available to help me move this website - https://www.videothreezero.com/ to ZOHO.  Michael  Boston
                                                                                                  • How to add two columns in Zoho forms

                                                                                                    I would like to have two columns in Zoho forms. How can i enable two columns?
                                                                                                  • When creating Sales Order / Estimate via API, the line item Tax Code does not get pulled in.

                                                                                                    I'm creating Sales Orders via API from CRM but it does not pull in the "Tax Code" I've read within the forums that this should be done automatically but it's not happening. Not sure if it's a bug or by design? Anybody else know? Should we be adding the
                                                                                                  • Chart showing schedule

                                                                                                    I want to be able to create a chart for everyday to check and which of which driver is available on the timeframe. Here's my table Name City Day Start Time End Time Driver1 Medicine Hat Monday 11:45 AM 4:45 PM Driver 2 Medicine Hat Tuesday 11:00 AM 7:00
                                                                                                  • Running Total % in Pivot with filters

                                                                                                    Hi there, I have seen a few posts on this topic, but i cant seem to find one that will work when applyig filters to the data. I have Rows and Data in a pivot view I want to show the running total of revenue as a % of the total for the data set. If i add
                                                                                                  • Quais são os maiores desafios que você enfrenta ao implementar o Zoho CRM?

                                                                                                    Olá, pessoal da comunidade Zoho Brasil! Sou parceiro autorizado da Zoho e, ao longo do tempo, tenho notado que cada implementação de CRM traz desafios únicos, dependendo do segmento de negócio, das metas da empresa e até da familiaridade da equipe com
                                                                                                  • 2025 Just Got More Exciting for Developers!

                                                                                                    Hello, Greetings to the Zoho Books Community! As we step into the New Year, we're thrilled to roll out something truly special for our Zoho Finance enthusiasts – the "Zoho Finance Developer" Community! This is your exclusive space to connect with fellow
                                                                                                  • Error in executing On user input script

                                                                                                    I'm having problems with this  this script : ; Tipo_list=List(); Tipo_rec = Tabla_factores[Periodo == input.Periodo_anos.toLong()]; Tipo_list.addAll(Tipo_rec.Clase_credito.getall()); for each Clase_credito in Tipo_list { Tipo_credito:ui.add(Clase_credito) } Error in executing On User Input script of Periodo en años. Error. Error in executing Fetch Record task. Unable to fetch Tabla_factores and update variable Tipo_rec. Error in evaluating the criteria : Error. Error evaluating NUMERIC expression
                                                                                                  • sync data from outside of zoho plateform

                                                                                                    hii team , i am creating a platform using zoho platform, i want to sync the data from out side of the platform like people-soft, but i am not able to sync the data , if it is possible , then suggest me how can i do it , i want to sync data from other
                                                                                                  • How to add a Data Updated As Of: dynamically in text?

                                                                                                    I need to add a "Data Updated As Of" in the dashboard to show when was the last date the data was updated. I tried to create a widget but it does not look really good, see below. Is there a way I can do this through the text widget and update it automatically
                                                                                                  • Automate search in customer list and easilly initiate email

                                                                                                    Hello and happy new year ! I have a customer list with name, telephone, emails and some criterias like location, type of customer, etc. I want to search that form to extract part of it, for example all customers that have a location of "Québec city" and
                                                                                                  • "Select All" item in the context menu

                                                                                                    In the Client on Android, there is a “Select all” item in the note’s context menu. There is no such item in the PC client. Can it be added in future versions of the client?
                                                                                                  • Syncing Leave Calendar With Shared Google Calendar Does Not Remove Canceled Leaves

                                                                                                    Our organization has each employee sync their Leaves calendar with a shared Google calendar, but am I right that if an employee cancels a Leave in Zoho that it will not be removed automatically from the shared Google calendar through the same sync m
                                                                                                  • Is it possible to display formulas in cells instead of calculated results?

                                                                                                    I want to export my Zoho sheet as tab separated text without losing the formulas. In excel, I would use the settings Options - Advanced - show formulas in cells instead of their calculated results then save as tab separated values. How do I do this in
                                                                                                  • Creator Simplified #11: Create a custom button to download files

                                                                                                    Hey there! This time, let's see how to create custom buttons to download the files uploaded in the file upload field. Sample use-case A training app has a module that provides the materials for all the available courses. Students can click on the corresponding
                                                                                                  • Zoho vault uses only password to unlock not a TouchID

                                                                                                    TouchID works when normally openning app but when called from keyboard while browsing or trying to log to another app it shows only password option to unlock. This behaviour is only on iPad Mini witch latest 18.2OS
                                                                                                  • Batch Tracking Enhancements In Zoho Inventory

                                                                                                    Hello users, We’re excited to announce that we’ve taken batch tracking to a whole new level in Zoho Inventory! We’ve made it more accessible and easier to use than ever. Here’s a quick look at the improvements: 1) A New Way To Create or Modify Batches
                                                                                                  • Zoho Payroll's Year in Review 2024

                                                                                                    As we roll into 2025, we'd like to pay tribute to all the milestones we hit in 2024! From releasing out new features that streamlined your workflows to updates that made payroll management smoother, we’ve had a prolific year—all while keeping you, our
                                                                                                  • Zoho Desk Mobile App Year-End Roundup - 2024

                                                                                                    Hello Everyone, Greetings! As you gear up for the festive season, we are excited to share a quick journey into all that is released in 2024! Availability of each feature in iOS and Android released in 2024 are as follows: For more information on the above
                                                                                                  • Issue Configuring SSO Integration with Cognito in Zoho Help Center

                                                                                                    Dear Zoho Support Team, We have been working on configuring SSO integration for our Zoho Help Center using Amazon Cognito. While the setup appears to be completed successfully, we are encountering an issue when attempting to access the Help Center. The
                                                                                                  • Task Completion vs Estimated Time

                                                                                                    I need to represent the Estimated Date vs Actual Completion Date for multiple Tasks. How Can I Do this in Zoho Analytics.
                                                                                                  • Upload Field - cannot be checked in rules configuration.

                                                                                                    We wanted to create a process to verify whether the upload fields are empty or not. If empty, then it should deny during submission. We don't want to use the mandatory field setting because in a 10 pager form, some upload field located in page 1 will
                                                                                                  • CRM x WorkDrive: File storage for new CRM signups is now powered by WorkDrive

                                                                                                    Availability Editions: All DCs: All Release plan: Released for new signups in all DCs. It will be enabled for existing users in a phased manner in the upcoming months. Help documentation: Documents in Zoho CRM Manage folders in Documents tab Manage files
                                                                                                  • Is it possible to hide Developer Space for all user in Zoho Projects

                                                                                                    Hello! I am Zoho admin in a company and we want to use Zoho Project to manage projects, but after a few days of testing we are not able to "hide" the Developer Space from all kind of users except the admin. To sum up, I want to hide this for all users.
                                                                                                  • Chat function not working properly

                                                                                                    Ever since upgrading to plus, the chat is all messed up. it is coming up behind the web page so that I cannot see what I'm typing and cannot read replies. I can only see the bottom of the text box at the bottom of the page, and then it is blocked. I've
                                                                                                  • Wrong Time on Exported Records

                                                                                                    Hello, All records in my exported Notes .csv file have the incorrect time for Created Time. They are all 8 hours ahead. I've already verified that my time zone is correct in both Personal Settings and Company Settings. Is there any way to fix this?
                                                                                                  • Adding tag to specific record as an acion in a workflow

                                                                                                    Hi! I've created the following workflow in the module 'Leads'. When a record meets the criteria, there should be a tag added to the specific record in the module 'Contacts'. In the module 'Leads', there is a look-up field named 'Kandidaat' which is connected
                                                                                                  • Sync workspace - table

                                                                                                    I have connected two workspaces and I have imported two different query tables from one workspace to the other one, that was a succes. But now I want to import another query table from the same workspace to the other but I get an error. Why is that? (there
                                                                                                  • Subir o Preço Unitário já acrescido de um valor

                                                                                                    To com um desafio grande, e se alguém conseguir me ajudar, seria ótimo! O que eu preciso é que o na hora de adicionar um item no subformulário dos itens cotados do módulo Orçamentos, o preço de lista do item venha acrescido de 20% automaticamente e de
                                                                                                  • Ring in the New Year with Guided Conversations for Smooth Offline Support

                                                                                                    As we step into the new year, it’s time to refocus, re-energize, and gear up for fresh opportunities. But what about your customers as they begin the year with their own set of challenges or queries to resolve? With Zoho Desk’s Guided Conversations (GC),
                                                                                                  • Change email template depending on answer from form

                                                                                                    Is it possible to set up the following in Zoho Desk: When a user submits a ticket via the Zoho Help Center's form, they can select an answer from a dropdown field. In this example, the dropdown options are 'Option A' and 'Option B.' If a user selects
                                                                                                  • Next Page