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

                                  • Best way to account for shipping charges to customer

                                    I have been allocating all our shipping expenses to the "postage" account, but I realise that is probably incorrect, as for the most part, we pass on shipping charges to our customers. So I should probably add the shipping charges into the "shipping charges"
                                  • Zoho Flow s’enrichit avec les subflows et les actions Webhook

                                    Nous sommes ravis d’annoncer deux ajouts importantsà Zoho Flow : les subflows et les webhooks sortants. Ces nouvelles fonctionnalités ont été conçues pour vous aider à créer des workflows plus facilement et à automatiser davantage de tâches répétitives.
                                  • How to assign canvas view for portal user

                                    Hi , as a portal user, I can switch to another canvas view, however, I cannot find any field to configure a default canvas view for portal user. May I ask how to set it up in CRM? And if I can view list by sheet view as a portal user?
                                  • Restrict Leave Application Based on Attendance Cycle (24th to 23rd)

                                    Hi Zoho Team, Our organization follows a custom attendance cycle from 24th of the current month to 23rd of the next month. I would like to configure the system so that: Employees should not be able to apply backdated leave for any date after the attendance
                                  • How do I assign a parent to an existing campaign?

                                    I created a campaign but now I'd like to make that existing campaign a child of another.  How can I do this?
                                  • Categorize Tickets Through The App

                                    I used to be able to categorize and assign tickets through the app without any issues. However, for the past year, whenever I try to edit a ticket, select a category, and click save, it doesn’t actually save the changes. As a result, I haven’t been able
                                  • Can't add picture to email template. Says I'm over the character limit.

                                    I tried creating an email template with a picture and it says I'm over the character limit. The picture is pretty small. What can I do?
                                  • Allow breakdown of per diem for meals provided

                                    Would it be possible to break the per diem down into what you get for each meal. The reason for this is we want to offer per diem but if a meal is provided by a customer or sales we need to remove this from the per diem bucket for that day. We break down
                                  • Automatically moving Leads into their corresponding buckets

                                    Hi, I have developed a lead pipeline and created different cadences for various lead segments. After enrolling leads into their respective cadences, each lead goes through a series of follow-ups (in my case, three emails). If a lead does not respond after
                                  • Tracking Email Template usage

                                    I'd like to be able to track how many times agents/users send an email from Templates. This is so we can track their activity in relation to Campaigns in CRM. Thanks
                                  • Get employee id of authenticated user via API

                                    Hi, For adding timetracking records an employee id is required. Is there an API Route available to get the employee ID of the current authenticated user? or something like /users/me Currently using https://people.zoho.com/people/api/forms/employee/getRecords
                                  • Zoho Social API for generating draft posts from a third-party app ?

                                    Hello everyone, I hope you are all well. I have a question regarding Zoho Social. I am developing an application that generates social media posts, and I would like to be able to incorporate a feature that allows saving these posts as drafts in Zoho Social.
                                  • Collect in-app feedback with richer context and granular insights

                                    Hello, Apptics community! From GenAI chatbots to one-tap checkouts, user experience standards keep rising—yet 96% of unhappy users never explain what went wrong; they simply leave. Introducing in-app feedback 2.0 banner In-app feedback 2.0 is here to
                                  • Temporary restiction

                                    My account says You have been temporarily restricted from publishing jobs from Zoho Recruit.Click here to request a one-time approval to publish your jobs and when I go to click it shows error. Kindly assist.
                                  • Help with Quote template for peer review

                                    We are wanting to do peer review of quotes/proposals, however the quote templates dont have product cost, profit margins, etc. It is difficult for a manager to approve a quote without ensuring nothing is going out at improper margins, etc. I have not
                                  • India Tech Support

                                    Is there no phone tech support number for India? And no chat facility either?
                                  • How many AR fields We can add in a form?

                                    I want to add at least 10-15 AR fields in a form. I just want to know is there any limit on the AR fields or do I need to pay extra money for using 10-15 AR fields. Thanks in advance.
                                  • Agent working hours

                                    Hi, I know it is possible to set company business hours but is it possible so that agents can have different ones? I.e. some agents cover later hours on specific weeks - can these be set so those agents that are "working" get notified about tickets etc. 
                                  • Disallow CLOSE if tags field is empty

                                    I want to introduce a mandatory condition that NEW tickets (not prior closed tickets) cannot enter the CLOSED state without first having an entry in the tags field. Is there a way I can do this?
                                  • Central de Ajuda - Restringir visualização de tickets

                                    Estou tentando configurar o Zoho Desk para que determinados usuários dentro de uma mesma conta consigam visualizar apenas os tickets criados por usuários específicos dessa conta — e não todos os tickets ou apenas os seus próprios. Até onde sei, existe
                                  • Business Hours with lunch break

                                    Our business hours are: mon - fri 08:30 - 13:00, 15:00 - 18:30. How can I handle the lunch break? If I use 8:30 - 18:30 it obviously breaks SLA. Thanks
                                  • Default/Private Departments in Zoho Desk

                                    1) How does one configure a department to be private? 2) Also, how does one change the default department? 1) On the list of my company's Zoho Departments, I see that we have a default department, but I am unable to choose which department should be default. 2) From the Zoho documentation I see that in order to create a private department, one should uncheck "Display in customer portal" on the Add Department screen. However, is there a way to change this setting after the department has been created?
                                  • Ask the Experts 21: Power up your support game with Zoho Desk Automation

                                    " In every business, there are tasks to automate, Zoho Desk helps with features that integrate Assignments to manage tickets and teams to align,Macros for quick actions and workflows to streamline Contracts and schedules to hold things tight, Plans run
                                  • If leads are assigned to a person before 4:00 PM and the stage is "Fresh Lead", then an email should be triggered at 4:00 PM to all assigned users. If leads are assigned after 4:00 PM and the stage is

                                    If leads are assigned to a person before 4:00 PM and the stage is "Fresh Lead", then an email should be triggered at 4:00 PM to all assigned users. If leads are assigned after 4:00 PM and the stage is "Fresh Lead", then the email should be triggered the
                                  • Multiselect lookup in subform

                                    It would be SO SO useful if subforms could support a multiselect look up field! Is this in the works??
                                  • Tasks as calendar events? What about a way to verify a meeting actually happened?

                                    I'm not sure how to best ask this, but i'm looking to add some guard-rails into zoho for the end-user. However for guardrails to be effective they can't really add extra steps for the end-user. i.e. every step that's added for the user, is another place
                                  • Attachments should sync between Zoho Finance in CRM and Zoho Books

                                    It would EXTREMELY helpful and practical if the attachments added to an invoice via Zoho Finance in CRM synced with the invoice updates in Zoho Books. Currently, attachments to an invoice updated in CRM DO NOT appear as attachments when viewing the same
                                  • Introducing a new home page view and UI enhancements for Dashboards

                                    Hello everyone,  In CRM, the home pages provide a quick view of the various happenings in a business with the help of dashboards. The home pages also help to organize one's and the team's day's work. There are three views in the home tab: Classic User's
                                  • Translation support expanded for Modules, Subforms and Related Lists

                                    Hello Everyone!   The translation feature enables organizations to translate certain values in their CRM interface into different languages. Previously, the only values that could be translated were picklist values and field names. However, we have extended
                                  • Call result pop up on call when call ends

                                    I’d like to be able to create a pop up that appears after a call has finished that allows me to select the Call Result. I'm using RingCentral. I have seen from a previous, now locked, thread on Zoho Cares that this capability has been implemented, but
                                  • Data Template Amending

                                    Hi, is it possible to remove data templates once you have applied them in Workdrive? Also, once I have added a new field to a data template can I mass update multiple files who have already been allocated that template and amend just that one added
                                  • Zoho Flow y subformularios de Zoho CRM

                                    Buenas tardes, En mi empresa vamos a empezar a usar los subformularios de zoho crm pero estos los voy a tener que rellenar con zoho flow ya que va a ser el encargado de rellenar dichos campos del subformulario. El problema es que a la hora de intentar
                                  • Recurring Invoices

                                    We are looking at moving our invoices to ZOHO Billing, I have started the trial period and like that I can et up for four different companies. The one feature we need which is mentioned in the documentation is Recurring Invoices so we can send our Rent
                                  • Implement Meeting Polls in Zoho Bookings

                                    Dear Zoho Bookings Support Team, We'd like to propose a feature enhancement related to appointment scheduling within Zoho Bookings. Current Functionality: Zoho Bookings excels at streamlining individual appointment scheduling. Users can set availability
                                  • Zoho Projects App update: Arabic and Hebrew language support

                                    Hello everyone! In the latest version(v3.10) of the Zoho Projects iOS app update, we have brought in support to access the app in RTL(Right to Left) languages (Arabic and Hebrew). Note: RTL is yet to be supported on the Calendar and Gantt charts modules
                                  • I want to cancel @mention group in the notes in Zoho CRM

                                    Hi Everybody, I want to prevent people from mentioning a specific group in notes in Zoho CRM. We have one group called Team Sales, and although we've asked users not to mention groups, they still mention the group name. My workaround is to change the
                                  • Kaizen #193: Creating different fields in Zoho CRM through API

                                    🎊 Nearing 200th Kaizen Post – We want to hear from you! Do you have any questions, suggestions, or topics you would like us to cover in future posts? Your insights and suggestions help us shape future content and make this series better for everyone.
                                  • How to install node packages in Zoho Creator cloud functions

                                    I wanted to create some functions which requires node packages like axios, fetch, multer etc., How and where can i install the node packages in Zoho creator to use it in Zoho creator Nodejs function.
                                  • Session "Ask Me Anything" Zoho France - Le 26 Juin 2025 14h à 17h (en Français

                                    Chers Utilisateurs, Vous cherchez à mieux comprendre Zoho CRM ou Zoho Desk ? Nos experts seront disponibles pour répondre à toutes vos questions lors de notre session Ask Me Anything. Rejoignez-nous ici pour en discuter en ligne. Pendant trois heures,
                                  • Option to Crop Existing Agent Image in Zoho One Directory

                                    Hello Zoho Team, We hope you're all doing well. We would like to request a small but useful enhancement to the Zoho One Directory. 🎯 Current Limitation At present, the system allows cropping an agent image only during the initial upload of an agent's
                                  • Next Page