Zoho Desk propose plusieurs solutions pour automatiser les flux de travail en fonction de vos besoins. Dans cet article, nous mettons en lumière une fonctionnalité qui alerte votre équipe lorsque des articles de la base de connaissances arrivent à expiration, garantissant ainsi un contenu toujours pertinent et utile pour vos clients.
Une base de connaissances est un référentiel d’informations qu’une organisation met à disposition de ses employés, clients, partenaires et autres parties prenantes pour leur permettre de mieux comprendre ses offres. Ces informations peuvent prendre diverses formes, telles que des blogs, des guides d’utilisation, des livres blancs, des newsletters, des mises à jour de produits ou encore des FAQ. Afin de maintenir des informations à jour, Zoho Desk permet de définir des dates d’expiration pour les articles. Une fois expirés, ils sont automatiquement retirés du Centre d’aide, et, par défaut, seule une notification est envoyée à leur propriétaire.
Comment créer cette fonction client
Prérequis
Configurer une connexion
Accédez à Setup >> choisissez Connections sous Developer Space.
Sélectionnez Créer une connexion
Sélectionnez Zoho OAuth sous Default Connection
Donnez à la connexion le nom , eg - deskconnection
Désactivez le bouton pour les informations identifiant
Sous Scope, choisissez les valeurs "Desk.articles.READ"
Cliquez sur créer et connecter
Cliquez sur "Connecter" puis sur "Accepter"
La connexion est établie
Créer un calendrier
Allez au setup, choisissez "Planifications" sous "Automatisation"
Sélectionnez "Nouvelle planification"
Sous "Ajouter une planification", saisissez le nom de la planification et la description de la règle
Sous l'onglet "Exécuter", définissez la date et l'heure de début d'exécution de la planification
Dans l'onglet "Répéter", sélectionnez «Tous les jours», puis «Tous les [1] jours». Sélectionnez les jours en fonction de vos préférences et définissez «Fin» sur «Jamais». Cliquez sur "Terminer". Le programme s'exécutera ainsi les jours sélectionnés.
Dans la section "Fonctions", cliquez sur "Créer une fonction"
Saisissez un nom et une description pour la fonction personnalisée
Dans la fenêtre de script, insérez la fonction personnalisée ci-dessous :
Cliquez sur "Enregistrer le script"
Cliquez sur "Enregistrer" pour ajouter la fonction personnalisée.
Cliquez à nouveau sur "Enregistrer" pour valider la programmation.
- // ----<<<< User Inputs >>>>----
- subjectOfNotificationEmail = "Zoho Desk - Article Expiry Notification"; // provide subject based on your preference
- commaSeperatedToAddresses = "email address1, email address2";//provide email addreses of team members
- currentDateString = zoho.currentdate.toString("yyyy-MM-dd");
- //Expiring/Expired Today
- fromString = currentDateString + "T00:00:00.000Z";
- toString = currentDateString + "T23:59:59.999Z";
- info "final url " + "https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString;
- //change .com based on your DC
- getArticle = invokeurl
- [
- url :"https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString
- //change .com based on your DC
- type :GET
- connection:"deskconnection"
- ];
- emailBody = "";
- if(getArticle != null && getArticle != "" && getArticle.get("data").size() > 0)
- {
- articlesList = getArticle.get("data");
- emailBody = emailBody + "<div> <b> List of articles expiring/expired today </b>";
- for each article in articlesList
- {
- webUrl = article.get("webUrl");
- title = article.get("title");
- emailBody = emailBody + "<div><br><a href='" + webUrl + "'>" + title + "</div>";
- }
- emailBody = emailBody + "</div> <br> <br>";
- }
- //Expiring Tomorrow
- currentDateString = zoho.currentdate.addDay(1).toString("yyyy-MM-dd");
- fromString = currentDateString + "T00:00:00.000Z";
- toString = currentDateString + "T23:59:59.999Z";
- info "final url " + "https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString;
- //change .com based on your DC
- getArticle = invokeurl
- [
- url:"https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString
- //change .com based on your DC
- type :GET
- connection:"deskconnection"
- ];
- if(getArticle != null && getArticle != "" && getArticle.get("data").size() > 0)
- {
- articlesList = getArticle.get("data");
- emailBody = emailBody + "<div> <b>List of articles expiring tomorrow </b>";
- for each article in articlesList
- {
- webUrl = article.get("webUrl");
- title = article.get("title");
- emailBody = emailBody + "<div><br><a href='" + webUrl + "'>" + title + "</div>";
- }
- emailBody = emailBody + "</div> <br> <br>";
- }
- //Expiring in 7 days
- currentDateString = zoho.currentdate.addDay(7).toString("yyyy-MM-dd");
- fromString = currentDateString + "T00:00:00.000Z";
- toString = currentDateString + "T23:59:59.999Z";
- info "final url " + "https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString;
- //change .com based on your DC
- getArticle = invokeurl
- [
- url :"https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString
- //change .com based on your DC
- type :GET
- connection:"deskconnection"
- ];
- if(getArticle != null && getArticle != "" && getArticle.get("data").size() > 0)
- {
- articlesList = getArticle.get("data");
- emailBody = emailBody + "<div><b> List of articles expiring in 7 days </b> ";
- for each article in articlesList
- {
- webUrl = article.get("webUrl");
- title = article.get("title");
- emailBody = emailBody + "<div><br><a href='" + webUrl + "'>" + title + "</div>";
- }
- emailBody = emailBody + "</div> <br> <br>";
- }
- info "emailBody" + emailBody;
- if(emailBody != "")
- {
- sendmail
- [
- from :zoho.adminuserid
- to :commaSeperatedToAddresses
- subject :subjectOfNotificationEmail
- message :emailBody
- ]
- info "mail sent";
- }
À savoir
- À la ligne 2, saisissez l'objet de l'e-mail de notification.
- Dans la ligne 3, saisissez les e-mails des membres de l'équipe que vous souhaitez notifier.
- Dans les lignes 8,12,34,38,59,63, remplacez « .com » par l'extension de domaine correspondant à votre centre de données.
Cela vous permet de assurer des mises à jour rapides et une publication fluide, permettant ainsi la pertinence de votre base de connaissances et l'accès de vos clients aux ressources les plus récentes.
L'équipe Zoho France
Recent Topics
Revenue Management: #9 Revenue Recognition in Media & Publishing
Media & Publishing industry has evolved in recent times. It offers subscriptions, bundles digital and print access, runs sponsored content, and sometimes even sells ad spaces. If you run a media or publishing business, you will always get into a situation
Zoho CRM Community Digest - July 2025 | Part 2:
Hello, Everyone! We’re closing out July with a can’t-miss highlight: Zoholics Europe 2025! Happening from September to October, it’s your chance to level up your CRM skills, covering everything from automation and CPQ to dashboards and advanced workflows.
How can I trigger a flow action only once while updating contact?
Hi, we have a trigger to merge&mail file when the field YYY is filled out. For this acion I used "Create or update module entry". But unfortunately we get tens of email on a day with this merged file, because the contact is being regularly updated. The
Copy a Record Template from one Form to another
I have a Creator application with several forms. I developed a record template for one of the reports/forms but want to use most of it for another of the form/report combinations in the application. Is there a way to copy the template (code or otherwise) to another form?
Tip of the Week #70 – Create common team signatures for your shared inboxes
Did you know that a small detail, such as an email signature, can make a big difference in how your brand is perceived? One simple yet smart way to enhance your team’s communication is by creating common team signatures for your shared inboxes. Instead
Enhanced data export features: XLSX format, custom character encoding, and selective record export
Greetings all, Here are a few enhancements related to exporting CRM data, including the ability to export data in XLSX file format now. The Export feature under Data Administration now offers new options that expand its flexibility and enable users to
Tip #42 – How to manage data security with Privacy Settings – 'Insider Insights'
Data privacy is a cornerstone of trust in remote support. Through Privacy Settings in Zoho Assist, you can set up how data is gathered, stored, and handled in your organization. These settings ensure compliance, data protection for sensitive details,
Zoho DataPrep and File Pattern configuration
I'm using Zoho data prep to ingest data from One Drive into Zoho Analytics... The pipeline is super simple but I can't any way to get all the files that I need. Basically I need to bring all the files with a certain pattern and for that I'm using a regex
Introducing Dark Mode / Light Mode : A New Look For Your CRM
Hello Users, We are excited to announce a highly anticipated feature - the launch of Day, Night and Auto Mode implementation in Zoho CRM's NextGen user interface! This feature is designed to provide a visually appealing and comfortable experience for
Quick Item Search & Auto-suggestion for Invoices
Hi Team, I am facing an issue while creating invoices in Zoho Books. Currently, I have to type the full item name in the correct sequence and spelling for it to appear. For example, my item name is: "Distemper Acri Silk Special White 10kg" If I type something
Ticketbai! en el Pais Vasco
Hola a todos, En enero de 2.022 se va a implantar en el país vasco un nuevo sistema de facturación, denominado ticketbai!, ¿hay alguna previsión de realizar las adaptaciones en zoho books o zoho invoices? Ignoro la cantidad de clientes que tienen estas
Zoho CRM mobile app feature update: home page widgets, field tooltips and user image upload
Hello everyone! Your business doesn't pause when you're on the move, and neither should your CRM. That's why in our latest update, we've introduced a few new features to make your mobile CRM experience smoother and more efficient. Let's take a quick look
Zoho CRM Plain Text Template: Line Breaks and Formatting Issue
Hello, I'm following the instructions to create email templates in Zoho CRM, but I'm having a problem with the plain text version. https://help.zoho.com/portal/en/kb/zoho-sign/integrations/zoho-apps/zoho-crm/articles/zoho-crm-email-templates#Steps_to_create_a_custom_email_template
Optimizing Task Handling: Auto-Remove Recurrence for cancelled Tasks.
Hello Everyone, A Custom function is a user-written set of code to achieve a specific requirement. Set the required conditions needed as when to trigger using the Workflow rules (be it Tasks / Project) and associate the custom function to it. Requirement:
Important updates to your connectors
Hello everyone, Greeting from Zoho Creator! We're excited to announce that we'll be rolling out significant backend updates to Zoho Creator's built-in connectors to enhance security by following the latest frameworks. The existing version of some of the
Create, collaborate, and manage agreements with Zoho Sign
Agreements drive business. We launched Zoho Sign in 2017 as a simple digital signature tool to sign agreements from anywhere, at any time. Over the years, we've learned that most agreements go through last-minute changes before they're signed. Our users
Function #25: Automatically generate purchase orders from a sales order
We kicked off the "Function Fridays" series with the goal of helping you automate your everyday accounting tasks. As we delve into today's post, I'm delighted to announce that we're here to present the 25th custom function in this series. While it is
DNS set up
I want to create an email with my company domain. When I tried to add new record with cloudflare it didn't work. The DNS record can't be manually added. I followed the instruction but still can't add it. Could you help?
hiding a topic from all but one segment (or list)
My organization sends out a number of newsletters using Zoho Campaigns. One of those newsletters is for volunteers. In order to become a volunteer, a person has to first go through our volunteer orientation (training). After that, they can receive newsletters
How do I set up this automation correctly?
When contacts enter my Subscribers list, I want it to reference a custom field to see if it is empty. Then I want it to do two things: If empty: Assign a tag based on a different custom field. If that custom field is empty, assign a different tag. If
Function #62: Display associated Quote on Invoice details screen
Hello everyone! Today, we are sharing a Related List script that makes it easy to view and access the quote from which an invoice was created right from the invoice details screen. This Related List displays the Quote number and Amount, allowing you to
Custom confirmation message
How can I change the message that users see after they submit the booking form? I have to confirm some details before their appointment is officially "confirmed", so I want to change it where it doesn't say their appointment is "confirmed" but rather
email forwarding not working
Your email forwarding service does not work. I received the confirmation email and completed the confirmation, after that nothing and nothing since no matter what I have tried. Shame as everything else was smooth. I spose it's harder to run one of these web based internet mail services than you guys thought!!! can you fix the email forwarding asap PLEASE!
Desk x CRM Integration
Howdy! We currently use SalesIQ but we are considering moving across to Desk as it seems to have more functionality that we want. One of the pulls is the ability for our customers to self serve. But, I might be getting over excited and not actually need
Function #53: Transaction Level Profitability for Invoices
Hello everyone, and welcome back to our series! We have previously provided custom functions for calculating the profitability of a quote and a sales order. There may be instances where the invoice may differ from its corresponding quote or sales order.
Issue with Save & Share Link – Works for Others but Not Creator
I’ve enabled the "Save and Share" feature in Zoho Forms, and it works correctly for all users accessing the public link—except for me (the form creator). Issue Details: When I save and share the link, recipients see a “no permission” error. The form is
Save the pdf report from a registration form in a Folder
Through Zoho Forms I created a registration form with quite a lot of rules to handle different variables (TEAM types, payment in installments, etc.), and the result is pretty good. The automatic PDF that is sent to the respondent upon submission is already
zoho forms integration to zoho work drive
Scenario: A user fills out a Zoho Form, entering details such as email, mobile number, and other required information, and uploads supporting documents like PAN, Aadhaar, etc. Upon submission, the data is available in Zoho Forms Reports. Requirement:
Zoho Forms to Zoho CRM Integration failed - can I restart it?
The integration of Zoho Form to Zoho CRM has failed. Is there a way for me to restart it for the impacted entry?
insert an equation, but in document, it shows an image not available.
I'm new to Zoho writer and used Zoho writer in desktop app version . When I inserted an equation, I got an image not available sign. Any help is appreciated. Thanks, Charles
Zoho Desk Android app update - Swipe action customization
Hello everyone! We have brought in support for the swipe action customization in latest version(v2.9.13) of the Zoho Desk Android app update, enabling you to configure left and right swipe gestures on tickets to carry out the actions swiftly without opening
Import KB template OR Export template for zoho desk?
Greetings. Can you tell me if there is a way to get an EXPORT of my KB articles? OR is there a template you supply for importing KB articles into my zoho desk? I am looking for a method of understanding what fields can be imported, and what their possible
XML format to import knowledgebase into Zoho Desk
Hi, We just started to use Zoho Desk and want to import our knowledgebase from our old support system (Freshdesk) to Zoho Desk. Can anyone give us information about the format of xml file to import? There is no explanation on the related page.
Zoho Desk integration with Power BI
Hi, I want to be able to create a Power BI report which has live updates of ticket data from zoho desk, is this possile at all? Thanks Jack
Arranging Ticket Templates
Is there any way to arrange our ticket templates? It doesn't look very organised when it's just arranged according to when they were created. We want the list to look more organised, by arranging/grouping them by topics, or even just by alphabetical
What they mean with "Portal"?
I just downloaded this app to take my personal notes on digital art studio because it seemed to me the most comfortable app to do it, I use it very often, what do they mean by “no activity on your portal”? I have about 1 year of work here and I don't
Inactive User Auto Response
We use Zoho One, and we have a couple employees that are no longer with us, but people are still attempting to email them. I'd like an autoresponder to let them no the person is no longer here, and how they can reach us going forward. I saw a similar
favorites no longer listed
Hello, I can no longer navigate to my Favorites from the pulldown at the top of my grid view (see attached screenshot). I wasn't able to find it anywhere! Please help me display my Favorites. Thank you!
Notecards Disappeared
Got a new phone. Downloaded and signed in Zoho Notebook. Not finding the Note cards. Just Empty Note books. Frustrating.
Table Errors
Hello, I'm new to Zoho Notebook and using it on several Mac/Apple devices. My question is regarding tables: Why do they become broken, and how to fix the error without retyping all my data? (Please see the screenshot attached.)
Next Page