Zoho Desk - Prévenir les agents à l’expiration d'un article

Zoho Desk - Prévenir les agents à l’expiration d'un article


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

  1. Configurer une connexion

    1. Accédez à Setup >> choisissez Connections sous Developer Space.
    2. Sélectionnez Créer une connexion
    3. Sélectionnez Zoho OAuth sous Default Connection
    4. Donnez à la connexion le nom , eg - deskconnection
    5. Désactivez le bouton pour les informations identifiant
    6. Sous Scope, choisissez les valeurs "Desk.articles.READ"
    7. Cliquez sur créer et connecter
    8. Cliquez sur "Connecter" puis sur "Accepter"
    9. La connexion est établie
  2. Créer un calendrier

    1. Allez au setup, choisissez "Planifications" sous "Automatisation"
    2. Sélectionnez "Nouvelle planification"
    3. Sous "Ajouter une planification", saisissez le nom de la planification et la description de la règle
    4. Sous l'onglet "Exécuter", définissez la date et l'heure de début d'exécution de la planification
    5. 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.

    1. Dans la section "Fonctions", cliquez sur "Créer une fonction"
    2. Saisissez un nom et une description pour la fonction personnalisée
    3. Dans la fenêtre de script, insérez la fonction personnalisée ci-dessous :
    4. Cliquez sur "Enregistrer le script"
    5. Cliquez sur "Enregistrer" pour ajouter la fonction personnalisée.
    6. Cliquez à nouveau sur "Enregistrer" pour valider la programmation.
  1. // ----<<<< User Inputs >>>>----
  2. subjectOfNotificationEmail = "Zoho Desk - Article Expiry Notification"; // provide subject based on your preference
  3. commaSeperatedToAddresses = "email address1, email address2";//provide email addreses of team members
  4. currentDateString = zoho.currentdate.toString("yyyy-MM-dd");
  5. //Expiring/Expired Today
  6. fromString = currentDateString + "T00:00:00.000Z";
  7. toString = currentDateString + "T23:59:59.999Z";
  8. info "final url " + "https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString;  
  9. //change .com based on your DC
  10. getArticle = invokeurl
  11. [
  12. url :"https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString
  13. //change .com based on your DC
  14. type :GET
  15. connection:"deskconnection"
  16. ];
  17. emailBody = "";
  18. if(getArticle != null && getArticle != "" && getArticle.get("data").size() > 0)
  19. {
  20. articlesList = getArticle.get("data");
  21. emailBody = emailBody + "<div> <b> List of articles expiring/expired today </b>";
  22. for each  article in articlesList
  23. {
  24. webUrl = article.get("webUrl");
  25. title = article.get("title");
  26. emailBody = emailBody + "<div><br><a href='" + webUrl + "'>" + title + "</div>";
  27. }
  28. emailBody = emailBody + "</div> <br> <br>";
  29. }
  30. //Expiring Tomorrow
  31. currentDateString = zoho.currentdate.addDay(1).toString("yyyy-MM-dd");
  32. fromString = currentDateString + "T00:00:00.000Z";
  33. toString = currentDateString + "T23:59:59.999Z";
  34. info "final url " + "https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString;
  35. //change .com based on your DC
  36. getArticle = invokeurl
  37. [
  38. url:"https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString
  39. //change .com based on your DC
  40. type :GET
  41. connection:"deskconnection"
  42. ];
  43. if(getArticle != null && getArticle != "" && getArticle.get("data").size() > 0)
  44. {
  45. articlesList = getArticle.get("data");
  46. emailBody = emailBody + "<div> <b>List of articles expiring tomorrow </b>";
  47. for each  article in articlesList
  48. {
  49. webUrl = article.get("webUrl");
  50. title = article.get("title");
  51. emailBody = emailBody + "<div><br><a href='" + webUrl + "'>" + title + "</div>";
  52. }
  53. emailBody = emailBody + "</div> <br> <br>";
  54. }
  55. //Expiring in 7 days
  56. currentDateString = zoho.currentdate.addDay(7).toString("yyyy-MM-dd");
  57. fromString = currentDateString + "T00:00:00.000Z";
  58. toString = currentDateString + "T23:59:59.999Z";
  59. info "final url " + "https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString;
  60. //change .com based on your DC
  61. getArticle = invokeurl
  62. [
  63. url :"https://desk.zoho.com/api/v1/articles?expiryTimeRange=" + fromString + "," + toString
  64. //change .com based on your DC
  65. type :GET
  66. connection:"deskconnection"
  67. ];    
  68. if(getArticle != null && getArticle != "" && getArticle.get("data").size() > 0)
  69. {
  70. articlesList = getArticle.get("data");
  71. emailBody = emailBody + "<div><b> List of articles expiring in 7 days </b> ";
  72. for each  article in articlesList
  73. {
  74. webUrl = article.get("webUrl");
  75. title = article.get("title");
  76. emailBody = emailBody + "<div><br><a href='" + webUrl + "'>" + title + "</div>";
  77. }
  78. emailBody = emailBody + "</div> <br> <br>";
  79. }
  80. info "emailBody" + emailBody;
  81. if(emailBody != "")
  82. {
  83. sendmail
  84. [
  85. from :zoho.adminuserid
  86. to :commaSeperatedToAddresses
  87. subject :subjectOfNotificationEmail
  88. message :emailBody
  89. ]
  90. info "mail sent";
  91. }

