Custom Function: Post_and_Update_Comments_in_Zoho_Desk | Online Help | Qntrl

Custom Function: Post_and_Update_Comments_in_Zoho_Desk

  • Zoho Desk is a customer service software which allows you to address customer concerns. This custom function can be used to add or update comments in Zoho Desk whenever they are added or updated in Qntrl. 

  • The comments will be added to the tickets created from Qntrl cards. If the specified card is not available in Zoho Desk as a ticket, a new ticket will be created and the comment will be added to it. 


Prerequisites  


Sign up for Zoho Desk and create a department. The comment will be posted in the configured organization and department in Zoho Desk.  

Note:  
  1. This custom function will only work when it is triggered from a business rule and is executed when adding or updating a comment. 
  1. The comments will be posted in Zoho Desk from the card requestor’s account. However, the name of the user who commented on the card will be mentioned. 

Business Scenario


Mark, the head of development, wants to keep his developers involved with his customers. Even though there is a designated customer support team, the developers in Mark’s team are allowed to comment to offer solutions to the customer right. These comments will be added or updated in Zoho Desk via the customer support executive’s contact. 

Explore business scenario for 'Post_and_Update_Comments_in_Zoho_Desk' custom function.

Steps to configure the custom function 

Before executing this custom function, you will have to configure the arguments and authorizate connections. Follow the below steps to configure the function.  

1. Configure the Arguments


First, configure  Argument Values for all the parameters used in the custom function. You can either specify the Custom Value or choose a Form Field from the dropdown. Form fields capture dynamic values from card fields corresponding to the custom function. 

   

  • orgName : Specify your organization’s name. This will be available in Qntrl’s URL ( core.qntrl.com/blueprint / <orgName>/<module>). 

  • requestorName : Choose the  Requestor  Form Field here. You can also specify the name of the card requestor.

  • jobTitle : Specify the title of the card the comment must be added to or updated on. You can choose the  Title  Form Field here.

  • jobID : Choose the  Card ID Form Field here. You can also specify the ID of the card. This will be available in the Card URL core.qntrl.com/blueprint/ <org-name>/<job>/<jobID>). 

  • deskOrgID : Specify your Zoho Desk organization ID. 

  • departmentID : Specify the Zoho Desk department ID the card is available in.

  • comment : Enter the comment that needs to be added or updated. You can choose the  Comments  Form Field here.

  • jobCommentID : Specify the ID of the comment.  You can choose the  Comment ID Form Field here.


2. Provide authorization using Connections


Connections helps you authenticate the API call for specific scopes of  Qntrl  and other internal Zoho applications used in the custom function. 

    1.   Invoke Connections to authorize your Qntrl account.

    • Click the  +Connections button in  Custom Functions or navigate to Connections under Advanced.

    • Click  Create Connection in the top-right corner.

    • Choose  Zoho Oauth  from the  Pick Your Service tab.

    • Enter a  Connection Name and choose the  Scopes : 'Orchestly.job.ALL', 'Orchestly.user.ALL', 'Orchestly.attachment.ALL', 'Desk.contacts.READ', 'Desk.search.READ', 'Desk.contacts.CREATE', and 'Desk.tickets.ALL' to connect. 

    2.   After successful authentication, include the connection details in the response block of the custom function. 

             e.g: connection : "<Connection-name>"


Once the above steps are configured, you are all set to execute the custom function. 



Post_and_Update_Comments_in_Zoho_Desk  is a part of Qntrl's pre-define custom functions available in Function Gallery. However, you can also write your own  custom functions  in Qntrl. 



    • Related Articles

    • Custom Function: Create_Ticket_in_Zoho_Desk

      Zoho Desk is customer service software which allows you to address customer concerns. This custom function can be used to post a card as a ticket in Zoho Desk. Prerequisites Sign up for Zoho Desk and create a department. The ticket will be created in ...
    • Custom Function: Post_Messages_to_Zoho_Cliq_Channel

      This custom function can be used to post predefined messages to existing Zoho Cliq channels. Prerequisites Sign up for Zoho Cliq and create a channel with the required users. Only the members of this channel will receive messages. Business Scenario ...
    • Custom Function: Computing_Field_Values

      This custom function can be used to add two values and save the return value in a custom field. The sum will be dynamically updated in the custom field after this function is executed. Business Scenario Helen is the head of Procurement Management at ...
    • Custom Function: Create_Job

      This custom function can be used to create a new card in any board. It can also be configured to carry forward necessary field values from the former card to the latter. Business Scenario Helen is the head of Procurement Management in her ...
    • Sample Custom Function for Zoho Sheet integration

      Prerequisite User must have an account in Zoho Sheet and Qntrl User must configure a Connection to authorize the access of Zoho Sheet from Qntrl. Business Case Zylker Inc, a Pharma company, uses Qntrl to record and process their orders. Every time a ...

    You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.