This week, we’re bringing you a feature that notifies your team when articles in the Knowledge Base are set to expire to keep your content relevant and helpful for customers.
The Zoho Desk's Knowledge Base is an asset for customers to gain knowledge and help themselves navigate through the product or process of the firm or industry. Zoho Desk allows you to set expiry dates for articles to maintain up-to-date information. However, once an article expires, it’s removed from the Help Center, and notifications are only sent to the article owner by default.
But, what if they miss it?
This solution integrates with a scheduler to notify team members on the same day an article expires.
Here’s how you can implement the custom function within the schedule to notify your team when an article expires.
Prerequisites
I. Create a connection
1.1 Go to Setup(S) and choose Connections under Developer Space.
1.2 Click Create Connection.
1.3 Select Zoho OAuth under Default Connection.
1.4 Set the connection name as deskconnection.
1.5 Disable the toggle for User Credentials of Login User.
1.6 Under Scope, choose the below scope values:
Desk.articles.READ
1.7 Click Create and Connect.
1.8 Click Connect and click Accept.
Connection is created successfully.
II. Create a Schedule
1. Go to Setup, choose Schedules under Automation.
2. Under Schedules, click New Schedule.
3. Under Add Schedule, enter a Schedule Name and Description for the rule.
4. In the Execute on tab, set the Date and Time for the schedule to begin execution.
5. In the Repeat tab, select 'Every Day,' then choose 'Every [1] Days.' Select the days based on your preferences and set 'Ends' to 'Never'. Click Done. This will ensure the schedule runs on the selected days.
6. In the Functions section, click on Create Function.
7. Enter a Name and Description for the custom function.
8. In the script window, insert the Custom Function given below:
// ----<<<< 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
In Line 2, Enter the Email Subject for the Notification.
In Line 3, Enter the email addresses of the team members you would like to notify.
In Lines 8,12,34,38,59,63, Replace ".com" with the domain extension based on your Data Center.
9. Click Save Script.
10. Click Save to save the custom function.
11. Click Save again to save the Schedule.
By this, you can ensure quick updates and seamless publishing, keeping your Knowledge Base relevant and your customers updated with the latest resources.
Stay tuned for more learnings on this forum.
Regards,
Lydia | Zoho Desk
Share :
Reply
Reply to Lydia | Zoho Desk A
/* */
12
Insert
Plain text
Rich Text
Add Comment
(Up to 20 MB )
Stats
85 views
Follow
Subscribe to receive notifications from this topic.