À 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


      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          • Sticky Posts

          • Desk - Astuce #5 : Déplacer les tickets entre les départements

            Bonjour à tous, Il n'est pas rare que vos clients créent des tickets dans un département qui n'a pas l'expertise requise pour les traiter. Vous devez transférer ces tickets vers le département concerné, afin qu'ils ne passent pas à travers les mailles
          • Zoho Desk - Nouveautés 2023

            Bonjour à tous,  Comme vous le savez, Zoho cherche en permanence à vous proposer des logiciels complets et au plus proche de vos attentes. C'est pourquoi toute l'équipe Zoho Desk est fière de vous présenter la nouvelle version de votre logiciel de service
          • Desk : Le cycle de vie d'un ticket - Introduction

            Voici une nouvelle série en 3 chapitres, dans laquelle nous allons vous dévoiler comment Zoho gère l'intégralité de son service client sur Zoho Desk.   Zoho compte plus de 60 millions d'utilisateurs à travers le monde et offre plus de 50 différentes solutions.
          • Zoho Desk - Chapitre 1 : Anticipez vos besoins

            Bonjour à tous, Continuons notre série de la rentrée et découvrons comment Zoho gère 60 millions de clients grâce à Zoho Desk. Contrairement à ce que l'on peut penser le cycle de vie d'un ticket commence bien avant qu'il arrive dans notre logiciel client.
          • Desk Astuce #6 : Ajouter plusieurs comptes réseaux sociaux

            Bonjour à tous, Découvrons dans cet article comment vous pouvez ajouter plusieurs pages d'un meme réseau social dans Zoho Desk. Pour cela suivez les étapes suivantes : Connectez-vous à Zoho Desk avec les privilèges d'administrateur. Cliquez sur les paramètres

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

                          • CRM Community Learning Series

                            CRM Community Learning Series


                          • Tips

                            Tips

                          • Functions

                            Functions

                          • Meetups

                            Meetups

                          • Kbase

                            Kbase

                          • Resources

                            Resources

                          • Digest

                            Digest

                          • CRM Marketplace

                            CRM Marketplace

                          • MVP Corner

                            MVP Corner




                            Zoho Writer Writer

                            Get Started. Write Away!

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

                              Zoho CRM コンテンツ








                                ご検討中の方

                                  • Recent Topics

                                  • Toggle Option for SQL Query Auto-Formatting

                                    We all write SQL queries in a style that makes them clear and easy to understand. However, I’ve noticed that Zoho Analytics sometimes reformats queries in a way that reduces readability - especially when editing existing queries written in a specific
                                  • payment configuration process

                                    payment configuration process
                                  • Lookups from Standard Modules to Custom Modules

                                    I have created an "External Contacts" Custom Module for adding Contacts who aren't directly associated with a Customer or Vendor but who are related to Orders by being a Site Contact, Job Contact, Warehouse Contact, etc for third party. How can I go about
                                  • Run automation on quiz completion

                                    Hello, We're exploring Zoho Learn as a possible solution to creating some training courses to external users on our system. We'd like to run a workflow/ integration to Zoho CRM when a course is completed. Is this possible?
                                  • Dynamic user applications for CPQ?

                                    Hi, I've been enjoying getting to know CPQ, the Product Configurator and Price Rules components have been very useful, albeit with some issues. I have noticed that I don't have the power to decide which level of sales staff has permissions when it comes
                                  • Need details on search criteria for zoho.crm.searchRecords

                                    Hi, If I understood correctly the integrated functions (getRecords, searchRecords, etc..) I can use inside Functions in Zoho CRM are actually using the Zoho CRM V2 API. I am looking for all the field types and criteria I can use with searchRecords. The
                                  • Do my notebooks get transferred to a new phone?

                                    Hello I was wondering about a new phone and I'd like to know whether your notes are automatically transferred to the new device? Regards Will.
                                  • Client Script Error - Cannot read properties of undefined (reading 'CRM')

                                    Hi Guys I have a custom form, and I have a client Script set for onLoad of the new form. Below is the script I have defined and the error: Cannot read properties of undefined (reading 'CRM') See Screen Shot Attachement for Details. Here is the Script:
                                  • Notebook sync

                                    Hi,After Restart Mobil-Phone since i pressen „Synchronisation“ in my Notebook-App (iPhone) the App is hanging all the time and I have no possibility to Break up. Also Not After Restart my mobile-Phone. After the Restart ( inkl. Connection to WiFi or mobile
                                  • Employee survey data when the survey creator's account is deleted

                                    I can’t find in the documentation on this topic, so asking here. When the employee who has created an Employee Engagement survey leaves the organisation and their Zoho account is deleted, will the survey results still be accessible to other persons if
                                  • DANE IS NOT implemented

                                    According to the answer of @Sagar S , "DANE has been implemented". on this topic Allow me to disagree, DANE is not implemented at least not to the EU area. The Zoho domain is not under DNSSEC protection and the related TLSA DNS records
                                  • Enhance Your CRM Experience with Zoho Webinars in Sandbox Environments

                                    Greetings all, Zoho Webinars will now be available for testing and deployment in Zoho CRM's sandbox environment. Sandboxes offer a safe way to replicate production environments and enable risk-free testing, training, and refining processes before making
                                  • Increase the elegant comparator to more than 5 users

                                    Hi Team Requesting to increase the elegant comparators number of custom users to more than 5, this is such a crucial tool in dashboarding but 5 users is simply not enough.
                                  • No emails coming in

                                    Hi, I am not receiving any emails, I have tried to send myself an email from another acct and I am not receiving anything, possibly for the last few days. Bit desperate as we are a nursery and not getting important emails from our parents.
                                  • Problem with Schedule Email parameters in "Send Reply to an Email" API

                                    Hello, This is my Json script: { "fromAddress": "test@gmail.com", "toAddress": "{{8.fromAddress}}", "subject": "{{8.subject}}", "content": "{{4.result}}", "action": "reply", "isSchedule": true, "scheduleType": 6, "timeZone": "Europe/Lisbon", "scheduleTime":
                                  • What's New? - May 2025 | Zoho Backstage

                                    Hi everyone, A May-zing month for you! As summer rolls in and event season picks up the pace, we’ve been working on a set of updates in Zoho Backstage to help make your day-to-day life a little easier. This month’s improvements are all about tackling
                                  • Integrate Zia AI into Zobot with Support for Hebrew and Bot Context

                                    Dear Zoho SalesIQ Team, Greetings. We would like to submit a feature request that would significantly enhance the functionality and intelligence of Zobot: native integration of Zia AI into Zobot scripts and blocks—with full support for Hebrew language
                                  • Mail Merge: Need Transparent Background for Signatures

                                    I'm using ZohoCRM and Zoho sign to send documents to customers to sign. We use zohoCRM's "Mail merge" option to create the templates. The problem is that those "Signature" fields have a solid white background so it looks like a stamp on the page instead
                                  • Zoho Flows

                                    Basically I can't build a connection that works between Excel on OneDrive and Zoho. I wanted to have 1 flow checking on a row added to an excel file and then intiate an import of that row. I'm doing that manually now and thought that this could be automated.
                                  • Zoho time tracking with automated screenshots

                                    Time tracking option with automated screen shots would be an exeptuonally good feature, any plans to develop something like that?
                                  • Sharing my portal URL with clients outside the project

                                    Hi I need help making my project public for anyone to check on my task. I'm a freelance artist and I use trello to keep track on my client's projects however I wanted to do an upgrade. Went on here and so far I'm loving it. However, I'm having an issue sharing my url to those to see progress. They said they needed an account to access my project. How do I fix this? Without them needing an account.
                                  • Zoho Campaigns Forms not Responsive on Website

                                    I have a mobile responsive Zoho Sites website and when I add a Zoho Campaigns form, it is not responsive. I have used the website code and ensured that the 'responsive' checkbox is selected. But, the form is not responsive to mobile. I have attached a
                                  • Oldest mail on top?

                                    I am old, and probably missing something simple, but how do I flip my zoho mail so oldest mail is on top?  Thanks in advance, and a HUGE thank you to the entire ZOHO team.  You just keep getting better!
                                  • Desk API to add or change commenterId to a comment

                                    Please let me know how to add comments on tickets for different agents using the API. When adding a comment it will take commenterId but then ignores that and used the API agentId. Did not see in API docs which values are readonly. I pleased to see commentedTime worked for past times. Regards, Glenn
                                  • How send a ticket attachment using the Sendreply API in Zoho Desk

                                    API document references : you make use of the Upload file API and gather the attachment ID. This ID is be passed with the Send email Reply API to deliver responses with the attachment intact. Code template is as below: // ORGID ORGID = "XXXXXXX"; // Masked
                                  • First Insight - Find your Fields

                                    The Wheels of Ticketing - Desk Stories Find your Fields What are fields? Fields are crucial in ticketing modules that capture information about Tickets, Customers, Organizations, Products, and more. Depending on the kind of data being stored, users can
                                  • Automation#30: Auto-Update Time Entry to the Nearest 5 Minutes

                                    Hello Everyone, Time tracking is a feature in Zoho Desk to help businesses stay organized and efficient. For Zylker Techfix, this feature has helped to track the duration of gadget services to generate accurate bills. However, Zylker Techfix faced a unique
                                  • Email adding to existing ticket

                                    hello Is there some syntax i can add e.g. to the subject line / body of my email that when it reaches the Zoho portal will add the request to an existing ticket. e.g {123} Currently if i have an open ticket and a customer emails me direct, i then forward
                                  • How to define different shift timings for each weekday in Zoho People?

                                    Hi everyone, We’re using Zoho People for attendance tracking and need to configure a standard 39-hour workweek that is structured like this: Monday to Thursday: 8 hours per day Friday: 7 hours Currently, our service provider has set up the workweek as
                                  • add two date range

                                    Hi, How can I add two date range selections to compare two different column values in a single pivot view? I have attached a snap for your reference.
                                  • Announcing new features in Trident for Windows (v.1.26.5.0)

                                    Hello Community, Trident for Windows is here with exciting new features to elevate your email communication and enhance productivity. Let’s dive into what’s new! Open .eml files in Trident. You can now open .eml files directly using Trident. This makes
                                  • Adjust The max character in Specification Field

                                    Is there another way to adjust the maximum character limit for the Specifications field in Zoho Commerce? I need to accept responses with fewer than 200 characters.
                                  • Customize the Sign In And Sign Up in Zoho Commerce

                                    Is there another way to customize the Sign In and Sign Up in website Zoho Commerce like this i want to customize to edit it like change the "Sign In" word into "Login Zoho Commerce" it is possible or other way to do that?
                                  • Territories : Deluge and APIs

                                    I am trying to work out how to filter a deluge query by territory eg "SELECT Total_Amount, Stage, Closing_Date, Created_Time, Deal_Name FROM Deals WHERE Stage in (" + varBaseCriteria + ") AND Territory = 'Territory1'" The problem being that Territory
                                  • Tidying up messes file system on Site

                                    I'm been given access to a new site that's been managed by several different people over the years, each with different ways of managing images and files. If I move an image from one folder to another, it shows a missing image icon on the site's page.
                                  • Move Archive Button in Zoho Mail to Main Toolbar?

                                    Is there a way to add the Archive Button to this tool bar so I don't have to click the three dots every time?
                                  • Introducing Bigin 360: Our new pricing edition with increased feature limits and pre-installed toppings

                                    Dear Biginners Club, Today, we're pleased to launch a brand-new pricing edition called Bigin 360, our highest pricing edition that will sit on top of Express and Premier editions. It's been over four years since our launch, and we're receiving some great
                                  • URL field display value

                                    Is it possible to give a URL stored in a project a display value, rather than showing the whole url? I have a lot of projects connected to issues filed on a separate site, each with a distinct URL. For example: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40000
                                  • need payment link excl. TDS Amount.

                                    Dear Team Zoho, Kindly generate a payment link excluding TDS amount. So that TDS can be submitted through portal. Thanks & Regards, Arijit S.
                                  • CRM is very slow now

                                    CRM is very slow now. Plz check ASAP
                                  • Next Page