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 Orchestly.
The comments will be added to the tickets created from Orchestly jobs. If the specified job is not available in Zoho Desk as a ticket, a new ticket will be created and the comment will be added to it.

orgName : Specify your organization’s name. This will be available in Orchestly’s URL (orchestly.zoho.com/blueprint/<orgName>/<module>).
requestorName : Choose the Requestor Layout Field here. You can also specify the name of the job requestor.
jobTitle : Specify the title of the job the comment must be added to or updated on. You can choose the Title Layout Field here.
jobID : Choose the Job ID Layout Field here. You can also specify the ID of the job. This will be available in the Job URL orchestly.zoho.com/blueprint/<org-name>/<job>/<jobID>).
deskOrgID : Specify your Zoho Desk organization ID.
departmentID : Specify the Zoho Desk department ID the job is available in.
comment : Enter the comment that needs to be added or updated. You can choose the Comments Layout Field here.
jobCommentID : Specify the ID of the comment. You can choose the Comment ID Layout Field here.
1. Invoke Connections to authorize your Orchestly account.
Click the +Connections button in Custom Functions . A new tab will open in your browser.
Click Add 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>

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