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

                                  • Multiple images

                                    Hi Is there a way to insert multiple images in one image record or any way that instead of one image, I could upload 5 to 10 images together. Looking forward for a solution. Regards
                                  • Zoho Projects - Custom Objects

                                    Hello, is there the ability now, or in the near future, to add custom objects to Zoho Projects? The requirement here would be to have the ability to track change requests to a project's budget. The idea here is to have the ability to create a custom Object
                                  • Access CRM Variables from Formula field

                                    Is it possible to use a CRM variable (defined in Developer Space -> CRM Variables) in a formula field for calculations ?
                                  • Announcing Bigin India Meetups Across 8 Cities: July 29 - Aug 07

                                    Hello Biginners, We've got some exciting news to share! We're hosting our first round of Customer Meetups for 2025 in India, from 29th July - 9th August. Whether you're a Bigin newbie or a seasoned pro, this is your chance to meet customers from your
                                  • Why isn't there an Expense description field / column?

                                    Hello! I'm new to Zoho Books and accounting. I'm surprised there isn't a proper expense description field (and column in the overview "all expenses" page)? I thought this was a given in accounting, as visualizing expenses facilitates tracking them down?
                                  • New in Zoho PDF Editor: Watermarks, password protection, signature collection, and more.

                                    Hi Zoho Sign users! We are delighted to introduce the latest enhancements to Zoho PDF Editor, designed based on user feedback and feature requests. This update enables you to reorder, extract, and rotate PDF pages, add watermarks, and collect signatures.
                                  • How do you print a refund check to customer?

                                    Maybe this is a dumb question, but how does anyone print a refund check to a customer? We cant find anywhere to either just print a check and pick a customer, or where to do so from a credit note.
                                  • Cant't update custom field when custom field is external lookup in Zoho Books

                                    Hello I use that : po = zoho.books.updateRecord("purchaseorders",XXXX,purchaseorder_id,updateCustomFieldseMap,"el_books_connection"); c_f_Map2 = Map(); c_f_Map2.put("label","EL ORDER ID"); c_f_Map2.put("value",el_order_id); c_f_List.add(c_f_Map2); updateCustomFieldseMap
                                  • Printed Reports, Increase Font SIZE

                                    I need to send some printed copies of financial reports to my attorney. The reports print out with microscopic fonts. How do I increase the font size so that a normal human can read the text? Every other accounting app can do this so I imagine I have
                                  • Avoid email sending!

                                    Hello, Thanks you Zoho for the wonderful apps you provide. Question: Is there a way to disable sending emails when: - creating an estimate or billing. Thanks Tommy
                                  • Need to show discount before total after subtotal

                                    Need to show discount before total after subtotal on my estimate template (see attachment)
                                  • Email a "thank you" note for this payment is NOW checked by default

                                    Hello Team, Just noticed that Email a "thank you" note for this payment is now checked by default. I tried searching in Preferences and there is no way to turn this off. I do not want this to be the default. Is there a way to turn this off?
                                  • End-to-end services hours

                                    We are trying to determine the best method of quoting service hours on quotes but only present the sum amount to a customer, without losing the tracking of quantity of hours for invoicing purposes. Does anyone have a good method they have determined?
                                  • Specific Approval Question

                                    Hi everyone, Just a quick question here. I have located the "Approval Type" in the preferences, which is great, and I am sure we could make use of it. However, I am trying to understand how I can implement an approval "workflow". The business call it
                                  • Zoho Books - Show Discount Totals When Greater Than Zero

                                    Hi Books Team, I understand that to show or hide discount amount on a Quote or Invoice, I need to use different templates. It would be a great quality of life improvement for users if we had an option to show or hide the discount amount at line item and
                                  • Specifying a filename for Schedule Reports

                                    Is it possible to specify a filename to use with scheduled reports? For example: With a general ledger report, instead of general_ledger.pdf I would like to include the date the report was generated in the filename so it is called general_ledger_202
                                  • Need to upsert "Created Time" field in Leads Module

                                    I am in the process of implementing Zoho CRM for my business. I need to modify the "Created By' field to reflect the actual date/time the lead was captured in my original Excel file. Otherwise, my conversion velocity data will always be inaccurate, which
                                  • HTML for confirmation email

                                    Hi, After a prospect submitted the Zoho form, we want to send a confirmation mail. In this mail we want to add our email signature. However, while this is possible in Zoho CRM this doesn't seem to be an option in Zoho Forms. Also an html editor is not
                                  • Fire a webhook when the user gets access to portal

                                    Hello, We would like to know if there is any way in which we can automate a webhook call if the user accepts the portal invitation that Zoho sends by email. The customer module does have the option to trigger webhooks when a customer is created, updated,
                                  • One Contact with Multiple Accounts with Portal enabled

                                    I have a contact that manages different accounts, so he needs to see the invoices of all the companies he manage in Portal but I found it not possible.. any idea? I tried to set different customers with the same email contact with the portal enabled and
                                  • Enable History Tracking for Picklist Values Not Available

                                    When I create a custom picklist field in Deals, the "Enable History Tracking for Picklist Values" option is not available in the Edit Properties area of the picklist. When I create a picklist in any other Module, that option is available. Is there a specific reason why this isn't available for fields in the Deals Module?
                                  • Creating Payrun summary by fetching values from the employee payruns and adding them

                                    I am trying to make a processing payrun module. I want on Form load to autofill payrun summary eg Total Deductions, Total employer contributions etc by fetching one value after the other in the employee payrun information. So it should loop through the
                                  • Creator - Portal Custom Domain

                                    I will pay $100 in crypto to anyone who can actually get my Creator Custom Domain to function (actually tell me how you got yours to).  Domain verifies, Nothing. I've been fighting it a week, multiple chats to customer service. Clearly I'm doing something wrong.  Some datapoints Domain name itself unimportant, can be a string of numbers.  I need to know what registrars are working for you because GoDaddy does NOT.  Do I need hosting? I've tried both ways and nothing works.  I pushed through Cloudflare
                                  • Feature Request - Zoho Books - Add Retainer Invoices to CRM/Books integration

                                    Hi Books Team, My feature request is to include Retainer Invoices in the finance suite integration with Zoho CRM. This way we will be able to see if retainer invoices have been issued and paid. I have also noticed that when the generate retainer invoice
                                  • Books <-> CRM synchronisation with custom Fields

                                    Hello, We are synchronising Books Customers with CRM Accounts. In CRM Accounts I set up last year a "segments" multiselect field shown below In Books, I set up a custom multi-select field with the same value as in the CRM And set up the synchronisation inside Books. Want to synchronise the Books Segments with the CRM Segments, but the later doesn't exist, and another non-existing is there ?! First, I don't understand where the field Segmentation is coming from. Second, I set CRM Segmentation to sync
                                  • Edit Reconciled Transactions

                                    I realize transaction amounts and certain accounts cannot be edited easily once reconciled, but when I audit my operational transactions quarterly and at the end of the year sometimes I need to change the expense account for a few transactions. To do
                                  • Request to Customize Module Bar Placement in New Zoho CRM UI

                                    Hello Support and Zoho Community, I've been exploring the new UI of Zoho CRM "For Everyone" and have noticed a potential concern for my users. We are accustomed to having the module names displayed across the top, which made navigation more intuitive
                                  • Sending campaigns from other server

                                    Hi, Is it possible to send campaigns from another server so customers can see mail direct from our company (Corrata) and not from ZCSend.net? Thanks, Tim
                                  • Edit a previous reconciliation

                                    I realized that during my March bank reconciliation, I chose the wrong check to reconcile (they were for the same amount on the same date, I just chose the wrong check to reconcile). So now, the incorrect check is showing as un-reconciled. Is there any way I can edit a previous reconciliation (this is 7 months ago) so I can adjust the check that was reconciled? The amounts are exactly the same and it won't change my ending balance.
                                  • Admin and Dispatcher Users show as Field Technicians in Dispatch Module?

                                    Hi Zoho, Our Admin and Dispatch user both show up as Fied Technicians / Field Agents in the Dispatch module, but they most certainly should not be assigned to any of the work orders and service appointments. These users are NOT service resources. How
                                  • Don't understand INVALID_REQUEST_METHOD when I try to post up an attachment

                                    When I make the POST request (using python requests.post() for files): https://www.zohoapis.com/crm/v8/Calls/***************01/Attachments I get this response: r:{ "code": "INVALID_REQUEST_METHOD", "details": {}, "message": "The http request method type
                                  • Zoho Payroll: Product Updates - June 2025

                                    This June, we’re taking a giant step forward. One that reflects what we’ve heard from you, the businesses that power economies. For our customers using the latest version of Zoho Payroll (organizations created after Dec 12, 2024) in the United States,
                                  • View Products (items) in Contact and Company

                                    Hi, I would like to know if there is an option to view all the products /(items) that were inserted in the pipeline deal stage for exemple "Win Pipeline" within the company and contacts module section? For instance, view with the option filter for the
                                  • Update subform dropdown field choices - on load workflow

                                    Hi, I have a "Check In" form that has "Contacts" subform and a "Tickets" subform. When the form is loaded, I want to populate one contact and the number of tickets. I want the "Contact" field in the "Tickets" subform to have the choice of "Contacts."
                                  • Upload Zoho Inventory Item Image by API

                                    itemID = item.get("item_id"); organizationID = organization.get("organization_id"); resvp = zoho.inventory.getRecordsByID("items",organizationID,itemID,"zoho_inventory_conn"); info resvp; image_file = invokeurl [ url: "https://t4.ftcdn.net/jpg/03/13/59/81/360_F_313598127_M2n9aSAYVsfYuSSVytPuYpLAwSEp5lxH.jpg"
                                  • Salesforce to Zoho One Migration

                                    HI, I am about to start a migration from Salesforce to Zoho One I would like to know the best practise for this, my current thoughts to the approach is 1) Create fields, modules as required for migrating data 2) migrate Data 3) go live Will this approach
                                  • Zoho Expense Integration with Zoho Books

                                    I want to know what flexibility do i have in selecting the chart of accounts which get a hit whenever we are posting any expense or advance in zoho expense?
                                  • Custom Function to Update Ticket based on Subject of Ticket

                                    This may be pretty simple but I'm having issues with getting a custom function to fill out custom fields based on the subject of a ticket and not the body of a ticket. Basically we need to fill in the PO number and Item ID custom fields, both of this
                                  • Incoming 'Message' data via WhatsApp appears empty

                                    the Incoming 'Message' data via WhatsApp appears empty; instead of customer messages, I only see CRM system notification messages are being displayed. I have seen 3 messages like this since yesterday it seems that in 'All Message' the message snippet
                                  • Handling Automatic Replies in Desk

                                    We send out email campaigns (currently via Klaviyo) and naturally we receive "Automatic Replies" to these mass email campaigns. These responses are all being routed to Zoho Desk. We get two types of "Automatic Replies" Type 1) Customer is out of the office/holiday
                                  • Next Page